/* Layout principal e componentes compartilhados. */
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
[hidden] { display: none !important; }
.site-hero.hero-wrap { max-width: none; padding: 0; margin-top: var(--header-h); }
.site-hero .hero { max-width: none; width: 100%; border-radius: 0; height: clamp(220px, 29vw, 520px); box-shadow: none; }
.site-hero .hero-slide { background-position: center; }
.site-hero .hero-content { margin-left: max(0px, calc((100vw - 1200px) / 2)); }
.rume-catalog-page .cat-wrap { margin-top: 0; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.catalog-heading .section-title { margin: 0; }
.catalog-back { display: inline-block; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.catalog-search { display: flex; width: min(100%, 300px); min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.catalog-search input { width: 100%; min-width: 0; padding: 12px 14px; border: 0; background: transparent; color: var(--dark); font: inherit; font-size: 14px; }
.catalog-search button { flex: 0 0 46px; display: grid; place-items: center; color: var(--dark); }
.catalog-search:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.catalog-search input:focus { outline: none; }
.catalog-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 16px; }
.catalog-filters label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.catalog-filters select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; color: var(--dark); }
#clearFilters { min-height: 44px; padding: 8px; text-decoration: underline; color: var(--primary); }
.catalog-count { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
/* A página geral usa apenas a navegação de categorias e a grade de itens. */
.rume-catalog-page .catalog-heading,
.rume-catalog-page .catalog-filters,
.rume-catalog-page #catalogCount { display:none!important; }
.rume-home #esteira, .rume-catalog-page #esteira { display: grid; gap: 14px; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; padding: 0; width: 100%; }
.rume-home .esteira-item, .rume-catalog-page .esteira-item { width: auto; min-width: 0; max-width: none; }
.rume-home .esteira-item .item-img-wrap, .rume-catalog-page .esteira-item .item-img-wrap { width: 100%; height: auto; aspect-ratio: 3 / 5; }
.rume-home .esteira-item img, .rume-catalog-page .esteira-item img { width: 100%; height: 100%; object-fit: cover; }
.rume-home .esteira-wrap, .rume-catalog-page .esteira-wrap { margin: 0; padding: 0; }
.rume-home .esteira-arrow, .rume-catalog-page .esteira-arrow { display: none; }
.rume-catalog-page #esteira { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.catalog-more { display: flex; justify-content: center; margin: 24px 0 32px; }
.rume-button, .rume-home .home-blog-all { display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: #111; color: #fff; border-radius: 8px; padding: 12px 20px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; }
.rume-button:hover, .rume-home .home-blog-all:hover { background: #333; text-decoration: none; }
.rume-home .home-blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rume-home .blog-card-img { aspect-ratio: 16 / 9; height: auto; }
.rume-home .blog-card-body { padding: 16px; }
.rume-home .blog-card-title { font-size: 16px; line-height: 1.4; }
.rume-home .blog-card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; }
.home-pair { width: 100%; max-width: 1200px; margin: 0 auto 32px; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.home-pair > section, .home-pair > .footer-banner { min-width: 0; max-width: none; width: 100%; margin: 0; padding: 0; }
.home-pair .section-title { font-size: clamp(21px, 2.2vw, 27px); }
.home-pair .faq-section, .home-pair .faq-section .section-title, .home-pair .faq-section .section-label { text-align: left; }
.home-pair .faq-list { max-width: none; }
.home-pair .faq-item { padding: 3px 14px; }
.home-pair .faq-item summary { font-size: 13px; padding: 12px 24px 12px 0; }
.home-pair .reviews-head { align-items: flex-start; }
.home-pair .review-card { flex: 0 0 calc(50% - 7px); min-width: 0; padding: 16px; }
.home-pair .review-text { font-size: 13px; }
.home-pair-downloads { align-items: stretch; }
.home-pair .home-nl-inner { height: 100%; padding: 24px; }
.home-pair .catalog-download-inner { height: 100%; padding: 24px; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 16px; }
.home-pair .catalog-download-text { flex: 0 1 auto; min-width: 0; }
.home-pair .catalog-download-title { font-size: 24px; }
.home-pair .catalog-download-btn { flex: 0 1 auto; max-width: 100%; margin: 0; white-space: normal; }
.home-pair .map-frame iframe { height: 260px; display: block; }
.home-pair-location { align-items: stretch; }
.home-pair .footer-banner { display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); background: #fff; border-radius: 18px; overflow: hidden; }
.home-pair .banner-left, .home-pair .banner-center { max-width: none; min-width: 0; flex: 0 1 auto; padding: 24px; }
.home-pair .banner-left { padding-bottom: 0; }
.home-pair .banner-divider { display: none; }
.home-pair .banner-cta { align-self: flex-start; }
.rume-footer .footer-main { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 24px; }
.rume-footer .footer-col ul li { margin-bottom: 8px; }
.rume-footer .footer-about { font-size: 13px; }
.rume-footer .footer-bottom-inner { padding: 16px 6px; }
.rume-footer .footer-contact { min-width: 0; overflow-wrap: anywhere; }
.rume-home .detail, .rume-catalog-page .detail { position: relative; padding-top: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.detail-close { position: absolute; top: 0; right: 0; min-height: 40px; padding: 8px 12px; color: var(--primary); font-size: 13px; }
.thumb { border: 0; padding: 0; }
.rume-home .main, .rume-catalog-page .main { min-width: 0; }
@media (max-width: 1100px) {
  .rume-home #esteira { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rume-catalog-page #esteira { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rume-home .esteira-item .item-img-wrap { aspect-ratio: 4 / 5; }
  .rume-home .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-pair { gap: 22px; }
  .home-pair .review-card { flex-basis: 100%; }
  .rume-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .home-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-hero .hero { height: clamp(220px, 55vw, 360px); }
  .site-hero .hero-slide { background-position: 60% center; }
  .catalog-heading { flex-wrap: wrap; gap: 14px; }
  .catalog-search { width: 100%; }
  .home-pair .review-card { flex-basis: calc(50% - 7px); }
  .rume-home .home-blog-head { align-items: center; }
}
@media (max-width: 480px) {
  .rume-home #esteira, .rume-catalog-page #esteira { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rume-home .esteira-item .item-img-wrap, .rume-catalog-page .esteira-item .item-img-wrap { aspect-ratio: 4 / 5; }
  .rume-home .esteira-item .item-name, .rume-catalog-page .esteira-item .item-name { font-size: 12px; }
  .rume-home .home-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .rume-home .home-blog-grid .blog-card { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
  .rume-home .home-blog-grid .blog-card-img { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .rume-home .home-blog-grid .blog-card-body { padding: 12px; }
  .rume-home .home-blog-grid .blog-card-title { font-size: 14px; }
  .rume-home .home-blog-grid .blog-card-excerpt { font-size: 12px; }
  .rume-home .home-blog-grid .blog-card-meta { flex-wrap: wrap; font-size: 10px; gap: 4px; }
  .home-pair .review-card { flex-basis: 100%; }
  .rume-footer .footer-main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rume-footer .footer-bottom-inner { gap: 8px; font-size: 11px; }
  .home-pair .catalog-download-inner, .home-pair .home-nl-inner { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .esteira-item, .rume-button { transition: none; }
}

/* Second round: categories, four reviews and autonomous home banners. */
.cat-btn.active, .cat-btn.active:hover { background: #000; border-color: #000; color: #fff; box-shadow: none; }
.rume-home .home-pair #reviewsGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; overflow: visible; padding: 0; scroll-snap-type: none; }
.rume-home #reviewsGrid::after { display: none; }
.rume-home #reviewsGrid:not([data-ready]) > .review-card:nth-child(n+5) { display: none; }
.rume-home #reviewsGrid .review-card { width: auto; min-width: 0; max-width: none; margin: 0; padding: 16px; }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.rume-home .reviews-controls .reviews-arrow { position: static; display: flex; transform: none; width: 40px; height: 40px; }
.reviews-controls > span { font-size: 13px; color: var(--muted); min-width: 44px; text-align: center; }
.reviews-controls button:disabled { opacity: .4; cursor: default; }
.site-hero .hero { position: relative; }
.site-hero .hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease; pointer-events: none; }
.site-hero .hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-picture { position: absolute; inset: 0; display: block; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-hero .hero-content h2 { font-size: clamp(21px, 3.6vw, 35px); font-weight: 700; letter-spacing: .03em; line-height: 1.15; margin-bottom: 6px; }
.cart-image-placeholder { flex: 0 0 48px; display: grid; place-items: center; }
.cart-storage-notice { font-size: 12px; padding: 12px; background: #f6eee0; border-radius: 8px; }
#homeSearchStatus { margin-top: -8px; }
@media(max-width:480px) {
  .rume-home .home-pair #reviewsGrid { gap: 10px; }
  .rume-home #reviewsGrid .review-card { padding: 12px 10px; gap: 8px; }
  .rume-home #reviewsGrid .review-text { font-size: 12px; line-height: 1.55; }
  .rume-home #reviewsGrid .review-time { font-size: 10px; }
  .hero-picture img { object-position: 60% center; }
}
@media(prefers-reduced-motion:reduce) { .site-hero .hero-slide { transition: none; } }

/* Cabeçalho compacto e paleta monocromática do site público. */
body { --primary:#111; --primary-dark:#000; --dark:#111; --text:#222; --muted:#626262; --bg:#fff; --border:#dedede; --shadow:0 8px 28px rgba(0,0,0,.06); --rume-text:#111; --rume-tan:#555; --rume-tan-soft:#666; --rume-line:#ddd; --rume-green:#111; background:#fff; }
.header .header-inner { display:grid; grid-template-columns:minmax(0,1fr) 150px auto; gap:12px; }
.header .header-search { width:150px; height:38px; border-radius:8px; }
.header-search input { padding:8px 10px; font-size:12px; }
.header-search button { flex-basis:34px; }
.header, .bottom-bar { border-color:#e5e5e5; }
.rume-home .main { padding-top:8px; }
.rume-home .catalog-heading { display:flex; flex-wrap:nowrap; justify-content:space-between; gap:12px; margin-bottom:10px; }
.rume-home .catalog-heading .section-title, .rume-home #viewAllLaminas { font-size:13px; line-height:1.4; }
.rume-home #viewAllLaminas { min-height:36px; padding:8px 14px; border-radius:6px; text-align:center; flex-shrink:0; }
.cat-wrap, .cat-menu { background:#fff; }
.cat-btn { color:#222; box-shadow:none; }
.rume-home .home-blog-section { background:#fff; margin-bottom:0; padding-top:32px; padding-bottom:40px; }
.rume-home .home-pair { max-width:none; margin:0; padding:44px max(16px, calc((100% - 1168px) / 2)); gap:36px; }
.rume-home .home-pair-support { background:#d5d5d5; color:#111; --dark:#111; --text:#222; --muted:#555; --primary:#111; --border:#bdbdbd; }
.rume-home .home-pair-support .section-title, .rume-home .home-pair-support .section-label { color:#111; }
.rume-home .home-pair-support .faq-item { background:transparent; border:0; border-bottom:1px solid #b8b8b8; border-radius:0; box-shadow:none; padding:3px 0; }
.rume-home .home-pair-support .faq-item summary { color:#111; }
.rume-home .home-pair-support .faq-item p { color:#444; }
.rume-home .home-pair-support #reviewsGrid .review-card { background:#fff; border-color:#c9c9c9; border-radius:10px; box-shadow:none; }
.rume-home .home-pair-support .review-avatar { background:#111; color:#fff; }
.rume-home .home-pair-support .review-text, .rume-home .home-pair-support .review-card strong { color:#111; }
.rume-home .home-pair-support .review-time { color:#666; }
.rume-home .home-pair-support .reviews-arrow { background:#fff; color:#111; border-color:#bdbdbd; box-shadow:none; }
.rume-home .home-pair-support .google-badge { color:#111; --muted:#555; }
.rume-home .home-pair-downloads { background:#fff; align-items:stretch; }
.rume-home .home-pair-downloads .home-nl-inner, .rume-home .home-pair-downloads .catalog-download-inner { padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; text-align:left; }
.rume-home .home-pair-downloads .home-nl-copy, .rume-home .home-pair-downloads .section-title, .rume-home .home-pair-downloads .section-label { text-align:left; }
.rume-home .home-pair-downloads .home-nl-lead, .rume-home .home-pair-downloads .catalog-download-desc, .rume-home .home-pair-downloads .nl-consent-row { color:#555; }
.rume-home .home-pair-downloads .home-nl-lead, .rume-home .home-pair-downloads .nl-consent-row { margin-left:0; margin-right:0; max-width:none; }
.rume-home .home-pair-downloads .catalog-download-title { color:#111; font-size:24px; }
.rume-home .home-pair-downloads .catalog-download-inner { border-left:1px solid #ddd; padding-left:36px; justify-content:flex-start; gap:12px; }
.rume-home .home-pair-downloads .catalog-download-icon { width:24px; height:24px; background:#111; color:#fff; border-radius:4px; }
.rume-home .home-pair-downloads .catalog-download-icon svg { width:16px; height:16px; }
.rume-home .home-pair-downloads .catalog-download-btn { background:#111; color:#fff; }
.rume-home .home-pair-downloads .blog-nl-form { margin-left:0; margin-right:0; max-width:none; }
.rume-home .home-pair-downloads .blog-nl-form input { background:#fff; border-color:#aaa; color:#111; }
.rume-home .home-pair-downloads .blog-nl-form button { background:#111; color:#fff; }
.rume-home .home-pair-downloads .nl-consent-row a { color:#111; }
.rume-home .home-pair-location { background:#d5d5d5; color:#111; --dark:#111; --text:#222; --muted:#555; --primary:#111; --border:#bdbdbd; }
.rume-home .home-pair-location .section-title, .rume-home .home-pair-location .section-label, .rume-home .home-pair-location .map-link { color:#111; }
.rume-home .home-pair-location .map-address { color:#555; }
.rume-home .home-pair-location .footer-banner { background:transparent; border:0; border-radius:0; box-shadow:none; padding-left:12px; }
.rume-home .home-pair-location .banner-title, .rume-home .home-pair-location .banner-icon { color:#111; }
.rume-home .home-pair-location .banner-title { font-size:28px; }
.rume-home .home-pair-location .banner-text { color:#444; }
.rume-home .home-pair-location .banner-cta { background:#155c37; border-color:#155c37; color:#fff; }
body .rume-footer { background:linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.86)),url('/imagens-folhas/rodape-v5.png') center / cover no-repeat; --rume-text:#fff; --rume-tan:#eee; --rume-tan-soft:#ddd; --rume-line:rgba(255,255,255,.25); --rume-green:#fff; color:#fff; border-top:0; padding-top:36px; }
body .rume-footer .footer-contact-icon { color:#fff; }
body .rume-footer .footer-social a:hover { background:#fff; color:#111; }
body .rume-footer .footer-banner { --rume-text:#111; --rume-tan:#555; --rume-green:#111; }
.cart-storage-notice { background:#f2f2f2; }
@media(max-width:767px) {
  .rume-home .home-pair { padding-top:32px; padding-bottom:32px; gap:32px; }
  .rume-home .home-pair-downloads .catalog-download-inner { border-left:0; border-top:1px solid #ddd; padding:28px 0 0; }
  .rume-home .home-pair-location .footer-banner { padding:0; }
  .rume-home .home-pair-location .banner-left, .rume-home .home-pair-location .banner-center { padding-left:0; padding-right:0; }
}
@media(max-width:480px) {
  .header .header-inner { grid-template-columns:90px minmax(0,150px) auto; gap:8px; padding:0 10px; }
  .header .logo img { width:90px; height:auto; }
  .header .header-search { width:100%; }
  .header .header-right { gap:5px; }
  .header .btn-icon, .header .btn-menu { width:40px; height:40px; }
  .header-search input { font-size:16px; line-height:1.25; padding:6px 8px; }
  .header-search button { flex-basis:30px; }
  .rume-home .catalog-heading .section-title, .rume-home #viewAllLaminas { font-size:12px; }
  .rume-home .home-pair-downloads .catalog-download-title { font-size:22px; }
}

/* Public inner pages share the home carousel without changing their own headings. */
.has-site-hero .blog-main { padding-top:28px; }
body:not(.rume-home) .rume-footer .footer-banner .banner-cta,
body:not(.rume-home) .rume-footer .footer-banner .banner-cta:hover,
body:not(.rume-home) .rume-footer .footer-banner .banner-cta:focus-visible {
  background:#155c37; color:#fff; border-color:#155c37;
}
body:not(.rume-home) .rume-footer .footer-banner .banner-cta:focus-visible { outline:2px solid #155c37; outline-offset:3px; }
@media(max-width:480px) { .site-hero .hero-content h2#heroTitle { font-size:18px; } }
@media(max-width:480px) {
  .post-content table { width:100%; table-layout:fixed; }
  .post-content th, .post-content td { overflow-wrap:anywhere; }
}

/* Home only: coated boards with a product selector and an informational scale image. */
.rume-home .chapas-showcase { display:grid; grid-template-columns:64px minmax(0,1fr) minmax(0,1.1fr); gap:20px; padding:24px; background:#fff; border:1px solid #dedede; border-radius:18px; box-shadow:0 8px 28px rgba(0,0,0,.06); align-items:start; margin-bottom:28px; }
.chapas-thumbs { display:flex; flex-direction:column; gap:8px; align-self:center; }
.chapas-thumb { width:64px; height:64px; padding:0; border:2px solid transparent; border-radius:9px; overflow:hidden; background:#f4f4f4; }
.chapas-thumb.active { border-color:#111; }
.chapas-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.chapas-dimension-thumb img { object-fit:contain; background:#fff; }
.chapas-image-wrap { position:relative; min-width:0; border-radius:12px; overflow:hidden; background:#f4f4f4; }
.chapas-image-open { width:100%; display:block; position:relative; padding:0; aspect-ratio:4 / 5; cursor:zoom-in; }
.chapas-image-open img { display:block; width:100%; height:100%; object-fit:cover; }
.showing-dimensions .chapas-image-open { background:#fff; }
.showing-dimensions .chapas-image-open img { object-fit:contain; }
.chapas-zoom-hint { position:absolute; bottom:10px; right:10px; border-radius:20px; background:rgba(0,0,0,.72); color:#fff; padding:5px 9px; font-size:10px; pointer-events:none; }
.chapas-add { position:absolute; top:12px; right:12px; width:42px; height:42px; display:grid; place-items:center; background:#000; border:1px solid #fff; color:#fff; border-radius:50%; font-size:24px; z-index:1; }
.chapas-thumb:focus-visible, .chapas-add:focus-visible, .chapas-image-open:focus-visible, .chapas-whatsapp:focus-visible { outline:3px solid #777; outline-offset:3px; }
.chapas-info { min-width:0; }
.chapas-breadcrumb { font-size:11px; line-height:1.5; color:#666; margin:0 0 14px; }
.chapas-about-label { font-size:13px; line-height:1.4; text-align:center; padding:13px; border:1px solid #dedede; border-radius:8px; margin:0 0 18px; color:#111; }
.chapas-about { padding:18px; background:#f7f7f7; border:1px solid #e6e6e6; border-radius:10px; }
.chapas-about > p { margin:0; color:#555; font-size:14px; line-height:1.75; white-space:pre-line; }
.chapas-application { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:14px; border:1px solid #e2e2e2; border-radius:7px; padding:10px; background:#fff; color:#444; font-size:11px; }
.chapas-application > span:first-child { color:#2e7d32; }
.chapas-application strong { font-weight:500; color:#222; }
.chapas-whatsapp { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px; margin-top:16px; background:#155c37; border-radius:8px; color:#fff; font-size:13px; font-weight:600; }
.chapas-whatsapp:hover { background:#104a2c; }
.chapas-features { display:flex; flex-wrap:wrap; gap:8px 14px; padding-top:14px; margin-top:16px; border-top:1px solid #ddd; color:#666; list-style:none; font-size:11px; }
@media(max-width:900px) {
  .rume-home .chapas-showcase { grid-template-columns:48px minmax(0,1fr) minmax(0,1.1fr); padding:16px; gap:14px; }
  .chapas-thumb { width:48px; height:48px; }
  .chapas-about { padding:12px; }
  .chapas-about > p { font-size:13px; }
}
@media(max-width:650px) {
  .rume-home .chapas-showcase { grid-template-columns:44px minmax(0,1fr); padding:12px; gap:12px; }
  .chapas-thumb { width:44px; height:44px; }
  .chapas-info { grid-column:1 / -1; }
  .chapas-image-open { aspect-ratio:4 / 5; }
  .chapas-add { width:38px; height:38px; top:8px; right:8px; }
}

/* Categorias, consentimento e apresentação compacta no celular. */
.rume-home .cat-btn[data-section="naturais"] { --category-color:#000; --category-ink:#fff; }
.rume-home .cat-btn[data-section="compostas"] { --category-color:#b91c1c; --category-ink:#fff; }
.rume-home .cat-btn[data-section="chapas"] { --category-color:#7e22ce; --category-ink:#fff; }
.rume-home .cat-btn[data-section="produtos"] { --category-color:#784421; --category-ink:#fff; }
.rume-home .cat-btn[data-section="marchetaria"] { --category-color:#facc15; --category-ink:#111; }
.rume-home .cat-btn[data-section="servicos"] { --category-color:#1d4ed8; --category-ink:#fff; }
.rume-home .cat-btn.active, .rume-home .cat-btn.active:hover { background:var(--category-color); border-color:var(--category-color); color:var(--category-ink); }
body .rume-lgpd-banner { background:#000; color:#fff; }
body .rume-lgpd-text, body .rume-lgpd-text a, body .rume-lgpd-link { color:#fff; }
body .rume-lgpd-btn, body .rume-lgpd-btn:hover { background:#fff; color:#000; }
.flex-panel-image { display:block; width:100%; max-width:1000px; max-height:540px; object-fit:contain; margin:0 auto 24px; border-radius:12px; }
.mobile-contact { display:none; }
@media(max-width:767px) {
  .rume-home { padding-bottom:calc(100px + env(safe-area-inset-bottom)); }
  .rume-home .hero-content, .rume-home .home-blog-section, .rume-home .home-pair,
  .rume-home .footer-main, .rume-home .footer-bottom, .rume-home .footer-banner,
  .rume-home .bottom-bar, .rume-home #detail, .rume-home .chapas-info,
  .rume-home #paineisFlexiveisView .svc-title, .rume-home #paineisFlexiveisView .servicos-grid,
  .rume-home #servicosView { display:none!important; }
  .rume-home .rume-footer { background:none; padding:0; border:0; }
  .cat-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0; gap:6px; overflow:visible; padding:4px 12px; }
  .cat-menu .cat-btn { justify-content:center; min-width:0; font-size:12px; padding:10px 6px; min-height:44px; gap:5px; }
  .rume-home .cat-wrap { padding:8px 0; }
  .rume-home .main { padding-top:8px; padding-bottom:8px; }
  .rume-home #esteira { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-flow:row; gap:10px; overflow:visible; padding:2px 0 12px; }
  .rume-home .esteira-item { scroll-snap-align:start; }
  .rume-home .esteira-item .item-img-wrap { aspect-ratio:3 / 5; border-radius:10px; }
  .rume-home .esteira-item .item-name { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  .rume-home .item-add { width:30px; height:30px; top:6px; right:6px; }
  .rume-home .chapas-showcase { grid-template-columns:44px minmax(0,1fr); padding:12px; gap:12px; }
  .rume-home .chapas-thumb { width:44px; height:44px; }
  .rume-home .flex-panel-image { margin-bottom:0; }
  .rume-home .mobile-contact { display:flex; position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:900; min-height:68px; gap:12px; align-items:center; padding:12px 14px; background:#155c37; color:#fff; border-radius:14px; box-shadow:0 4px 20px #0002; }
  .mobile-contact > span:nth-child(2) { flex:1; min-width:0; }
  .mobile-contact strong, .mobile-contact small { display:block; line-height:1.4; }
  .mobile-contact strong { font-size:13px; }
  .mobile-contact small { font-size:11px; margin-top:3px; }
  .mobile-contact svg { flex-shrink:0; }
}

/* Apresentações de serviços e painéis. */
@media(min-width:480px) and (max-width:767px) {
  .cat-menu { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.presentation-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:24px;
  padding:24px;
  background:#fff;
  border:1px solid #dedede;
  border-radius:18px;
  box-shadow:0 8px 28px #0000000f;
  align-items:start;
  margin-bottom:28px;
}
.presentation-card-services { grid-template-columns:minmax(0,1fr); }
.presentation-card .presentation-image { display:block; width:100%; height:auto; aspect-ratio:4 / 5; max-height:none; margin:0; object-fit:cover; border-radius:12px; }
.presentation-copy { min-width:0; }
.presentation-copy h2 { font-size:18px; line-height:1.4; text-align:center; border:1px solid #dedede; border-radius:8px; padding:13px; margin:0 0 18px; color:#111; }
.presentation-about { padding:18px; background:#f7f7f7; border:1px solid #e6e6e6; border-radius:10px; }
.presentation-about h3 { color:#111; font-size:14px; line-height:1.4; margin:16px 0 8px; }
.presentation-about h3:first-child { margin-top:0; }
.presentation-about p { color:#444; font-size:14px; line-height:1.7; margin:0 0 12px; }
.presentation-about p:last-child { margin-bottom:0; }
.presentation-whatsapp { margin-top:18px; }
.chapas-question { margin:0 0 10px; color:#111; font-size:14px; line-height:1.4; font-weight:700; }
.service-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-card { min-width:0; min-height:190px; padding:26px 28px; background:#fff; border:1px solid #ddd4c7; border-radius:16px; box-shadow:0 10px 28px rgba(72,52,32,.06); }
.service-card-icon { display:grid; place-items:center; width:38px; height:38px; margin-bottom:22px; border-radius:50%; background:#f5f1eb; color:#2c6d4b; }
.service-card-icon svg { width:28px; height:28px; }
.service-card h3 { margin:0 0 14px; color:#111; font-size:18px; line-height:1.25; }
.service-card p { margin:0; color:#7a716a; font-size:15px; line-height:1.55; }
@media(max-width:900px) {
  .presentation-card { gap:16px; padding:16px; }
  .service-cards { gap:12px; }
  .service-card { padding:20px; }
}
@media(max-width:767px) {
  .rume-home #servicosView.presentation-view.visible,
  .rume-home #paineisFlexiveisView.presentation-view.visible { display:block!important; }
  body.rume-home[data-section="servicos"],
  body.rume-home[data-section="produtos"] { height:auto; min-height:var(--mobile-screen); overflow-y:auto; }
  body.rume-home[data-section="servicos"] .main,
  body.rume-home[data-section="produtos"] .main { flex:0 0 auto; }
  .rume-home[data-section="servicos"] .presentation-view,
  .rume-home[data-section="produtos"] .presentation-view { flex:0 0 auto; height:auto; min-height:0; }
  .presentation-card { grid-template-columns:minmax(0,1fr); padding:12px; gap:14px; height:auto; }
  .rume-home .presentation-copy { display:block; }
  .rume-home .presentation-card .presentation-image { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; }
  .presentation-copy h2 { font-size:16px; padding:11px; margin-bottom:12px; }
  .presentation-about { padding:14px; }
  .presentation-about h3 { font-size:13px; }
  .presentation-about p { font-size:13px; line-height:1.6; }
  .service-cards { grid-template-columns:minmax(0,1fr); gap:10px; }
  .service-card { min-height:0; padding:16px; border-radius:12px; }
  .service-card-icon { width:34px; height:34px; margin-bottom:12px; }
  .service-card-icon svg { width:24px; height:24px; }
  .service-card h3 { font-size:15px; margin-bottom:7px; }
  .service-card p { font-size:13px; }
}

@media(max-width:767px) {
  .rume-home .bottom-bar { display:block!important; height:calc(64px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); }
  .rume-home .bottom-inner { height:64px; }
  .rume-home .mobile-contact { bottom:calc(76px + env(safe-area-inset-bottom)); }
  .rume-home { padding-bottom:calc(176px + env(safe-area-inset-bottom)); }
  .rume-home .toast { bottom:calc(152px + env(safe-area-inset-bottom)); }
}


/* Título da seleção e acesso ao catálogo completo. */
.rume-home .catalog-heading .section-title.featured-badge {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:13px;
  line-height:1.2;
}
.rume-home #viewAllLaminas,
.rume-home #viewAllLaminas:hover,
.rume-home #viewAllLaminas:focus-visible {
  min-height:0;
  padding:4px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#111;
  text-decoration:none;
}
.rume-home #viewAllLaminas:hover { text-decoration:underline; }
.rume-home #viewAllLaminas:focus-visible { outline:2px solid #111; outline-offset:4px; }

/* V49: no desktop, a faixa do blog acompanha o fundo Cinza Nuvem. */
@media (min-width: 1024px) {
  .rume-home .home-blog-section {
    box-shadow: 0 0 0 100vmax #EEEEEE;
    clip-path: inset(0 -100vmax);
  }
}

/* Revisão final de tipografia: textos corridos justificados em desktop e mobile.
   Títulos, menus, botões, breadcrumbs, rótulos e metadados mantêm seu alinhamento próprio. */
.presentation-about p,
.service-card p,
.chapas-about > p,
.about p,
.faq-item p,
.review-text,
.home-nl-lead,
.catalog-download-desc,
.rume-footer .footer-about,
.blog-hero-lead,
.blog-card-excerpt,
.blog-sidebar .blog-nl-box p,
.post-content p,
.post-content li,
.rume-modal-body p,
.rume-modal-body li,
.post-cta p,
.post-nl-inner > p {
  text-align: justify;
  text-justify: inter-word;
}



/* V33: nove destaques na home sem alterar a grade da página completa de lâminas. */
@media (min-width:901px) {
  .rume-home #esteira { grid-template-columns:repeat(9,minmax(0,1fr)); }
}


/* V42 desktop final: branco, WhatsApp padrao e arredondamento. */
@media (min-width:768px) {
  /* As grandes faixas que eram cinza passam a branco; tipografia fica escura. */
  .rume-home .home-pair-support,
  .rume-home .home-pair-location {
    background:#fff;
    color:#111;
    --dark:#111;
    --text:#222;
    --muted:#555;
    --primary:#111;
    --border:#dedede;
  }
  .rume-home .home-pair-support .section-title,
  .rume-home .home-pair-support .section-label,
  .rume-home .home-pair-support .faq-item summary,
  .rume-home .home-pair-support .review-text,
  .rume-home .home-pair-support .review-card strong,
  .rume-home .home-pair-location .section-title,
  .rume-home .home-pair-location .section-label,
  .rume-home .home-pair-location .map-link,
  .rume-home .home-pair-location .banner-title,
  .rume-home .home-pair-location .banner-icon { color:#111; }
  .rume-home .home-pair-support .faq-item p,
  .rume-home .home-pair-support .review-time,
  .rume-home .home-pair-location .map-address,
  .rume-home .home-pair-location .banner-text { color:#555; }
  .rume-home .home-pair-support .faq-item { border-bottom-color:#dedede; }
  .rume-home .home-pair-support #reviewsGrid .review-card { border-color:#dedede; }

  /* Mesmo tamanho e mesmo simbolo do WhatsApp do detalhe das folhas. */
  .rume-home #chapasHome .chapas-whatsapp,
  .rume-home #servicosView .presentation-whatsapp,
  .rume-home #paineisFlexiveisView .presentation-whatsapp {
    width:320px;
    max-width:100%;
    min-height:48px;
    height:48px;
    padding:0 18px;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    box-sizing:border-box;
    margin-left:auto;
    margin-right:auto;
  }
  .rume-home #chapasHome .chapas-whatsapp svg,
  .rume-home #servicosView .presentation-whatsapp svg,
  .rume-home #paineisFlexiveisView .presentation-whatsapp svg {
    width:18px;
    height:18px;
    flex:0 0 18px;
  }

  /* Garante cantos arredondados em todas as imagens de laminas no desktop. */
  .rume-home .esteira-item .item-img-wrap,
  .rume-catalog-page .esteira-item .item-img-wrap,
  .rume-home .main-img-wrap,
  .rume-catalog-page .main-img-wrap {
    border-radius:18px;
    overflow:hidden;
  }
  .rume-home .esteira-item .item-img-wrap img,
  .rume-catalog-page .esteira-item .item-img-wrap img,
  .rume-home .main-img-wrap img,
  .rume-catalog-page .main-img-wrap img {
    border-radius:inherit;
  }
  .rume-home .thumb,
  .rume-catalog-page .thumb {
    border-radius:12px;
    overflow:hidden;
  }
  .rume-home .thumb img,
  .rume-catalog-page .thumb img { border-radius:inherit; }
}

/* V47: ajustes solicitados — desktop, com exceção explícita do título Destaques em mobile. */

/* Destaques sem caixa em desktop e mobile: apenas texto preto. */
.rume-home .catalog-heading .section-title.featured-badge {
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#111;
}

@media (min-width:768px) {
  /* Barra inferior desktop: fundo preto, ícones e textos brancos. */
  .bottom-bar {
    background:#111;
    border-top-color:#111;
    box-shadow:0 -4px 20px rgba(0,0,0,.14);
  }
  .bottom-bar .bottom-btn,
  .bottom-bar .bottom-btn:hover,
  .bottom-bar .bottom-btn.active {
    color:#fff;
  }
  .bottom-bar .bottom-btn svg,
  .bottom-bar .bottom-btn .rume-wa-color {
    color:#fff;
  }
  .bottom-bar .bottom-btn .badge {
    background:#fff;
    color:#111;
  }

  /* Serviços desktop: composição empilhada, compacta e clean. */
  .rume-home #servicosView .presentation-card-services {
    padding:22px 28px;
  }
  .rume-home #servicosView .presentation-copy > h2 {
    margin:0 0 8px;
    padding:0 0 14px;
    border:0;
    border-bottom:1px solid #e6e6e6;
    border-radius:0;
    text-align:left;
    font-size:20px;
  }
  .rume-home #servicosView .service-cards {
    display:flex;
    flex-direction:column;
    gap:0;
    border-top:0;
  }
  .rume-home #servicosView .service-card {
    display:grid;
    grid-template-columns:44px minmax(180px,.38fr) minmax(0,1fr);
    align-items:center;
    column-gap:18px;
    min-height:76px;
    padding:14px 8px;
    background:#fff;
    border:0;
    border-bottom:1px solid #e6e6e6;
    border-radius:0;
    box-shadow:none;
  }
  .rume-home #servicosView .service-card-icon {
    width:38px;
    height:38px;
    margin:0;
  }
  .rume-home #servicosView .service-card-icon svg {
    width:25px;
    height:25px;
  }
  .rume-home #servicosView .service-card h3 {
    margin:0;
    font-size:17px;
    line-height:1.3;
  }
  .rume-home #servicosView .service-card p {
    margin:0;
    color:#5f5f5f;
    font-size:14px;
    line-height:1.55;
  }
  .rume-home #servicosView .presentation-whatsapp {
    margin-top:18px;
  }
}


/* V51: imagens dos serviços existem apenas para a composição desktop. */
.service-card-media { display:none; margin:0; overflow:hidden; }

@media (min-width:768px) {
  /* FAQ + avaliações: faixa preta no desktop, preservando cards claros. */
  .rume-home .home-pair-support {
    background:#0f0f0f !important;
    color:#fff;
    --dark:#fff;
    --text:#fff;
    --muted:#c7c7c7;
    --primary:#fff;
    --border:#3a3a3a;
  }
  .rume-home .home-pair-support .section-label,
  .rume-home .home-pair-support .section-title,
  .rume-home .home-pair-support .faq-item summary {
    color:#fff !important;
  }
  .rume-home .home-pair-support .faq-item {
    border-bottom-color:#3b3b3b !important;
  }
  .rume-home .home-pair-support .faq-item p {
    color:#d3d3d3 !important;
  }
  .rume-home .home-pair-support .google-badge {
    background:#fff;
    border-color:#e2e2e2;
    color:#111 !important;
    --muted:#555;
  }
  .rume-home .home-pair-support #reviewsGrid .review-card {
    background:#fff;
    border-color:#dedede;
  }
  .rume-home .home-pair-support #reviewsGrid .review-card strong,
  .rume-home .home-pair-support #reviewsGrid .review-text {
    color:#111 !important;
  }
  .rume-home .home-pair-support #reviewsGrid .review-time {
    color:#666 !important;
  }
  .rume-home .home-pair-support .reviews-controls > span {
    color:#d0d0d0;
  }

  /* Serviços desktop: três faixas editoriais com imagem e texto alternados. */
  .rume-home #servicosView .presentation-card-services {
    padding:24px 30px 28px;
  }
  .rume-home #servicosView .presentation-copy > h2 {
    margin:0 0 10px;
    padding:0 0 16px;
    border-bottom:1px solid #e7e7e7;
    font-size:20px;
  }
  .rume-home #servicosView .service-cards {
    display:flex;
    flex-direction:column;
    gap:0;
  }
  .rume-home #servicosView .service-card {
    display:grid;
    grid-template-columns:46px minmax(220px,.78fr) minmax(360px,1.22fr);
    grid-template-rows:auto auto;
    grid-template-areas:
      "icon title media"
      "icon desc media";
    align-items:center;
    column-gap:20px;
    row-gap:6px;
    min-height:168px;
    padding:18px 0;
    background:transparent;
    border:0;
    border-bottom:1px solid #e8e8e8;
    border-radius:0;
    box-shadow:none;
  }
  .rume-home #servicosView .service-card:last-child {
    border-bottom:0;
  }
  .rume-home #servicosView .service-card-icon {
    grid-area:icon;
    align-self:center;
    width:40px;
    height:40px;
    margin:0;
  }
  .rume-home #servicosView .service-card h3 {
    grid-area:title;
    align-self:end;
    margin:0;
    font-size:19px;
    line-height:1.25;
  }
  .rume-home #servicosView .service-card p {
    grid-area:desc;
    align-self:start;
    margin:0;
    color:#606060;
    font-size:14px;
    line-height:1.6;
    max-width:430px;
  }
  .rume-home #servicosView .service-card-media {
    grid-area:media;
    display:block;
    width:100%;
    height:150px;
    border-radius:14px;
    overflow:hidden;
    background:#f5f5f5;
  }
  .rume-home #servicosView .service-card-media img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  .rume-home #servicosView .service-card-emenda .service-card-media img,
  .rume-home #servicosView .service-card-prensagem .service-card-media img {
    object-position:center center;
  }
  .rume-home #servicosView .service-card-flexiveis {
    grid-template-columns:minmax(360px,1.22fr) 46px minmax(220px,.78fr);
    grid-template-areas:
      "media icon title"
      "media icon desc";
  }
  .rume-home #servicosView .service-card-flexiveis .service-card-media img {
    object-position:center 55%;
  }
  .rume-home #servicosView .presentation-whatsapp {
    margin:20px auto 0;
  }
}

/* V52: Emenda de folhas com imagem à esquerda no desktop; Destaques sublinhado em desktop e mobile. */
.rume-home .catalog-heading .section-title.featured-badge {
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
}

@media (min-width:768px) {
  .rume-home #servicosView .service-card-emenda {
    grid-template-columns:minmax(360px,1.22fr) 46px minmax(220px,.78fr);
    grid-template-areas:
      "media icon title"
      "media icon desc";
  }
}

/* V53: sublinhado de "Ver todas" com o mesmo peso visual de "Destaques" no desktop. */
@media (min-width:768px) {
  .rume-home #viewAllLaminas:hover {
    text-decoration-line:underline;
    text-decoration-thickness:2px;
    text-underline-offset:4px;
  }
}
