:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #111111;
  --surface-soft: #171717;
  --text: #ffffff;
  --text-muted: #d9d9d9;
  --gold: #d99a20;
  --gold-light: #f0b746;
  --border: rgba(217, 154, 32, 0.2);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: linear-gradient(180deg, #050505 0%, #090909 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 0;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2.5rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.main-nav {
  position: fixed;
  inset: 0 0 auto auto;
  padding: 5rem 1.5rem 1.5rem;
  width: min(100%, 320px);
  max-width: 320px;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.main-nav li a {
  display: block;
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s ease;
}

.main-nav li a:hover,
.main-nav li a:focus-visible {
  background: rgba(217, 154, 32, 0.15);
}

.main-nav .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    padding: 0;
    width: auto;
    max-width: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    margin-left: auto;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .main-nav .btn {
    width: auto;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 76px;
    gap: 1rem;
  }

  .brand-logo {
    height: 56px;
  }
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: #050505;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(217, 154, 32, 0.16), transparent 30%), radial-gradient(circle at bottom right, rgba(240, 183, 70, 0.12), transparent 25%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.95));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 580px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(540px, 100%);
  min-height: 60vh;
  padding-right: 2rem;
  animation: heroContentIn 0.9s ease forwards 0.1s;
  opacity: 0;
  transform: translateY(18px);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
  max-width: 100%;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 35rem;
}

.hero-quote {
  margin: 0 0 2rem;
  font-family: 'Segoe Script', cursive, serif;
  font-size: 1.35rem;
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
  background: #050505;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 65%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0;
  animation: heroImageIn 0.9s ease forwards 0.2s;
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: 620px;
  }

  .hero-grid {
    min-height: 520px;
  }

  .hero-content {
    min-height: 50vh;
    padding-right: 1.5rem;
  }

  .hero-media {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 0 0 3rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 0;
  }

  .hero-media {
    position: relative;
    order: 1;
    width: 100%;
    min-height: 540px;
    overflow: hidden;
    background: #050505;
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.02) 45%,
      rgba(0, 0, 0, 0.30) 75%,
      #050505 100%
    );
    pointer-events: none;
  }

  .hero-media img,
  .hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }

  .hero-content {
    order: 2;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: auto;
    width: 100%;
    padding: 2.1rem 1.5rem 0;
    background: #050505;
  }

  .hero h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.25rem, 8.8vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    max-width: 620px;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 520px;
    margin: 0 auto 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #d5d5d5;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
  }

  .hero-actions .btn-primary {
    width: min(100%, 420px);
    min-height: 58px;
  }
}

@media (max-width: 599px) {
  .hero {
    padding-bottom: 2.75rem;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-content {
    padding: 1.75rem 1.25rem 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #050505;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 5rem 0;
}

/* Ajustes apenas para a seção 'Quem Somos' (about)
   - Remove espaço deixado pelo selo superior
   - Aproxima o título do início da seção sem alterar tipografia
   - Não afeta outras seções */
.section.about {
  padding-top: 3rem;
}
.section.about .section-header {
  margin-top: 0;
}

/* Place the main section title inside the history card with identical style */
.history-panel h2 {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
  color: #fff;
}

/* Reduce top padding inside the about card to tighten spacing without affecting other sections */
.section.about .history-panel {
  padding-top: 2rem;
}


.section-header {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(217, 154, 32, 0.18);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section h2 {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-description {
  color: var(--text-muted);
  max-width: 680px;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  justify-items: center;
}

.history-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(217, 154, 32, 0.18);
  border-radius: 2rem;
  padding: 3rem;
  width: 100%;
  max-width: 72rem;
}

/* Platforms showcase */
.platforms-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: #111111;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
  min-height: 290px;
}

.platform-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  color: currentColor;
}

.platform-card__icon svg {
  width: 56px;
  height: 56px;
  display: block;
  transition: transform 250ms ease;
}

.platform-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  image-rendering: auto;
  transition: transform 250ms ease;
}

.platform-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.platform-name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.platform-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #d9d9d9;
  max-width: 240px;
}

.platform-action {
  margin-top: 0.4rem;
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: transparent;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.platform-card.instagram { border-color: rgba(228,64,95,.45); color: #E4405F; }
.platform-card.spotify { border-color: rgba(30,215,96,.45); color: #1ED760; }
.platform-card.youtube { border-color: rgba(255,0,0,.45); color: #FF0000; }

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.16);
}

.platform-card:hover .platform-card__icon svg,
.platform-card:hover .platform-logo {
  transform: scale(1.05);
}

.platform-card:hover .platform-action {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

/* Fade-in entry handled by existing .fade-in + .visible */
.fade-in .platform-card { transform: translateY(12px); opacity: 0; transition: transform 520ms cubic-bezier(.2,.9,.2,1), opacity 520ms ease; }
.fade-in.visible .platform-card { transform: translateY(0); opacity: 1; }

@media (max-width: 1023px) {
  .platforms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .platforms-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 260px; }
}

.history-panel.fade-in {
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.history-tag {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1.35rem;
}

.history-panel h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.02;
  max-width: 10ch;
}

.history-decor {
  width: 6rem;
  height: 3px;
  margin: 1.75rem 0 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217,154,32,0.95), rgba(240,183,70,0.6));
}

.history-copy p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 42rem;
}

.history-copy p:last-child {
  margin-bottom: 0;
}

.history-copy span {
  color: var(--gold);
  font-weight: 700;
}


.history-footer {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(217, 154, 32, 0.18);
  border-radius: 1.5rem;
  background: rgba(217, 154, 32, 0.07);
  text-align: center;
}

.history-footer span {
  display: inline-block;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.75rem;
  line-height: 1.8;
}

.about-quote {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  background: rgba(217, 154, 32, 0.08);
  border-radius: 1rem;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.stats-grid,
.media-grid,
.team-grid,
.repertory-grid,
.events-grid,
.platforms-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

/* Journey / institutional stats */
.journey {
  padding: 90px 0;
}

.journey-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.journey-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #e6a91a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.journey-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  max-width: 900px;
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(230, 169, 26, 0.25);
  border-bottom: 1px solid rgba(230, 169, 26, 0.25);
}

.journey-stat {
  position: relative;
  padding: 42px 36px;
  transition: transform 250ms ease, color 250ms ease;
}

.journey-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 1px;
  height: calc(100% - 56px);
  background: rgba(230, 169, 26, 0.22);
}

.journey-stat strong {
  display: block;
  margin-bottom: 12px;
  color: #e6a91a;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
}

.journey-stat strong small {
  font-size: 0.45em;
  vertical-align: top;
}

.journey-stat span {
  color: #d8d8d8;
  font-size: 1rem;
  line-height: 1.5;
}

.journey-stat:hover {
  transform: translateY(-3px);
}

.journey-stat:hover strong {
  color: #f0b746;
}

/* Radio cards */
.media-grid {
  grid-template-columns: repeat(4, 1fr);
}

.radio-card {
  background: #000;
  border: 1px solid rgba(217,154,32,0.18);
  border-radius: 14px;
  padding: 1.25rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.radio-card img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform .35s ease;
  margin: 0;
}

.radio-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1rem;
  color: var(--text);
}

.radio-card__button {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  appearance: none;
}

.radio-card__button:focus-visible {
  outline: 2px solid rgba(217,154,32,0.95);
  outline-offset: 4px;
  border-radius: 8px;
}

.radio-card.no-logo .radio-fallback { display: block; }
.radio-card .radio-fallback { display: none; }
.radio-fallback svg { display: block; }

.radio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,154,32,0.9);
  box-shadow: 0 22px 46px rgba(217,154,32,0.12);
}

.radio-card:hover .radio-card__button img {
  transform: scale(1.06);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
}

.video-modal__content {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 680px);
  overflow: auto;
  border: 1px solid rgba(217, 154, 32, 0.35);
  border-radius: 20px;
  background: linear-gradient(180deg, #0f0f0f 0%, #090909 100%);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(217,154,32,0.18);
  transform: rotate(90deg);
}

.video-modal__close svg {
  width: 18px;
  height: 18px;
}

.video-modal__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.video-modal__content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.video-modal__content p {
  margin: 0 0 20px;
  color: #cfcfcf;
  line-height: 1.65;
}

.video-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.video-modal__actions a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: #111111;
  padding: 14px 14px 13px;
  color: #fff;
  text-decoration: none;
  transition: border-color 250ms ease, transform 250ms ease, background 250ms ease;
}

.video-modal__actions a:hover,
.video-modal__actions a:focus-visible {
  border-color: rgba(217,154,32,0.45);
  background: #181818;
  transform: translateY(-2px);
}

.video-modal__action-title {
  font-weight: 700;
  color: #fff;
}

.video-modal__action-meta {
  font-size: 0.92rem;
  color: #b8b8b8;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { padding: 72px 0; }
  .journey-header { margin-bottom: 40px; }
  .journey-stat { padding: 32px 24px; }
}

@media (max-width: 599px) {
  .media-grid { grid-template-columns: 1fr; }
  .radio-card { min-height: 180px; }
  .video-modal { padding: 16px; }
  .video-modal__content { padding: 24px 20px 20px; }
  .video-modal__actions { grid-template-columns: 1fr; }
  .journey { padding: 56px 0; }
  .journey-header { margin-bottom: 32px; }
  .journey-stats { grid-template-columns: 1fr; border-top: 1px solid rgba(230, 169, 26, 0.25); border-bottom: 0; }
  .journey-stat { padding: 24px 0; }
  .journey-stat:not(:last-child) { border-bottom: 1px solid rgba(230, 169, 26, 0.18); }
  .journey-stat:not(:last-child)::after { display: none; }
  .journey-header h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card,
.media-card,
.repertory-item,
.platform-card,
.team-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 1.5rem;
  overflow: hidden;
}

.stat-card {
  min-height: 170px;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.media-card,
.repertory-item,
.platform-card {
  font-size: 0.95rem;
}

.media-card,
.repertory-item,
.platform-card {
  min-height: 120px;
  display: grid;
  place-content: center;
  text-align: center;
}

.media-card {
  background: rgba(255, 255, 255, 0.03);
}

.platform-card {
  background: linear-gradient(135deg, rgba(217, 154, 32, 0.18), rgba(240, 183, 70, 0.12));
  color: #fff;
  font-weight: 700;
}

.platform-note {
  margin-top: 1rem;
  color: var(--text-muted);
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.member-photo {
  position: relative;
  width: 100%;
  height: 420px; /* altura padrão solicitada */
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(217, 154, 32, 0.15), rgba(5, 5, 5, 0.15));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .member-photo {
    height: 420px;
  }

  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
}

@media (max-width: 599px) {
  .member-photo {
    height: 380px;
  }

  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .member-photo { height: 520px; }
}

.member-initials {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
}

.member-photo.no-photo .member-initials {
  display: flex;
}

@media (max-width: 768px) {
  .team-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .member-photo {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    display: block;
  }

  .member-photo img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    display: block;
  }
}

.team-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.team-card p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.repertory-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 2rem;
  align-items: start;
}

.repertory-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.repertory-copy .section-label {
  color: var(--gold);
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.repertory-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.02;
}

.repertory-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 42rem;
  line-height: 1.7;
}

.playlist-panel {
  display: block;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  transition: background 240ms ease, color 240ms ease, transform 200ms ease;
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item:hover {
  background: rgba(217,154,32,0.06);
  color: #fff;
}

.playlist-title {
  color: #fff;
  font-size: 1rem;
}

.btn.btn-secondary {
  width: max-content;
}

.repertory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-youtube,
.btn-spotify {
  min-width: 220px;
  gap: 0.75rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.btn-youtube {
  background: rgba(234, 60, 45, 0.12);
  color: #fff;
  border-color: rgba(234, 60, 45, 0.25);
}

.btn-spotify {
  background: rgba(29, 185, 84, 0.12);
  color: #fff;
  border-color: rgba(29, 185, 84, 0.25);
}

.btn-youtube:hover,
.btn-spotify:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.1);
}

.playlist-panel {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.playlist-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "number title";
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item:hover {
  background: rgba(217,154,32,0.08);
  transform: translateX(2px);
}

.playlist-title {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .repertory-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .repertory-copy {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .repertory-grid {
    grid-template-columns: 1fr;
  }

  .repertory-copy {
    order: 1;
    margin-bottom: 1rem;
  }

  .playlist-panel {
    order: 2;
  }
}

@media (max-width: 479px) {
  .repertory-copy h2 {
    font-size: 1.6rem;
  }
}

.events-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}

.evento-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.evento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.evento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88),
    rgba(0, 0, 0, 0.15)
  );
}

.evento-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  color: #fff;
  letter-spacing: 0.02em;
}

.evento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 32, 0.85);
  box-shadow: 0 24px 50px rgba(217, 154, 32, 0.18);
}

.evento-card:hover img {
  transform: scale(1.06);
}

.evento-card.no-image {
  background: linear-gradient(135deg, #050505 0%, #1f1406 50%, rgba(217, 154, 32, 0.18) 100%);
}

.evento-card.no-image img {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1023px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .evento-card {
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
    display: block;
    aspect-ratio: auto;
  }

  .evento-card img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 24px 24px 0 0;
  }

  .evento-overlay {
    background: linear-gradient(
      to bottom,
      transparent 60%,
      rgba(0, 0, 0, 0.65) 100%
    );
  }

  .evento-card h3 {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2;
    width: calc(100% - 2rem);
    padding: 0 1rem;
    text-align: center;
  }
}

@media (max-width: 599px) {
  .events-grid { grid-template-columns: 1fr; }
}

.section-actions {
  margin-top: 2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: grid;
  gap: 0.65rem;
}

.form-group span {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  background: rgba(17, 17, 17, 0.95);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(217, 154, 32, 0.5);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 1.5rem;
}

.contact-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.contact-meta__title {
  margin: 0 0 0.25rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-agenda__label {
  display: block;
}

.contact-whatsapp,
.contact-email,
.footer-email,
.contact-agenda__email,
.contact-agenda__phone {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-whatsapp:hover,
.contact-email:hover,
.footer-email:hover,
.contact-whatsapp:focus-visible,
.contact-email:focus-visible,
.footer-email:focus-visible,
.contact-agenda__email:hover,
.contact-agenda__phone:hover,
.contact-agenda__email:focus-visible,
.contact-agenda__phone:focus-visible {
  text-decoration: underline;
}

.contact-agenda__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-agenda__email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-agenda__email-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.contact-agenda__email-text {
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contact-agenda {
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .contact-agenda__email {
    width: 100%;
    padding: 0 0.75rem;
    font-size: 0.96rem;
    justify-content: center;
    text-align: center;
  }

  .contact-agenda__email-text {
    max-width: 100%;
  }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float a:hover,
.whatsapp-float a:focus-visible {
  transform: translateY(-3px) scale(1.04);
  background: #20bd5a;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.36);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
  overflow: visible;
}

@media (max-width: 599px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float a {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  align-items: center;
}

.footer-logo {
  height: 75px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.92);
  place-items: center;
  padding: 2rem;
  z-index: 30;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2.5rem;
  }
}

@media (max-width: 1023px) {
  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-copy p {
    max-width: none;
  }

  .history-panel {
    padding: 2.5rem;
  }
}

@media (max-width: 599px) {
  .history-panel {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    gap: 2rem;
  }

  .main-nav ul {
    gap: 2rem;
  }

  .section {
    padding: 6rem 0;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .full-width {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  .main-nav {
    max-width: 100%;
  }
}

/* Galeria de eventos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.gallery-card {
  position: relative;
  min-height: 280px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-media,
.gallery-media img,
.gallery-media video {
  width: 100%;
  height: 100%;
}

.gallery-media {
  position: absolute;
  inset: 0;
  background: #000;
}

.gallery-media img,
.gallery-media video {
  display: block;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.gallery-media video {
  object-fit: cover;
  background: #000;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 32, 0.8);
  box-shadow: 0 24px 44px rgba(217, 154, 32, 0.16);
}

.gallery-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(17, 17, 17, 0.9));
  border: 1px solid rgba(217, 154, 32, 0.14);
}

.gallery-card:not(.no-media) .gallery-fallback {
  display: none;
}

.gallery-fallback-title {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gallery-fallback-file {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: 260px;
  }

  .brand-logo {
    height: 56px; /* mobile target between 48-56px */
  }
  .footer-logo {
    height: 48px;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .brand-logo {
    height: 64px;
  }
}
