@font-face { font-family: 'Libre Baskerville PED'; src: url('fontes/LibreBaskerville-wght.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --ink: #172d29;
  --muted: #495c54;
  --line: #d8ddd4;
  --forest: #1d3e35;
  --rust: #9a462d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #aa512f; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.skip { position: fixed; z-index: 2; top: 8px; left: 8px; padding: 10px 16px; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.masthead, main, footer { width: min(1170px, calc(100% - 72px)); margin: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 78px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font: 400 1.35rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
nav { display: flex; gap: clamp(14px, 3vw, 34px); }
nav a { text-decoration: none; font-size: .92rem; }
nav a:hover, .track:hover .track-link { text-decoration: underline; text-underline-offset: .2em; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(25px, 5vw, 75px); align-items: center; padding: 62px 0 65px; }
.kicker { margin: 0; color: var(--rust); font-size: .72rem; font-weight: 750; letter-spacing: .14em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(3.35rem, 7.1vw, 7rem); letter-spacing: -.066em; margin: 12px 0 21px; }
.lead { font: clamp(1.46rem, 2.6vw, 2.32rem)/1.12 var(--serif); max-width: 18ch; margin: 0 0 15px; }
.description { color: var(--muted); max-width: 39ch; margin: 0 0 26px; }
.primary { display: inline-flex; align-items: center; gap: 24px; padding: 12px 17px; border-radius: 6px; background: var(--forest); color: #fffdf7; text-decoration: none; font-weight: 650; }
.primary:hover { background: #2c5749; }
.hero-art { position: relative; isolation: isolate; overflow: hidden; min-height: 315px; aspect-ratio: 1.23; background: #1a352f; border-radius: 12px; }
.hero-grid { position: absolute; inset: 0; background: radial-gradient(ellipse at 35% 22%, #396453, transparent 65%), repeating-linear-gradient(120deg, transparent 0 31px, #f4edd512 32px 33px); }
.hero-cover { position: absolute; width: 43%; height: auto; max-height: 74%; object-fit: contain; border-radius: 5px; filter: drop-shadow(0 13px 14px #091e1bad); }
.cover-back { right: 12%; top: 12%; transform: rotate(9deg); }
.cover-front { left: 12%; top: 12%; transform: rotate(-8deg); }
.art-credit { position: absolute; left: 18px; bottom: 14px; color: #fcf6e8; font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.portfolio, .library { border-top: 1px solid var(--line); padding: 37px 0 54px; scroll-margin-top: 20px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.045em; margin: 8px 0 22px; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.track {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(20px, 3vw, 32px);
  padding-right: clamp(76px, 12vw, 163px);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  background-color: var(--track-paper);
  background-image: linear-gradient(90deg, var(--track-paper) 55%, transparent 91%), var(--track-art);
  background-repeat: no-repeat;
  background-position: center, right 1px bottom -5px;
  background-size: 100% 100%, auto clamp(140px, 20vw, 222px);
}
.track-family { --track-paper: #f1e9db; --track-art: url('imagens/fundo-familias.webp'); }
.track-pro { --track-paper: #e4ede5; --track-art: url('imagens/fundo-profissionais.webp'); }
.track-fact { grid-column: 1 / -1; --track-paper: #ecebe3; --track-art: none; }
.track-brand-fact img { border-radius: 50%; object-fit: cover; }
.track-brand { display: flex; align-items: center; gap: 13px; margin-top: 11px; }
.track-brand img { width: 56px; height: 56px; flex: none; }
.track-brand-family img { border-radius: 50%; object-fit: cover; }
.track-brand-name { display: flex; flex-direction: column; line-height: 1; color: #0b263b; font-family: 'Libre Baskerville PED', Georgia, serif; }
.track-brand-family .track-brand-name { color: var(--ink); font-family: Georgia, serif; }
.track-brand-name strong { font-weight: 700; font-size: 1.12em; white-space: nowrap; }
.track-brand-name span { font-weight: 400; font-size: .71em; margin-top: .2em; }
.track h3 { margin-top: 11px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.track-brand h3 { margin-top: 0; }
.track p { margin: 11px 0 17px; max-width: 43ch; }
.track-link { font-weight: 650; margin-top: auto; }
.library-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: #fffdf8; border: 1px solid #9eada3; border-radius: 6px; min-height: 44px; padding: 8px 13px; font-weight: 600; }
.filters button[aria-pressed="true"] { color: white; background: var(--forest); border-color: var(--forest); }
#contagem { margin: 0; color: var(--muted); }
.collection { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.material { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fffcf6; overflow: hidden; }
.material-cover { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: contain; background: #e9ece4; padding: 13px; }
.material-copy { display: grid; gap: 8px; padding: 14px; }
.material-title { font: 1.35rem/1.08 var(--serif); }
.material-meta { margin: 0; color: var(--muted); font-size: .83rem; }
.material-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.material-links a { font-size: .87rem; font-weight: 650; text-underline-offset: .2em; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .86rem; }
@media (max-width: 850px) {
  .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .masthead, main, footer { width: calc(100% - 36px); }
  .masthead { min-height: 66px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 39px 0; }
  .hero-art { max-height: 360px; min-height: 0; }
  .tracks { grid-template-columns: 1fr; }
  .track-fact { grid-column: auto; }
}
@media (max-width: 460px) {
  .masthead, main, footer { width: calc(100% - 28px); }
  .material-cover { padding: 9px; }
  .material-copy { padding: 10px; }
  .material-title { font-size: 1.15rem; }
}
@media (max-width: 400px) {
  .track-pro { background-size: 100% 100%, auto 132px; background-position: center, right -15px bottom 5px; padding-bottom: 28px; }
  .track-pro .track-link { max-width: 24ch; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.about {
  border-top: 1px solid var(--line);
  padding: 37px 0 54px;
  scroll-margin-top: 20px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr) minmax(0, .8fr);
  align-items: start;
  gap: 24px clamp(20px, 4vw, 46px);
}
.about-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 47%;
  border-radius: 12px;
}
.bio p { max-width: 55ch; margin: 0 0 12px; }
.bio p:last-child { margin-bottom: 0; }
.bio-id { font-weight: 700; letter-spacing: .02em; }
.credentials { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.credentials h3 { font-size: 1.3rem; margin: 0 0 8px; }
.credentials ul { margin: 0; padding-left: 1.1em; }
.credentials li { margin: 4px 0; max-width: 60ch; }
.credentials h4 { margin: 16px 0 4px; font: 600 .95rem var(--sans); }
.credentials p { margin: 0; max-width: 60ch; }
.credentials .data { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }
.socials { padding-left: 24px; border-left: 1px solid var(--line); }
.socials h3 { font-size: 1.3rem; margin: 0 0 12px; }
.socials .contact { display: inline-block; font-weight: 650; text-underline-offset: .2em; margin-bottom: 18px; }
.brands { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.brand { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand p { margin: 0; }
.brand-name { font-weight: 650; line-height: 1.25; }
.brand-name span { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); }
.brand-links { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px !important; }
.brand-links a { font-size: .9rem; font-weight: 600; padding: 4px 0; text-underline-offset: .2em; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(140px, 190px) minmax(0, 1fr); }
  .about-grid .socials {
    grid-column: 2;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { width: min(100%, 200px); }
  .about-grid .socials { grid-column: 1; }
}
@media (max-width: 400px) {
  .masthead { gap: 9px; }
  nav { gap: 10px; }
  nav a { font-size: .85rem; }
  .wordmark { font-size: 1.15rem; }
}
.nowrap { white-space: nowrap; }
