@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: only light;
  --paper: #faf7ef;
  --ink: #322037;
  --muted: #625361;
  --wine: #651432;
  --berry: #9c164b;
  --rose: #fac4ca;
  --rule: #dcd3cc;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.15rem, 5.3vw, 5.5rem);
  font: 100%/1.5 Bricolage, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
html { scroll-padding-top: 6rem; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: .07em; }
:focus-visible { outline: 3px solid #bb5524; outline-offset: 4px; }
::selection { color: white; background: var(--berry); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1400px); margin-inline: auto; }
h1, h2, h3 { line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.chapter h1,.editorial-copy h2,.ticket h3 { overflow-wrap: anywhere; hyphens: auto; }
h1, h2 { font-weight: 720; font-optical-sizing: auto; }
h2 { font-size: clamp(3rem, 6.2vw, 6.1rem); }
h1 em, h2 em {
  font: 480 1.01em/1 Fraunces, Georgia, serif;
  letter-spacing: -.045em;
  word-spacing: .045em;
  font-variation-settings: "SOFT" 35, "WONK" 1;
}
.kicker {
  font-size: .76rem; font-weight: 720; letter-spacing: .12em;
  text-transform: uppercase; line-height: 1.35; margin-bottom: 1.1rem;
}
.skip-link { position: fixed; z-index: 12; top: .6rem; left: 1rem; background: white; padding: .7rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
:root { --bar-bg: var(--paper); --bar-ink: var(--ink); --bar-accent: var(--berry); }
:root[data-chrome="cover"] { --bar-bg: #3b0614; }
:root[data-chrome="blush"] { --bar-bg: #f6cabe; }
:root[data-chrome="guide"] { --bar-bg: #f7c6bd; }
:root[data-chrome="olive"] { --bar-bg: #e6deb1; }
:root[data-chrome="sand"] { --bar-bg: #f2ebe3; }
:root[data-chrome="partner"] { --bar-bg: #372039; }
:root[data-chrome="ink"] { --bar-bg: var(--ink); }
:root:is([data-chrome="cover"],[data-chrome="partner"],[data-chrome="ink"]) { --bar-ink: #fff3e7; --bar-accent: #ffd2cf; }
.site-header { position: sticky; z-index: 8; top: 0; background: var(--bar-bg); color: var(--bar-ink); padding-top: env(safe-area-inset-top,0px); }
.site-header .brand-on-dark { display: none; }
:is([data-chrome="cover"],[data-chrome="partner"],[data-chrome="ink"]) .brand-on-light { display: none; }
:is([data-chrome="cover"],[data-chrome="partner"],[data-chrome="ink"]) .site-header .brand-on-dark { display: block; }
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 3.6rem); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: clamp(134px, 12vw, 184px); height: auto; }
#site-navigation { display: flex; align-items: center; gap: clamp(.95rem, 2.1vw, 2.3rem); }
#site-navigation a, .footer-links a { text-decoration: none; }
#site-navigation a { display: flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 585; }
#site-navigation a[aria-current], #site-navigation a:hover { color: var(--bar-accent); text-decoration: underline; }
.button, .nav-cta, .text-link {
  display: inline-flex; gap: .8em; align-items: center; justify-content: center; width: fit-content;
  text-decoration: none; font-weight: 680; line-height: 1.2; min-height: 44px;
}
.button, .nav-cta { border-radius: 999px; padding: .9em 1.3em; transition: transform 150ms var(--ease), background-color 160ms; }
.button { background: var(--ink); color: #fff8ed; }
.nav-cta { background: var(--bar-ink); color: var(--bar-bg); font-size: .92rem; }
.action-icon { display: inline-flex; flex: 0 0 auto; transition: transform 180ms var(--ease); }
.action-icon svg { width: 1.1em; height: 1.1em; }
.text-link { font-size: .94rem; text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  :is(.button,.nav-cta,.text-link):hover .action-icon { transform: translateX(3px); }
  .button:hover { background: var(--berry); }
  .nav-cta:hover { background: var(--bar-accent); color: var(--bar-bg); }
}
.button:active,.nav-cta:active { transform: scale(.975); }
.menu-toggle { width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--rule); background: transparent; border-radius: 50%; }
.menu-toggle span { width: 17px; height: 1.6px; background: currentColor; transition: transform 160ms var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* A single photographic spread, with a dedicated composition for narrow screens. */
.cover { position: relative; color: #fff6ec; background: #3b0614; isolation: isolate; overflow: hidden; }
.cover-plate { position: absolute; inset: 0 0 0 auto; width: 63%; overflow: hidden; }
.cover-photo { position: absolute; inset: 0; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#3b0614 0%,#3b0614a8 10%,transparent 34%); }
@media (min-width:641px) {
  .cover-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 2.7rem; background: linear-gradient(#3b0614,transparent); }
}
.cover-inner { position: relative; pointer-events: none; min-height: clamp(535px, 43vw, 740px); display: flex; align-items: center; padding-block: 4rem; }
.cover-copy { width: 55%; pointer-events: auto; }
.photo-open { position: absolute; inset: 0; display: flex; align-items: end; justify-content: end; padding: clamp(.75rem,2vw,2rem); text-decoration: none; cursor: zoom-in; }
.photo-open:focus-visible { outline-offset: -5px; }
.photo-tag,.photo-close { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; border-radius: 2rem; padding: .4rem .95rem; background: #370c20e8; color: white; border: 1px solid #ffffff70; font-size: .88rem; }
.photo-tag span,.photo-close span { font-size: 1.3em; }
.photo-lens { display: none; pointer-events: none; position: absolute; top: 0; left: 0; width: clamp(116px,11.5vw,195px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff2d9,0 8px 24px #27041745; opacity: 0; transition: opacity 110ms ease-out; }
.photo-lens img { position: absolute; top: 0; left: 0; max-width: none; object-fit: cover; transform-origin: top left; }
@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .photo-lens { display: block; }
  .cover-plate.has-lens .photo-lens { opacity: 1; }
}
.photo-dialog { width: min(calc(100vw - 2rem),129dvh,1440px); max-width: calc(100vw - 2rem); max-height: 92dvh; padding: 0; border: 0; background: #380815; color: white; }
.photo-dialog::backdrop { background: #200e21da; }
.photo-viewport { overflow: auto; overscroll-behavior: contain; }
.photo-dialog img { width: 100%; height: auto; }
.photo-hint { padding: .55rem .9rem; color: #f6dbdb; font-size: .85rem; }
.photo-close { position: absolute; z-index: 1; top: .7rem; right: .7rem; cursor: pointer; }
html:has(.photo-dialog[open]) { overflow: hidden; }
.cover h1 { font-size: clamp(4.4rem, 7.65vw, 8.1rem); letter-spacing: -.06em; word-spacing: .045em; line-height: .96; }
.cover h1 span, .cover h1 em { display: block; }
.cover h1 em { color: #ffb8b8; margin-top: .025em; }
.cover-copy > p { font-size: clamp(1.04rem, 1.35vw, 1.37rem); line-height: 1.5; max-width: 31ch; margin-top: 1.65rem; color: #f4ded9; }
.cover-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.9rem; flex-wrap: wrap; }
.cover-actions .button { color: #471328; background: #fff1d8; }
.cover-actions .button:hover { background: #ffdbb8; }
.quiet { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; font-weight: 640; }

.market { padding-block: clamp(3.5rem, 6.8vw, 7rem); }
.market-head, .faq-layout, .partner-grid, .guide-layout { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: var(--gutter); }
.market-head > p { max-width: 34ch; justify-self: end; font-size: 1.1rem; color: var(--muted); }
.market-list { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.35vw,2.6rem); margin: 2rem 0 0; padding: 0; }
.market-item figure { position: relative; overflow: hidden; background: #e4d4bf; }
.market-item img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; object-position: 50% 52%; }
.market-item figcaption { position: absolute; left: .85rem; bottom: .85rem; background: var(--paper); color: var(--ink); padding: .24rem .68rem; font-size: .79rem; font-weight: 645; border-radius: 2px; }
.market-item h3 { font-size: clamp(1.45rem,2.28vw,2.4rem); font-weight: 650; margin: .95rem 0 .55rem; }
.market-item p, .guide-heading > p:last-child, .partner-copy > p:not(.kicker) { color: var(--muted); max-width: 43ch; }
.rail-tools { display: none; }
.rail-tools button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--rule); border-radius: 50%; }
.rail-tools button:disabled { opacity: .36; cursor: default; }
.rail-tools svg { width: 19px; height: 19px; }
.rail-prev svg { transform: rotate(180deg); }

.guide-section { background: #f7c6bd; padding-block: clamp(3.8rem, 7vw, 7rem); }
.guide-layout { grid-template-columns: .7fr 1.3fr; align-items: center; }
.guide-heading h2 { font-size: clamp(3.8rem,7.8vw,8rem); }
.guide-heading > p:last-child { margin-top: 1.4rem; max-width: 26ch; color: #51353d; font-size: 1.15rem; }
.buying-guide { min-width: 0; container: buying / inline-size; }
.guide-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: .2rem; padding: .25rem; background: #e6aea8; border-radius: 999px; margin: 0 0 1.35rem; position: relative; isolation: isolate; }
.guide-tabs::before { content: ""; position: absolute; z-index: -1; border-radius: 999px; inset: .25rem auto .25rem .25rem; width: calc((100% - .9rem)/3); background: var(--ink); transform: translateX(0); transition: transform 230ms var(--ease); }
.buying-guide[data-step="1"] .guide-tabs::before { transform: translateX(calc(100% + .2rem)); }
.buying-guide[data-step="2"] .guide-tabs::before { transform: translateX(calc(200% + .4rem)); }
.guide-tabs button { border: 0; border-radius: 999px; background: transparent; min-height: 44px; font-weight: 680; }
.guide-tabs button[aria-selected="true"] { color: white; }
.buying-guide[data-input="keyboard"] .guide-tabs::before { transition: none; }
.guide-panel { display: grid; grid-template-columns: .64fr 1fr; min-height: 328px; margin-block: 1rem; }
.guide-panel:last-child { margin-bottom: 0; }
.buying-guide[data-step] .guide-panels { display: grid; }
.buying-guide[data-step] .guide-panel { grid-area: 1 / 1; margin: 0; }
.buying-guide[data-step] .guide-panel[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.guide-art { overflow: hidden; background: #e9bd8f; }
.guide-art img { width: 100%; height: 100%; max-height: 355px; object-fit: cover; }
.ticket { display: flex; flex-direction: column; padding: clamp(1.25rem,2.7vw,3rem); background: #fff9eb; position: relative; }
.ticket::after { content: ""; position: absolute; top: 0; bottom: 0; right: -5px; width: 6px; background: linear-gradient(135deg,#fff9eb 25%,transparent 25%) 0 0 / 6px 12px, linear-gradient(45deg,#fff9eb 25%,transparent 25%) 0 0 / 6px 12px; }
.ticket-brand { color: var(--wine); font-size: 1rem; font-weight: 750; letter-spacing: -.08em; border-bottom: 1px dashed #cbb9b2; padding-bottom: .65rem; margin-bottom: 1.1rem; }
.ticket-step { font-size: .78rem; color: var(--muted); }
.ticket h3 { font-size: clamp(1.6rem,2.4vw,2.6rem); line-height: 1.04; margin: .35rem 0 .7rem; }
.ticket > p:not([class]) { color: var(--muted); }
.ticket a { margin-top: auto; padding-top: .8rem; justify-content: flex-start; }
.partners { background: #372039; color: #fff3e6; padding-block: clamp(3.3rem,6vw,6.5rem); }
.partner-grid { align-items: center; grid-template-columns: 1.08fr .92fr; }
.partner-photo img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.partner-copy h2 { font-size: clamp(3rem,5.55vw,6.2rem); }
.partner-copy h2 em { color: var(--rose); }
.partner-copy > p:not(.kicker) { color: #f0dfe5; font-size: 1.1rem; margin: 1.2rem 0 1.55rem; }
.partner-copy .button { background: #fbc5ce; color: var(--ink); }
.proof { margin-top: clamp(2rem,4vw,4.5rem); border-top: 1px solid #806779; padding-top: 1.7rem; display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,4rem); align-items: center; }
.proof > div { flex: 1 1 min(13rem,100%); min-width: 0; }
.proof > strong { font: 500 clamp(4rem,8vw,8rem)/.95 Fraunces,Georgia,serif; letter-spacing: -.08em; color: var(--rose); }
.proof strong span { font-size: .53em; }
.proof p { max-width: 59ch; }
.proof a { display: inline-block; margin-top: .5rem; font-size: .85rem; color: #e7c6d1; }
.faq-layout { grid-template-columns: .8fr 1.2fr; align-items: start; padding-block: clamp(3.8rem,7vw,7.5rem); }
.faq-layout .text-link { margin-top: 1.1rem; }
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .9rem .12rem; cursor: pointer; font-weight: 640; line-height: 1.3; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor,currentColor) center / 100% 1.6px no-repeat,linear-gradient(currentColor,currentColor) center / 1.6px 100% no-repeat; color: var(--berry); }
details[open] summary::after { background-size: 100% 1.6px, 0 0; }
details > p { color: var(--muted); padding: 0 1.3rem 1.4rem .12rem; max-width: 68ch; }
footer { background: var(--ink); color: #fff3e6; padding: clamp(2rem,4.5vw,5rem) 0 1.25rem; }
.footer-links, .colophon { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(1rem,2.5vw,2.5rem); }
.footer-links a, .colophon a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { text-decoration: underline; }
.footer-wordmark { display: block; margin-block: clamp(1.6rem,4vw,4.4rem); }
.footer-wordmark img { width: 100%; height: auto; }
.colophon { border-top: 1px solid #69556c; justify-content: space-between; padding-top: .5rem; font-size: .85rem; }

.chapter { background: #f6cabe; }
.chapter-grid { min-height: 300px; padding-block: clamp(2.5rem,5.5vw,6rem); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: var(--gutter); }
.chapter h1 { font-size: clamp(3.3rem,6.4vw,6.8rem); line-height: .95; }
.chapter h1 em { display: block; color: var(--wine); }
.deck { font-size: clamp(1rem,1.4vw,1.3rem); margin-top: 1.25rem; max-width: 45ch; }
.chapter-art { height: clamp(200px,19vw,315px); overflow: hidden; }
.chapter-art img { width: 100%; height: 100%; object-fit: cover; }
.chapter.como-funciona .chapter-art img { object-position: center 49%; }
.chapter.sobre .chapter-art img { object-position: center 30%; }
.chapter.impacto { background: #e6deb1; }
.chapter.parceiros { background: #372039; color: #fff0e7; }
.chapter.parceiros h1 em { color: var(--rose); }
.chapter.parceiros .chapter-art { height: auto; aspect-ratio: 1.62; }
.chapter.ajuda, .chapter.onde-estamos { background: #f2ebe3; }
:is(.chapter.ajuda,.chapter.onde-estamos) .chapter-grid { display: block; min-height: 0; padding-block: clamp(2.3rem,3.8vw,4rem); }
:is(.chapter.ajuda,.chapter.onde-estamos) h1 em { display: inline; }
.article-layout { display: grid; grid-template-columns: minmax(170px,.36fr) minmax(0,1fr); gap: clamp(2rem,6vw,7rem); padding-block: clamp(2.4rem,5vw,5.5rem); align-items: start; }
.article-index { border-top: 2px solid var(--ink); padding-top: 1rem; position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.article-index .kicker { margin-bottom: .55rem; }
.article-index a { display: block; padding: .47rem .2rem .47rem 0; font-size: .93rem; color: var(--muted); line-height: 1.32; text-decoration: none; }
.article-index a:hover,.article-index a[aria-current] { color: var(--berry); text-decoration: underline; }
.editorial-copy { max-width: 760px; min-width: 0; line-height: 1.6; font-size: 1.06rem; }
.editorial-copy:only-child { grid-column: 1/-1; }
.editorial-copy > section { padding: clamp(1.2rem,2.5vw,2.6rem) 0; border-top: 1px solid var(--rule); }
.editorial-copy h2 { font-size: clamp(1.65rem,2.65vw,2.85rem); line-height: 1.1; margin-bottom: .8rem; }
.editorial-copy p + p { margin-top: .75rem; }
.editorial-copy a { color: var(--wine); }
.editorial-copy li { padding-left: .2rem; margin-bottom: .45rem; }
.editorial-copy ol,.editorial-copy ul { padding-left: 1.3rem; }
.editorial-copy details > p { max-width: none; }
#potencial,.notice { background: #f7e2d7; border-left: 3px solid var(--berry); padding: 1.15rem 1.3rem; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
td { overflow-wrap: anywhere; }
td,th { text-align: left; vertical-align: top; padding: .75em .7em; border-bottom: 1px solid var(--rule); }
th { background: #f0e8db; }

@keyframes lift-line { from { transform: translateY(.14em); } to { transform: translateY(0); } }
@keyframes arrive { from { opacity: .45; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .cover h1 span { animation: lift-line 440ms var(--ease) both; }
  .cover h1 em { animation: lift-line 480ms 45ms var(--ease) both; }
  [data-arrived] { animation: arrive 300ms var(--ease) both; }
  details[open] > p { animation: arrive 170ms var(--ease); }
}

@media (max-width: 900px) {
  .nav-shell { gap: 1.1rem; min-height: 66px; }
  #site-navigation { gap: .9rem; }
  .market-head > p { font-size: 1rem; }
  .guide-layout { grid-template-columns: .65fr 1.35fr; gap: 1.7rem; }
  .guide-panel { grid-template-columns: .5fr 1fr; }
  .guide-heading h2 { font-size: 3.65rem; }
}
@media (max-width: 700px) {
  .nav-shell { min-height: 59px; flex-wrap: wrap; gap: .6rem; padding-block: .45rem; }
  .nav-cta { font-size: .82rem; min-height: 40px; padding: .65em .9em; }
  #site-navigation { order: 3; width: 100%; flex-wrap: wrap; }
  .site-header.has-menu #site-navigation { display: none; position: absolute; inset: 100% 0 auto; padding: .6rem var(--gutter) 1.15rem; background: var(--bar-bg); box-shadow: 0 12px 15px -12px #32203755; }
  .site-header.has-menu #site-navigation.open { display: grid; grid-template-columns: 1fr 1fr; }
  .market-head,.partner-grid,.faq-layout,.guide-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .market-head > p { justify-self: start; }
  .market-item h3 { font-size: 1.55rem; }
  .guide-heading h2 br { display: none; }
  .guide-heading h2 br::after { content: " "; }
  .guide-heading > p:last-child { margin-top: .7rem; max-width: none; }
  .partner-photo { max-height: 320px; overflow: hidden; }
  .partner-photo img { max-height: 320px; }
  .partner-grid { align-items: start; }
  .proof { align-items: start; }
  .chapter-grid { gap: 1.5rem; grid-template-columns: 1fr .68fr; }
  .article-layout { display: block; }
  .article-index { position: static; max-height: none; margin-bottom: 1.6rem; }
  .article-index:not(.expanded) a:nth-of-type(n+4) { display: none; }
  .article-index:not(:has(button)) a:nth-of-type(n+4) { display: block; }
  .index-toggle { min-height: 44px; background: none; border: 0; padding: 0; text-decoration: underline; font-size: .9rem; font-weight: 650; }
}
@media (min-width:701px) { .menu-toggle,.index-toggle { display: none; } }
@media (min-width:641px) and (max-width:900px) {
  .cover h1 { font-size: 6.8vw; }
  .cover-inner { min-height: 420px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 4.7rem; }
  .cover { display: flex; flex-direction: column; }
  .cover-inner { display: block; min-height: 0; padding: 2.25rem 0 0; }
  .cover-copy { width: 100%; }
  .cover h1 { font-size: clamp(3.15rem,11.9vw,4.8rem); }
  .cover-copy > p { max-width: 36ch; margin-top: .95rem; font-size: 1rem; }
  .cover-actions { margin-top: 1rem; gap: .42rem 1rem; }
  .cover-actions .button { padding-inline: 1rem; font-size: .94rem; }
  .cover-plate { position: relative; width: 100%; height: clamp(215px,64vw,335px); order: 1; margin-top: .7rem; }
  .cover-photo img { object-position: 50% 45%; }
  .cover-photo::after { background: linear-gradient(180deg,#3b0614,transparent 20%); }
  .photo-dialog img { width: max(100%, min(185vw,114dvh)); max-width: none; }
  .editorial-copy table { table-layout: fixed; overflow-wrap: anywhere; }
  .editorial-copy th:first-child { width: 36%; }
  h2 { font-size: clamp(2.8rem,10.6vw,4.4rem); }
  .kicker { margin-bottom: .6rem; }
  .market { position: relative; width: 100%; padding-inline: var(--gutter); }
  .market-head { gap: .8rem; }
  .market-head > p { max-width: 30ch; }
  .rail-tools:not([hidden]) { display: flex; justify-content: flex-end; gap: .4rem; margin: .8rem 0 -.2rem; }
  .market-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #bb9d97 transparent; margin: 1rem calc(0px - var(--gutter)) 0; padding: 0 var(--gutter) .5rem; gap: 1rem; scroll-padding-inline: var(--gutter); }
  .market-item { min-width: 0; flex: 0 0 82%; scroll-snap-align: start; }
  .market-item img { aspect-ratio: 1.35; }
  .market-item p { font-size: .95rem; }
  .guide-panel { min-height: 302px; grid-template-columns: .47fr 1fr; }
  .guide-art img { max-height: 100%; }
  .guide-heading h2 { font-size: clamp(2.8rem,10.6vw,4.4rem); }
  .ticket { padding: 1.1rem; }
  .ticket h3 { font-size: 1.55rem; }
  .ticket a { font-size: .86rem; }
  .proof { gap: 1rem; }
  .proof p { font-size: .94rem; }
  .chapter-grid { display: block; }
  .chapter-art { margin-top: 1.4rem; height: 150px; }
  .chapter.parceiros .chapter-art { height: 175px; }
  .chapter.sobre .chapter-art img { object-position: 50% 27%; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A visit from the home feature to the partner page keeps the same counter in view. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  .partner-photo,.chapter.parceiros .chapter-art { view-transition-name: partner-counter; }
  ::view-transition-group(partner-counter) { animation-duration: 260ms; animation-timing-function: var(--ease); }
  ::view-transition-old(root) { animation: none; opacity: 0; }
  ::view-transition-new(root) { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation-duration: 0s !important; }
}

.help-search { margin-bottom: 1.6rem; }
.help-search label { display: block; font-weight: 650; margin-bottom: .5rem; }
.help-search input { font: inherit; color: inherit; background: #fffdf8; width: 100%; min-height: 48px; border: 1px solid #afa099; border-radius: .25rem; padding: .65rem .85rem; }
.help-search p { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
.button:active,.nav-cta:active { transition-duration: 80ms; }
@container buying (max-width: 16em) {
  .guide-tabs { grid-template-columns: 1fr; border-radius: .65rem; }
  .guide-tabs::before { display: none; }
  .guide-tabs button[aria-selected="true"] { background: var(--ink); }
  .guide-panel { grid-template-columns: 1fr; }
  .guide-art { height: 5rem; }
  .guide-art img { object-position: center 45%; }
}
.article-index[hidden] + .editorial-copy { grid-column: 2; }
.chapter .text-link { margin-top: .85rem; }
.estimate { margin-top: 1.3rem; padding: clamp(1rem,2.5vw,2rem); background: #f5e3d6; }
.estimate-fields { display: flex; flex-wrap: wrap; gap: .9rem; padding-bottom: 1.2rem; margin-bottom: 1rem; border-bottom: 1px dashed #a48f87; }
.estimate label { flex: 1 1 9rem; font-weight: 610; }
.estimate input { display: block; width: 100%; margin-top: .35rem; min-height: 46px; border: 1px solid #b7a196; border-radius: .2rem; padding: .5rem .65rem; color: var(--ink); background: #fffaf3; font: inherit; }
.estimate output { display: block; color: var(--wine); font: 540 clamp(1.7rem,3vw,3rem)/1.3 Fraunces, Georgia, serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.estimate output.invalid { font: inherit; color: var(--muted); }
html, body { background-color: var(--bar-bg); }
main { background: var(--paper); }
.site-header .nav-shell { padding-left: env(safe-area-inset-left,0px); padding-right: env(safe-area-inset-right,0px); }
