/* Frammkstein — Rammstein cover · Belo Horizonte
   Cloudflare Pages build (sem framework). Design portado do app original. */

:root {
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-serif: "Newsreader", "Georgia", serif;

  --bg: #070707;
  --surface: #101010;
  --fg: #efece4;
  --muted: #9a9388;
  --subtle: #5e5953;
  --fire: #c4161c;
  --fire-fg: #efece4;
  --border: #2c2926;
  --line: #3d3834;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-serif);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
}

p {
  text-wrap: pretty;
  margin: 0;
}

::selection {
  background: var(--fire);
  color: var(--fire-fg);
}

/* ---- Typography helpers ---- */
.kicker {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.86;
}

.lede {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
}

.fire {
  color: var(--fire);
}
.muted {
  color: var(--muted);
}
.subtle {
  color: var(--subtle);
}
.italic {
  font-style: italic;
}

.rule-fire {
  height: 3px;
  background: var(--fire);
}

/* ---- Layout ---- */
.wrap {
  margin-inline: auto;
  width: 100%;
  max-width: 76rem;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .wrap {
    padding-inline: 2.5rem;
  }
}

section {
  border-top: 1px solid var(--border);
}
.section-pad {
  padding-block: 3.5rem;
}
@media (min-width: 768px) {
  .section-pad {
    padding-block: 5rem;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  height: 3rem;
  padding-inline: 1.5rem;
  background: var(--fire);
  color: var(--fire-fg);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  transition: opacity 0.15s;
}
.btn:hover {
  opacity: 0.9;
}
.btn.outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn.outline:hover {
  border-color: var(--fire);
  opacity: 1;
}
.btn.ghost {
  background: transparent;
  color: var(--muted);
  height: auto;
  padding: 0.5rem 0;
}
.btn.ghost:hover {
  color: var(--fg);
}

/* ---- Header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
header .bar {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  height: 1.75rem;
  width: auto;
}
@media (min-width: 768px) {
  header .logo {
    height: 2rem;
  }
}
nav.desk {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
nav.desk a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
}
nav.desk a:hover {
  color: var(--fg);
}
@media (min-width: 768px) {
  nav.desk {
    display: flex;
  }
}
.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 1.35rem;
}
@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}
nav.mob {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.25rem 0.75rem;
}
nav.mob.open {
  display: flex;
}
nav.mob a {
  display: flex;
  height: 2.75rem;
  align-items: center;
  font-size: 1rem;
  color: var(--fg);
}

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 3.5rem);
  border-top: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.hero-grid > div {
  min-height: 0;
  overflow: hidden;
}
.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-foot {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.5rem;
}
@media (min-width: 768px) {
  .hero-foot {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-block: 2rem;
  }
}
.hero-title {
  font-size: clamp(2.6rem, 9vw, 7.5rem);
}
.hero-sub {
  margin-top: 0.5rem;
  max-width: 32rem;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--muted);
}
.hero-next {
  min-width: 14rem;
  display: block;
}
.hero-next .lbl {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
}
.hero-next .date {
  margin-top: 0.25rem;
  font-size: 2.25rem;
  color: var(--fire);
}
.hero-next .venue {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}
.hero-next .place {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---- Agenda ---- */
.agenda-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.show-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
}
@media (min-width: 1024px) {
  .agenda-cols,
  .show-row {
    grid-template-columns: 7rem 1fr 11rem 1fr auto;
    gap: 1.5rem;
    align-items: baseline;
  }
  .show-row {
    padding-block: 1.5rem;
  }
}
.agenda-cols {
  display: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--subtle);
}
@media (min-width: 1024px) {
  .agenda-cols {
    display: grid;
  }
}
.show-row .r-date {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.875rem;
  color: var(--fire);
  line-height: 0.9;
}
.show-row .r-weekday {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--subtle);
}
.show-row .r-venue {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .show-row .r-venue {
    font-size: 1.875rem;
  }
}
.show-row .r-notes {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--subtle);
}
.show-row .r-ig a {
  font-size: 1rem;
  color: var(--fg);
}
.show-row .r-ig a:hover {
  color: var(--fire);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.show-row .r-city {
  font-size: 1rem;
  color: var(--muted);
}
.show-row .r-tickets a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fire);
}
.show-row .r-tickets a:hover {
  text-decoration: underline;
}

.past-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.past-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  border-bottom: 1px solid var(--border);
  padding-block: 0.5rem;
  font-size: 0.875rem;
}
.past-list .p-date {
  font-variant-numeric: tabular-nums;
  color: var(--subtle);
}

/* ---- Booking ---- */
.booking-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .booking-grid {
    grid-template-columns: minmax(0, 22rem) 1fr;
    gap: 5rem;
  }
}
.form-grid {
  display: grid;
  gap: 1.25rem;
}
.form-row2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row2 {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: grid;
  gap: 0.375rem;
}
.field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  height: 2.75rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0 0 0.25rem;
}
.field textarea {
  height: auto;
  min-height: 5rem;
  padding-top: 0.5rem;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fire);
}
.field select option {
  background: var(--surface);
}
.hint {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--subtle);
}

/* ---- About / members ---- */
.members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .members {
    grid-template-columns: repeat(3, 1fr);
  }
}
.members figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.members img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.members figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  line-height: 1;
}
.members figcaption .m-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.members figcaption .m-role {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
}

/* ---- Setlist ---- */
.setlist {
  display: grid;
  gap: 3rem 3rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .setlist {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .setlist {
    grid-template-columns: repeat(3, 1fr);
  }
}
.setlist .album {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0.25rem;
}
.setlist ol {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.setlist ol li {
  border-bottom: 1px solid var(--border);
  padding-block: 0.375rem;
}

/* ---- Two-column blocks ---- */
.cols2 {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .cols2 {
    grid-template-columns: 1fr 1fr;
  }
}
.cols2 ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.big-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .big-title {
    font-size: 2.25rem;
  }
}

/* ---- Rider teaser ---- */
.teaser-big {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: 1.875rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .teaser-big {
    font-size: 3rem;
  }
}

/* ---- Gallery ---- */
.shots {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
  }
}
.shots button {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg);
  border: none;
  padding: 0;
}
.shots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Reels (pôster + play, abre no Instagram) */
.reels {
  display: grid;
  gap: 2.5rem;
  padding-block: 2.5rem;
}
@media (min-width: 640px) {
  .reels {
    grid-template-columns: 1fr 1fr;
  }
}
.reel a.poster {
  position: relative;
  display: block;
  margin-inline: auto;
  width: 100%;
  max-width: 16rem;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 640px) {
  .reel a.poster {
    margin-inline: 0;
  }
}
.reel a.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 7, 7, 0.2);
  transition: background 0.15s;
}
.reel a.poster:hover .play {
  background: rgba(7, 7, 7, 0.35);
}
.reel .play::after {
  content: "";
  margin-left: 6px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--fg);
}
.reel .r-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  margin-top: 1rem;
}
.reel .r-credit {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.reel .r-credit a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#ig-posts a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.videos {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
}
@media (min-width: 768px) {
  .videos {
    grid-template-columns: 1fr 1fr;
  }
}
.videos .vframe {
  aspect-ratio: 16 / 9;
  background: var(--bg);
}
.videos iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 7, 0.92);
  padding: 1rem;
  border: none;
}
.lightbox img {
  max-height: 90svh;
  max-width: 100%;
  object-fit: contain;
}

/* ---- Footer ---- */
footer.site {
  border-top: 1px solid var(--border);
}
.foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 2.5rem;
}
@media (min-width: 768px) {
  .foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.foot .logo {
  height: 2rem;
  width: auto;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
}
.foot-links a {
  color: var(--muted);
}
.foot-links a:hover {
  color: var(--fg);
}
.foot-links a.wa {
  color: var(--fg);
}
.foot-links a.wa:hover {
  color: var(--fire);
}

/* ---- Rider page ---- */
.rider article {
  padding-block: 3rem;
}
.rider .rider-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .rider .rider-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.rider h1 {
  font-size: 3rem;
}
@media (min-width: 768px) {
  .rider h1 {
    font-size: 4.5rem;
  }
}
.rider section {
  border: none;
  margin-top: 3rem;
  padding: 0;
}
.rider .contact-grid {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.rider .members-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
@media (min-width: 640px) {
  .rider .members-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}
.rider .members-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-block: 0.5rem;
  font-size: 0.875rem;
}
.rider table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  margin-top: 1rem;
}
.rider .tablewrap {
  overflow-x: auto;
}
.rider thead {
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.rider th,
.rider td {
  padding: 0.5rem 1rem 0.5rem 0;
  vertical-align: top;
}
.rider tbody td {
  color: var(--muted);
}
.rider tbody td.strong {
  color: var(--fg);
}
.rider .ch {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--fire);
}
.plot {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}
.plot .stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.plot .frame {
  position: absolute;
  inset: 0.75rem;
  border: 1px dashed var(--line);
}
.plot .screen {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 6%;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--subtle);
  text-align: center;
}
.plot .slot {
  position: absolute;
  width: 28%;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}
.plot .crowd {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--subtle);
}

/* ---- Admin ---- */
.admin main {
  display: grid;
  gap: 3rem;
  padding-block: 3rem;
}
@media (min-width: 1024px) {
  .admin main {
    grid-template-columns: 1fr 22rem;
  }
}
.admin .lock {
  display: flex;
  min-height: 70svh;
  align-items: center;
  justify-content: center;
  padding-block: 4rem;
}
.admin .lock form {
  width: 100%;
  max-width: 24rem;
  border-top: 1px solid var(--fire);
  padding-top: 1.5rem;
}
.admin aside {
  display: grid;
  gap: 2rem;
  align-content: start;
}
.admin aside form {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.admin .list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.admin .list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.admin .list li:last-child {
  border-bottom: none;
}
.admin .list .info {
  min-width: 0;
  flex: 1;
}
.admin .list .info .v {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin .list .info .meta {
  font-size: 0.8125rem;
  color: var(--muted);
}
.icon-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--muted);
}
.icon-btn:hover {
  color: var(--fg);
}
.icon-btn.danger:hover {
  color: var(--fire);
}
.admin .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.badge-cancel {
  color: var(--fire);
}

/* ---- Toast ---- */
#toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.5rem;
  max-width: min(92vw, 22rem);
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--fire);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: toastin 0.15s ease-out;
}
.toast.ok {
  border-left-color: #4a7;
}
@keyframes toastin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  header.site,
  footer.site,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .rider .fire,
  .rider .ch {
    color: #c4161c;
  }
}
