/* leoconovaloff.com · v2 (white, minimal) */

@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin-full-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ink: #111111;
  --ink-2: #5f5f5f;
  --ink-3: #9a9a9a;
  --line: #e7e7e4;
  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --bar-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- top bar: player · name · menu, no lines ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  min-height: var(--bar-h);
  --row: 22px; /* one shared line for player, name and menu; the subtitle hangs below it */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(16px, 2.4vw, 40px);
  padding: 9px var(--gutter);
  color: #fff;
  transition: background-color .4s ease, color .4s ease;
}
.bar.is-solid {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
}
.bar__id { text-align: center; white-space: nowrap; }
.bar__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: var(--row);
}
.bar__name em { font-style: italic; font-weight: 300; }
/* subtitle under the name: folds away on scroll down, comes back on scroll up */
.bar__sub {
  margin: 5px 0 0; font-size: 9px; line-height: 14px; opacity: .75;
  max-height: 16px; overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease, margin-top .45s ease;
}
.bar.is-compact .bar__sub, .bar.is-open .bar__sub { max-height: 0; opacity: 0; margin-top: 0; }

.bar__nav { justify-self: end; height: var(--row); display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: 10px; }
/* bold on hover / current section; the hidden bold copy keeps the width fixed.
   When the pointer is over the menu the other links dim, so the hovered one stands out softly. */
.bar__nav a { display: inline-flex; flex-direction: column; align-items: center; font-weight: 300; transition: opacity .35s ease; }
.bar__nav a::after { content: attr(data-label); font-weight: 500; height: 0; overflow: hidden; visibility: hidden; }
.bar__nav a:hover, .bar__nav a.is-active { font-weight: 500; }
@media (hover: hover) {
  .bar__nav:hover a { opacity: .5; }
  .bar__nav:hover a:hover { opacity: 1; }
}
.bar__menu { display: none; height: var(--row); line-height: var(--row); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden;
  background: #1a1a1a url('/assets/video/hero-wide.jpg?v=2') center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 14%);
  pointer-events: none;
}

/* mini player, inside the top bar */
.player {
  justify-self: start; width: min(100%, 400px); min-width: 0; height: var(--row);
  display: flex; align-items: center; gap: 12px;
}
.player__btn, .player__mute {
  flex: none; display: grid; place-items: center;
  width: 18px; height: 22px; transition: opacity .2s;
}
.player__btn:hover, .player__mute:hover { opacity: .6; }
.player__btn svg { width: 10px; height: 10px; }
.player__mute svg { width: 13px; height: 11px; }
.player__mute.is-muted .wave { opacity: .25; }
/* volume: just the icon; a thin vertical slider drops down under it on hover */
.player__vol { position: relative; flex: none; display: flex; align-items: center; }
.player__volpanel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, -4px);
  padding: 8px 0 4px; display: flex; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.player__vol:hover .player__volpanel, .player__vol:focus-within .player__volpanel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.player__volume {
  -webkit-appearance: none; appearance: none;
  writing-mode: vertical-lr; direction: rtl; /* vertical, loud at the top */
  width: 14px; height: 72px; margin: 0; background: transparent; color: inherit; cursor: pointer;
}
.player__volume::-webkit-slider-runnable-track { width: 1px; height: 100%; margin: 0 auto; background: currentColor; }
.player__volume::-moz-range-track { width: 1px; background: currentColor; }
.player__volume::-webkit-slider-thumb { -webkit-appearance: none; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: currentColor; border: 0; }
.player__volume::-moz-range-thumb { width: 7px; height: 7px; border-radius: 50%; background: currentColor; border: 0; }
.player__title, .player__time { font-size: 9.5px; white-space: nowrap; }
.player__time { min-width: 3.4em; font-variant-numeric: tabular-nums; opacity: .75; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 13vw, 168px) var(--gutter); scroll-margin-top: var(--bar-h); }
.section__head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__index { color: var(--ink-3); }
.section__title {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.02em;
}
.section__title em { font-style: italic; }
.section__body { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.section__body > .side { color: var(--ink-3); }

/* music list */
.tracks { list-style: none; margin: 0 0 56px; padding: 0; border-top: 1px solid var(--line); }
.tracks:last-child { margin-bottom: 0; }
.tracks a {
  display: grid; grid-template-columns: 2.4em 1fr auto auto; align-items: baseline; gap: 16px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
  transition: padding .35s ease, color .35s ease;
}
.tracks a:hover { padding-left: 14px; }
.tracks .n { color: var(--ink-3); font-size: 12px; }
.tracks .t { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 350; line-height: 1.2; }
.tracks .p { color: var(--ink-3); }
.tracks .arr { width: 14px; height: 14px; transition: transform .35s ease; }
.tracks a:hover .arr { transform: translate(3px, -3px); }
.list-label { margin: 0 0 14px; color: var(--ink-2); }

/* about */
.bio > p { margin: 0 0 1.2em; max-width: 62ch; color: var(--ink-2); }
.bio > p:first-child { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); font-weight: 300; }
.bio em { font-style: italic; color: var(--ink); }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
.support ul { list-style: none; margin: 0; padding: 0; }
.support li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.support img { width: 28px; height: 22px; object-fit: contain; filter: grayscale(1) invert(1); opacity: .75; }
.support img.is-dark { filter: grayscale(1); } /* this logo is already black: inverting it would make it vanish */

/* dates */
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; grid-template-columns: 9em 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; }
.dates .d { color: var(--ink-2); }
.dates .e { font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); font-weight: 350; line-height: 1.25; }
.dates .c { color: var(--ink-3); }
.dates__soon { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); color: var(--ink-2); }

/* booking */
.booking__mail {
  display: inline-block; padding: 0 .08em 6px 0; /* room for the italic overhang so the light reaches the last letter */
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.01em;
  word-break: break-word;
}
/* hover: a soft band of light sweeps across the letters, on a loop */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .booking__mail {
    background: linear-gradient(105deg, var(--ink) 0%, var(--ink) 36%, #6f6f6f 46%, #8c8c8c 50%, #6f6f6f 54%, var(--ink) 64%, var(--ink) 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .booking__mail:hover, .booking__mail:focus-visible { animation: mail-light 4.2s cubic-bezier(.45, 0, .25, 1) infinite; }
}
@keyframes mail-light {
  0%   { background-position: 100% 0; }
  70%, 100% { background-position: 0% 0; }
}
.booking p { color: var(--ink-2); max-width: 52ch; margin: 0 0 40px; }
.socials { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 64px; }
/* same as the top menu: bold on hover while the others dim, no underline */
.socials a { display: inline-flex; flex-direction: column; align-items: flex-start; font-weight: 300; transition: opacity .35s ease; }
.socials a::after { content: attr(data-label); font-weight: 500; height: 0; overflow: hidden; visibility: hidden; }
.socials a:hover, .socials a:focus-visible { font-weight: 500; }
@media (hover: hover) {
  .socials:hover a { opacity: .5; }
  .socials:hover a:hover { opacity: 1; }
}

/* footer */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  font-size: 10.5px; line-height: 1.4; color: var(--ink-3); white-space: nowrap;
}
.foot button { transition: color .3s; }
.foot button:hover { color: var(--ink); }
.broto-assinatura{display:inline-block;color:inherit;line-height:0;opacity:.6!important;filter:none!important;transition:opacity .25s ease,color .25s ease}
.broto-assinatura:hover,.broto-assinatura:focus-visible{opacity:1!important;color:var(--broto-contraste,#4a32c8)!important}
.broto-assinatura svg{display:block;height:14px;width:auto}

/* privacy dialog */
.privacy { border: 0; padding: 0; max-width: 560px; width: calc(100% - 40px); background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.privacy::backdrop { background: rgba(255,255,255,0.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.privacy__in { padding: 40px; }
.privacy h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 300; font-size: 34px; }
.privacy p { margin: 0 0 1em; color: var(--ink-2); font-size: 14px; }
.privacy__close { margin-top: 12px; border-bottom: 1px solid currentColor; }

/* 404 page */
.err-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.err-page .bar { position: sticky; }
.err {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(60px, 10vw, 120px) var(--gutter);
}
.err__meta { margin: 0 0 24px; color: var(--ink-3); }
.err__title {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 14vw, 200px); line-height: .9; letter-spacing: -0.03em;
}
.err__title em { font-style: italic; }
.err__text { margin: 32px 0 0; max-width: 42ch; color: var(--ink-2); }
.err__back { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; align-self: flex-start; transition: opacity .3s; }
.err__back:hover { opacity: .55; }
.err__back svg { width: 14px; height: 14px; transition: transform .3s ease; }
.err__back:hover svg { transform: translateX(-3px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 820px) { .player__vol { display: none; } }
@media (max-width: 900px) { .player__title { display: none; } }

@media (max-width: 820px) {
  :root { --bar-h: 44px; }
  .bar { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .bar__name { font-size: 16px; }
  .bar__sub { font-size: 8px; letter-spacing: .18em; }
  .player { gap: 8px; }
  .player__btn { width: 26px; height: var(--row); }
  .bar__menu { display: block; justify-self: end; }
  .bar__nav {
    position: fixed; inset: var(--bar-h) 0 auto 0; height: calc(100svh - var(--bar-h));
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 0 var(--gutter);
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  .bar__nav a { font-family: var(--serif); font-size: 44px; font-weight: 300; letter-spacing: -0.01em; text-transform: none; align-items: flex-start; }
  .bar__nav a:hover, .bar__nav a.is-active { font-weight: 450; }
  .bar.is-open { background: var(--paper); color: var(--ink); }
  .foot { padding: 10px var(--gutter); gap: 10px; font-size: 9.5px; }
  .foot__long { display: none; }
  .bar.is-open .bar__nav { opacity: 1; visibility: visible; }

  .hero { background-image: url('/assets/video/hero-tall.jpg?v=2'); }
  .section__head, .section__body { grid-template-columns: 1fr; gap: 14px; }
  .section__body > .side { display: none; }
  .tracks a { grid-template-columns: 2em 1fr auto; }
  .tracks .p { display: none; }
  .dates li { grid-template-columns: 1fr; gap: 2px; }
  .support { grid-template-columns: 1fr; }
  .privacy__in { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .booking__mail:hover, .booking__mail:focus-visible { animation: none; background-position: 50% 0; }
}
