:root {
  --color-primary: #0b1020;
  --color-primary-mid: #0d1530;
  --color-primary-light: #111827;
  --color-accent: #cc1a2e;
  --color-accent-hover: #a81525;
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-border: #1e2d4d;
  --navbar-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  padding-top: var(--navbar-height);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-primary); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
}

.navbar-brand {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  flex-shrink: 0;
}
.navbar-brand:hover { color: var(--color-accent-hover); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.navbar-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-text-main);
  background-color: rgba(204, 26, 46, 0.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0; width: 100%;
  background-color: var(--color-primary-mid);
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  padding: 0.75rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}
.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  background-color: rgba(204, 26, 46, 0.1);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}

/* ─── CAROUSEL ────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--color-primary-mid);
}
.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.65s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 16, 32, 0.72);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color 0.2s, border-color 0.2s;
}
.carousel-btn:hover {
  background: rgba(204, 26, 46, 0.75);
  border-color: var(--color-accent);
}
.carousel-btn.prev { left: 1.25rem; }
.carousel-btn.next { right: 1.25rem; }
.carousel-dots {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ─── STATIC BANNER ──────────────────────────────────── */
.page-banner-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.page-banner-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad { padding: 2.5rem 1.5rem; }

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* ─── TWO-COLUMN HOME ────────────────────────────────── */
.two-col-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.col-left  { width: 75%; min-width: 0; }
.col-right { width: 25%; min-width: 0; }

/* ─── NEWS LIST ITEM ─────────────────────────────────── */
.news-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}
.news-item:hover {
  border-color: var(--color-accent);
  background-color: rgba(13, 21, 48, 0.9);
}
.news-item img {
  width: 90px; height: 65px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.news-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.news-item-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ─── SIDEBAR BLOCKS ─────────────────────────────────── */
.sidebar-block {
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(30, 45, 77, 0.45);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.sidebar-list a:hover { color: var(--color-accent); }

/* ─── THREE-CARDS SECTION ────────────────────────────── */
.cards-section {
  background: var(--color-primary-mid);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
}
.cards-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.card-link-box {
  width: 300px;
  min-height: 200px;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card-link-box:hover { border-color: var(--color-accent); }
.card-link-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-link-box ul { list-style: none; }
.card-link-box ul li { padding: 0.35rem 0; }
.card-link-box ul li a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-link-box ul li a:hover { color: var(--color-text-main); }

/* ─── PAGINATION ─────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.pagination a:hover,
.pagination a.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
footer a { color: var(--color-text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--color-accent); }

/* ─── NEWS CARD (GRID) ───────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.news-card {
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.news-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.news-card img {
  width: 100%; height: 180px;
  object-fit: cover; display: block;
}
.news-card-body { padding: 1rem; }
.news-card-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
  line-height: 1.4;
}
.news-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── ALBUM CARD ─────────────────────────────────────── */
.album-card {
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2.5rem;
}
.album-left { flex-shrink: 0; width: 280px; }
.album-cover {
  width: 100%; height: 210px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  display: block;
  border: 1px solid var(--color-border);
}
.album-year {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.album-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0.25rem 0 0.75rem;
  line-height: 1.3;
}
.album-encarte {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.album-encarte img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
}
.album-right { flex: 1; }
.album-right h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.ficha-tecnica { list-style: none; }
.ficha-tecnica li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(30, 45, 77, 0.5);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
}
.ficha-tecnica li:last-child { border-bottom: none; }
.ficha-tecnica strong { color: var(--color-text-main); min-width: 120px; }

/* ─── HISTÓRIA PAGE ──────────────────────────────────── */
.historia-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.historia-block {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}
.historia-block:last-child { border-bottom: none; margin-bottom: 0; }
.historia-block.reverse { flex-direction: row-reverse; }
.historia-img {
  width: 340px; height: 240px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  display: block;
}
.historia-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}
.historia-text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.93rem;
  margin-bottom: 0.75rem;
}

/* ─── LIVROS PAGE ────────────────────────────────────── */
.livros-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.book-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.book-block:first-child { padding-top: 0; }
.book-block:last-child { border-bottom: none; }
.book-cover {
  width: 150px; height: 210px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  display: block;
}
.book-info h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}
.book-info p {
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s;
}
.btn-buy:hover { background: var(--color-accent-hover); }

/* ─── PRODUÇÕES PAGE ─────────────────────────────────── */
.producao-item {
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2rem;
}
.producao-left { flex-shrink: 0; width: 220px; }
.producao-cover {
  width: 100%; height: 190px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  display: block;
  border: 1px solid var(--color-border);
}
.producao-date {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.producao-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 0.25rem;
}
.producao-right { flex: 1; }
.producao-right h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.track-list { list-style: none; }
.track-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30, 45, 77, 0.45);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.track-list li:last-child { border-bottom: none; }
.track-num {
  font-size: 0.75rem;
  color: var(--color-border);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}
.track-play-btn {
  width: 28px; height: 28px;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  transition: background-color 0.2s, transform 0.15s;
}
.track-play-btn:hover {
  background: var(--color-accent-hover);
  transform: scale(1.1);
}

/* ─── FOTOS PAGE ─────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.photo-card {
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.photo-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.photo-card img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
}
.photo-card-title {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* ─── PARTITURAS PAGE ────────────────────────────────── */
.partitura-list {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.partitura-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  transition: background-color 0.2s;
}
.partitura-item:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}
.partitura-item:nth-child(even) { background: var(--color-primary-mid); }
.partitura-item:hover { background: rgba(13, 21, 48, 0.7); }
.partitura-title { font-size: 0.9rem; color: var(--color-text-main); }
.partitura-composer { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.15rem; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.4rem 0.875rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-download:hover {
  background: var(--color-accent);
  color: white;
}

/* ─── CONTATOS PAGE ──────────────────────────────────── */
.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.contact-icon {
  width: 20px; height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-primary-mid);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.6rem 0.875rem;
  color: var(--color-text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-accent); }
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 0.65rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--color-accent-hover); }

/* ─── ARTICLE (NOTÍCIA) PAGE ─────────────────────────── */
.article-banner-wrap {
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.article-banner-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.article-date {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.article-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.article-content p {
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
}
.article-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .album-card { flex-direction: column; }
  .album-left { width: 100%; }
  .producao-item { flex-direction: column; }
  .producao-left { width: 100%; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .carousel { height: 260px; }
  .two-col-wrapper { flex-direction: column; }
  .col-left, .col-right { width: 100%; }
  .historia-block, .historia-block.reverse { flex-direction: column; }
  .historia-img { width: 100%; height: 220px; }
  .book-block { flex-direction: column; }
  .book-cover { width: 100%; height: auto; max-height: 280px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner-wrapper { height: 200px; }
  .article-banner-wrap { height: 220px; }
}

@media (max-width: 480px) {
  .navbar-brand { font-size: 0.9rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cards-grid { flex-direction: column; align-items: center; }
  .card-link-box { width: 100%; max-width: 340px; }
}
