.wrap { overflow: hidden; }

.brand {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 96px;
  padding: 14px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
}

.brand-contacts {
  display: flex;
  align-items: center;
  gap: 64px;
  color: #6c6c6c;
  font-family: var(--font-display);
}

.brand-contacts a,
.brand-contacts span {
  color: #6c6c6c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.brand-contacts img { width: 26px; height: 26px; }

.nav-toggle {
  display: none;
  margin: 0 16px 10px auto;
  width: 46px;
  height: 42px;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  position: relative;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -7px; }
.nav-toggle span:after { top: 7px; }

.menu {
  background: var(--red);
}

.menu ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menu > ul > li { position: relative; }

.menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 400;
}

.menu > ul > li:hover,
.menu > ul > li.is-open { background: var(--red-hover); }

.menu > ul > li.current,
.menu > ul > li.ancestor { background: var(--red-current); }

.menu .sub {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: var(--red-hover);
  z-index: 40;
  flex-direction: column;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.menu li:hover > .sub,
.menu li.is-open > .sub,
.menu li:focus-within > .sub { display: flex; }

.menu .sub a { padding: 12px 18px; font-size: 14px; }
.menu .sub li:hover { background: var(--red-sub); }

.chev {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  vertical-align: middle;
}

.hero {
  position: relative;
  background: #111;
  aspect-ratio: 1920 / 800;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 72px;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

.split {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0;
}

.split-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0 16px;
}

.split-copy {
  background: #fff;
  padding: 8px 60px 8px 8px;
}

.kicker {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 400;
  color: #555;
  font-family: var(--font);
}

.display {
  margin: 0;
  color: #c9160d;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.split-copy p { margin: 20px 0 0; }

.btn {
  display: inline-block;
  background: var(--red);
  border: 3px solid var(--red);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  letter-spacing: 0.04em;
  transition: background 0.4s, border-color 0.4s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }

.btn-gap { margin-top: 48px; }

.btn-ghost {
  background: transparent;
  border: 3px solid #fff;
  color: #fff;
  padding: 16px 46px;
}
.btn-ghost:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }

.cards {
  background: #f2f2f2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 322px;
  padding: 24px 18px 28px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: filter 0.4s, outline-offset 0.4s;
}
.card span {
  display: block;
  width: 100%;
  text-align: center;
  background: rgba(201, 22, 13, 0.7);
  color: #fff;
  font-family: var(--font-display);
  padding: 16px 10px;
  font-size: 16px;
}
.card:hover {
  outline: 2px solid #c9160d;
  outline-offset: -10px;
  filter: contrast(1.5);
  box-shadow: inset 20px 20px 50px 15px rgba(0, 0, 0, 0.35);
}

.band {
  min-height: 420px;
  background: url("/media/parallaxx.jpg") center / cover no-repeat fixed;
}

.partner {
  background: url("/media/banners-parcerias.jpg") center / cover no-repeat;
  padding: 70px 16px;
  text-align: center;
  color: #fff;
}
.partner-inner { max-width: 800px; margin: 0 auto; }
.partner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
.partner p {
  margin: 30px 0 0;
  font-size: 25px;
  line-height: 1.35;
  color: #fff;
}

.page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.page-label {
  margin: 0 0 22px;
  color: #8a8a8a;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 3px solid #f0f0f0;
  background: #f0f0f0;
  box-shadow: 1px 1px 3px 2px #8b8b8b;
  cursor: pointer;
  position: relative;
}
.gallery img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
}
.gallery button:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 30px;
  align-items: stretch;
}
.about-head { grid-column: 1; grid-row: 1; }
.about-text { grid-column: 1; grid-row: 2; }
.about-text p { margin: 0 0 18px; }
.about-text p:last-child { margin-bottom: 0; }
.about img {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.field { margin: 0 0 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 16px; }
.req { color: #da251c; }
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 15px;
}
.map iframe { width: 100%; height: 560px; border: 0; }
.form-note { min-height: 1.4em; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }

.videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
  align-items: start;
}
.videos figure { margin: 0; }
.videos h2 {
  margin: 0 0 8px;
  min-height: 2.6em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #444;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.forn-intro p { margin: 8px 0; }
.forn-note { color: #da251c; font-weight: 700; }
.forn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
  margin-top: 28px;
}
.forn-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 8px 10px;
}
.forn-title.red { background: #da251c; }
.forn-title.dark { background: #000; }
.logo-frame {
  margin-top: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 0 5px 1px rgba(96, 96, 96, 0.1);
  background: #fff;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 36px;
}
.logo-frame img { max-height: 110px; width: auto; max-width: 100%; }
.logo-frame button.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}
.logo-frame .prev { left: 6px; }
.logo-frame .next { right: 6px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  border: 0;
  background: #222;
  padding: 0;
  cursor: pointer;
}
.dots button.is-on { background: #da251c; }
.forn-video { text-align: center; margin: 10px 0 0; }

.archive-title {
  margin: 8px 0 18px;
  font-size: 40px;
  font-weight: 500;
  color: #3a3a3a;
  border-bottom: 3px solid #da251c;
  padding-bottom: 8px;
}
.archive-title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 40px;
}
.posts h2 { margin: 0 0 8px; font-size: 26px; font-weight: 500; }
.posts h2 a { color: #4a4a4a; text-decoration: none; }
.posts h2 a:hover { color: var(--red); }
.posts p { margin: 0 0 16px; }
.more {
  display: inline-block;
  border: 2px solid #1f1a17;
  color: #1f1a17;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.more:hover { background: var(--red); border-color: var(--red); color: #fff; }

.post-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  color: #666;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}
.meta {
  color: #888;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  padding: 8px 0 10px;
  margin-bottom: 18px;
}
.meta a { color: var(--red); text-decoration: none; }
.post-body p { margin: 0 0 16px; }
.post-body strong { color: #333; }

.site-footer { background: var(--footer); color: #fff; padding: 36px 16px 18px; }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.3fr 1fr;
  gap: 18px;
}
.site-footer h2 {
  margin: 0 0 6px;
  color: #da251c;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer h2 img { width: 26px; height: 26px; }
.site-footer p { margin: 0; color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h2 a { color: #da251c; }
.site-footer .saiba { color: #da251c; }

.footer-bar {
  background: var(--footer-bar);
  text-align: center;
  padding: 14px 0 18px;
}
.socials { display: flex; justify-content: center; gap: 6px; }
.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #da251c;
}
.socials a:hover { background: #c9160d; }
.socials img { width: 16px; height: 16px; }

.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
}
.wa svg { width: 34px; height: 34px; display: block; }
.wa span {
  position: absolute;
  right: 70px;
  bottom: 14px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.15);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}
.popup[hidden] { display: none; }
.popup-box {
  position: relative;
  background: #fff;
  border: 8px solid #000;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  max-width: 550px;
}
.popup-box img { display: block; width: 100%; height: auto; }
.popup-close {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  width: 96vw;
  height: 92vh;
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 32px;
}
.lightbox-close { top: 12px; right: 18px; }
.lightbox-nav.prev { left: 12px; top: 50%; }
.lightbox-nav.next { right: 12px; top: 50%; }

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .videos, .forn-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-contacts { gap: 24px; }
}

@media (max-width: 800px) {
  body { font-size: 12.75px; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin: 0;
  }
  .menu { display: none; }
  .menu.is-open { display: block; }
  .menu ul, .menu .sub { flex-direction: column; position: static; min-width: 0; box-shadow: none; }
  .menu li:hover > .sub { display: none; }
  .menu li.is-open > .sub { display: flex; }
  .split-inner, .about, .contact-grid, .posts, .videos, .forn-grid, .footer-grid, .cards {
    grid-template-columns: 1fr;
  }
  .about-head, .about-text, .about img {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }
  .split-copy { padding-right: 8px; }
  .display { font-size: 36px; }
  .partner h2 { font-size: 28px; }
  .partner p { font-size: 18px; }
  .brand { flex-direction: column; align-items: flex-start; }
  .brand-contacts { flex-direction: column; align-items: flex-start; gap: 8px; }
  .band { background-attachment: scroll; min-height: 220px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
