:root{
  --bg:#070708;
  --panel: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.66);
  --radius: 18px;
  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(900px 520px at 80% 20%, rgba(255,255,255,.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  line-height:1.45;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
.wrap{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.muted{ color: var(--muted); }

/* Topbar */
.topbar{
  position: sticky; top:0; z-index:50;
  background: rgba(7,7,8,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbarInner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.logo{ height: 28px; width:auto; }

.topnav{ display:flex; gap: 14px; align-items:center; }
.navLink{
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 999px;
  transition: 160ms ease;
}
.navLink:hover{ background: rgba(255,255,255,.07); color: var(--text); }
.navLink.isActive{
  color: var(--text);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

/* Buttons (apenas no hero) */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  transition: 160ms ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn:active{ transform: translateY(0); }
.btnPrimary{
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.92);
  border-color: rgba(255,255,255,.45);
}
.btnPrimary:hover{ background:#fff; }
.btnGhost{ background: rgba(255,255,255,.06); }

/* Hero (base) */
.hero{ padding: 28px 0 8px; }

h1{
  margin:0 0 10px;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.02em;
}
.sub{ margin:0 0 16px; color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.heroActions{ display:flex; flex-wrap:wrap; gap: 10px; }

.meta{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 14px; }
.chip{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
}
.chipSoft{ background: rgba(255,255,255,.04); }

/* Sections */
.section{ padding: 18px 0; }
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sectionHead h2{ margin:0; font-size: 1.35rem; }
.sectionHead p{ margin:0; color: var(--muted); }

/* Docs (cards compactos) */
.docGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.docCard{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  transition: 160ms ease;
  min-height: 92px;
}
.docCard:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}
.docIcon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.docBody{ min-width:0; }
.docBody h3{ margin:0 0 4px; font-size: 1.02rem; }
.docBody p{
  margin:0;
  color: var(--muted);
  font-size: .95rem;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.docArrow{
  margin-left:auto;
  color: rgba(255,255,255,.55);
  font-size: 1.2rem;
}

/* Gallery (vertical harmoniza) */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 10px;
}
.shot{
  padding:0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: 160ms ease;
}
.shot:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); }
.shot img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
}

/* Foto 4 vertical: ocupa 2 linhas */
.shotPortrait{ grid-row: span 2; }

/* Modal */
.modal{ position: fixed; inset: 0; z-index: 100; }
.modalBg{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(7px);
}
.modalBox{
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 6vh auto 0;
  border-radius: 22px;
  overflow:hidden;
  background: rgba(12,12,13,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 120px rgba(0,0,0,.75);
}
.modalX{
  position:absolute;
  top: 12px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}
.modalImg{
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
.modalBar{
  display:flex;
  justify-content:flex-end;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.modalDl{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
}
.modalDl:hover{ background: rgba(255,255,255,.08); }

/* Footer (mais bonito) */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  margin-top: 10px;
  background: rgba(7,7,8,.55);
}
.footerInner{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 14px;
  align-items:center;
}
.footBrand{ display:flex; align-items:center; gap: 12px; }
.footLogo{ height: 26px; width:auto; opacity: .92; }
.footMeta{ display:flex; flex-direction:column; gap: 2px; }
.footTitle{ font-weight: 700; color: rgba(255,255,255,.9); }

.footLinks{
  display:flex; justify-content:center; gap: 14px; flex-wrap:wrap;
}
.footLinks a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.footLinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}

.footContact{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap:wrap;
}
.footPill{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}
.footPill:hover{ color: var(--text); background: rgba(255,255,255,.07); }

/* Responsive */
@media (max-width: 980px){
  .docGrid{ grid-template-columns: 1fr; }
  .gallery{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .shotPortrait{ grid-row: span 2; }
  .footerInner{ grid-template-columns: 1fr; }
  .footLinks{ justify-content:flex-start; }
  .footContact{ justify-content:flex-start; }
}
@media (max-width: 760px){
  .topnav{ display:none; }
  .sectionHead{ flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}

/* ===================================== */
/* HERO com foto de show (versão final)  */
/* ===================================== */

.hero.heroShow{
  position:relative;
  min-height: 48vh;
  display:flex;
  align-items:flex-end;
  padding: 60px 40px;
  border-radius: 22px;
  overflow:hidden;

  /* acabamento igual ao restante */
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);

  /* foto */
  background: url('/assets/img/hero-show.jpg') center/cover no-repeat;
}

/* anula padding do .hero base quando usar heroShow */
.hero.heroShow{ padding: 60px 40px; }

.heroOverlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.20),
      rgba(0,0,0,.62) 55%,
      rgba(0,0,0,.92)
    );
  z-index:1;
}

/* texto em cima */
.heroText{
  position:relative;
  z-index:2;
  max-width: 700px;
}

.heroText h1{
  font-size: clamp(28px,4vw,46px);
  margin: 0 0 12px;
}

.heroText .sub{
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin: 0 0 22px;
}

/* Mobile */
@media (max-width: 768px){
  .hero.heroShow{
    min-height: 60vh;
    padding: 40px 20px;
  }
}
/* ========================================= */
/* FIX definitivo: topo (texto) + base (botoes) */
/* ========================================= */

/* o hero vira um container com altura real */
.hero.heroShow{
  display:flex !important;
  align-items:stretch !important;
}

/* garante altura total pro conteúdo */
.hero.heroShow .heroText{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:inherit !important;
  width:100%;
  max-width: 820px;
  padding: 34px 40px;
}

/* cria “área topo” e “área base” sem precisar wrapper extra */
.hero.heroShow .heroText .sub{
  margin-bottom: 0 !important;
}

/* empurra os botões pra base */
.hero.heroShow .heroActions{
  margin-top: auto !important;
  padding-top: 18px;
  align-self: flex-end;
}

/* se quiser botões no canto direito, troca flex-start por flex-end */
/* .hero.heroShow .heroActions{ align-self:flex-end; } */

/* mobile */
@media (max-width: 768px){
  .hero.heroShow .heroText{
    padding: 22px 18px;
    max-width: 100%;
  }
}