:root {
    --verde-principal: #20FF00;
    --verde-secundario: #9BB3A3;
    --preto: #000000;
    --branco: #FFFFFF;
	--accent-color: #006400; /* Verde Escuro */
}

/* Estilo para o Header */
.main-header {
    z-index: 999;
}

/* =========================
   HEADER / NAVBAR CORRIGIDO
========================= */

.navbar-modern {
    backdrop-filter: blur(20px);
    background: rgba(193, 252, 192, 0.8) !important; /* Aumentei a opacidade para ler melhor */
    transition: 0.4s;
    padding: 10px 0 !important; /* Reduzi o padding para o menu ficar mais fino */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo-site {
    display: block !important;
    height: 55px !important; /* Ajustei para 55px para ficar um pouco maior */
    width: auto !important;
    max-width: 200px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Garante que o link da marca não "esprema" a imagem */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    min-width: 150px;
}

.navbar-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 5px; /* Espaço entre ícone e texto */
    font-size: 14px !important; /* Reduzi de 18px para 14px para caber tudo na linha */
    white-space: nowrap; /* Impede que o texto quebre linha */
    padding: 0.5rem 0.7rem !important; /* Espaçamento interno dos links */
}

/* Ajuste específico para os ícones de contato no fim do menu */
.navbar-nav .nav-item i {
    font-size: 1.1rem;
}

/* Ajuste para o Menu Mobile */
@media (max-width: 991px) {
    body { padding-top: 80px; }
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-link { color: #333 !important; }
}
/* Estilo para o overlay da busca */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.search-box {
    background: #ffffff;
    width: 600px;
    max-width: 95%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeIn .2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 50px;
    outline: none;
}

.search-input:focus {
    border-color: #20FF00;
}

#search-results {
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.search-results .dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.search-results .dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Botão de Fechar */
#close-search {
    background: transparent;
    border: none;
    color: #20FF00;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 767px) {
    .search-container {
        width: 80%;
    }
}

/* =========================
   RESET E BASE
========================= */
/* Localize esta parte no seu style.css e altere o valor */
body {
    padding-top: 85px !important; /* Estava 120px, reduzi para eliminar o buraco */
}

/* Ajuste extra para o Slider não subir demais em telas menores */
@media (max-width: 991px) {
    body {
        padding-top: 70px !important;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.produto-card {
    overflow: hidden;
}

.produto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* =========================
   AJUSTES PARA O ORÇAMENTO
========================= */

/* Remove a altura fixa de 400px que está quebrando o layout */
.page-orcamento-wrapper .card {
    height: auto !important; 
    min-height: initial !important;
    display: block !important;
}

/* Garante que as imagens no carrinho sejam pequenas e não usem os 250px globais */
.page-orcamento-wrapper .img-cart {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    background: #fff;
}

/* Ajuste do formulário para não cortar */
.card-checkout {
    height: auto !important;
}

.card-checkout .form-control {
    margin-bottom: 10px;
}

/* Garante que o container principal apareça abaixo do menu fixo */
.main-content-orcamento {
    margin-top: 30px; /* Já existe o padding no body, então 30px é suficiente */
    padding-bottom: 80px;
}

/* =========================
   HEADER / NAVBAR
========================= */

.logo-site {
    height: 65px;
    transition: 0.3s;
}


/* Cards padrão de produtos */
/* Efeito de hover nos cards */
/* Tamanho padrão para os cards de produto */
.card {
    width: 100%;
    height: 400px; /* Altura fixa para o card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.card img {
    height: 250px; /* Define altura fixa para a imagem */
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço do card */
    width: 100%; /* A imagem vai ocupar toda a largura do card */
}

.card-body {
    padding: 15px;
    flex-grow: 1; /* O conteúdo do card vai ocupar o espaço disponível restante */
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1; /* Garante que o texto ocupe o espaço restante, se necessário */
}

.card-footer {
    padding: 10px 15px;
    background-color: #f7f7f7;
    text-align: center;
}

.card-footer .btn {
    width: 100%;
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 767px) {
    .card {
        height: auto; /* Permite altura dinâmica em telas menores */
    }
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Adiciona sombra sutil ao passar o mouse */
.card .card-body {
    transition: background-color 0.2s ease;
}

.card:hover .card-body {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Cards index */
.card {
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    object-fit: cover;
    height: 200px;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: #f7f7f7;
    border-top: 1px solid #ddd;
}

.card-footer .btn {
    width: 100%;
    text-align: center;
}

/* Botão "Solicitar Orçamento" */
.btn-primary {
    background-color: #20FF00;
    border-color: #20FF00;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #9BB3A3;
    border-color: #9BB3A3;
}

/* =========================
   MENU ANIMADO
========================= */
.menu-animated .nav-link {
    position: relative;
    margin: 0 18px;
    font-weight: 500;
    color: #111;
    transition: 0.3s ease;
}

.menu-animated .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #333;
    transition: 0.3s ease;
}

.menu-animated .nav-link:hover::after,
.menu-animated .nav-link.active::after {
    width: 100%; /* A largura do underline vai até o fim do link */
}

/* =========================
   FOOTER PREMIUM AVANÇADO

   FOOTER GLASS REAL
========================= */

.footer-premium {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    overflow: hidden;
}

.footer-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06), transparent 60%);
}

.footer-premium .container {
    position: relative;
    backdrop-filter: blur(25px);
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 60%);
    pointer-events: none;
}

.footer-logo {
    width: 120px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links a {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-social a {
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #4f89ff;
    transform: translateY(-3px);
}

.footer-bottom {
	margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
}

.footer-premium,
.footer-premium p,
.footer-premium span,
.footer-premium small {
    color: #e2e8f0 !important;
}

.footer-title {
    color: #ffffff !important;
}

.footer-links a {
    color: #cbd5e1 !important;
}

.footer-links a:hover {
    color: #ffffff !important;
}

/* =========================
   LINKS GLOBAIS
========================= */

a {
    text-decoration: none !important;
    color: var(--verde-principal);
}

a:hover {
    color: var(--verde-secundario);
}

/* =========================
   SLIDER CINEMÁTICO
========================= */

.carousel-item {
    transition: opacity 1.2s ease, filter 1.2s ease;
}

.carousel-item:not(.active) {
    filter: blur(8px);
    opacity: 0;
}

.carousel-item.active {
    filter: blur(0);
    opacity: 1;
}

/* Overlay dinâmico */
.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 1;
}

/* Conteúdo acima do overlay */
.slide-content {
    position: relative;
    z-index: 2;
    animation: fadeSlideUp 1.2s ease forwards;
    opacity: 0;
}

.carousel-item.active .slide-content {
    opacity: 1;
}

@keyframes fadeSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Imagem lateral animada */
.slide-image {
    transition: transform 1.5s ease;
}

.carousel-item.active .slide-image {
    transform: scale(1.05);
}

/* =========================
   PARTÍCULAS SUAVES
========================= */

.slider-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.slider-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% { opacity: 5; }
    to {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* =========================
   NEWSLETTER PREMIUM
========================= */

.newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    transition: 0.3s ease;
}

.newsletter-form:focus-within {
    box-shadow: 0 0 0 2px #25D366;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    padding: 12px 22px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* =========================
   WHATSAPP PREMIUM FLOAT
========================= */

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    z-index: 9999;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.4s ease;
}

/* Aparece após delay */
.whatsapp-float.show {
    opacity: 1;
    transform: translateY(0);
}

/* Pulsação suave */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: pulse 2.5s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Micro partículas */
.whatsapp-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-40px);
        opacity: 0;
    }
}

/* Estilo para o banner de cookies */
.cookie-consent-banner {
    position: fixed;  /* Fixar o banner na parte inferior */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    z-index: 9999;
    display: none; /* Inicia o banner oculto */
}

/* Texto no banner */
.cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
}

/* Link para política de privacidade */
.cookie-consent-banner a {
    color: #f1c40f;
    text-decoration: none;
}

/* Botão de "Aceitar" */
.cookie-consent-banner button {
    margin-left: 20px;
    background-color: #f1c40f;
    color: #333;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
}

/* Efeito hover no botão */
.cookie-consent-banner button:hover {
    background-color: #d4ac0d;
}


/* BLOG */
.blog-card {
        height: 450px; /* Altura fixa para alinhar os cards */
        display: flex;
        flex-direction: column;
        transition: transform 0.3s;
    }
    .blog-card:hover { transform: translateY(-5px); }
    .blog-img-container {
        height: 200px;
        overflow: hidden;
        background: #eee;
    }
    .blog-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .blog-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        padding: 1.25rem;
    }
    .blog-title {
        font-size: 1.1rem;
        font-weight: bold;
        height: 52px; /* Limita a 2 linhas */
        overflow: hidden;
        margin-bottom: 10px;
    }
    .blog-text {
        font-size: 0.9rem;
        color: #666;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        margin-bottom: 15px;
    }