/* =========================================================
   DANN MENDES — folha de estilos
   Estrutura: tokens → base → layout → componentes → páginas → responsivo
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #fdfcfa;
  --fg: #171614;
  --muted: #706b60;
  --line: rgba(23, 22, 20, 0.14);
  --line-strong: rgba(23, 22, 20, 0.28);
  --accent: #a5a5a5;
  --accent-strong: #797979;
  --surface: rgba(23, 22, 20, 0.035);
  --shadow: 0 30px 60px -30px rgba(23, 22, 20, 0.25);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --maxw: 920px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 999px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #121110;
  --fg: #F3EFE6;
  --muted: #a39b8a;
  --line: rgba(243, 239, 230, 0.14);
  --line-strong: rgba(243, 239, 230, 0.26);
  --accent: #d6d6d6;
  --accent-strong: #ececec;
  --surface: rgba(243, 239, 230, 0.045);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  /*background: var(--bg);
  background-image: url("../assets/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* imagem parada enquanto rola a página */
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
  display: flex;
  flex-direction: column;
}

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

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Estrutura da página (linha superior / conteúdo / linha inferior) ---------- */
.site-header {
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem) 0;
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem) 0;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
}

.nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav-line {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  border: none;
  border-top: 1px solid var(--line);
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.foot-line {
  max-width: var(--maxw);
  margin: 0 auto 1.75rem;
  border: none;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2.25rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.socials {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.socials a:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Navegação (pílulas) ---------- */
.pill-btn {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  width: 110px;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.pill-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

.pill-btn[aria-current="page"] {
  color: var(--accent-strong);
  border-color: var(--accent);
  background: var(--surface);
}

/* Botão hambúrguer (mobile) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
  opacity: 0;
  transition: opacity .3s ease;
}

/* ---------- Botão de tema (discreto, rodapé) ---------- */
.theme-toggle {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.theme-toggle:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Hero (Home) ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  margin: auto 0;
}

.portrait {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .divider {
  color: var(--line-strong);
  margin: 0 0.5em;
}

.display-name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: 0.045em;
  margin: 0;
}

.tagline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 34ch;
  margin: -0.5rem 0 0;
}

/* assinatura visual: onda sonora sutil */
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 22px;
  margin: 0.25rem 0;
}

.waveform span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
  animation: wave 1.8s ease-in-out infinite;
}

.waveform span:nth-child(1) {
  height: 40%;
  animation-delay: -1.2s;
}

.waveform span:nth-child(2) {
  height: 90%;
  animation-delay: -0.9s;
}

.waveform span:nth-child(3) {
  height: 55%;
  animation-delay: -0.6s;
}

.waveform span:nth-child(4) {
  height: 100%;
  animation-delay: -0.3s;
}

.waveform span:nth-child(5) {
  height: 65%;
  animation-delay: -1.5s;
}

.waveform span:nth-child(6) {
  height: 35%;
  animation-delay: -0.1s;
}

.waveform span:nth-child(7) {
  height: 75%;
  animation-delay: -0.7s;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.45);
  }

  50% {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span {
    animation: none;
    transform: scaleY(0.7);
  }
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: all .25s ease;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* ---------- Página 404 ---------- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  margin: auto 0;
}

.not-found .code {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: var(--accent);
  line-height: 1;
  margin: 0;
}

.not-found .page-title {
  margin: 0;
}

.not-found p {
  color: var(--muted);
  max-width: 40ch;
  margin: 0;
}

/* ---------- Cabeçalhos de página internas ---------- */
.page-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.page-head .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- Shows ---------- */
.show-list {
  display: flex;
  flex-direction: column;
}

.show-item {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.show-item:first-child {
  border-top: 1px solid var(--line);
}

.show-date {
  font-family: var(--font-display);
  line-height: 1.05;
}

.show-date .day {
  display: block;
  font-size: 2.1rem;
  font-weight: 500;
}

.show-date .month {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.show-info .venue {
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.2rem;
}

.show-info .place {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.show-time {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.show-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Sobre ---------- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about .portrait {
  width: 168px;
  height: 168px;
}

.about-text {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-text p {
  margin: 0;
  color: var(--fg);
}

.about-text p.lede {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
}

/* ---------- Em breve (cards) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .25s ease, transform .25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, var(--line) 10px 11px);
  color: var(--muted);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media svg {
  width: 34px;
  height: 34px;
  opacity: .5;
}

.card-body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.card-date {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 0.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}

.card-body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 640px) {
  .nav-row .pill-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-row {
    justify-content: space-between;
  }

  .nav-brand {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 300px);
    background: var(--bg);
    border-left: 1px solid var(--line);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  html[data-nav-open="true"] .nav-drawer {
    transform: translateX(0);
  }

  html[data-nav-open="true"] .nav-drawer-overlay {
    display: block;
    opacity: 1;
  }

  .nav-drawer .pill-btn {
    display: block;
    text-align: center;
    width: 100%;
  }

  .drawer-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .drawer-close svg {
    width: 16px;
    height: 16px;
  }

  .show-item {
    grid-template-columns: 72px 1fr;
    row-gap: 0.3rem;
  }

  .show-time {
    grid-column: 2;
    text-align: left;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 641px) {

  .nav-brand,
  .drawer-close,
  .nav-drawer-overlay,
  .nav-drawer {
    display: none;
  }
}