:root {
  --bg: #1b1b1b;
  --gray: #252525;
  --card: #201e1e;
  --orange: #ef7c2f;
  --header: 118px;
  --max: 1140px;
  --font: Poppins, sans-serif;
  --display: Anton, sans-serif;
  --ui: Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto; background: #fff; color: #000; padding: .5rem 1rem; z-index: 100; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
section[id], #quem-somos { scroll-margin-top: calc(var(--header) + 8px); }

.display, .section-title, .split-copy h2, .portfolio-copy h2, .hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 33px;
  line-height: 60px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--orange);
}
.section-title { text-align: center; margin-bottom: 1.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--orange);
  color: #fff;
  border-radius: 18px;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-header {
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  padding: 12px 24px;
}
.btn svg { width: 20px; height: 20px; }
.btn-header svg { width: 16px; height: 16px; }
.btn:hover { filter: brightness(1.06); }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-block: 10px;
}
.logo {
  background: #fff;
  border-radius: 13px;
  padding: 10px;
  flex: 0 0 auto;
  display: flex;
}
.logo img { height: 78px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; }
.nav a {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding: 13px 12px;
  display: inline-block;
  white-space: nowrap;
}
.nav a:hover, .nav a:focus-visible { color: var(--orange); }
.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: .35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.has-sub ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  flex-direction: column;
  background: #111;
  border-radius: 8px;
  padding: .35rem 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.has-sub:hover ul, .has-sub:focus-within ul { display: flex; }
.has-sub ul a { display: block; padding: .6rem 1rem; font-weight: 500; }
.ig {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: #fff;
  flex: 0 0 auto;
}
.ig svg { width: 26px; height: 26px; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.hero {
  position: relative;
  background: #000 url("/img/bghome.png") 0 0 / cover no-repeat;
  min-height: 620px;
  display: flex;
  align-items: stretch;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .75;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 662px) 403px;
  justify-content: space-between;
  align-items: end;
  padding-top: 2.2rem;
}
.hero h1 { max-width: 620px; }
.hero p {
  margin-top: .35rem;
  max-width: 662px;
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  text-align: justify;
}
.hero .btn { margin-top: 1.35rem; margin-bottom: 2.5rem; }
.mascot { width: 403px; height: auto; }

.band { padding: 3.2rem 0; position: relative; }
.band-gray { background: var(--gray); }
.band-black { background: #000; }
.band-install { background: #000; overflow: hidden; }
.band-install::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/bg-instalacao.png") center right / cover no-repeat;
  opacity: .17;
  pointer-events: none;
}
.band-install .container { position: relative; z-index: 1; }

.cards { display: grid; gap: 40px 40px; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card);
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  min-height: 280px;
}
.card h3 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
  color: var(--orange);
  margin: .85rem 0 .7rem;
}
.card p { font-size: 18px; line-height: 27px; color: #fff; }
.check { width: 32px; height: 32px; margin-inline: auto; display: block; color: var(--orange); }
.check svg, .ico { width: 32px; height: 32px; display: block; color: var(--orange); }
.ico { width: 42px; height: 42px; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.photo { width: 100%; height: 507px; object-fit: cover; border-radius: 8px; }
.split-copy h2 { margin-bottom: .4rem; max-width: 16em; }

.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li {
  border-left: 8px solid var(--orange);
  border-radius: 6px;
  padding: 10px 12px 10px 16px;
}
.checks strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
  color: #fff;
}
.checks strong svg { width: 22px; height: 22px; color: var(--orange); flex: 0 0 auto; }
.checks span {
  display: block;
  margin-top: 2px;
  padding-left: 28px;
  font-size: 18px;
  line-height: 27px;
  color: #fff;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
}
.ticks svg { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; }
.split-copy .btn { margin-top: 1.25rem; }

.slider-viewport {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 550 / 688;
  background: #111;
}
.slider-viewport img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.slider-viewport img.is-active { opacity: 1; }

.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.certs li {
  background: #fff;
  border-radius: 6px;
  width: 150px;
  height: 84px;
  display: grid;
  place-items: center;
  padding: 6px;
}
.certs img { width: 150px; height: 75px; object-fit: contain; }

.portfolio { overflow: hidden; background: var(--gray); }
.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/alpinista.png") left center / auto 130% no-repeat;
  opacity: .29;
  pointer-events: none;
}
.portfolio-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 548px;
  gap: 2rem;
  align-items: center;
}
.portfolio-copy h2 { margin-bottom: .6rem; }
.portfolio-copy p { max-width: 36ch; font-size: 18px; line-height: 27px; color: #fff; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery button { padding: 0; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.portfolio-mobile { display: none; }
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}
.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
}
.page-404 .btn { margin-top: 1.4rem; }

.contact { padding: 2.4rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .7fr 1.35fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.contact h2 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  text-transform: none;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 0 14px;
  font-family: var(--ui);
  font-size: 18px;
  line-height: 27px;
}
.contact-list svg, .address svg { width: 18px; height: 18px; color: var(--orange); flex: 0 0 auto; }
.address { display: flex; gap: .5rem; align-items: flex-start; color: #fff; font-family: var(--ui); font-size: 18px; line-height: 27px; font-weight: 400; }
.ig-lg { width: 42px; height: 42px; }
.ig-lg svg { width: 32px; height: 32px; }

.whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.whatsapp svg { width: 32px; height: 32px; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.88);
  display: grid; place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; color: #fff; font-size: 2.4rem; line-height: 1; width: 48px; height: 48px;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav.prev { left: 10px; top: 50%; }
.lightbox-nav.next { right: 10px; top: 50%; }

@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero-grid, .split, .cards-2, .cards-3, .portfolio-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { justify-items: start; }
  .mascot { width: min(320px, 70%); }
  .photo, .slider-viewport { height: auto; max-height: none; }
  .slider-viewport { aspect-ratio: 4 / 5; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .card { min-height: 0; }
  .logo img { height: 56px; }
  .header-bar { min-height: 86px; }
  .btn-header, .header .ig { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #141414;
    padding: .4rem 1rem 1rem;
    margin: 0;
  }
  .nav.is-open { display: block; }
  .nav > ul, .has-sub ul { display: flex; flex-direction: column; align-items: stretch; position: static; background: none; box-shadow: none; padding: 0; }
  .nav a { padding: .7rem 0; }
  .has-sub ul a { padding-left: .75rem; color: #ddd; }
}

@media (max-width: 1024px) {
  .portfolio-mobile {
    display: block;
    position: relative;
    grid-column: 1 / -1;
  }
  .portfolio-mobile .slider-viewport { aspect-ratio: 3 / 4; max-height: 72vh; }
}
@media (max-width: 767px) {
  .section-title, .split-copy h2, .portfolio-copy h2, .hero h1 { font-size: 36px; }
  .gallery { display: none; }
  .hero p { font-size: 18px; text-align: left; }
  .certs li { width: 120px; }
  .certs img { width: 100%; height: 60px; }
}
