/* =========================================================
   ORQUESTRA BOCA DO SERTÃO — Stylesheet
   Direction: cinematic / editorial / wood + sunset
   ========================================================= */

:root {
  /* Earth / wood palette */
  --ink:        #160d05;
  --espresso:   #2a1a0e;
  --wood:       #3d2817;
  --leather:    #5c3a1f;
  --caramel:    #c89060;
  --gold:       #c8a368;
  --gold-soft:  #b08951;
  --terracotta: #b85a32;
  --rust:       #8c3f1a;
  --sand:       #d9c4a0;
  --cream:      #ede0c4;
  --paper:      #f5ebd6;
  --bone:       #faf4e6;
  --olive:      #6b6940;

  /* Functional */
  --bg:         var(--paper);
  --fg:         var(--espresso);
  --muted:      #6f5a3f;
  --line:       rgba(60, 40, 22, 0.16);
  --line-strong:rgba(60, 40, 22, 0.32);

  /* Type */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Rhythm */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 12vw, 160px);

  /* Shadows */
  --shadow-soft: 0 12px 40px -16px rgba(40, 20, 10, 0.30);
  --shadow-deep: 0 30px 80px -24px rgba(40, 20, 10, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--terracotta); color: var(--paper); }

/* Subtle paper grain on the body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.36  0 0 0 0 0.24  0 0 0 0 0.10  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.5vw, 6.4rem); line-height: 0.96; }
h2 { font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.02; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.2; }

p { text-wrap: pretty; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--leather);
  font-weight: 400;
  font-style: italic;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }
.section { padding: var(--section-y) 0; }

/* Offset para âncoras via hash direto no browser (fallback sem JS) */
section[id] { scroll-margin-top: 96px; }

/* Decorative ornament */
.ornament {
  width: 64px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.ornament::after { margin-left: 8px; }
.ornament::before { margin-right: 8px; }
.ornament svg { color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --tx: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--bg);
  color: var(--tx);
  border: 1px solid var(--bg);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, box-shadow .35s;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.btn .arrow {
  width: 18px; height: 18px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-deep); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--primary { --bg: var(--terracotta); --tx: var(--paper); border-color: var(--terracotta); }
.btn--ghost   { --bg: transparent; --tx: var(--paper); border-color: rgba(245,235,214,0.55); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--dark    { --bg: var(--ink); --tx: var(--paper); }
.btn--gold    { --bg: var(--gold); --tx: var(--ink); border-color: var(--gold); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: padding .4s ease, background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--paper);
  transition: color .4s;
  flex-shrink: 0;
}
.nav__brand img {
  width: 52px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
  transition: width .3s, height .3s, filter .3s;
  flex-shrink: 0;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.nav__brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }
.nav__brand-sub { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.22em; opacity: 0.75; margin-top: 6px; }

.nav__menu {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav__menu a {
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color .35s;
  will-change: transform;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245,235,214,0.5);
  color: var(--paper);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.nav__cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-1px); }

/* Nav quando menu mobile está aberto — remove backdrop-filter para não criar
   um novo containing block que quebraria o position:fixed do drawer */
.nav.menu-open,
.nav.menu-open.is-scrolled {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(245,235,214,0.12);
}
.nav.menu-open .nav__brand,
.nav.menu-open .nav__toggle { color: var(--paper); }
.nav.menu-open .nav__toggle { border-color: rgba(245,235,214,0.4); }

/* Sticky / scrolled state */
.nav.is-scrolled {
  background: rgba(245, 235, 214, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__menu a,
.nav.is-scrolled .nav__cta { color: var(--ink); }
.nav.is-scrolled .nav__cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.nav.is-scrolled .nav__cta:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.nav.is-scrolled .nav__brand img { width: 42px; height: 42px; }

/* Item "Contato" só aparece no menu mobile — no desktop já existe o nav__cta */
.nav__menu-contato { display: none; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(245,235,214,0.4);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav.is-scrolled .nav__toggle { color: var(--ink); border-color: var(--line-strong); }
.nav__toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform .35s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: '';
  position: absolute;
  width: 18px; height: 1.5px;
  background: currentColor;
  left: 0;
  transition: transform .35s, top .35s;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(80px, 12vh, 140px);
  padding-top: 140px;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.webp');
  background-size: cover;
  background-position: center 40%;
  z-index: -2;
  transform: scale(1.05);
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 35%, rgba(200, 130, 60, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(22, 13, 5, 0.55) 0%, rgba(22, 13, 5, 0.15) 35%, rgba(22, 13, 5, 0.85) 100%),
    linear-gradient(90deg, rgba(22, 13, 5, 0.6) 0%, rgba(22, 13, 5, 0.1) 60%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.85  0 0 0 0 0.6  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.hero__content {
  max-width: 880px;
  position: relative;
}
.hero__eyebrow {
  color: var(--paper);
  margin-bottom: 28px;
}
.hero__eyebrow::before { background: var(--paper); opacity: 0.8; }
.hero__title {
  color: var(--paper);
  font-weight: 400;
  font-size: clamp(2.8rem, 8.4vw, 7rem);
  line-height: 0.92;
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}
.hero__title .accent {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero__sub {
  margin-top: 32px;
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(245, 235, 214, 0.92);
  line-height: 1.45;
}
.hero__cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero footer details (location, year) */
.hero__meta {
  position: absolute;
  bottom: clamp(28px, 5vh, 56px);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(245, 235, 214, 0.7);
  text-align: right;
  z-index: 2;
}
.hero__meta strong { color: var(--gold); font-weight: 500; letter-spacing: 0.18em; }
.hero__meta-divider {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, currentColor, transparent);
  margin: 6px 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(245,235,214,0.7);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  z-index: 2;
  pointer-events: none;
}
.scroll-indicator__line {
  width: 1px;
  height: 56px;
  position: relative;
  overflow: hidden;
  background: rgba(245,235,214,0.2);
}
.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -56px; left: 0;
  width: 1px; height: 56px;
  background: var(--gold);
  animation: scrollLine 2.4s cubic-bezier(.6,.05,.4,1) infinite;
}
@keyframes scrollLine {
  0% { top: -56px; }
  60% { top: 56px; }
  100% { top: 56px; }
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  background: var(--paper);
  position: relative;
}
.sobre__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
}
.sobre__left { position: relative; }
.sobre__left .eyebrow { margin-bottom: 28px; }
.sobre__left h2 { margin-bottom: 24px; }
.sobre__left h2 .accent { color: var(--terracotta); font-style: italic; }
.sobre__left .lead { max-width: 520px; }

.sobre__copy p {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  color: var(--leather);
  margin-bottom: 24px;
}
.sobre__copy p:first-letter {
  font-family: var(--serif);
  font-size: 4.6rem;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--terracotta);
  font-weight: 500;
}
.sobre__copy p + p:first-letter { all: unset; }

.sobre__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--terracotta);
  line-height: 1;
  font-weight: 500;
  font-feature-settings: "ss01";
}
.stat__num sup { font-size: 0.5em; color: var(--gold); vertical-align: super; margin-left: 2px; font-weight: 400; }
.stat__label {
  margin-top: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================
   MAESTRO
   ============================================ */
.maestro {
  background: linear-gradient(180deg, var(--cream) 0%, #d8c4a0 100%);
  position: relative;
  overflow: hidden;
}
.maestro::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,144,96,0.22), transparent 65%);
  pointer-events: none;
}
.maestro__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-areas:
    "portrait header"
    "portrait body";
  column-gap: clamp(40px, 7vw, 96px);
  row-gap: 32px;
  align-items: start;
}
.maestro__portrait { grid-area: portrait; align-self: center; }
.maestro__header   { grid-area: header; }
.maestro__body     { grid-area: body; }
.maestro__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--wood);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  isolation: isolate;
}
.maestro__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.maestro__portrait:hover .maestro__img { transform: scale(1.03); }
.maestro__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(22,13,5,0.55) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(255, 180, 100, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.maestro__frame {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
  transform: translate(18px, 18px);
  opacity: 0.7;
  z-index: 2;
}

.maestro__signature {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.3rem;
  z-index: 3;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.maestro__header .eyebrow { margin-bottom: 28px; color: var(--rust); }
.maestro__name {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink);
}
.maestro__name .accent { font-style: italic; color: var(--terracotta); }
.maestro__role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 28px;
}
.maestro__bio p {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--leather);
  margin-bottom: 18px;
}
.maestro__quote {
  margin-top: 32px;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--terracotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--wood);
  line-height: 1.35;
}
.maestro__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 16px;
}

/* ============================================
   REPERTÓRIO
   ============================================ */
.repertorio {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.repertorio::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(184,90,50,0.18), transparent 60%);
  pointer-events: none;
}
.repertorio__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.repertorio__header .eyebrow { color: var(--gold); margin-bottom: 24px; }
.repertorio__header .eyebrow::before { background: var(--gold); }
.repertorio__header h2 { color: var(--paper); }
.repertorio__header h2 .accent { color: var(--gold); font-style: italic; }
.repertorio__header p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: rgba(245,235,214,0.78);
  max-width: 520px;
}

.repertorio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,235,214,0.12);
  border-left: 1px solid rgba(245,235,214,0.12);
}
.rep-card {
  padding: 40px 32px 36px;
  border-right: 1px solid rgba(245,235,214,0.12);
  border-bottom: 1px solid rgba(245,235,214,0.12);
  transition: background .5s ease, color .5s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.rep-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,144,96,0.18), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.rep-card:hover::before { opacity: 1; }
.rep-card:hover { background: rgba(245,235,214,0.04); }

.rep-card__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rep-card__num::after { content: ''; flex: 1; height: 1px; background: rgba(200,163,104,0.3); }

.rep-card__icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 24px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.rep-card:hover .rep-card__icon { transform: translateY(-4px) rotate(-4deg); }

.rep-card__title {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--paper);
  line-height: 1.05;
  margin-bottom: 14px;
  font-weight: 500;
}
.rep-card__title .ital { font-style: italic; color: var(--gold); }

.rep-card__text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(245,235,214,0.65);
  margin-top: auto;
}

/* ============================================
   GALERIA
   ============================================ */
.galeria {
  background: var(--paper);
  position: relative;
}
.galeria__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}
.galeria__header h2 { max-width: 12ch; }
.galeria__header h2 .accent { color: var(--terracotta); font-style: italic; }
.galeria__header p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--leather);
  max-width: 420px;
  font-size: 1.1rem;
  line-height: 1.45;
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
}
.gal {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  cursor: default;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.gal:hover { transform: scale(0.985); }
.gal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s;
  filter: saturate(1.05);
}
.gal:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(1.05); }

.gal__label {
  position: absolute;
  bottom: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  z-index: 2;
  opacity: 0.85;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: opacity .35s;
}
.gal:hover .gal__label { opacity: 0; }
.gal__hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22,13,5,0.7) 100%);
  opacity: 0;
  transition: opacity .5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--paper);
  z-index: 3;
}
.gal__hover-title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; font-style: italic; }
.gal__hover-meta { margin-top: 4px; font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.18em; text-transform: uppercase; }
.gal:hover .gal__hover { opacity: 1; }

/* sizes for masonry effect */
.gal--1 { grid-column: span 7; grid-row: span 3; }
.gal--2 { grid-column: span 5; grid-row: span 2; }
.gal--3 { grid-column: span 5; grid-row: span 3; }
.gal--4 { grid-column: span 4; grid-row: span 2; }
.gal--5 { grid-column: span 3; grid-row: span 2; }
.gal--6 { grid-column: span 5; grid-row: span 2; }
.gal--7 { grid-column: span 4; grid-row: span 3; }
.gal--8 { grid-column: span 8; grid-row: span 2; }
.gal--9 { grid-column: span 4; grid-row: span 2; }

/* Instagram CTA */
.galeria__instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}
.galeria__instagram-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--leather);
}
.btn--instagram {
  --bg: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, filter .3s;
  box-shadow: 0 8px 32px -8px rgba(220, 39, 67, 0.5);
}
.btn--instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(220, 39, 67, 0.65);
  filter: brightness(1.08);
}
.btn--instagram .arrow {
  width: 18px; height: 18px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.btn--instagram:hover .arrow { transform: translate(3px, -3px); }

/* ============================================
   AGENDA
   ============================================ */
.agenda {
  background: linear-gradient(180deg, var(--cream) 0%, #d8c4a0 100%);
  position: relative;
}
.agenda__header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.agenda__header .eyebrow { margin-bottom: 24px; }
.agenda__header h2 .accent { color: var(--terracotta); font-style: italic; }
.agenda__header p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--leather);
  font-size: 1.2rem;
  max-width: 540px;
  margin: 20px auto 0;
}

.events {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
}
.event {
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 32px 16px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  transition: background .35s, padding .35s;
  cursor: default;
}
.event::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--terracotta);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.event:hover { background: rgba(245,235,214,0.5); padding-left: 28px; padding-right: 28px; }
.event:hover::before { width: 3px; }

.event__date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
.event__day {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.9;
  color: var(--ink);
  font-weight: 500;
}
.event__month {
  margin-top: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  font-weight: 600;
}
.event__year { margin-top: 2px; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.12em; }

.event__body h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 6px;
}
.event__body h3 .ital { font-style: italic; color: var(--leather); font-weight: 400; }
.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 14px; height: 14px; color: var(--terracotta); }

.event__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--leather);
  white-space: nowrap;
}
.event__tag--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }

.event__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leather);
  transition: background .35s, color .35s, transform .35s, border-color .35s;
  flex-shrink: 0;
}
.event:hover .event__arrow {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

.agenda__cta {
  text-align: center;
  margin-top: clamp(48px, 6vw, 72px);
}
.agenda__cta-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--wood);
  margin-bottom: 28px;
  max-width: 620px;
  margin-inline: auto;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: '';
  position: absolute;
  top: -20%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(184,90,50,0.22), transparent 60%);
  pointer-events: none;
}
.contato::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(200,163,104,0.14), transparent 60%);
  pointer-events: none;
}

.contato__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 96px);
}

.contato__left .eyebrow { color: var(--gold); margin-bottom: 24px; }
.contato__left .eyebrow::before { background: var(--gold); }
.contato__left h2 { color: var(--paper); margin-bottom: 24px; }
.contato__left h2 .accent { font-style: italic; color: var(--gold); }
.contato__left p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(245,235,214,0.78);
  line-height: 1.5;
  margin-bottom: 48px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(245,235,214,0.04);
  border: 1px solid rgba(245,235,214,0.1);
  border-radius: 4px;
  text-decoration: none;
  transition: background .35s, border-color .35s, transform .35s;
}
.channel:hover { background: rgba(245,235,214,0.08); border-color: var(--gold); transform: translateX(4px); }
.channel__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200,163,104,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.channel__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(245,235,214,0.6);
}
.channel__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--paper);
  margin-top: 4px;
}

/* Form */
.form {
  background: rgba(245,235,214,0.02);
  border: 1px solid rgba(245,235,214,0.1);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field {
  position: relative;
  margin-bottom: 18px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 22px 16px 12px;
  background: transparent;
  border: 1px solid rgba(245,235,214,0.18);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color .3s, background .3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23c8a368' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.field select option { background: var(--ink); color: var(--paper); }
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 0.95rem;
  color: rgba(245,235,214,0.55);
  pointer-events: none;
  transition: top .25s, font-size .25s, color .25s, letter-spacing .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200,163,104,0.04);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 28px;
  cursor: pointer;
  font-size: 0.92rem;
  color: rgba(245,235,214,0.78);
  line-height: 1.45;
}
.checkbox-field input { position: absolute; opacity: 0; pointer-events: none; }
.check-visual {
  width: 22px; height: 22px;
  border: 1px solid rgba(245,235,214,0.3);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s;
  margin-top: 2px;
}
.check-visual svg { width: 14px; height: 14px; opacity: 0; transition: opacity .2s; color: var(--ink); }
.checkbox-field input:checked ~ .check-visual { background: var(--gold); border-color: var(--gold); }
.checkbox-field input:checked ~ .check-visual svg { opacity: 1; }

.form__submit {
  width: 100%;
  justify-content: center;
  padding: 20px 24px;
  font-size: 0.95rem;
}

.form__status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 0.9rem;
  text-align: center;
  background: rgba(107,105,64,0.18);
  border: 1px solid var(--olive);
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.form__status.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0e0803;
  color: rgba(245,235,214,0.75);
  padding: var(--section-y) 0 40px;
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,235,214,0.1);
}
.footer__brand {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--paper);
}
.footer__brand-sub {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--gold);
  margin-top: 6px;
}
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(245,235,214,0.65);
  max-width: 360px;
  line-height: 1.5;
}

.footer__col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(245,235,214,0.75); transition: color .3s; font-size: 0.92rem; }
.footer__col a:hover { color: var(--gold); }

.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,235,214,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,235,214,0.7);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }

.footer__apoio-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(245,235,214,0.1);
}
.footer__apoio-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  transition: opacity .3s;
}
.footer__apoio-block:hover { opacity: 0.8; }
.footer__apoio-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__apoio-logo-wrap {
  display: block;
  width: 34px;
  height: 44px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer__apoio-logo {
  height: 44px;
  width: auto;
  max-width: none;
  display: block;
}
.footer__apoio-city {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__apoio-pre {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(245,235,214,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__apoio-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(245,235,214,0.85);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.footer__apoio-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,235,214,0.4);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.78rem;
  color: rgba(245,235,214,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom a { color: var(--gold); transition: color .3s; }
.footer__bottom a:hover { color: var(--paper); }
.footer__credit { display: inline-flex; align-items: center; gap: 8px; }
.footer__credit::before { content: ''; width: 18px; height: 1px; background: var(--gold); opacity: 0.5; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--right { transform: translateX(-28px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal--stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal--stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal--stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal--stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.reveal--stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.reveal--stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }
.reveal--stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal--stagger.is-visible > *:nth-child(7) { transition-delay: .47s; }
.reveal--stagger.is-visible > *:nth-child(8) { transition-delay: .54s; }
.reveal--stagger.is-visible > *:nth-child(9) { transition-delay: .61s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
  .nav__brand-text { display: none; }
}
@media (max-width: 1024px) {
  .sobre__grid, .contato__grid { grid-template-columns: 1fr; }
  .sobre__left { position: static; }
  .maestro__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "portrait"
      "body";
    row-gap: 32px;
  }
  .maestro__portrait { max-width: 480px; margin: 0 auto; }
  .repertorio__grid { grid-template-columns: repeat(2, 1fr); }
  .repertorio__header { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-block { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  /* Mobile menu drawer */
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ink);
    padding: 90px var(--gutter) 48px;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 40;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__menu.is-open li {
    width: 100%;
    max-width: 340px;
    border-bottom: 1px solid rgba(245,235,214,0.1);
  }
  .nav__menu.is-open li:first-child {
    border-top: 1px solid rgba(245,235,214,0.1);
  }
  .nav__menu.is-open a,
  .nav.is-scrolled .nav__menu.is-open a {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--paper) !important;
    display: block;
    padding: 18px 0;
    text-align: center;
    letter-spacing: 0;
    transition: color .25s;
  }
  .nav__menu.is-open a:hover,
  .nav.is-scrolled .nav__menu.is-open a:hover { color: var(--gold) !important; }
  .nav__menu.is-open a::after { display: none; }

  /* Contato: visível e destacado no menu mobile */
  .nav__menu.is-open .nav__menu-contato { display: block; }
  .nav__menu.is-open .nav__menu-contato a,
  .nav.is-scrolled .nav__menu.is-open .nav__menu-contato a {
    color: var(--gold) !important;
    font-style: italic;
  }

  .hero { padding-top: 110px; }
  .hero__title { font-size: clamp(3.9rem, 13vw, 5.4rem); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__meta { display: none; }

  /* stats em linha horizontal no mobile */
  .sobre__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* foto do maestro: força width para aspect-ratio funcionar no grid mobile */
  .maestro__portrait { width: 100%; }

  .repertorio__grid { grid-template-columns: 1fr; }
  .rep-card { min-height: 240px; padding: 32px 24px; }

  .galeria__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 90px;
  }
  .gal--1 { grid-column: span 6; grid-row: span 3; }
  .gal--2 { grid-column: span 3; grid-row: span 2; }
  .gal--3 { grid-column: span 3; grid-row: span 2; }
  .gal--4 { grid-column: span 3; grid-row: span 2; }
  .gal--5 { grid-column: span 3; grid-row: span 2; }

  .btn--instagram { font-size: 0.88rem; padding: 14px 24px; }
  .gal--6 { grid-column: span 6; grid-row: span 2; }
  .gal--7 { grid-column: span 3; grid-row: span 2; }
  .gal--8 { grid-column: span 3; grid-row: span 2; }
  .gal--9 { grid-column: span 6; grid-row: span 2; }

  .event { grid-template-columns: 90px 1fr; gap: 16px; padding: 24px 0; }
  .event__date { padding-right: 16px; }
  .event__day { font-size: 2.2rem; }
  .event__tag, .event__arrow { grid-column: 2; justify-self: start; }
  .event__arrow { display: none; }

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

  /* evita overflow de texto/email no mobile */
  .contato__left p, .channel__value { overflow-wrap: break-word; word-break: break-word; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__apoio-inline { justify-content: center; }
}

@media (min-width: 1280px) {
  .hero__title { font-size: 7.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
