/*
Theme Name: JRC Commercial Cleanroom
Description: Camada comercial reconstruída por allowlist para homologação isolada.
Template: Avada
Version: 0.1.3
Text Domain: jrc-commercial
*/
#jrc-commercial { padding: 2rem 1rem; }
.jrc-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1rem; margin-bottom: 2rem; }
.jrc-filters label { display: flex; flex-direction: column; gap: .4rem; }
.jrc-filters select,.jrc-filters input { width: 100%; max-width: 100%; }
.jrc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: 1.5rem; }
.jrc-card,.jrc-detail { min-width: 0; overflow-wrap: anywhere; }
.jrc-thumbnail { display: block; max-width: 100%; height: auto; }
.jrc-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.jrc-footer-links { list-style: none; margin: 0; padding: 0; }
.jrc-footer-links li { margin: .25rem 0; overflow-wrap: anywhere; }
/* Mantém Avenir prioritária e acrescenta fallback legível quando o arquivo falta. */
body.fusion-body { font-family: var(--body_typography-font-family,"Avenir Lt. Std. 45 Book"), Arial, Helvetica, sans-serif; }
#jrc-commercial .jrc-card h2 { font-family: var(--h2_typography-font-family,"Avenir Lt. Std. 95 Black"), Arial, Helvetica, sans-serif; }
#jrc-commercial .jrc-filters input, #jrc-commercial .jrc-filters select { box-sizing: border-box; font: inherit; padding: .5rem; min-height: 44px; }
#jrc-commercial .jrc-filters select[multiple] { min-height: 104px; height: auto; }
#jrc-commercial .jrc-filters button { align-self: end; min-height: 44px; font: inherit; }
#jrc-safe-contact { padding: 2rem 1rem; }
#jrc-safe-contact .wpcf7-form label { display: block; margin: 0 0 1rem; }
#jrc-safe-contact .wpcf7-form input:not([type=checkbox]):not([type=hidden]):not([type=submit]), #jrc-safe-contact .wpcf7-form select, #jrc-safe-contact .wpcf7-form textarea { display: block; box-sizing: border-box; width: 100%; font: inherit; min-height: 44px; }
#jrc-safe-contact .wpcf7-acceptance label { display: flex; gap: .5rem; align-items: flex-start; }
#jrc-safe-contact .wpcf7-submit { font-family: inherit; }
/* Home SSR: dois destaques e navegação horizontal nativa, sem motor capturado. */
.jrc-home-featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.jrc-home-featured-card { display: grid; grid-template-columns: minmax(100px,40%) minmax(0,1fr); gap: 1rem; align-items: start; }
.jrc-home-featured-card img { display: block; width: 100%; height: auto; }
.jrc-home-featured-card h4 { margin-top: 0; }
.jrc-home-markets ul { list-style: none; margin: 0; padding: 0; }
.jrc-home-markets li { margin: .5rem 0; }
.jrc-hero { width: 100%; }
.jrc-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.jrc-hero-link, .jrc-hero-track > .jrc-hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.jrc-hero-slide { position: relative; min-height: clamp(320px,35vw,540px); display: flex; align-items: center; background: #123c74; isolation: isolate; }
.jrc-hero-slide > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.jrc-hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(0,25,60,.72),rgba(0,25,60,.05)); }
.jrc-hero-copy { color: #fff; padding: 3rem max(1.5rem,calc((100vw - 1260px)/2)); width: 100%; box-sizing: border-box; }
.jrc-hero-copy p { max-width: 34rem; margin: .6rem 0; line-height: 1.25; }
.jrc-hero-copy h2 { color: inherit; font-size: clamp(1.6rem,3vw,2.8rem); line-height: 1.2; margin: .6rem 0; max-width: 34rem; }
.jrc-hero-copy p { font-size: 1.2rem; }
.fusion-animated:has(.jrc-hero, .jrc-home-featured, .jrc-home-markets, .jrc-home-locations) { visibility: visible !important; }
@media (max-width: 700px) { .jrc-home-featured { grid-template-columns: 1fr; } .jrc-hero-copy { padding: 2rem 1.5rem; } }

/* Contrato visual reautorado a partir do raster anterior e fontes aprovadas. */
@font-face { font-family: "JRC Brand Light"; src: url("/wp-content/uploads/2019/12/Avenir-LT-Std-35-Light_5169.ttf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JRC Brand Book"; src: url("/wp-content/uploads/2019/12/Avenir-LT-Std-45-Book_5171.ttf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JRC Brand Black"; src: url("/wp-content/uploads/2019/12/Avenir-LT-Std-95-Black_5179.ttf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
body.fusion-body, body.fusion-body p { font-family: "JRC Brand Light", Arial, Helvetica, sans-serif; }
body.fusion-body h1, body.fusion-body h2, body.fusion-body h3, body.fusion-body h4, body.fusion-body h5, body.fusion-body h6 { font-family: "JRC Brand Book", Arial, Helvetica, sans-serif; }
.fusion-main-menu > ul > li > a .menu-text, .fusion-secondary-menu, body.fusion-body h4.widget-title { font-family: "JRC Brand Black", Arial, Helvetica, sans-serif; }
body.fusion-body .fusion-secondary-header .fusion-alignleft { float: right !important; }
body.fusion-body .fusion-secondary-menu > ul { float: right !important; width: auto; }
/* O hero ocupa a mesma faixa completa observada no antes, sem expandir os outros conteúdos. */
body.home #main { padding: 0 !important; }
body.home #main > .fusion-row { max-width: none !important; width: 100%; }
body.home .fusion-fullwidth:has(.jrc-hero) { padding: 0 !important; margin: 0 !important; }
body.home .fusion-fullwidth:has(.jrc-hero) > .fusion-builder-row { max-width: none !important; }
body.home .fusion-layout-column:has(.jrc-hero) { margin: 0 !important; }
body.home .fusion-column-wrapper:has(> .jrc-hero) { padding: 0 !important; }
body.home .jrc-hero { width: 100%; }
body.home .jrc-hero-track { scrollbar-width: none; }
body.home .jrc-hero-track::-webkit-scrollbar { display: none; }
body.home .jrc-hero-slide { min-height: 700px; height: 700px; }
body.home .jrc-hero-slide::after { background: none; }
body.home .jrc-hero-copy { align-self: end; padding: 26px max(24px, calc((100% - 1200px) / 2)) 52px; border-top: 2px solid #ed1c24; background: rgba(0, 0, 0, .55); color: #fff; }
body.home .jrc-hero-copy h2 { max-width: 1100px; font-family: "JRC Brand Black", Arial, Helvetica, sans-serif; font-size: 44px; font-weight: 400; line-height: 1.15; }
body.home .jrc-hero-copy p { max-width: 1100px; margin-bottom: 0; font-size: 28px !important; }
/* Destaques: duas colunas, thumb300x200 e hierarquia tipográfica do raster. */
body.home .fusion-fullwidth:has(.jrc-home-featured) { padding-top: 100px !important; padding-bottom: 100px !important; margin-top: 0 !important; background: #eee; }
.jrc-home-featured { max-width: 1200px; margin-inline: auto; gap: 40px; }
.jrc-home-featured-card { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
.jrc-home-featured-card img { width: 300px; height: 200px; object-fit: cover; }
.jrc-home-featured .jrc-home-featured-card h4 { font-family: "JRC Brand Black", Arial, Helvetica, sans-serif; font-size: 24px; line-height: 1.15; text-transform: uppercase; margin: 0; }
.jrc-home-featured-card h4 a { color: #ed1c24; }
.jrc-home-featured-card .meta, .jrc-home-featured-copy { font-family: "JRC Brand Book", Arial, Helvetica, sans-serif; font-size: 20px; line-height: 1.4; }
.jrc-home-featured-card .meta { padding-top: 10px; margin-bottom: 0; }
@media (max-width: 800px) {
  body.home .jrc-hero-slide { min-height: 480px; height: 480px; }
  body.home .jrc-hero-copy { padding: 20px 24px 32px; }
  body.home .jrc-hero-copy h2 { font-size: 28px; }
  body.home .jrc-hero-copy p { font-size: 20px !important; }
  body.home .fusion-fullwidth:has(.jrc-home-featured) { padding-top: 40px !important; padding-bottom: 40px !important; }
  .jrc-home-featured { grid-template-columns: 1fr; }
  .jrc-home-featured-card { grid-template-columns: minmax(0, 1fr); }
  .jrc-home-featured-card img { width: 100%; max-width: 100%; height: auto; }
}

/* Preserva a tipografia aprovada da home diante das regras globais legadas. */
body.home .jrc-hero-copy h2, body.home .jrc-home-featured .jrc-home-featured-card h4 { font-family: "JRC Brand Black", Arial, Helvetica, sans-serif !important; }
body.home .jrc-home-featured-card .meta, body.home .jrc-home-featured-copy, body.home .jrc-home-featured-copy p { font-family: "JRC Brand Book", Arial, Helvetica, sans-serif !important; }
