/* Metalmoro: estilos do site estatico */
:root {
  --red: #bc0000;
  --red-hi: #d81212;
  --red-dark: #8f0000;
  --ink: #393939;
  --ink-900: #151515;
  --text: #474747;
  --muted: #6a6a6a;
  --bg: #f5f5f5;
  --surface: #ffffff;
  --line: #e2e2e2;
  --dark: #141414;
  --dark-2: #1d1d1d;
  --wa: #1a7f4b;
  --font: "Raleway", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --accent: "Crete Round", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-hi: 0 18px 40px rgba(0, 0, 0, .16);
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.75 var(--font); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-inline { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* ---------- tipografia de secao */
.kicker {
  font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--red);
  font-size: 1.15rem; letter-spacing: .01em; margin: 0 0 .35em; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-24deg); flex: none; }
.kicker.center { justify-content: center; }
.kicker-light { color: #fff; }
.h-title, .h-section {
  text-transform: uppercase; letter-spacing: .035em; font-weight: 800; color: var(--ink-900);
}
.h-title { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: .8em; }
.h-section { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .55em; }
.h-section a { color: inherit; text-decoration: none; }
.h-section a:hover { color: var(--red); }
.h-section.center::after, .intro .h-section::after {
  content: ""; display: block; width: 56px; height: 5px; background: var(--red); margin: .45em auto 0; transform: skewX(-24deg);
}
.h-card { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin-bottom: .5em; }
.intro { max-width: 820px; margin: 0 auto clamp(28px, 4vw, 48px); }
.intro p:not(.kicker) { color: var(--muted); }

/* ---------- botoes */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 30px; color: #fff; text-decoration: none; text-transform: uppercase;
  font: 700 .8125rem/1.2 var(--font); letter-spacing: .16em; text-align: center;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: skewX(-14deg);
  transition: background .2s, box-shadow .2s;
}
.btn:hover { color: #fff; }
.btn:hover::before { background: var(--ink-900); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-ghost { color: var(--ink-900); }
.btn-ghost::before { background: transparent; border: 2px solid var(--red); }
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::before { background: var(--red); }
.btn-wa::before { background: var(--wa); }
.btn .icon-inline { width: 1.1em; height: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 26px 0 0; padding-left: 6px; }
.center .actions, .cta .actions { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); text-decoration: none; }
.more .icon-inline { transition: transform .2s; }
.more:hover .icon-inline, a:hover .more .icon-inline { transform: translateX(4px); }

/* ---------- cabecalho */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 22px; }
@media (min-width: 768px) { .brand img { height: 26px; } }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--ink);
  font: 700 .8125rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 10px 0; position: relative;
}
.nav-link:hover, .nav-item.open > .nav-link, .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--red); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 0; }
.sub a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.sub a:hover, .sub a[aria-current="page"] { color: var(--red); }

.burger { display: none; }
@media (max-width: 999.98px) {
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px;
    margin-right: -10px; padding: 0 10px; background: none; border: 0; cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: var(--ink-900); transition: transform .25s, opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; overflow-y: auto;
    padding: 8px var(--gutter) 40px; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav-open body { overflow: hidden; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: .875rem; }
  .sub { display: none; padding: 0 0 14px 14px; }
  .nav-item.open .sub { display: block; }
  .sub a { padding: 9px 0; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; }
  html:not(.js) .sub { display: block; }
}
@media (min-width: 1000px) {
  .nav-list { display: flex; gap: clamp(20px, 2.6vw, 38px); }
  .nav-item { position: relative; }
  .nav-link { height: var(--header-h); padding: 0; }
  .nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: var(--red);
    transform: scaleX(0) skewX(-24deg); transform-origin: left; transition: transform .2s;
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after, .nav-item.open > .nav-link::after { transform: scaleX(1) skewX(-24deg); }
  .sub {
    position: absolute; top: 100%; left: -22px; min-width: 230px; background: #fff; padding: 10px 0;
    border-top: 3px solid var(--red); box-shadow: var(--shadow-hi);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  .sub a { padding: 9px 22px; font-size: .875rem; }
  .sub a:hover { background: var(--bg); }
  .nav-item:hover > .sub, .nav-item.open > .sub {
    opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s;
  }
}

/* ---------- topo das paginas internas */
.hero {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(230px, 27vw, 400px);
  background: var(--dark); color: #fff; overflow: hidden;
}
.hero-small { min-height: clamp(200px, 20vw, 300px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.55) 50%, rgba(8,8,8,.2) 100%),
              linear-gradient(0deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,0) 60%);
}
.hero-text { position: relative; padding-top: 40px; padding-bottom: clamp(30px, 4vw, 52px); }
.hero h1 {
  color: #fff; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.05; max-width: 22ch;
}
.hero h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 18px; background: var(--red); transform: skewX(-24deg); transform-origin: left; }
.hero-sub { font-family: var(--accent); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: #eee; margin: 14px 0 0; }

/* ---------- blocos genericos */
.block { padding-block: clamp(52px, 7vw, 96px); }
.b-split { background: var(--surface); }
.b-split + .b-split { padding-top: 0; }
.split { display: grid; gap: clamp(28px, 5vw, 76px); align-items: center; }
.split-noimg { grid-template-columns: 1fr !important; max-width: 860px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse .split-media { order: -1; }
}
@media (max-width: 899.98px) { .split-media { order: -1; } }
.split-text > :last-child { margin-bottom: 0; }
.media { margin: 0; position: relative; }
.media::before {
  content: ""; position: absolute; width: 38%; height: 38%; right: -14px; bottom: -14px; background: var(--red);
  transform: skewX(-10deg); z-index: 0;
}
.split-reverse .media::before { right: auto; left: -14px; }
.media a { position: relative; z-index: 1; display: block; }
.media img { width: 100%; box-shadow: var(--shadow); }
@media (max-width: 899.98px) { .media::before { right: -8px; bottom: -8px; } .split-reverse .media::before { left: -8px; } }

.prose { max-width: 860px; }
.b-prose .prose { margin: 0 auto; }
.prose h2, .prose h3 { text-transform: uppercase; letter-spacing: .03em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.list { margin: 0 0 1.2em; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 3px; background: var(--red); transform: skewX(-24deg); }

.file-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 2px solid currentColor; }
.file-link .icon-inline { width: .95em; height: .95em; }
.file-meta { display: inline-block; margin-left: 8px; padding: 2px 8px; font: 700 .7rem/1.6 var(--font); letter-spacing: .08em; color: var(--muted); background: var(--bg); border: 1px solid var(--line); vertical-align: middle; text-transform: uppercase; }
.btn.file-link { border-bottom: 0; }
.btn .file-meta { display: none; }

/* cards de 3 colunas */
.b-cards { background: var(--bg); }
.cards { display: grid; gap: 24px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.card { background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); }
.card-media { display: block; overflow: hidden; aspect-ratio: 7 / 5; background: #ddd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 28px 30px; border-top: 4px solid var(--red); }
.card-body > :last-child { margin-bottom: 0; }

/* galerias */
.gallery { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery li { position: relative; overflow: hidden; background: #ddd; aspect-ratio: 4 / 3; }
.gallery a, .case-gallery a { display: block; width: 100%; height: 100%; position: relative; }
.gallery img, .case-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery a:hover img, .case-gallery a:hover img { transform: scale(1.05); }
.zoom {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; background: rgba(188,0,0,.92);
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.zoom::before, .zoom::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%,-50%); }
.zoom::before { width: 16px; height: 2px; }
.zoom::after { width: 2px; height: 16px; }
a:hover .zoom, a:focus-visible .zoom { opacity: 1; transform: none; }
@media (min-width: 720px) {
  .gallery-tab { grid-template-columns: repeat(min(var(--cols, 3), 4), 1fr); }
}
@media (max-width: 719.98px) {
  .gallery-tab li:first-child:nth-last-child(odd), .gallery-tab li:first-child:nth-last-child(3) { grid-column: 1 / -1; }
}
.gallery-tight { margin: 0; }
.b-gallery { padding: 0; background: var(--dark); }
.gallery-strip { margin: 0; gap: 0; }
.gallery-strip li { aspect-ratio: 3 / 2; }
@media (min-width: 720px) { .gallery-strip { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
@media (max-width: 719.98px) { .gallery-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; } }

/* abas */
.b-tabs { background: var(--surface); }
.tab-list { display: none; }
.js .tab-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 36px; border-bottom: 1px solid var(--line);
}
.tab-list button {
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer;
  padding: 14px 22px; color: var(--ink); font: 700 .8125rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .14em;
}
.tab-list button:hover { color: var(--red); }
.tab-list button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { max-width: 1000px; margin: 0 auto; }
.tab-panel + .tab-panel { margin-top: 48px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.js .tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tab-label { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); }
.tab-panel > p, .tab-panel > .list, .tab-panel > .h-title, .tab-panel > .h-sub, .tab-panel > .media, .tab-panel > .actions { max-width: 820px; margin-left: auto; margin-right: auto; }
.tab-panel .h-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-top: 8px; }
.h-sub { font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--red); font-size: 1.2rem; margin-top: 1.4em; }
.tab-panel .media { margin-bottom: 24px; }
.tab-panel .media::before { display: none; }
.tab-panel:focus-visible { outline-offset: 8px; }

/* faixa escura "Monte o seu" */
.b-band {
  background: var(--dark) repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px);
  color: #c9c9c9; border-top: 5px solid var(--red);
}
.b-band .h-section { color: #fff; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.b-band .h-section::after { content: ""; display: block; width: 56px; height: 5px; background: var(--red); margin: .45em auto 0; transform: skewX(-24deg); }
.band-cols { display: grid; gap: 36px 56px; }
@media (min-width: 900px) { .band-cols { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.h-band { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; }
.h-band::before { content: ""; width: 22px; height: 4px; background: var(--red); transform: skewX(-24deg); flex: none; }
.band-col p { font-size: .975rem; }
.band-col strong { color: #fff; }

/* chamada para contato */
.b-cta { background: var(--bg); }
.cta { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-text { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: var(--ink-900); line-height: 1.4; margin-bottom: .2em; }
.b-cta + .b-cta, .b-gallery + .b-cta { padding-top: clamp(40px, 5vw, 64px); }
.b-cta + .b-gallery { margin-top: 0; }

/* linha do tempo (Historia) */
.b-timeline { background: var(--surface); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 15px; width: 3px; background: var(--line); }
.tl-item { position: relative; padding-left: 52px; margin-bottom: 52px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 6px; top: 10px; width: 21px; height: 21px; background: var(--red);
  transform: skewX(-14deg); box-shadow: 0 0 0 6px #fff;
}
.tl-media { display: block; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #ddd; }
.tl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tl-media:hover img { transform: scale(1.04); }
.tl-year { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--red); font-weight: 800; letter-spacing: .02em; margin-bottom: .2em; line-height: 1; }
@media (min-width: 900px) {
  .timeline::before { left: 50%; margin-left: -1.5px; }
  .tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 0 96px; padding-left: 0; align-items: center; }
  .tl-item::before { left: 50%; top: 50%; margin: -10px 0 0 -10px; }
  .tl-media { margin: 0; }
  .tl-item:nth-child(even) .tl-media { order: 2; }
  .tl-item:nth-child(even) .tl-body { text-align: right; }
}

.cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

/* ---------- home */
.hero-slider { position: relative; height: clamp(460px, 82vh, 760px); background: var(--dark); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active .slide-img { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.85) 0%, rgba(8,8,8,.5) 45%, rgba(8,8,8,.05) 100%), linear-gradient(0deg, rgba(8,8,8,.5), transparent 40%); }
.slide-text { position: relative; }
.slide-kicker { font-family: var(--accent); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #fff; display: flex; align-items: center; gap: 14px; margin-bottom: .5em; }
.slide-kicker::before { content: ""; width: 40px; height: 4px; background: var(--red); transform: skewX(-24deg); }
.slide-title { color: #fff; text-transform: uppercase; font-weight: 800; letter-spacing: .02em; font-size: clamp(2.3rem, 6.4vw, 5rem); line-height: 1; max-width: 13ch; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 10px; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.slider-dots button { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slider-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(255,255,255,.45); transform: skewX(-24deg); transition: background .2s; }
.slider-dots button[aria-current="true"]::before { background: var(--red); }
html:not(.js) .slider-dots { display: none; }

.b-products { background: var(--surface); }
.products { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product-link { display: flex; flex-direction: column; height: 100%; background: var(--bg); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.product-link:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow-hi); }
.product-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-link:hover .product-media img { transform: scale(1.06); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; border-top: 4px solid var(--red); }
.product-body .p { display: block; margin-bottom: 18px; font-size: .95rem; }
.product-body .more { margin-top: auto; }

.b-logos { position: relative; background: var(--dark); color: #d6d6d6; overflow: hidden; }
.b-logos .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.b-logos::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.6), rgba(10,10,10,.85)); }
.b-logos .container { position: relative; }
.b-logos .h-section { color: #fff; }
.b-logos p:not(.kicker) { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; color: #d0d0d0; }
.logos { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .logos:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); } }
.logos a { position: relative; display: grid; place-items: center; padding: 14px 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .2s, border-color .2s; }
.logos a:hover { background: rgba(255,255,255,.08); border-color: rgba(188,0,0,.6); }
.logos img { width: 100%; max-width: 200px; height: auto; transition: opacity .25s; }
.logos .on { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 36px); opacity: 0; }
.logos a:hover .on, .logos a:focus-visible .on { opacity: 1; }
.logos a:hover .off, .logos a:focus-visible .off { opacity: 0; }

.b-latest { background: var(--bg); }
.cases { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 560px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(4, 1fr); } .cases-all { grid-template-columns: repeat(3, 1fr); } }
.cases-all { margin-bottom: 0; gap: 18px; }
@media (min-width: 560px) {
  .cases-all { grid-auto-rows: clamp(220px, 24vw, 290px); }
  .cases-all .case-card:first-child { grid-column: span 2; }
  .cases-all .case-card a, .cases-all .case-media { height: 100%; aspect-ratio: auto; }
}
.case-card a { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--dark); }
.case-media { display: block; aspect-ratio: 11 / 10; }
@media (max-width: 559.98px) { .cases-all .case-media { aspect-ratio: 4 / 3; } }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.case-card a:hover img { transform: scale(1.06); opacity: .85; }
.case-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.case-cat { display: inline-block; font: 700 .6875rem/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 2px 8px; margin-bottom: 8px; }
.case-title { color: #fff; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; margin: 0; line-height: 1.25; }
.case-card a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--red); transition: width .35s; }
.case-card a:hover::after { width: 100%; }

.b-news { background: var(--surface); }
.posts { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.b-news .post-card { background: var(--bg); box-shadow: none; }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font: 700 .75rem/1.5 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-meta time { color: var(--red); }
.post-title { font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
.post-title a { color: var(--ink-900); text-decoration: none; }
.post-title a:hover { color: var(--red); }
.post-excerpt { font-size: .95rem; }
.post-excerpt.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .more { margin-top: auto; }

.b-connect { background: var(--bg); }
.connect { display: grid; gap: 22px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 760px) { .connect { grid-template-columns: repeat(3, 1fr); } }
.connect-item { background: var(--surface); padding: 30px 28px; text-align: center; box-shadow: var(--shadow); }
.connect-item p { margin-bottom: 0; }
.connect-item .actions { justify-content: center; margin-top: 18px; }
.connect-icon, .contact-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--red); color: #fff; margin-bottom: 16px; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.connect-icon .icon, .contact-icon .icon { width: 22px; height: 22px; }
.cta-wa { background: var(--dark); color: #ddd; padding: clamp(30px, 4vw, 48px) clamp(20px, 4vw, 48px); max-width: none; border-left: 6px solid var(--red); }
.cta-wa .cta-text { color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1rem, 1.8vw, 1.3rem); }

/* ---------- contato */
.b-contact { background: var(--bg); }
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: repeat(6, 1fr); }
  .contact-card { grid-column: span 2; }
  .contact-card:nth-child(-n+2) { grid-column: span 3; }
}
.contact-card { background: var(--surface); padding: 30px 28px; display: flex; gap: 20px; box-shadow: var(--shadow); }
.contact-card .contact-icon { margin: 0; flex: none; }
.contact-card p { margin-bottom: .7em; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .actions { margin-top: 14px; }
.contact-card .btn { padding: 12px 22px; letter-spacing: .1em; }
.contact-card a:not(.btn) { font-weight: 700; word-break: break-word; }
.h-contact { font-size: .875rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-900); margin: 12px 0 10px; line-height: 1.5; }
.contact-wide { grid-column: 1 / -1; background: var(--dark); color: #cfcfcf; }
.contact-wide .h-contact { color: #fff; }
.contact-wide a:not(.btn) { color: #fff; }
.contact-wide a:not(.btn):hover { color: #ff8a8a; }
.contact-wide strong { color: #fff; }

/* ---------- portfolio (case) */
.b-case { background: var(--surface); }
.case-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .case-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: start; } .case-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.case-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(var(--tcols, 4), 1fr); }
.case-gallery li { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; position: relative; }
.case-gallery li.feat { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
@media (max-width: 599.98px) { .case-gallery { grid-template-columns: repeat(min(var(--tcols, 3), 3), 1fr); } }
.case-side .prose p { font-size: 1rem; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 .75rem/1.6 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink-900); }
.case-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-nav a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); text-decoration: none; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; }
.case-nav a:hover { color: var(--red); }
.case-nav .next { justify-self: end; text-align: right; }
.case-nav .all { flex-direction: column; gap: 4px; font-size: .7rem; letter-spacing: .14em; color: var(--muted); }
.case-nav .all .icon { width: 22px; height: 22px; color: var(--red); }
@media (max-width: 599.98px) { .case-nav .prev span, .case-nav .next span { display: none; } }

/* ---------- noticias */
.b-list { background: var(--bg); }
.b-post { background: var(--surface); }
.post-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; } .post-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.post { max-width: 820px; min-width: 0; }
.post-gallery { margin-bottom: 26px; }
.post-gallery[data-count="1"] li.feat { aspect-ratio: 4 / 3; }
.post .post-meta { font-size: .8125rem; margin-bottom: 22px; }
.post-content p { font-size: 1.0625rem; }
.post-content .media { margin: 28px 0; }
.post-content .media::before { display: none; }
.tags { list-style: none; margin: 30px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 700 .72rem/1.5 var(--font); text-transform: uppercase; letter-spacing: .1em; padding: 5px 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .8125rem; letter-spacing: .12em; }
.post-side { background: var(--bg); padding: 28px; border-top: 4px solid var(--red); }
.side-title { font-size: .875rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent li:last-child { border-bottom: 0; }
.recent a { display: block; color: var(--ink-900); font-weight: 700; text-decoration: none; line-height: 1.35; }
.recent a:hover, .recent a[aria-current="page"] { color: var(--red); }
.recent time { font-size: .8rem; color: var(--muted); }

/* ---------- rodape */
.site-footer { background: #101010; color: #b9b9b9; padding-top: clamp(52px, 6vw, 80px); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.35fr 1fr .9fr .9fr; } }
.footer-logo img { width: 190px; height: auto; margin-bottom: 26px; }
.footer-title { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .18em; margin: 0 0 18px; }
.footer-title:not(:first-child) { margin-top: 30px; }
.site-footer a { color: #d2d2d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact, .footer-links, .social { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; line-height: 1.6; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--red-hi); margin-top: 3px; }
.footer-links li { margin-bottom: 10px; line-height: 1.45; }
.footer-links a { display: inline-block; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #3a3a3a; color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.footer-flickr { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid #262626; padding: 20px 0; font-size: .8125rem; color: #8f8f8f; }
.site-footer :focus-visible { outline-color: #fff; }

/* botao flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,.32); }
.nav-open .wa-float { display: none; }

/* lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,8,8,.94); display: flex; align-items: center; justify-content: center;
  padding: 64px 12px 72px; opacity: 0; transition: opacity .2s;
}
.lb-overlay.show { opacity: 1; }
.lb-overlay figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-overlay img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lb-overlay figcaption { color: #ddd; font-size: .875rem; margin-top: 12px; text-align: center; max-width: 900px; }
.lb-count { position: absolute; top: 20px; left: 20px; color: #bbb; font: 700 .8125rem/1 var(--font); letter-spacing: .12em; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
.lb-btn:focus-visible { outline-color: #fff; }
@media (max-width: 599.98px) { .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } }
.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .wa-float, .site-footer, .hero-slider .slider-dots { display: none; }
  .hero { min-height: 0; background: none; color: #000; }
  .hero h1 { color: #000; }
  .hero-img, .hero-shade { display: none; }
}
