/* --- Variáveis CSS --- */
:root {
    --cor-fundo: #ffffff;
    --cor-texto: #333333;
    --cor-destaque: #6c757d;
    --borda-suave: #e0e0e0;
    --cinza-claro: #f8fafc;
    --cinza-medio: #6c757d;
    --cinza-escuro: #495057;
    --gradiente-cinza: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --gradiente-cinza-claro: linear-gradient(135deg, #adb5bd 0%, #6c757d 100%);
}

/* --- Reset e Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    overflow-x: hidden;
}

/* --- Header Centralizado --- */
.header-centralizado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--borda-suave);
    background-color: var(--cor-fundo);
    position: relative;
    min-height: 70px;
}

.header-centralizado .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: var(--cor-destaque);
    text-decoration: none;
    z-index: 10;
    text-align: center;
}

/* Logo com imagem */
.logo-imagem {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Espaços laterais para Menu e Ícones */
.header-esquerda, .header-direita {
    display: flex;
    align-items: center;
    min-width: 60px;
    z-index: 11;
}

.header-esquerda {
    justify-content: flex-start;
}

.header-direita {
    justify-content: flex-end;
}

/* Estilo do Botão e Ícones */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--cor-destaque);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icone-acao {
    color: var(--cor-texto);
    font-size: 20px;
    margin-left: 12px;
    padding: 6px;
}

/* --- Menu Sanduíche (Lateral) --- */
.menu-sanduiche {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
}

.menu-sanduiche.aberto {
    transform: translateX(0);
}

.menu-sanduiche ul {
    list-style: none;
    margin-top: 40px;
}

.menu-sanduiche li {
    padding: 12px 0;
    border-bottom: 1px solid var(--borda-suave);
}

.menu-sanduiche a {
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 1.1em;
    display: block;
    padding: 8px 0;
}

.menu-sanduiche .menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--cor-destaque);
    padding: 5px;
}

/* --- Overlay de Fundo --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.menu-overlay.aberto {
    display: block;
}

/* --- Banner Container --- */
.banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.banner-imagem {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- Filtros Melhorados --- */
.filtros-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: var(--cor-fundo);
    position: relative;
    z-index: 10;
}

.filtros-titulo {
    text-align: center;
    margin-bottom: 30px;
}

.filtros-titulo h2 {
    color: var(--cor-destaque);
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.filtros-titulo p {
    color: var(--cor-texto);
    font-size: 1em;
    margin: 0;
    opacity: 0.8;
}

.filtros-grid {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.filtro-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--cor-texto);
    font-size: 0.9em;
    white-space: nowrap;
}

.filtro-group label i {
    font-size: 1.1em;
    color: var(--cor-destaque);
}

.filtro-select {
    padding: 12px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    color: var(--cor-texto);
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.filtro-select:focus {
    outline: none;
    border-color: var(--cor-destaque);
}

/* Grupo de pesquisa */
.filtro-pesquisa {
    flex: 2;
    min-width: 200px;
}

.pesquisa-input-group {
    position: relative;
    display: flex;
}

.filtro-pesquisa-input {
    flex: 1;
    padding: 12px 45px 12px 12px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    width: 100%;
}

.filtro-pesquisa-input:focus {
    outline: none;
    border-color: var(--cor-destaque);
}

.pesquisa-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--cor-destaque);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Botão Limpar Filtros */
.limpar-filtros-btn {
    padding: 12px 18px;
    background-color: #6c757d;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    height: 44px;
    min-width: 130px;
}

/* --- Seção de Produtos --- */
.produtos-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.produtos-titulo {
    text-align: center;
    margin-bottom: 30px;
}

.produtos-titulo h2 {
    color: var(--cor-destaque);
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.produtos-titulo p {
    color: var(--cor-texto);
    font-size: 1em;
    margin: 0;
    opacity: 0.8;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Card do Produto */
.produto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--borda-suave);
}

.produto-imagem {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produto-info {
    padding: 15px;
}

.produto-nome {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--cor-texto);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.produto-descricao {
    color: #666;
    font-size: 0.85em;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produto-preco {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--cor-destaque);
    margin: 0;
}

/* --- Modal do Produto - MODERNO --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 3% auto;
    border-radius: 24px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from { 
        transform: translateY(30px) scale(0.98); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: none;
    font-size: 22px;
    font-weight: 300;
    color: var(--cor-destaque);
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg);
    color: #333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modal-body {
    display: flex;
    min-height: 600px;
    max-height: 84vh;
}

@media (max-width: 992px) {
    .modal-body {
        flex-direction: column;
        max-height: none;
    }
}

/* Lado esquerdo - Imagens */
.modal-imagem-container {
    flex: 0 0 48%;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-imagem {
    position: relative;
    padding: 40px;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-imagem img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

/* Lado direito - Informações */
.modal-info {
    flex: 0 0 52%;
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.modal-info-content {
    max-height: calc(84vh - 80px);
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom scrollbar moderno */
.modal-info-content::-webkit-scrollbar {
    width: 6px;
}

.modal-info-content::-webkit-scrollbar-track {
    background: rgba(108, 117, 125, 0.05);
    border-radius: 10px;
}

.modal-info-content::-webkit-scrollbar-thumb {
    background: rgba(108, 117, 125, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.modal-info-content::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 117, 125, 0.3);
}

/* Nome do produto moderno */
.modal-info h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 25px 0;
    padding-bottom: 20px;
    position: relative;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.modal-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cor-destaque), rgba(108, 117, 125, 0.3));
    border-radius: 3px;
}

/* Seções do modal - DESIGN MODERNO */
.modal-secao {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-secao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-destaque), rgba(108, 117, 125, 0.3));
    border-radius: 16px 16px 0 0;
}

.modal-secao:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 3px 8px rgba(0, 0, 0, 0.03);
}

.modal-secao:last-child {
    margin-bottom: 0;
}

/* Títulos das seções modernos */
.modal-secao h4 {
    font-size: 14px;
    font-weight: 700;
    color: #495057;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 8px;
}

.modal-secao h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cor-destaque);
    border-radius: 2px;
}

/* Conteúdo das seções moderno */
.modal-secao p,
.modal-secao div {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Descrição especial */
#modal-descricao {
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--cor-destaque);
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    padding: 18px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Preços - Destaque especial moderno */
#modal-precos-secao {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(108, 117, 125, 0.08);
}

#modal-precos-secao .modal-preco {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #2d3436 !important;
    margin-bottom: 12px !important;
    position: relative;
    display: inline-block;
    padding: 8px 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(108, 117, 125, 0.1);
}

.modal-preco-parcelado,
.modal-preco-avista {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 6px;
    line-height: 1.6;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: inline-block;
    margin-right: 10px;
    margin-top: 6px;
    border: 1px solid rgba(108, 117, 125, 0.08);
}

.modal-categoria {
    font-size: 13px;
    color: #868e96;
    font-style: normal;
    margin-top: 15px;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(108, 117, 125, 0.1);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.modal-categoria::before {
    content: '🏷️';
    font-size: 12px;
}

/* Estrutura, Assento, Revestimento, Material modernos */
#modal-estrutura-conteudo,
#modal-assento-conteudo,
#modal-revestimento-conteudo,
#modal-material {
    font-size: 14px;
    line-height: 1.8;
    color: #495057;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f3f5 100%);
    border-radius: 12px;
    border-left: 4px solid var(--cor-destaque);
    position: relative;
    margin-top: 8px;
    border: 1px solid rgba(108, 117, 125, 0.05);
}

#modal-estrutura-conteudo::before,
#modal-assento-conteudo::before,
#modal-revestimento-conteudo::before,
#modal-material::before {
    content: '📋';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 18px;
    opacity: 0.15;
}

/* Medidas modernas */
#modal-dimensoes-completas {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f3f5 100%);
    border-radius: 14px;
    border: 1px solid rgba(108, 117, 125, 0.08);
}

.dimensao-item {
    margin-bottom: 10px;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 117, 125, 0.05);
}

.dimensao-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(108, 117, 125, 0.1);
}

.dimensao-item strong {
    min-width: 140px;
    color: #2d3436;
    font-weight: 600;
    margin-right: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dimensao-item span {
    flex: 1;
    color: #6c757d;
    font-weight: 500;
}

.tamanhos-disponiveis {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed rgba(108, 117, 125, 0.1);
}

.tamanhos-disponiveis h4 {
    font-size: 14px;
    color: var(--cor-destaque);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tamanhos-disponiveis h4::before {
    content: '📐';
    font-size: 16px;
}

.tamanho-item {
    margin-bottom: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(108, 117, 125, 0.08);
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.tamanho-item:hover {
    border-color: var(--cor-destaque);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.tamanho-item strong {
    color: #2d3436;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

/* Características modernas */
#modal-caracteristicas-lista {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

#modal-caracteristicas-lista li {
    margin-bottom: 0;
    padding: 12px 16px 12px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f3f5 100%);
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#modal-caracteristicas-lista li:hover {
    background: white;
    border-color: rgba(108, 117, 125, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#modal-caracteristicas-lista li:before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--cor-destaque);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* BOTÃO WHATSAPP MODERNO */
.btn-whatsapp {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
    border: none !important;
    padding: 18px 32px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 30px !important;
    width: 100% !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(108, 117, 125, 0.25),
        0 4px 12px rgba(108, 117, 125, 0.15);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 
        0 15px 35px rgba(108, 117, 125, 0.3),
        0 8px 20px rgba(108, 117, 125, 0.2) !important;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover i {
    transform: scale(1.1);
}

/* --- Botão WhatsApp Flutuante --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 2px solid #6c757d !important;
    filter: grayscale(100%) brightness(0.7) !important;
}

.whatsapp-float:hover img {
    transform: scale(1.1);
    border-color: #495057 !important;
    filter: grayscale(0%) brightness(1) !important;
}

/* --- Carrossel Modernizado --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.carousel-prev {
    left: 25px;
}

.carousel-next {
    right: 25px;
}

.carousel-btn i {
    font-size: 22px;
    color: var(--cor-destaque);
}

/* Miniaturas Modernas */
.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 30px 30px;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    padding-top: 20px;
}

.modal-thumbnail {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.modal-thumbnail:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.modal-thumbnail.active {
    opacity: 1;
    border-color: var(--cor-destaque);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.25);
    transform: translateY(-2px);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge de contador de imagens */
.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Tags de produto */
.product-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.product-tag {
    background: var(--cor-destaque);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* Efeito de loading para imagens */
.modal-imagem img.loading {
    opacity: 0.3;
}

/* Animações de entrada para seções */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-secao {
    animation: slideInFromBottom 0.4s ease forwards;
}

/* Delay para animação em cascata */
.modal-secao:nth-child(1) { animation-delay: 0.1s; }
.modal-secao:nth-child(2) { animation-delay: 0.2s; }
.modal-secao:nth-child(3) { animation-delay: 0.3s; }
.modal-secao:nth-child(4) { animation-delay: 0.4s; }
.modal-secao:nth-child(5) { animation-delay: 0.5s; }
.modal-secao:nth-child(6) { animation-delay: 0.6s; }
.modal-secao:nth-child(7) { animation-delay: 0.7s; }

/* --- SEÇÃO AÇÕES RÁPIDAS - VERSÃO CINZA E GRADIENTES --- */
.acoes-rapidas {
    margin: 60px 0;
    padding: 0 20px;
}

.acoes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.acao-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 24px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.acao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #adb5bd 0%, #6c757d 50%, #495057 100%);
}

.acao-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Ícones em gradiente cinza */
.acao-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: var(--gradiente-cinza);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.acao-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: inherit;
    opacity: 0.1;
    z-index: -1;
}

.acao-card:hover .acao-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.acao-content {
    flex-grow: 1;
}

.acao-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #343a40;
    line-height: 1.3;
}

.acao-content p {
    color: #6c757d;
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Botões em gradiente cinza */
.acao-btn {
    background: var(--gradiente-cinza);
    border: none;
    border-radius: 16px;
    box-shadow: 
        0 4px 6px rgba(108, 117, 125, 0.15),
        0 1px 3px rgba(108, 117, 125, 0.1);
    color: #ffffff;
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.acao-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.acao-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: 
        0 8px 15px rgba(108, 117, 125, 0.25),
        0 3px 6px rgba(108, 117, 125, 0.15);
    transform: translateY(-2px);
}

.acao-btn:hover::before {
    left: 100%;
}

.acao-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.acao-btn:hover i {
    transform: scale(1.1);
}

.mini-logo {
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.acao-btn:hover .mini-logo {
    transform: translateX(3px);
}

/* --- CORREÇÕES PARA REMOVER CORES VERDE/LARANJA --- */
.whatsapp-btn,
.localizacao-btn,
.btn-whatsapp,
[class*="whatsapp"],
[class*="green"],
[class*="laranja"],
[class*="orange"] {
    background: var(--gradiente-cinza) !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.whatsapp-btn:hover,
.localizacao-btn:hover,
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
}

/* Botão WhatsApp Flutuante - CORRIGIDO PARA CINZA */
.whatsapp-float img {
    border: 2px solid #6c757d !important;
    filter: grayscale(100%) brightness(0.7) !important;
}

.whatsapp-float:hover img {
    border-color: #495057 !important;
    filter: grayscale(0%) brightness(1) !important;
}

/* BOTÃO WHATSAPP NO MODAL - CORRIGIDO PARA CINZA */
.btn-whatsapp {
    background: var(--gradiente-cinza) !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
}

/* --- Seção Localização --- */
.localizacao-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--cor-fundo);
}

.localizacao-titulo {
    text-align: center;
    margin-bottom: 40px;
}

.localizacao-titulo h2 {
    color: var(--cor-destaque);
    font-size: 2.2em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.localizacao-titulo p {
    color: var(--cor-texto);
    font-size: 1.1em;
    margin: 0;
    opacity: 0.8;
}

.mapa-container {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mapa-iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.endereco-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid var(--borda-suave);
}

.endereco-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.endereco-info i {
    font-size: 2.5em;
    color: var(--cor-destaque);
    flex-shrink: 0;
}

.endereco-texto h3 {
    color: var(--cor-texto);
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.endereco-texto p {
    color: #666;
    font-size: 1em;
    margin: 0;
    line-height: 1.4;
}

/* Layout do modal-body para telas maiores */
@media (min-width: 992px) {
    .modal-body {
        display: flex;
        gap: 0;
        max-height: 84vh;
    }
    
    .modal-imagem-container {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* ========== RESPONSIVIDADE ========== */

/* Tablets (768px ou menos) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header-centralizado {
        padding: 12px 15px;
        min-height: 60px;
    }

    .header-centralizado .logo {
        font-size: 1.3em;
    }

    .logo-imagem {
        height: 40px;
        max-width: 120px;
    }

    .menu-toggle {
        font-size: 22px;
        padding: 6px;
    }

    .icone-acao {
        font-size: 18px;
        margin-left: 10px;
    }

    .banner-container {
        padding: 15px;
    }

    .filtros-container {
        padding: 25px 15px;
    }

    .filtros-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .filtro-group {
        min-width: auto;
    }

    .filtro-pesquisa {
        grid-column: span 2;
    }

    .limpar-filtros-btn {
        grid-column: span 2;
        justify-self: center;
        min-width: 180px;
        margin-top: 10px;
    }

    .produtos-container {
        padding: 25px 15px;
    }

    .produtos-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }

    .modal-content {
        margin: 2% auto;
        width: 98%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    /* Responsividade do Modal Moderno */
    .modal-body {
        flex-direction: column;
        max-height: none;
    }
    
    .modal-imagem {
        min-height: 350px;
        padding: 30px;
    }
    
    .modal-imagem img {
        max-height: 300px;
    }
    
    .modal-info {
        padding: 30px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-prev {
        left: 20px;
    }
    
    .carousel-next {
        right: 20px;
    }

    .modal-thumbnail {
        width: 55px;
        height: 55px;
    }

    /* Responsividade Ações Rápidas */
    .acoes-rapidas {
        margin: 40px 0;
        padding: 0 15px;
    }

    .acoes-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .acao-card {
        padding: 25px 20px;
    }

    .acao-content h3 {
        font-size: 1.4rem;
    }
}

/* Celulares (600px ou menos) */
@media (max-width: 600px) {
    html {
        font-size: 13px;
    }

    .header-centralizado {
        padding: 10px 12px;
    }

    .header-esquerda, .header-direita {
        min-width: 50px;
    }

    .header-centralizado .logo {
        font-size: 1.2em;
        position: static;
        transform: none;
        flex: 1;
        text-align: center;
        order: 2;
    }

    .header-centralizado {
        justify-content: space-between;
    }

    .header-esquerda {
        order: 1;
    }

    .header-direita {
        order: 3;
    }

    .logo-imagem {
        height: 35px;
        max-width: 100px;
    }

    .banner-container {
        padding: 10px;
    }

    .banner-imagem {
        border-radius: 8px;
    }

    .filtros-container {
        padding: 20px 12px;
    }

    .filtros-titulo h2 {
        font-size: 1.5em;
    }

    .filtros-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .filtro-pesquisa {
        grid-column: span 1;
    }

    .limpar-filtros-btn {
        grid-column: span 1;
        min-width: 160px;
        margin-top: 5px;
    }

    .produtos-container {
        padding: 20px 12px;
    }

    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .produto-imagem {
        height: 180px;
    }

    .produto-info {
        padding: 12px;
    }

    .modal-content {
        margin: 1% auto;
        border-radius: 16px;
    }

    .modal-imagem {
        padding: 20px;
        min-height: 300px;
    }

    .modal-imagem img {
        max-height: 250px;
    }

    .modal-info {
        padding: 25px;
    }

    .modal-info h3 {
        font-size: 1.5em;
    }

    .modal-preco {
        font-size: 1.4em;
    }

    .btn-whatsapp {
        padding: 16px 24px !important;
        font-size: 15px !important;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
    }

    /* Responsividade do Modal Moderno */
    .modal-imagem {
        min-height: 280px;
        padding: 15px;
    }
    
    .modal-imagem img {
        max-height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .modal-thumbnails {
        gap: 8px;
        padding: 0 20px 20px;
    }
    
    .modal-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    /* Ajustes nas seções do modal moderno */
    .modal-secao {
        padding: 20px;
        margin-bottom: 18px;
    }
    
    #modal-descricao {
        font-size: 14px;
    }
    
    #modal-estrutura-conteudo,
    #modal-assento-conteudo,
    #modal-revestimento-conteudo,
    #modal-material {
        padding: 14px;
        font-size: 13.5px;
    }
    
    .dimensao-item {
        font-size: 13.5px;
        padding: 10px 14px;
    }
    
    .dimensao-item strong {
        min-width: 120px;
        font-size: 12.5px;
    }
    
    /* Grid de características para mobile */
    #modal-caracteristicas-lista {
        grid-template-columns: 1fr;
    }
    
    /* Responsividade Ações Rápidas */
    .acoes-rapidas {
        margin: 30px 0;
    }

    .acao-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Celulares pequenos (480px ou menos) */
@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .header-centralizado {
        padding: 8px 10px;
        min-height: 55px;
    }

    .header-centralizado .logo {
        font-size: 1.1em;
    }

    .logo-imagem {
        height: 30px;
        max-width: 90px;
    }

    .menu-toggle {
        font-size: 20px;
    }

    .icone-acao {
        font-size: 16px;
        margin-left: 8px;
    }

    .menu-sanduiche {
        width: 250px;
        padding: 15px;
    }

    .banner-container {
        padding: 8px;
    }

    .filtros-container {
        padding: 15px 10px;
    }

    .filtros-titulo h2 {
        font-size: 1.3em;
    }

    .filtro-select,
    .filtro-pesquisa-input {
        padding: 10px;
        font-size: 0.9em;
    }

    .produtos-container {
        padding: 15px 10px;
    }

    .produtos-titulo h2 {
        font-size: 1.4em;
    }

    .produto-imagem {
        height: 160px;
    }

    .modal-content {
        margin: 0.5% auto;
        border-radius: 14px;
    }

    .modal-imagem img {
        height: 200px;
    }

    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }

    /* Ajustes mais específicos do modal moderno para celulares */
    .modal-secao h4 {
        font-size: 13px;
    }
    
    #modal-precos-secao .modal-preco {
        font-size: 22px !important;
    }
    
    .modal-preco-parcelado,
    .modal-preco-avista {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .dimensao-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dimensao-item strong {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    /* Responsividade Ações Rápidas */
    .acao-card {
        padding: 20px 15px;
    }

    .acao-content h3 {
        font-size: 1.3rem;
    }

    .acao-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Celulares muito pequenos (360px ou menos) */
@media (max-width: 360px) {
    .header-centralizado {
        padding: 6px 8px;
    }

    .header-centralizado .logo {
        font-size: 1em;
    }

    .logo-imagem {
        height: 25px;
        max-width: 80px;
    }

    .menu-toggle {
        font-size: 18px;
        padding: 4px;
    }

    .icone-acao {
        font-size: 14px;
        margin-left: 6px;
        padding: 4px;
    }

    .filtros-container {
        padding: 12px 8px;
    }

    .produtos-container {
        padding: 12px 8px;
    }

    .produto-info {
        padding: 10px;
    }

    .modal-content {
        margin: 0.5% auto;
    }

    .modal-imagem {
        padding: 15px;
    }

    .modal-info {
        padding: 20px;
    }

    .whatsapp-float {
        width: 35px;
        height: 35px;
    }

    /* Ajustes finos do modal moderno para telas muito pequenas */
    .modal-secao {
        padding: 16px;
    }
    
    .dimensao-item strong {
        font-size: 12px;
    }
    
    .dimensao-item span {
        font-size: 12px;
    }
    
    /* Responsividade Ações Rápidas */
    .acoes-rapidas {
        padding: 0 10px;
    }

    .acao-card {
        padding: 18px 12px;
    }
}

/* Orientação paisagem em celulares */
@media (max-height: 500px) and (orientation: landscape) {
    .menu-sanduiche {
        overflow-y: auto;
        height: 100vh;
    }

    .modal-content {
        margin: 1% auto;
        max-height: 95vh;
    }

    .modal-imagem img {
        height: 200px;
    }

    /* Responsividade Carrossel Moderno */
    .modal-imagem {
        height: 350px;
        padding: 20px;
    }
    
    .modal-imagem img {
        max-height: 320px;
    }
    
    .modal-info {
        max-height: none;
        overflow-y: visible;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 20px;
    }
    
    .carousel-next {
        right: 20px;
    }
    
    .modal-thumbnail {
        width: 45px;
        height: 45px;
    }
}

/* Ajustes para telas muito grandes */
@media (min-width: 1600px) {
    .banner-container,
    .filtros-container,
    .produtos-container {
        max-width: 1400px;
    }
}

/* Responsividade da Localização */
@media (max-width: 768px) {
    .localizacao-container {
        padding: 30px 15px;
    }
    
    .localizacao-titulo h2 {
        font-size: 1.8em;
    }
    
    .localizacao-titulo p {
        font-size: 1em;
    }
    
    .mapa-iframe {
        height: 400px;
    }
    
    .endereco-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .endereco-info i {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    .localizacao-container {
        padding: 25px 12px;
    }
    
    .localizacao-titulo h2 {
        font-size: 1.5em;
    }
    
    .localizacao-titulo p {
        font-size: 0.9em;
    }
    
    .mapa-iframe {
        height: 300px;
    }
    
    .endereco-container {
        padding: 15px;
    }
    
    .endereco-texto h3 {
        font-size: 1.1em;
    }
    
    .endereco-texto p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .localizacao-container {
        padding: 20px 10px;
    }
    
    .localizacao-titulo h2 {
        font-size: 1.3em;
    }
    
    .mapa-iframe {
        height: 250px;
    }
    
    .endereco-info i {
        font-size: 1.8em;
    }
    
    .endereco-texto h3 {
        font-size: 1em;
    }
    
    .endereco-texto p {
        font-size: 0.85em;
    }
}

/* Responsividade do Carrossel Moderno */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 90vh; /* Garante que o modal não ultrapasse a altura da tela */
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        flex-direction: column;
        max-height: none; 
        overflow-y: auto; /* Permite rolar o conteúdo interno se necessário */
    }
    
    .modal-imagem {
        height: 250px; /* Reduzi um pouco para sobrar espaço para o texto */
        padding: 10px;
        flex-shrink: 0; /* Impede a imagem de "esmagar" o texto */
    }
    
    .modal-imagem img {
        max-height: 230px;
    }
    
    .modal-info {
        padding: 20px;
        max-height: none;
        overflow-y: visible; /* O scroll será controlado pelo modal-body ou content */
    }

    /* Ajuste de fontes para celular para ganhar espaço */
    .modal-info h2 {
        font-size: 1.5rem;
    }

    .modal-preco {
        font-size: 1.3rem;
    }
}

/* Ajuste para Celulares e Tablets (iPad, Galaxy Tab, etc) */
@media (max-width: 1024px) {
    .modal-content {
        width: 90%; /* Um pouco mais largo que no celular */
        max-height: 95vh;
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        flex-direction: column; /* Força o texto para baixo da imagem */
        overflow-y: auto;
    }

    .modal-imagem {
        height: 400px; /* Tablet tem tela maior, podemos deixar a imagem maior que no celular */
        flex-shrink: 0;
    }

    .modal-imagem img {
        max-height: 380px;
    }

    .modal-info {
        padding: 30px;
        max-height: none;
        overflow-y: visible;
    }
}

/* Para telas muito grandes */
@media (min-width: 1200px) {
    .modal-imagem {
        height: 500px;
    }
    
    .modal-imagem img {
        max-height: 450px;
    }
    
    .modal-info {
        max-height: 500px;
    }
}

/* Animações de hover para desktop - Modal Moderno */
@media (hover: hover) {
    .modal-secao:hover {
        transform: translateY(-2px);
    }
    
    .dimensao-item:hover {
        transform: translateX(3px);
    }
    
    .tamanho-item:hover {
        transform: translateY(-2px);
    }
    
    .modal-thumbnail:hover {
        transform: translateY(-3px);
    }
    
    #modal-caracteristicas-lista li:hover {
        transform: translateY(-2px);
    }
}
