/* ============================================================
   MABI — estilo base (inspirado no press kit: preto, branco, mono)
   Títulos: Gasoek One · Rótulos/botões: Oswald · Textos: IBM Plex Mono
   Para trocar as fontes, mude só as 3 variáveis --f-* abaixo.
   ============================================================ */
:root {
  --bg: #000;
  --fg: #fff;
  --mut: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .28);
  --f-title: 'Gasoek One', Impact, 'Arial Black', sans-serif;
  --f-ui: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-body: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --gut: 20px;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 13.5px;
  line-height: 1.75;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- fundo vivo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; background: #000; overflow: hidden; pointer-events: none; }
.bg i {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation: bgfade 72s infinite, bgzoom 72s infinite linear;
}
.bg i:nth-of-type(2) { animation-delay: 18s; }
.bg i:nth-of-type(3) { animation-delay: 36s; }
.bg i:nth-of-type(4) { animation-delay: 54s; }
.bg::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .3), rgba(0, 0, 0, .88) 80%);
}
.bg__grain {
  position: absolute; inset: -50%; z-index: 3; opacity: .1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(6) infinite;
}
@keyframes bgfade { 0% { opacity: 0 } 6% { opacity: .36 } 24% { opacity: .36 } 31% { opacity: 0 } 100% { opacity: 0 } }
@keyframes bgzoom { 0% { transform: scale(1) translate3d(0, 0, 0) } 100% { transform: scale(1.26) translate3d(-2%, -1.5%, 0) } }
@keyframes grain {
  0% { transform: translate(0, 0) } 17% { transform: translate(-4%, 3%) } 33% { transform: translate(3%, -5%) }
  50% { transform: translate(-6%, -2%) } 67% { transform: translate(5%, 4%) } 83% { transform: translate(-2%, 6%) } 100% { transform: translate(0, 0) }
}

/* ---------- cabeçalho ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut);
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.hdr__logo img { height: 22px; width: auto; }
.hdr { flex-wrap: wrap; }
.hdr__nav { display: flex; align-items: center; gap: 14px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-ui); font-weight: 500; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 9px 16px; min-height: 38px;
  background: transparent; color: #fff; border: 1px solid #fff; border-radius: 0;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: #fff; color: #000; }
.btn:active { transform: translateY(1px); }
.btn--solid { background: #fff; color: #000; }
.btn--solid:hover { background: transparent; color: #fff; }
.btn--sm { padding: 6px 12px; min-height: 32px; font-size: 12px; }
.btn--ghost { border-color: var(--line); color: var(--mut); }
.btn--block { width: 100%; }

/* ---------- hero fino ---------- */
.hero { position: relative; height: clamp(190px, 30svh, 280px); overflow: hidden; isolation: isolate; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 38%; z-index: -2; animation: heroDrift 40s ease-in-out infinite alternate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .72)); }
.hero__in { height: 100%; max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; padding: 18px var(--gut); }
.hero__logo { width: min(62%, 330px); height: auto; }
.hero__txt { max-width: 640px; font-size: 11.5px; line-height: 1.6; }
@keyframes heroDrift { from { transform: scale(1.02) } to { transform: scale(1.1) translate3d(-1.5%, 0, 0) } }

.credit {
  font-family: var(--f-ui); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mut); text-align: right; padding: 6px 0 0;
}
.credit--pad { max-width: var(--max); margin: 0 auto; padding: 6px var(--gut) 0; }

/* ---------- estrutura ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 54px var(--gut) 10px; }
.sec-title {
  font-family: var(--f-title); font-weight: 400; text-transform: uppercase;
  font-size: clamp(24px, 7vw, 40px); line-height: 1.02; letter-spacing: .01em; margin-bottom: 26px;
}
.sec-title--center, .center { text-align: center; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 44px auto 34px; max-width: var(--max); width: calc(100% - 2 * var(--gut)); }
.prose p + p { margin-top: 1.1em; }

/* ---------- produtos (home) ---------- */
.prod { display: grid; gap: 40px; padding-top: 30px; padding-bottom: 8px; }
@media (min-width: 860px) { .prod { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #0a0a0a; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
a.card__media:hover img { transform: scale(1.04); }
.card__body { padding-top: 16px; }
.card__body .btn { margin-top: 4px; }
.soon { font-family: var(--f-title); font-size: clamp(24px, 7vw, 36px); line-height: 1; text-transform: uppercase; margin: 6px 0 14px; }
.card--soon .card__media img { filter: saturate(.7) brightness(.78); }
.card--soon .card__media::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38);
}

/* ---------- slides ---------- */
.slides { max-width: 940px; margin: 0 auto; }
.slides__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.slides__track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: 42% 1fr; gap: 18px; padding: 0 var(--gut); align-items: center;
}
.slide__ph { aspect-ratio: 2 / 3; overflow: hidden; background: #0a0a0a; border: 1px solid var(--line); }
.slide__ph img { width: 100%; height: 100%; object-fit: cover; }
.slide__name { font-weight: 500; font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
.slide__txt { font-size: 12px; line-height: 1.7; }
@media (min-width: 700px) {
  .slide { gap: 36px; grid-template-columns: 40% 1fr; }
  .slide__name { font-size: 19px; margin-bottom: 14px; }
  .slide__txt { font-size: 14.5px; }
}
.dots { display: flex; justify-content: center; margin-top: 12px; }
.dots button { background: none; border: 0; padding: 12px 6px; }
.dots span { display: block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; transition: background .3s, transform .3s; }
.dots button[aria-current="true"] span { background: #fff; transform: scale(1.2); }
.after-slides { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------- ler mais (degradê) ---------- */
.rm__b { position: relative; }
.rm.is-clamped .rm__b {
  max-height: var(--rm-h, 190px); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.rm__btn { display: none; margin-top: 10px; }
.rm.is-clamped .rm__btn, .rm.is-open .rm__btn { display: inline-flex; }
.rm.is-open .rm__b { max-height: none; -webkit-mask-image: none; mask-image: none; }

/* ---------- rodapé ---------- */
.ftr { margin-top: 80px; padding: 26px var(--gut) 30px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr p { font-family: var(--f-ui); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); }
.ftr img { width: 38px; height: auto; margin: 10px auto 0; opacity: .9; }

/* ---------- modal de acesso ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.is-open { display: flex; animation: fade .25s ease; }
.modal__box { position: relative; width: min(440px, 100%); max-height: 100%; overflow: auto; background: #000; border: 1px solid #fff; padding: 30px 24px 24px; }
.modal__x { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; background: none; border: 0; font-size: 28px; line-height: 1; }
.modal h2 { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin: 0 28px 20px 0; }
.field { display: block; margin-bottom: 16px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.field input[type="email"], .field input[type="text"] {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: 16px var(--f-body); color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 0; letter-spacing: 0; text-transform: none;
}
.field input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .1); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; margin-bottom: 14px; cursor: pointer; }
.chk input { -webkit-appearance: none; appearance: none; margin: 2px 0 0; width: 20px; height: 20px; flex: none; background: transparent; border: 1.5px solid #fff; border-radius: 0; cursor: pointer; display: grid; place-content: center; transition: background .2s; }
.chk input::after { content: ""; width: 5px; height: 10px; border: solid #000; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .15s ease; }
.chk input:checked { background: #fff; }
.chk input:checked::after { transform: rotate(45deg) scale(1); }
.chk input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.note { font-size: 11px; line-height: 1.55; color: var(--mut); margin-bottom: 18px; }
.err { border: 1px solid #fff; padding: 12px; margin-bottom: 16px; font-size: 12.5px; line-height: 1.55; }
.modal__help { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
.modal__help.is-hot .btn { animation: pulse 1.2s ease 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@keyframes pulse { 50% { background: #fff; color: #000; } }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
body.lock { overflow: hidden; }

/* ---------- página do EP ---------- */
html.guard body { visibility: hidden; }
.back { padding-top: 18px; padding-bottom: 6px; }
.cover { max-width: 820px; margin: 14px auto 0; padding: 0 var(--gut); }
.cover__img { aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; }
.cover__img img { width: 100%; height: 100%; object-fit: cover; animation: heroDrift 40s ease-in-out infinite alternate; }
.ep { max-width: 820px; margin: 0 auto; padding: 28px var(--gut) 0; }
.pl { position: relative; aspect-ratio: 16 / 9; background: #0a0a0a; border: 1px solid var(--line); }
.pl__box { position: absolute; inset: 0; background: #000; }
.pl__box iframe, .pl__box #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pl__bar { display: none; }
.pl.is-mini { border-color: transparent; }
.pl.is-mini .pl__box {
  position: fixed; inset: auto 12px 12px auto; width: min(60vw, 310px); height: auto; aspect-ratio: 16 / 9;
  z-index: 60; border: 1px solid #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .8); animation: miniIn .35s ease;
}
.pl.is-mini .pl__bar { display: flex; position: absolute; top: -34px; right: -1px; gap: 0; }
.pl__bar button { background: #000; border: 1px solid #fff; width: 34px; height: 34px; font-size: 16px; line-height: 1; }
.pl__bar button + button { border-left: 0; }
@keyframes miniIn { from { opacity: 0; transform: translateY(14px) scale(.92) } to { opacity: 1; transform: none } }
.chaps { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.chaps li { border-bottom: 1px solid var(--line); }
.chaps button { display: flex; gap: 16px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; padding: 12px 4px; transition: background .2s; }
.chaps button:hover { background: rgba(255, 255, 255, .07); }
.chaps time { font-family: var(--f-ui); letter-spacing: .1em; color: var(--mut); flex: none; min-width: 3.6em; }
.chaps li.is-on button { background: rgba(255, 255, 255, .1); }
.chaps li.is-on time { color: #fff; }
.heart { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-left: .15em; }
.ficha { margin-top: 36px; padding: 20px 18px; border: 1px solid rgba(255, 255, 255, .45); font-size: 13px; }
.ficha p + p { margin-top: .15em; }
.ficha__lead { margin-bottom: 12px; color: var(--mut); }
.ep__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------- saiba mais ---------- */
.release .rm { max-width: 760px; }
.fig { max-width: 900px; margin: 34px auto 0; }
.fig img { width: 100%; height: auto; border: 1px solid var(--line); }
.album { display: grid; gap: 28px; justify-items: center; text-align: center; }
.album__txt { max-width: 560px; }
.album__cover { width: min(100%, 460px); height: auto; border: 1px solid var(--line); }
.album__side .btn { margin-top: 16px; }
.video { max-width: 820px; margin: 0 auto; }
.video h3 { font-weight: 500; font-size: 16px; margin-bottom: 12px; }
.video__f { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #0a0a0a; }
.video__f iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.team { display: grid; gap: 38px; }
.member { display: grid; grid-template-columns: 40% 1fr; gap: 20px; align-items: start; }
.member__ph { aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--line); background: #0a0a0a; }
.member__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1.2s ease; }
.member:hover .member__ph img, .member.is-seen .member__ph img { filter: none; }
.member h3 { font-weight: 500; font-size: 15px; line-height: 1.4; margin-bottom: 8px; }
@media (min-width: 760px) {
  .team { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .member { grid-template-columns: 1fr; gap: 14px; }
  .album { grid-template-columns: 1fr 1fr; text-align: left; justify-items: start; align-items: center; gap: 48px; }
  .album__side { display: grid; justify-items: center; gap: 18px; }
}
.contact { display: grid; gap: 22px; justify-items: center; text-align: center; }
.contact img { width: min(70%, 380px); height: auto; }
.contact__acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- entrada suave ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg i, .bg__grain, .hero__img, .cover__img img { animation: none !important; }
  .bg i:nth-of-type(1) { opacity: .3; }
  .rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 380px) { .hdr__nav .btn { padding: 7px 10px; letter-spacing: .08em; } }

/* ajustes finos de celular */
.after-slides { padding: 0 var(--gut); }
.after-slides .btn { padding: 8px 12px; letter-spacing: .1em; flex: 1 1 auto; min-width: 0; }
.slide .credit { font-size: 8px; letter-spacing: .08em; }

/* título da área dos postais */
.prod-title { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 7vw, 36px); line-height: 1; letter-spacing: normal; padding-top: 40px; padding-bottom: 0; margin-bottom: 8px; }

/* ---------- chavinha de idioma (PT · EN) ---------- */
.lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.lang a { color: var(--mut); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .25s; }
.lang a:hover { color: #fff; }
.lang a.is-on { color: #fff; font-weight: 500; border-bottom-color: #fff; }

/* ---------- voltar para postais (só para quem já tem acesso) ---------- */
.hdr__back { display: none; flex: 0 0 100%; align-items: center; margin-top: 2px; padding: 8px 0 2px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.hdr__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.from-postais .hdr__back { display: flex; }

/* ---------- hero no computador (depois das regras base) ---------- */
@media (min-width: 860px) {
  .hero { height: clamp(300px, 34vw, 700px); }
  .hero__img { object-position: 50% 27%; }
  /* logo e texto à esquerda da tela, longe dos integrantes (que ficam no centro da foto) */
  .hero__in { max-width: none; padding-left: 4vw; padding-right: 4vw; }
  .hero__logo { width: clamp(180px, 22vw, 420px); }
}
