:root {
  --ink: #291c2c;
  --purple: #731585;
  --deep: #33113e;
  --tint: #f6eff8;
  --orange: #ffab3d;
  --green: #a2e65d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.65 system-ui, sans-serif; }
img { display: block; max-width: 100%; object-fit: contain; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, dd { margin: 0; font-family: Georgia, serif; line-height: 1.06; }
h1 { font-size: clamp(3rem, 7.4vw, 6.8rem); letter-spacing: -.055em; max-width: 9ch; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -.04em; }
h3 { font-size: 1.65rem; margin-bottom: .55em; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: .75rem; left: .75rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.bar, nav, .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.bar { justify-content: space-between; padding-block: 1rem; }
nav { column-gap: clamp(.75rem, 3vw, 2rem); row-gap: .3rem; }
nav a { text-decoration: none; font-weight: 600; padding-block: .4rem; }
nav a:hover { text-decoration: underline; }
.button { display: inline-block; border-radius: 100vw; border: 1px solid transparent; padding: .65rem 1.2rem; font-weight: 700; text-decoration: none; }
.button:hover { text-decoration: underline; }
.primary { color: white; background: var(--purple); }
.orange { color: var(--ink); background: var(--orange); }
.outline { border-color: currentColor; }
.hero { background: var(--deep); color: white; border-bottom: 5px solid var(--orange); }
.hero-layout, .split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.hero-layout { padding-block: clamp(3.25rem, 8vw, 7.5rem); }
.eyebrow { margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; font-size: .875rem; color: var(--purple); }
.hero .eyebrow { color: var(--orange); }
.intro { max-width: 39ch; margin-block: 1.3rem 1.65rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% center; border-radius: 1.5rem; box-shadow: .5rem .5rem 0 var(--green); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.tint { background: var(--tint); }
.section-intro { margin-top: 1rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.75rem; }
.grid article { padding: clamp(1.2rem, 3vw, 2rem); border-radius: 1rem; background: white; border-top: 4px solid var(--orange); }
.grid article:nth-child(3n + 2) { border-color: var(--purple); }
.grid article:nth-child(3n) { border-color: var(--green); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-block-start: 1px solid #dfd0e3; padding-top: 1rem; }
.stats dd { color: var(--purple); font-weight: 700; font-size: clamp(2.7rem, 5vw, 4.5rem); margin-bottom: .35rem; }
.festival { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; background: #fff1dc; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 1rem; }
.source { margin-top: .85rem; font-size: .875rem; }
.support, footer { background: var(--deep); color: white; }
.support article { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); }
.support article a { margin-top: auto; color: var(--purple); font-weight: 700; }
#contato h2 { margin-bottom: .6rem; }
@media (max-width: 780px) {
  header nav { order: 3; width: 100%; }
  .hero-layout, .split { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 3 / 2; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .grid { grid-template-columns: 1fr; }
  header img { width: 105px; height: 50px; }
  header .button { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
