/* André Barbachan — estilos do site
   Tokens e componentes compartilhados por todas as páginas. */

:root {
  --bg: #f7f5f1;
  --text: #201d1a;
  --muted: #79736c;
  --accent: #b1462d;
  --line: #ddd7cf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ---------- Wordmark ---------- */

.wordmark {
  text-align: center;
  padding: 36px 24px 0;
}

.wordmark img {
  width: 220px;
  height: auto;
  display: inline-block;
}

.wordmark .tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* ---------- Navegação ---------- */

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  text-transform: lowercase;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Rodapé ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 56px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-top: auto;
}

footer.site-footer .copyright {
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- Seções de texto ---------- */

.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 24px 0;
  width: 100%;
}

.section--narrow { max-width: 640px; }
.section--center { text-align: center; }

h1.titulo {
  font-family: var(--serif);
  font-size: clamp(27px, 7vw, 34px);
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}

p.corpo {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 16px 0 0;
}

.link-inline {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* ---------- Faixa de destaque com imagem ---------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--text);
  margin-top: 8px;
}

.hero--home { aspect-ratio: 16 / 10.8; max-height: 744px; }
.hero--musica { aspect-ratio: 16 / 9.6; max-height: 624px; }
.hero--obra { aspect-ratio: 16 / 12; max-height: 672px; margin-top: 32px; }

.hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__veu {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%);
}

.hero__texto {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px clamp(20px, 5vw, 48px) 44px;
  max-width: 640px;
}

.hero__tag {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e8b9a8;
  margin-bottom: 10px;
}

.hero__titulo {
  font-family: var(--serif);
  font-size: clamp(24px, 5.5vw, 40px);
  color: #fff;
  line-height: 1.22;
  margin-bottom: 10px;
}

.hero__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.hero__cta {
  font-size: 13px;
  color: #fff;
  border-bottom: 1px solid #fff;
  display: inline-block;
  padding-bottom: 2px;
}

/* ---------- Carrossel (Início) ---------- */

.carrossel { margin-top: 8px; }

.carrossel__trilho {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.carrossel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  text-decoration: none;
  display: block;
  background-size: cover;
  background-position: center;
}

.carrossel__slide .hero__texto { padding-bottom: 64px; }

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.seta--esq { left: 20px; }
.seta--dir { right: 20px; }

.pontos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.ponto {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: width 0.3s ease;
  padding: 0;
}

.ponto[aria-selected="true"] {
  width: 20px;
  background: #fff;
}

/* ---------- Rótulo de seção ---------- */

.rotulo {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 56px;
  margin-bottom: 4px;
}

.rotulo--centro { text-align: center; margin-top: 0; }

/* ---------- Ficha técnica (Artes Visuais) ---------- */

.ficha {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.ficha__rotulo {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ficha__valor {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Cartões de escritos ---------- */

.escrito {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.escrito__tipo {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.escrito__titulo {
  font-family: var(--serif);
  font-size: clamp(20px, 4.5vw, 24px);
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.escrito__veiculo {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.escrito__texto {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 14px;
}

.escrito__cta {
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  display: inline-block;
  padding-bottom: 2px;
}

/* ---------- Sobre ---------- */

.sobre {
  max-width: 900px;
  margin: 44px auto 0;
  padding: 0 24px 64px;
  width: 100%;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.sobre__foto {
  flex: 1 1 280px;
  aspect-ratio: 3 / 4;
  max-width: 320px;
  overflow: hidden;
  background: var(--text);
}

.sobre__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre__texto { flex: 1 1 320px; }

/* ---------- Contato ---------- */

.canal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.canal__rotulo {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.canal__valor {
  font-family: var(--serif);
  font-size: clamp(16px, 4.5vw, 20px);
  color: var(--text);
  text-align: right;
  word-break: break-word;
}

/* ---------- Música ---------- */

.citacao {
  font-family: var(--serif);
  font-size: clamp(17px, 4.5vw, 19px);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

.corpo--esq { text-align: left; }

.botao {
  font-size: 13px;
  color: #fff;
  background: var(--accent);
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.3px;
  margin-top: 28px;
}

.faixa {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.faixa__n {
  font-size: 13px;
  color: var(--muted);
  min-width: 24px;
  padding-top: 3px;
}

.faixa__titulo {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
}

.faixa__texto {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.artista-link {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.capas {
  display: grid;
  gap: 20px;
  justify-content: center;
  text-align: left;
}

.capas--duas { grid-template-columns: repeat(2, minmax(0, 206px)); }
.capas--tres { grid-template-columns: repeat(3, minmax(0, 131px)); }

.capa { text-decoration: none; color: inherit; display: block; }

.capa__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

.capa__titulo {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text);
  margin-top: 8px;
  line-height: 1.3;
}

.capa__meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Ajustes para telas estreitas ---------- */

@media (max-width: 600px) {
  .wordmark { padding-top: 28px; }
  .wordmark img { width: min(220px, 62vw); }

  .nav { gap: 18px; font-size: 13px; }

  .section { padding-top: 36px; }

  .hero--home { aspect-ratio: 4 / 5; }
  .hero--musica { aspect-ratio: 4 / 4.2; }
  .hero--obra { aspect-ratio: 4 / 3.6; margin-top: 24px; }

  .hero__texto { padding-bottom: 32px; }
  .carrossel__slide .hero__texto { padding-bottom: 52px; }
  .hero__desc { font-size: 13px; }

  .seta--esq { left: 10px; }
  .seta--dir { right: 10px; }

  .sobre { gap: 28px; }
  .sobre__foto { max-width: 100%; }

  .canal { flex-direction: column; gap: 4px; align-items: flex-start; }
  .canal__valor { text-align: left; }

  .capas--duas,
  .capas--tres { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faixa { gap: 14px; }

  footer.site-footer { padding: 32px 24px 44px; }
}

@media (max-width: 380px) {
  .nav { gap: 14px; }
  .capas--duas,
  .capas--tres { grid-template-columns: minmax(0, 1fr); }
}
