﻿/* ===========================
   COMBLOCOS – LOJA VIRTUAL
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00CC00;
  --green-dark: #009900;
  --green-light: #e6ffe6;
  --black: #111111;
  --dark: #222222;
  --gray-dark: #444444;
  --gray: #666666;
  --gray-light: #999999;
  --border: #e0e0e0;
  --bg: #f7f7f7;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: var(--white); font-size: 15px; line-height: 1.6; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---- TOP BAR ---- */
.top-bar { background: var(--black); color: #ccc; font-size: 12px; padding: 7px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar-links { display: flex; align-items: center; gap: 8px; }
.top-bar-links a { color: #ccc; transition: color .2s; }
.top-bar-links a:hover { color: var(--green); }
.divider { color: #555; }

/* ---- HEADER ---- */
.header { background: var(--white); border-bottom: 2px solid var(--border); padding: 10px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; gap: 24px; }

.logo-link { display: none; }
.logo-img { height: 100px; width: auto; display: block; }
.footer-logo-wrap { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 20px; }
.footer-logo-img { height: 220px; filter: none; }

.search-form { flex: 1; display: flex; max-width: 580px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.search-form:focus-within { border-color: var(--green); }
.search-form input { flex: 1; padding: 10px 14px; border: none; outline: none; color: var(--dark); background: var(--white); }
.search-form button { background: var(--green); color: white; border: none; padding: 10px 18px; cursor: pointer; transition: background .2s; }
.search-form button:hover { background: var(--green-dark); }

.cart-btn { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 8px 14px; color: var(--dark); cursor: pointer; transition: border-color .2s, box-shadow .2s; white-space: nowrap; }
.cart-btn:hover { border-color: var(--green); box-shadow: var(--shadow); }
.cart-label { font-weight: 600; }
.cart-count { background: var(--green); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.cart-value { font-size: 13px; color: var(--gray); }

/* ---- NAVIGATION ---- */
.main-nav { background: var(--dark); }
.nav-inner { display: flex; align-items: stretch; }
.nav-list { display: flex; align-items: stretch; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 4px; padding: 13px 18px; color: #ddd; font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.nav-list > li > a:hover, .nav-list > li:hover > a { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-list > li:first-child > a { color: white; }

.dropdown { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 220px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-hover); border-top: 3px solid var(--green); z-index: 200; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 20px; color: var(--dark); font-size: 14px; transition: background .15s, color .15s; }
.dropdown li a:hover { background: var(--green-light); color: var(--green-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 14px 16px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ---- HERO BANNERS ---- */
.hero-banners { background: var(--bg); padding: 30px 0; }
.banner-main { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 40px; display: flex; align-items: center; gap: 40px; margin-bottom: 20px; overflow: hidden; position: relative; }
.banner-main::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-dark)); }

.banner-text { flex: 1; }
.banner-tag { display: inline-block; background: var(--green-light); color: var(--green-dark); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.banner-text h1 { font-size: 36px; font-weight: 700; color: var(--black); line-height: 1.2; margin-bottom: 14px; }
.banner-text h1 strong { color: var(--green-dark); }
.banner-text p { color: var(--gray); max-width: 440px; margin-bottom: 24px; }

.banner-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-primary { background: var(--green); color: white; border: 2px solid var(--green); padding: 11px 24px; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--border); padding: 11px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

.banner-info { display: flex; gap: 28px; flex-wrap: wrap; }
.info-item { display: flex; flex-direction: column; font-size: 13px; }
.info-item strong { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); }
.info-item span { font-weight: 700; color: var(--dark); }

.banner-image { flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.banner-hero-img { width: 440px; max-width: 100%; height: auto; object-fit: contain; display: block; }
.banner-image-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(17,17,17,0.78); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px; letter-spacing: .3px; backdrop-filter: blur(2px); }

.banner-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.banner-mini { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: var(--radius); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.banner-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.banner-mini div { display: flex; flex-direction: column; gap: 4px; }
.banner-mini strong { font-size: 14px; font-weight: 700; }
.banner-mini span { font-size: 12px; opacity: 0.8; }
.banner-mini-img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; opacity: 0.9; }
.banner-mini.green { background: var(--green); color: white; }
.banner-mini.dark { background: var(--dark); color: white; }
.banner-mini.gray { background: #555; color: white; }
.banner-mini.accent { background: #1a1a2e; color: white; border: 2px solid var(--green); }

/* ---- MAIN LAYOUT ---- */
.main-content { padding: 36px 0; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }

/* ---- SIDEBAR ---- */
.sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.sidebar-widget h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }

.category-list { display: flex; flex-direction: column; gap: 2px; }
.category-list li a { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--gray-dark); transition: background .15s, color .15s; }
.category-list li a:hover, .category-list li.active a { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.category-list li a span { background: var(--border); color: var(--gray); font-size: 11px; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.category-list li.active a span { background: var(--green); color: white; }

.sub-group { margin: 6px 0; }
.sub-group-title { display: block; padding: 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); }
.sub-group > ul { padding-left: 10px; border-left: 2px solid var(--border); margin-left: 10px; }

.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-list label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--gray-dark); }
.filter-list input[type="checkbox"] { accent-color: var(--green); width: 15px; height: 15px; cursor: pointer; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); flex-shrink: 0; }

.sidebar-cta { background: var(--dark); color: white; border-radius: var(--radius); padding: 20px; }
.sidebar-cta h4 { font-size: 20px; font-weight: 800; color: var(--green); line-height: 1.25; margin-bottom: 10px; }
.sidebar-cta p { font-size: 13px; color: #aaa; margin-bottom: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- PRODUCTS AREA ---- */
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.results-count { font-size: 14px; color: var(--gray); }
.results-count strong { color: var(--dark); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; color: var(--dark); background: white; cursor: pointer; font-size: 14px; }
.sort-select:focus { outline: none; border-color: var(--green); }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.view-btn { background: white; border: none; padding: 8px 10px; cursor: pointer; color: var(--gray); transition: background .15s, color .15s; }
.view-btn.active, .view-btn:hover { background: var(--green); color: white; }

/* ---- PRODUCT GRID ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.product-badge { position: absolute; top: 10px; left: 10px; background: var(--green); color: white; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; z-index: 1; }
.product-badge.new { background: #e67e22; }

.product-img { background: var(--bg); overflow: hidden; height: 200px; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-info { padding: 14px; }
.product-info h4 { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.product-mpa { font-size: 11px; color: var(--gray-light); margin-bottom: 8px; }
.product-mpa strong { color: var(--green-dark); }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-old { font-size: 12px; color: var(--gray-light); text-decoration: line-through; }
.price-current { font-size: 20px; font-weight: 800; color: var(--dark); }
.product-unit { font-size: 11px; color: var(--gray-light); margin-bottom: 12px; }

.product-actions { display: flex; gap: 8px; }
.btn-cart { flex: 1; background: var(--green); color: white; border: none; border-radius: 6px; padding: 9px 10px; cursor: pointer; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background .2s; }
.btn-cart:hover { background: var(--green-dark); }
.btn-details { background: var(--bg); color: var(--gray-dark); border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: 13px; font-weight: 500; transition: border-color .2s, color .2s; white-space: nowrap; }
.btn-details:hover { border-color: var(--green); color: var(--green-dark); }

/* ---- PAGINATION ---- */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; }
.page-btn { display: flex; align-items: center; gap: 4px; min-width: 38px; height: 38px; justify-content: center; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--gray-dark); transition: background .15s, border-color .15s, color .15s; padding: 0 12px; }
.page-btn:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-light); }
.page-btn.active { background: var(--green); border-color: var(--green); color: white; }
.page-btn.next { padding: 0 16px; }
.page-ellipsis { color: var(--gray-light); padding: 0 4px; }

/* ---- WHY SECTION ---- */
.why-section { background: var(--bg); padding: 64px 0; }
.why-section h2 { text-align: center; font-size: 30px; font-weight: 800; color: var(--black); margin-bottom: 40px; }
.why-section h2 span { color: var(--green-dark); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { background: white; border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.why-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.why-icon { width: 64px; height: 64px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--green-dark); }
.why-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.why-item p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ---- QUOTE SECTION ---- */
.quote-section { background: var(--dark); padding: 64px 0; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.quote-text h2 { font-size: 30px; font-weight: 800; color: white; margin-bottom: 14px; }
.quote-text p { color: #aaa; margin-bottom: 24px; }
.quote-benefits { display: flex; flex-direction: column; gap: 10px; }
.quote-benefits li { display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 14px; }

.quote-form { background: white; border-radius: 12px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-dark); }
.form-group input, .form-group select, .form-group textarea { border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; color: var(--dark); transition: border-color .2s; resize: vertical; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ---- FOOTER ---- */
.footer { background: #111; color: #ccc; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-box { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: opacity .2s, transform .2s; }
.social-links a:hover { opacity: .82; transform: scale(1.1); }
.social-links a[aria-label="WhatsApp"] { background: #25D366; }
.social-links a[aria-label="E-mail"] { background: #EA4335; }
.social-links a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 110%, #f9a825 0%, #e91e8c 40%, #6a3fc8 80%); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #888; transition: color .2s; }
.footer-col ul li a:hover { color: var(--green); }
.contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #888; margin-bottom: 10px; }
.contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

.footer-bottom { border-top: 1px solid #222; padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: #555; }
.footer-bottom strong { color: #888; }
.payment-icons { display: flex; align-items: center; gap: 8px; }
.payment-icons span { font-size: 12px; color: #555; }
.pay-badge { background: #222; color: #888; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; border: 1px solid #333; }

/* ---- CART TOAST ---- */
.cart-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--dark); color: white; padding: 12px 24px; border-radius: 30px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 999; transition: transform .3s ease; border-left: 4px solid var(--green); }
.cart-toast.show { transform: translateX(-50%) translateY(0); }
.cart-toast svg { color: var(--green); }

/* ---- WHATSAPP FLOAT ---- */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 16px rgba(0,0,0,0.3); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 16px rgba(0,0,0,0.3); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(0,0,0,0.3); }
}
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25D366; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3); z-index: 9999; transition: transform .2s, box-shadow .2s; animation: wa-pulse 2.2s ease-out infinite; }
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.5); animation: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .banner-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; }
  .sidebar.open { display: block; }
  .quote-inner { grid-template-columns: 1fr; gap: 32px; }
  .banner-main { flex-direction: column; text-align: center; }
  .banner-text h1 { font-size: 28px; }
  .banner-ctas { justify-content: center; }
  .banner-info { justify-content: center; }
  .banner-image { display: none; }
}

@media (max-width: 768px) {
  .top-bar-links { display: none; }
  .header-inner { gap: 12px; }
  .cart-label, .cart-value { display: none; }
  .nav-toggle { display: flex; }
  .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 8px 0; z-index: 200; }
  .nav-list.open { display: flex; }
  .nav-list > li > a { padding: 12px 20px; }
  .dropdown { position: static; box-shadow: none; border-radius: 0; border-top: none; border-left: 3px solid var(--green); margin-left: 20px; background: #1a1a1a; }
  .main-nav { position: relative; }
  .banner-mini-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .banner-mini-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-text h1 { font-size: 24px; }
  .logo-text .logo-blocos { font-size: 18px; }
}

/* ===== CATÁLOGO / PÁGINAS DE CATEGORIA E PRODUTO ===== */
.breadcrumb { font-size: 13px; color: var(--gray); padding: 18px 0 6px; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { margin: 0 7px; color: #bbb; }
.catalog { padding: 8px 0 54px; }
.page-head { margin: 6px 0 26px; }
.page-head h1 { font-size: 30px; color: var(--black); line-height: 1.2; }
.page-head h1 span { color: var(--green-dark); }
.page-head p { color: var(--gray); max-width: 780px; margin-top: 10px; line-height: 1.55; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
/* ===== CELULAR: 2 produtos lado a lado (cards menores) ===== */
@media (max-width: 600px) {
  .catalog-grid,
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img { height: 150px; }
  .product-info { padding: 10px; }
  .product-info h4 { font-size: 12px; line-height: 1.3; }
  .product-unit { font-size: 10px; margin-bottom: 8px; }
  .btn-details { padding: 7px 10px; font-size: 12px; }
  .product-badge { font-size: 9px; padding: 2px 7px; }
}
@media (max-width: 360px) {
  .catalog-grid,
  .product-grid { gap: 9px; }
  .product-img { height: 130px; }
  .product-info { padding: 8px; }
}
.product-img.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 200px; border-radius: 8px; background: repeating-linear-gradient(135deg,#f4f5f5,#f4f5f5 14px,#eceeed 14px,#eceeed 28px); color: #9aa0a0; }
.product-img.placeholder svg { opacity: .45; }
.product-img.placeholder .ph-dim { font-weight: 700; font-size: 13px; color: #7a8080; letter-spacing: .5px; }
.product-img.placeholder .ph-note { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color:#aab0b0; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding: 12px 0 30px; }
.detail .product-img.placeholder { height: 380px; }
.detail h1 { font-size: 28px; color: var(--black); margin-bottom: 10px; line-height: 1.2; }
.detail-mpa { display: inline-block; background: var(--green-light); color: var(--green-dark); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.detail-price { font-size: 30px; font-weight: 800; color: var(--green-dark); }
.detail-old { color: #aaa; text-decoration: line-through; font-size: 18px; margin-left: 8px; font-weight: 600; }
.detail-unit { color: var(--gray); font-size: 13px; margin: 4px 0 18px; }
.detail-desc { color: #444; line-height: 1.65; margin: 16px 0; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; }
.specs-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; }
.specs-table th, .specs-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; }
.specs-table th { background: #fafafa; color: #555; width: 42%; font-weight: 600; }
.related { padding: 10px 0 50px; }
.related h3 { font-size: 20px; margin: 26px 0 16px; color: var(--black); }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; gap: 24px; } }
/* ===== NOSSAS OBRAS (galeria) ===== */
.obras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1024px) { .obras-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .obras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  {
  .obras-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .obra-img { height: 130px; }
  .obra-card figcaption { padding: 9px 10px; }
  .obra-card figcaption strong { font-size: 13px; }
  .obra-card figcaption span { font-size: 11px; }
}
.obra-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.obra-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.obra-img { height: 200px; }
.obra-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.obra-group-title { font-size: 20px; font-weight: 800; color: var(--black); margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--green-dark); display: inline-block; }
.obra-group-title:first-of-type { margin-top: 6px; }
.obra-img.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 200px; background: repeating-linear-gradient(135deg,#f4f5f5,#f4f5f5 14px,#eceeed 14px,#eceeed 28px); color: #9aa0a0; }
.obra-img.placeholder svg { opacity: .4; }
.obra-card figcaption { padding: 14px 16px; }
.obra-card figcaption strong { display: block; color: var(--black); font-size: 15px; margin-bottom: 2px; }
.obra-card figcaption span { color: var(--gray); font-size: 13px; }
.obras-cta { margin: 38px 0 10px; background: var(--green-light); border-radius: 12px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.obras-cta h3 { color: var(--green-dark); font-size: 20px; }
.obras-cta p { color: var(--gray-dark); margin-top: 4px; }
/* ===== ORIENTAÇÕES TÉCNICAS ===== */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.tip-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tip-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--green-light); color: var(--green-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.tip-card h4 { color: var(--black); font-size: 16px; margin-bottom: 8px; }
.tip-card p { color: var(--gray-dark); font-size: 14px; line-height: 1.6; }
/* ===== REFINO MOBILE (fontes, fotos, espaçamentos) ===== */
@media (max-width: 900px) {
  /* mostra a foto do hero no mobile (estava oculta), de forma responsiva */
  .banner-image { display: block; width: 100%; max-width: 360px; margin: 4px auto 0; }
  .banner-hero-img { width: 100%; height: auto; object-fit: contain; }
  .banner-main { padding: 28px 22px; gap: 22px; }
  .banner-text p { margin-left: auto; margin-right: auto; }
  .hero-banners { padding: 20px 0; }
  .page-head h1 { font-size: 24px; }
  .detail h1 { font-size: 23px; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .header { padding: 12px 0; }
  .logo-img { height: 60px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .search-form { order: 3; flex-basis: 100%; max-width: 100%; }
  .banner-main { padding: 24px 18px; }
  .banner-text h1 { font-size: 26px; }
  .banner-info { gap: 16px; }
  .detail { gap: 22px; }
  .detail .product-img.placeholder { height: 260px; }
  .page-head h1 { font-size: 22px; }
  .page-head p { font-size: 14px; }
  .products-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .why-section h2, .quote-text h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .banner-text h1 { font-size: 23px; }
  .banner-ctas { flex-direction: column; }
  .banner-ctas .btn-primary, .banner-ctas .btn-outline { width: 100%; justify-content: center; }
  .banner-info { flex-direction: column; gap: 12px; align-items: center; }
  .obras-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .obras-cta .btn-primary { width: 100%; justify-content: center; }
  .pagination { flex-wrap: wrap; gap: 6px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn-primary, .detail-actions .btn-outline { width: 100%; justify-content: center; }
  .product-actions { flex-wrap: wrap; }
}
/* ===== BUSCA DE PRODUTOS (resultados) ===== */
.search-results { position: fixed; background: #fff; border: 1px solid var(--border); border-radius: 0 0 8px 8px; box-shadow: var(--shadow-hover); z-index: 300; max-height: 360px; overflow-y: auto; display: none; }
.search-results.show { display: block; }
.search-results a { display: block; padding: 10px 14px; color: var(--dark); font-size: 14px; border-bottom: 1px solid #f1f1f1; }
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--green-light); color: var(--green-dark); }
.search-results .sr-cat { display: block; font-size: 11px; color: var(--gray-light); margin-top: 2px; }
.search-results .sr-empty { padding: 12px 14px; color: var(--gray); font-size: 14px; }
/* ===== SOBRE A COMBLOCOS ===== */
.about-text { max-width: 840px; }
.about-text h2 { font-size: 22px; color: var(--black); margin: 28px 0 12px; }
.about-text p { color: var(--gray-dark); line-height: 1.75; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 32px 0; }
.about-stat { background: var(--white); border: 1px solid var(--border); border-bottom: 3px solid var(--green); border-radius: 10px; padding: 20px 16px; text-align: center; box-shadow: var(--shadow); }
.about-stat strong { display: block; font-size: 24px; color: var(--green-dark); line-height: 1.1; margin-bottom: 6px; }
.about-stat span { font-size: 13px; color: var(--gray); }
@media (max-width: 768px) { .about-stats { grid-template-columns: 1fr 1fr; } }
.about-photo { margin: 28px 0 8px; }
.about-photo img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
.about-photo figcaption { font-size: 13px; color: var(--gray); text-align: center; margin-top: 10px; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 8px; }
.about-gallery figure { margin: 0; }
.about-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
@media (max-width: 768px) { .about-gallery { grid-template-columns: 1fr 1fr; } .about-gallery img { height: 180px; } }
@media (max-width: 480px) { .about-gallery { grid-template-columns: 1fr; } .about-gallery img { height: 220px; } }
/* ===== SEM VENDAS ONLINE (oculta carrinho e botões de adicionar) ===== */
.cart-btn { display: none !important; }
.btn-cart { display: none !important; }
/* badge "Mais Vendido" em vermelho (teste de cor) */
.product-badge.best { background: #e02424; }
.detail .product-img { height: 380px; border-radius: 8px; }
@media (max-width: 768px) { .detail .product-img { height: 260px; } }
/* Todos os Produtos — títulos de categoria */
.allprod-cat { font-size: 21px; color: var(--black); margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.allprod-cat a:hover { color: var(--green-dark); }

/* Precos ocultos */
.product-price { display: none !important; }
.detail-price { display: none !important; }
.price-old { display: none !important; }
.price-current { display: none !important; }
.detail-unit { display: none !important; }

/* ===== NOSSA LOCALIZAÇÃO ===== */
.map-section { background: var(--bg); padding: 64px 0; }
.map-section-title { text-align: center; font-size: 30px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.map-section-title span { color: var(--green-dark); }
.map-section-sub { text-align: center; color: var(--gray); font-size: 15px; margin-bottom: 32px; line-height: 1.7; }
.map-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
@media (max-width: 768px) { .map-section { padding: 40px 0; } .map-section-title { font-size: 24px; } .map-wrapper iframe { height: 300px !important; } }

/* ===== NOTÍCIAS DO SETOR ===== */
.news-section { background: var(--white); padding: 64px 0; border-top: 1px solid var(--border); }
.news-section-header { text-align: center; margin-bottom: 40px; }
.news-section-title { font-size: 30px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.news-section-title span { color: var(--green-dark); }
.news-section-sub { color: var(--gray); font-size: 15px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
  border-top: 3px solid var(--green-dark);
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.news-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: var(--dark);
  text-decoration: none;
  height: 100%;
}
.news-card-link:hover .news-card-title { color: var(--green-dark); }

.news-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-meta { font-size: 11px; color: var(--gray-light); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.news-card-title { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.45; transition: color .2s; }

.news-arrow { flex-shrink: 0; color: var(--green-dark); opacity: 0.6; }
.news-card:hover .news-arrow { opacity: 1; }

/* Loading */
.news-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 0;
  color: var(--gray);
  font-size: 14px;
}
.news-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--green-dark);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Error */
.news-error {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
  color: var(--gray);
  font-size: 14px;
}
.news-error svg { color: var(--gray-light); }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .news-section { padding: 40px 0; } .news-section-title { font-size: 24px; } }

/* ===== Nota de consulta (blocos) ===== */
.detail-note { margin: 6px 0 14px; padding: 9px 13px; background: var(--green-light); border-left: 3px solid var(--green-dark); border-radius: 6px; font-size: 13px; line-height: 1.4; color: var(--gray); }
.product-note { margin-top: 6px; font-size: 11px; line-height: 1.35; color: var(--green-dark); font-weight: 500; }

/* ===== Banner ATENÇÃO calçada (home) ===== */
.banner-image { flex-direction: row; gap: 18px; align-items: stretch; }
.atencao-calcada { width: 420px; max-width: 100%; margin: 0 auto; flex-shrink: 0; order: -1; display: flex; flex-direction: column; }
.atencao-titulo { background: #cdf24a; color: #111; border-radius: 13px; padding: 10px 11px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 32px; letter-spacing: 1px; line-height: 1; }
.atencao-titulo svg { width: 25px; height: 25px; flex-shrink: 0; }
.atencao-corpo { background: #111; color: #cdf24a; border-radius: 13px; padding: 14px 15px; margin-top: 8px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.atencao-corpo p { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.35; text-transform: uppercase; }
.atencao-corpo p + p { margin-top: 0; }
.atencao-corpo strong { color: #fff; }

/* ===== Hero centralizado (só banner ATENÇÃO + carrossel + botão Orçamento) ===== */
.banner-main.hero-centered { flex-direction: column; justify-content: center; gap: 26px; }
.banner-main.hero-centered .banner-image { display: flex; width: 100%; justify-content: space-evenly; align-items: stretch; gap: 40px; }
.hero-cta { display: flex; justify-content: center; width: 100%; }
.hero-cta .btn-primary { font-size: 20px; padding: 15px 44px; border-radius: 10px; }

/* Hero no mobile: empilha carrossel e placa, centralizados */
@media (max-width: 900px) {
  .banner-main.hero-centered .banner-image { flex-direction: column; width: 100%; max-width: 360px; margin: 0 auto; gap: 18px; justify-content: center; align-items: center; }
}

/* ===== Ícones de contato no top bar — cores reais das marcas ===== */
.top-bar-links { gap: 12px; }
.top-bar-links a[href^="https://wa.me"]        { color: #25D366; }
.top-bar-links a[href^="https://instagram"]    { color: #E1306C; }
.top-bar-links a[href^="mailto:"]              { color: #EA4335; }
.top-bar-links a[href^="https://wa.me"]:hover     { color: #1ebe5d; transform: translateY(-1px); }
.top-bar-links a[href^="https://instagram"]:hover { color: #c92b67; transform: translateY(-1px); }
.top-bar-links a[href^="mailto:"]:hover           { color: #d33b2c; transform: translateY(-1px); }
.top-bar-links a { transition: color .2s, transform .15s; }

/* ===== Nossas Obras (destaque na home) ===== */
.home-obras { background: var(--bg); padding: 46px 0; }
.home-obras-head { text-align: center; margin-bottom: 28px; }
.home-obras-head h2 { font-size: 28px; font-weight: 800; color: var(--black); }
.home-obras-head h2 span { color: var(--green-dark); }
.home-obras-head p { color: var(--gray); margin-top: 6px; }
.home-obras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .home-obras-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .home-obras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .home-obras-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.home-obra-banner { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.home-obra-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.home-obra-banner:hover { box-shadow: var(--shadow-hover); }
.home-obra-banner:hover img { transform: scale(1.07); }
.home-obra-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.82)); color: #fff; }
.home-obra-overlay strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.home-obra-overlay span { font-size: 12px; opacity: 0.9; }
.home-obras-cta { text-align: center; margin-top: 28px; }
/* CELULAR: descricao da obra ABAIXO da foto (em vez de sobreposta) */
@media (max-width: 600px) {
  .home-obra-banner { aspect-ratio: auto; background: var(--white); border: 1px solid var(--border); }
  .home-obra-banner img { aspect-ratio: 4 / 3; height: auto; }
  .home-obra-overlay { position: static; background: none; padding: 9px 10px 10px; color: var(--dark); }
  .home-obra-overlay strong { font-size: 13px; color: var(--black); }
  .home-obra-overlay span { font-size: 11px; opacity: 1; color: var(--gray); }
}

/* ===== Slogan abaixo da logo (rodapé) ===== */
.footer-slogan { font-size: 14px; font-weight: 600; font-style: italic; color: #fff; line-height: 1.4; max-width: 270px; margin: -6px 0 16px; border-left: 3px solid var(--green); padding-left: 10px; }

/* ===== Marca no header (logo + slogan) ===== */
.header .logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header .logo-img { height: 174px; }
.logo-slogan { font-size: 16px; font-weight: 600; font-style: italic; color: var(--green-dark); line-height: 1.3; max-width: 260px; }
@media (max-width: 600px) { .logo-slogan { display: none; } }

/* ===== Info do top bar (data, temperatura, hora) ===== */
.top-bar-info { font-variant-numeric: tabular-nums; }

/* ===== Logo 3D animada no header (bloco de concreto ComBlocos) ===== */
.cb3d-scene { display:block; width:250px; height:175px; perspective:900px; flex-shrink:0; }
.cb3d-block { display:block; width:196px; height:100px; position:relative; transform-style:preserve-3d; margin:37px auto; animation:cb3dspin 3s ease-in-out 1 forwards; }
@keyframes cb3dspin { from { transform:rotateX(-15deg) rotateY(0deg); } to { transform:rotateX(-15deg) rotateY(360deg); } }
.cb3d-face { position:absolute; left:50%; top:50%; box-sizing:border-box; }
.cb3d-front, .cb3d-back { width:196px; height:100px; margin-left:-98px; margin-top:-50px; background:#d3cdc3; display:flex; align-items:center; justify-content:center; }
.cb3d-right, .cb3d-left { width:80px; height:100px; margin-left:-40px; margin-top:-50px; background:#b3ada1; }
.cb3d-top, .cb3d-bottom { width:196px; height:80px; margin-left:-98px; margin-top:-40px; }
.cb3d-front { transform:translateZ(40px); }
.cb3d-back { transform:rotateY(180deg) translateZ(40px); }
.cb3d-right { transform:rotateY(90deg) translateZ(98px); }
.cb3d-left { transform:rotateY(-90deg) translateZ(98px); }
.cb3d-top { transform:rotateX(90deg) translateZ(50px); background:#e6e1d7; display:flex; align-items:center; justify-content:center; gap:30px; }
.cb3d-bottom { transform:rotateX(-90deg) translateZ(50px); background:#9d978c; }
.cb3d-hole { width:56px; height:56px; border-radius:8px; background:#6f6a60; box-shadow:inset 0 0 0 7px #837d72; }
.cb3d-panel { width:186px; height:90px; background:#fff; border-radius:5px; display:flex; align-items:center; justify-content:center; padding:3px; }
.cb3d-logo { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; }
@media (max-width:600px) { .cb3d-scene { transform:scale(0.72); width:200px; } }
