/* Frigorífico Reno — identidade: charcoal quente + latão, cantos retos, dossiê industrial */

@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/ArchivoBlack-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/IBMPlexSans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/IBMPlexSans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #131110;
  --bg-alt: #1a1715;
  --panel: #201c19;
  --fg: #f2ede4;
  --fg-dim: #b5ac9d;
  --accent: #c99a3c;
  --accent-dark: #97722b;
  --line: rgba(201, 154, 60, 0.28);
  --display: "Archivo Black", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 24px; }
h2 { font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.01em; }
h3 { font-size: 21px; color: var(--accent); margin-bottom: 12px; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.narrow-p { max-width: 66ch; }
s { color: var(--fg-dim); }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #131110; }
.btn-primary:hover { background: #dcae52; border-color: #dcae52; }
.btn-ghost { background: rgba(19, 17, 16, 0.55); color: var(--fg); }
.btn-ghost:hover { background: rgba(19, 17, 16, 0.8); }
.btn-big { font-size: 17px; padding: 18px 42px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 28px;
  background: rgba(19, 17, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 154, 60, 0.18);
}
.nav-brand {
  font-family: var(--display);
  font-size: 17px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.btn-nav { padding: 10px 18px; font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 18% 88%, rgba(13, 11, 9, 0.88) 0%, rgba(13, 11, 9, 0.45) 45%, rgba(13, 11, 9, 0.18) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 88px;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 72px);
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(13, 11, 9, 0.8);
}
.hero-sub {
  font-size: clamp(18px, 2.2vw, 25px);
  margin: 0 0 34px;
  color: var(--fg);
}
.hero-sub strong { color: var(--accent); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- números ---------- */
.stats { border-top: 3px solid var(--accent); background: var(--bg-alt); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 28px;
  row-gap: 8px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-k { font-size: 14px; color: var(--fg-dim); line-height: 1.4; max-width: 170px; }
.stat-u { font-size: 0.52em; letter-spacing: 0.04em; margin-left: 4px; }

/* ---------- seções ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.lead { font-size: 19px; color: var(--fg); max-width: 66ch; }
.why-panel {
  margin: 44px 0;
  padding: 34px 38px;
  background: var(--panel);
  border-top: 3px solid var(--accent);
}
.why-panel p { margin: 0; color: var(--fg); }
.buyer-line { color: var(--fg-dim); max-width: 70ch; }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.split-media { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.split-media img { border: 1px solid var(--line); width: 100%; }
.split-media figcaption { font-size: 14px; color: var(--fg-dim); }
.fact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.fact-list li { padding: 14px 0; border-top: 1px solid rgba(201, 154, 60, 0.16); }
.fact-list li strong { color: var(--accent); font-weight: 600; }
.map-embed { margin-top: 34px; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(0.85); }

/* ---------- full-bleed imóvel ---------- */
.fullbleed { position: relative; }
.fullbleed > img { width: 100%; max-height: 640px; object-fit: cover; }
.fullbleed-bar {
  background: var(--panel);
  border-top: 3px solid var(--accent);
  padding: 44px 24px 52px;
}
.fullbleed-bar h2 { max-width: 1200px; margin: 0 auto 14px; }
.fullbleed-bar p { max-width: 1200px; margin: 0 auto; color: var(--fg); }
.fullbleed-bar strong { color: var(--accent); }

/* ---------- planta ---------- */
.planta-split { margin-top: 26px; }
.planta-split .split-media img { background: #f2ede4; }
.flow-list { list-style: none; padding: 0; margin: 0; }
.flow-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid rgba(201, 154, 60, 0.16);
}
.flow-list li .mono { color: var(--accent); font-size: 15px; white-space: nowrap; }
.note-line { color: var(--fg-dim); font-size: 15px; margin-top: 20px; }

.area-table { margin-top: 54px; }
.area-table summary {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  cursor: pointer;
  padding: 16px 20px;
  border: 1px solid var(--line);
  user-select: none;
}
.area-table[open] summary { border-bottom: none; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.area-table table { border: 1px solid var(--line); }
th {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
  padding: 14px 20px;
  background: var(--panel);
}
td { padding: 11px 20px; }
tbody tr:nth-child(odd) { background: rgba(32, 28, 25, 0.55); }
td.mono { color: var(--fg); font-size: 14px; }

.cool-table { border: 1px solid var(--line); }

/* ---------- infraestrutura ---------- */
.photo-band { position: relative; padding: 130px 0; overflow: hidden; }
.photo-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band-scrim { position: absolute; inset: 0; background: rgba(13, 11, 9, 0.78); }
.photo-band-inner { position: relative; }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.infra-item {
  background: rgba(19, 17, 16, 0.82);
  border-top: 3px solid var(--accent);
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.infra-v { font-weight: 600; font-size: 26px; color: var(--accent); }
.infra-k { font-size: 14.5px; color: var(--fg); line-height: 1.5; }

/* ---------- galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 40px;
}
.g-item {
  padding: 0;
  border: 1px solid transparent;
  background: var(--panel);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.g-item.g-wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.045); }
.g-item:focus-visible { outline: 2px solid var(--accent); }

/* ---------- documentação ---------- */
.doc-list { list-style: none; padding: 0; margin: 10px 0 0; }
.doc-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(201, 154, 60, 0.16);
  font-size: 17px;
}
.doc-badge {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--accent);
  color: #131110;
}
.doc-list li.pend .doc-badge { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* ---------- contato ---------- */
.contact {
  padding: 120px 0 0;
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(201, 154, 60, 0.14) 0%, rgba(201, 154, 60, 0) 100%),
    #0d0b09;
  text-align: center;
}
.contact-inner { max-width: 860px; }
.contact-old { font-size: 16px; color: var(--fg-dim); margin: 0 0 6px; }
.contact-price {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 104px);
  color: var(--accent);
  margin: 0 0 30px;
  line-height: 1;
}
.contact h2 { font-size: clamp(26px, 3.6vw, 42px); }
.contact .lead { margin-left: auto; margin-right: auto; }
.contact-channels {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0;
  font-size: 18px;
}
.contact-channels .ph { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-channels .ph:hover { text-decoration: underline; }
.contact-note { color: var(--fg-dim); font-size: 14px; margin-top: 16px; }
.footer {
  margin-top: 90px;
  padding: 26px 24px;
  border-top: 1px solid rgba(201, 154, 60, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--fg-dim);
}

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: var(--accent);
  color: #131110;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  box-shadow: 0 8px 30px rgba(13, 11, 9, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fab.on { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- modais ---------- */
.film-modal, .lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1200px, 94vw);
  width: 100%;
}
.film-modal::backdrop, .lightbox::backdrop { background: rgba(9, 8, 7, 0.92); }
.film-modal video { width: 100%; display: block; background: #000; }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.film-close {
  position: absolute;
  top: -14px;
  right: -6px;
  z-index: 2;
  background: var(--accent);
  color: #131110;
  border: none;
  font-size: 26px;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .g-item img { transition: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 78px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item.g-wide { grid-column: span 2; }
  .hero-inner { padding-bottom: 64px; }
  .footer { flex-direction: column; }
}
@media (max-width: 600px) {
  .btn-nav { display: none; }
  .nav { height: 56px; }
  .nav-brand { white-space: nowrap; font-size: 15px; }
}
@media (max-width: 480px) {
  .infra-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
