:root {
  --ink: #11221f;
  --blue: #0848ed;
  --blue-deep: #062c9e;
  --lime: #d9ff47;
  --yellow: #ffd849;
  --coral: #ff6c58;
  --paper: #f7f5ed;
  --cream: #fffdf6;
  --line: rgba(17, 34, 31, .17);
  --display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --body: 'Trebuchet MS', 'Avenir Next', Arial, sans-serif;
  --radius: 1.4rem;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; padding: .8rem 1rem; background: var(--lime); color: var(--ink); font-weight: 900; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 86px; padding: 0 clamp(1rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(247, 245, 237, .9); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .6rem; min-width: max-content; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { line-height: .75; letter-spacing: -.08em; font-family: var(--display); font-size: 1.4rem; display: grid; }
.brand-copy strong { color: var(--blue); }
.brand-copy em { color: var(--coral); font-style: normal; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem, 2vw, 2rem); font-size: .85rem; font-weight: 800; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -.4rem; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .75rem 1rem; background: var(--blue); color: white; border-radius: 100px; }
.menu-toggle { display: none; width: 45px; height: 42px; border: 1px solid var(--ink); background: transparent; border-radius: 50%; padding: 9px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .25s, opacity .25s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.section { padding-inline: clamp(1.25rem, 7vw, 7.5rem); }
.eyebrow { margin: 0 0 1.2rem; font-size: .73rem; letter-spacing: .12em; font-weight: 900; display: flex; align-items: center; gap: .55rem; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.white { color: white; justify-content: center; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--coral); display: inline-block; }
.section-index { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; color: var(--blue); font-size: .78rem; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .84; }
h1 { margin-bottom: 1.5rem; font-size: clamp(4.2rem, 9.5vw, 10.8rem); }
h2 { margin-bottom: 1.7rem; font-size: clamp(3rem, 6.4vw, 7.3rem); }
h1 span, h2 span { color: var(--blue); }

.hero { min-height: calc(100svh - 86px); display: flex; flex-direction: column; background: var(--paper); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 42vw; height: 42vw; max-width: 650px; max-height: 650px; right: -18vw; top: 7%; border-radius: 50%; border: 1px solid rgba(8, 72, 237, .18); pointer-events: none; }
.hero-grid { width: 100%; max-width: 1600px; margin: auto; padding: clamp(3rem, 7vw, 6.8rem) clamp(1.25rem, 7vw, 7.5rem) clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr); align-items: center; gap: clamp(2.2rem, 4vw, 5.5rem); flex: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-lede { max-width: 47ch; line-height: 1.6; font-size: clamp(1rem, 1.4vw, 1.22rem); }
.hero-lede strong { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.8rem; }
.button { display: inline-flex; align-items: center; gap: .7rem; border: 0; border-radius: 100px; padding: 1rem 1.25rem; font-size: .82rem; font-weight: 900; letter-spacing: .02em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(17, 34, 31, .16); }
.button-primary { background: var(--blue); color: white; }
.button-primary span { font-size: 1.3em; }
.button-ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.button-light { background: var(--lime); color: var(--ink); }
.hero-mini-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.hero-mini-stats div { display: grid; gap: .15rem; }
.hero-mini-stats b { color: var(--blue); font-size: .95rem; text-transform: uppercase; }
.hero-mini-stats span { color: #53706b; font-size: .73rem; }
.hero-visual { min-height: 500px; position: relative; display: grid; place-items: center; }
.hero-photo { width: min(100%, 520px); margin: 0; z-index: 3; transform: rotate(3deg); border: 10px solid var(--cream); box-shadow: 16px 19px 0 var(--blue); background: var(--cream); }
.hero-photo img { height: min(57vw, 520px); min-height: 440px; width: 100%; object-fit: cover; object-position: 63% center; }
.hero-photo figcaption { padding: .65rem .5rem .15rem; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.hero-ball { position: absolute; z-index: 5; right: 3%; bottom: 4%; display: grid; place-items: center; width: 88px; height: 88px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--blue); box-shadow: 7px 8px 0 var(--ink); font-family: var(--display); font-size: 2rem; transform: rotate(-15deg); }
.hero-ball::after, .hero-ball::before { content: ''; position: absolute; border: 2px solid var(--ink); border-radius: 50%; }
.hero-ball::after { inset: 7px 35px 7px 7px; border-right: 0; }
.hero-ball::before { inset: 7px 7px 7px 35px; border-left: 0; }
.hero-stamp { position: absolute; z-index: 6; font-size: .65rem; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-align: center; }
.stamp-one { top: 3%; left: 1%; padding: 1rem .7rem; color: var(--paper); background: var(--coral); transform: rotate(-10deg); box-shadow: 4px 4px 0 var(--ink); }
.stamp-two { right: -2%; top: 29%; color: var(--blue); transform: rotate(9deg); }
.hero-orbit { position: absolute; z-index: 1; border: 2px dashed rgba(8, 72, 237, .3); border-radius: 50%; }
.orbit-a { width: 87%; aspect-ratio: 1; top: 0; right: -8%; }
.orbit-b { width: 60%; aspect-ratio: 1; bottom: -8%; left: -3%; border-color: rgba(255, 108, 88, .4); }
.ticker { background: var(--ink); color: var(--lime); overflow: hidden; padding: .82rem 0; white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: 1.7rem; font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; animation: scrollTicker 23s linear infinite; }
.ticker i { color: var(--coral); font-style: normal; }
@keyframes scrollTicker { to { transform: translateX(-50%); } }

.intro { padding-top: clamp(5rem, 13vw, 11rem); padding-bottom: clamp(5rem, 12vw, 10rem); display: grid; grid-template-columns: .15fr 1.05fr .8fr; gap: clamp(2rem, 5vw, 7rem); background: var(--cream); }
.intro-aside { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.vertical-label { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .64rem; font-weight: 900; letter-spacing: .15em; color: #6d827e; }
.intro-main h2 { max-width: 10ch; }
.intro-copy { max-width: 48ch; font-size: 1.05rem; line-height: 1.7; }
.intro-copy p + p { margin-top: 1.2rem; }
.quote-card { max-width: 405px; padding: 1.4rem 1.5rem 1.15rem; margin-top: 2.2rem; background: var(--yellow); border-radius: 0 1.4rem 1.4rem 1.4rem; transform: rotate(-2deg); }
.quote-card p { margin: 0; font-weight: 900; line-height: 1.35; font-size: 1.05rem; }
.quote-mark { color: var(--blue); font-family: Georgia, serif; font-size: 4rem; line-height: .5; }
.intro-photos { min-height: 420px; position: relative; align-self: center; }
.polaroid { margin: 0; position: absolute; background: white; box-shadow: 12px 14px 0 rgba(17, 34, 31, .12); padding: .55rem .55rem 2.4rem; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid-back { width: min(76%, 330px); height: 330px; left: 0; top: 6%; transform: rotate(-7deg); }
.polaroid-front { width: min(77%, 340px); height: 350px; right: 0; bottom: 0; transform: rotate(7deg); }
.scribble-arrow { position: absolute; z-index: 4; top: 38%; left: 38%; width: 58px; height: 58px; display: grid; place-items: center; background: var(--coral); color: white; border-radius: 50%; font-size: 2.3rem; transform: rotate(-20deg); }

.playgrounds { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--blue); color: white; position: relative; overflow: hidden; }
.playgrounds::after { content: 'BC'; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.15); font-family: var(--display); font-size: min(45vw, 600px); position: absolute; right: -5%; bottom: -23%; pointer-events: none; }
.section-heading { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; max-width: 1200px; }
.section-heading h2 { color: white; margin: 0; }
.section-heading h2 span { color: var(--lime); }
.section-heading > p:last-child { line-height: 1.6; max-width: 25ch; margin: 0 0 .4rem; }
.surface-layout { position: relative; z-index: 1; max-width: 1200px; margin-top: clamp(3rem, 6vw, 5.5rem); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 6.5rem); align-items: stretch; }
.surface-list { border-top: 1px solid rgba(255,255,255,.45); }
.surface-card { width: 100%; display: grid; grid-template-columns: 48px 1fr 28px; gap: 1rem; align-items: center; padding: 1.05rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); background: transparent; color: white; text-align: left; transition: padding .25s, color .25s; }
.surface-card:hover, .surface-card.is-active { padding-left: .8rem; color: var(--lime); }
.surface-number { font-family: var(--display); font-size: 1.3rem; }
.surface-name { font-family: var(--display); font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -.04em; }
.surface-arrow { font-size: 1.7rem; transition: transform .25s; }
.surface-card:hover .surface-arrow, .surface-card.is-active .surface-arrow { transform: rotate(45deg); }
.surface-feature { padding: 2rem; border-radius: 1.8rem; background: var(--lime); color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; transition: background .4s; }
.surface-feature.surface-grama { background: #b7e788; }
.surface-feature.surface-areia { background: var(--yellow); }
.surface-feature.surface-rua { background: var(--coral); color: white; }
.surface-icon { height: 96px; width: 100%; margin-bottom: 2.3rem; border: 3px solid currentColor; position: relative; opacity: .86; }
.surface-icon::after { content: ''; position: absolute; inset: 11px 50% 11px auto; border-left: 3px solid currentColor; }
.surface-icon span:nth-child(1), .surface-icon span:nth-child(2) { position: absolute; width: 28%; height: 28%; border: 3px solid currentColor; }
.surface-icon span:nth-child(1) { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.surface-icon span:nth-child(2) { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.surface-tag { margin: 0 0 .5rem; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.surface-feature h3 { margin: 0 0 .9rem; font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); line-height: .85; text-transform: uppercase; }
.surface-feature > p:not(.surface-tag) { line-height: 1.55; max-width: 27ch; }
.surface-cta { margin-top: auto; border-top: 1px solid currentColor; padding-top: 1rem; width: 100%; font-weight: 900; font-size: .8rem; }
.surface-cta b { float: right; font-size: 1.5rem; }

.learn { padding-top: clamp(5rem, 12vw, 10rem); padding-bottom: clamp(5rem, 12vw, 10rem); background: var(--paper); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 12rem); align-items: center; }
.learn-art { min-height: 450px; position: relative; display: grid; place-items: center; }
.learn-art > p { position: relative; z-index: 3; text-align: center; font-size: 1.35rem; line-height: 1.1; transform: rotate(-4deg); }
.learn-art > p strong { font-family: var(--display); font-size: 3rem; color: var(--blue); text-transform: uppercase; }
.learn-circle { position: absolute; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.04em; text-align: center; line-height: .85; animation: float 5s ease-in-out infinite; }
.circle-yellow { width: 140px; height: 140px; top: 1%; left: 5%; background: var(--yellow); transform: rotate(-16deg); }
.circle-blue { width: 178px; height: 178px; right: 1%; top: 18%; background: var(--blue); color: white; transform: rotate(12deg); animation-delay: -2s; }
.circle-red { width: 120px; height: 120px; bottom: 7%; left: 18%; color: white; background: var(--coral); transform: rotate(12deg); animation-delay: -1s; }
.dashed-path { position: absolute; width: 83%; height: 72%; border: 3px dashed rgba(17,34,31,.32); border-radius: 44% 50% 40% 50%; transform: rotate(-25deg); }
@keyframes float { 50% { translate: 0 -12px; } }
.learn-content h2 { max-width: 10ch; }
.rule-tabs { border-top: 1px solid var(--line); }
.rule-tab { width: 100%; display: flex; align-items: center; gap: 1.15rem; padding: 1rem .15rem; border: 0; border-bottom: 1px solid var(--line); color: #64807b; background: transparent; text-align: left; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -.02em; text-transform: uppercase; transition: color .2s, padding .2s; }
.rule-tab span { font-family: var(--body); font-size: .65rem; letter-spacing: 0; font-weight: 900; }
.rule-tab:hover, .rule-tab.is-active { padding-left: .75rem; color: var(--blue); }
.rule-panel { margin-top: 1.6rem; padding: 1.5rem; background: white; border-left: 8px solid var(--coral); box-shadow: 8px 8px 0 rgba(17,34,31,.09); }
.rule-kicker { margin-bottom: .5rem; color: var(--coral); font-weight: 900; font-size: .67rem; letter-spacing: .12em; }
.rule-panel h3 { margin-bottom: .6rem; font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.035em; text-transform: uppercase; }
.rule-panel > p:not(.rule-kicker) { margin-bottom: 1.4rem; line-height: 1.55; max-width: 55ch; }
.rule-meter { height: 8px; background: #e5e6e0; border-radius: 10px; overflow: hidden; }
.rule-meter span { display: block; height: 100%; background: var(--blue); border-radius: 10px; transition: width .45s ease, background .35s; }

.benefits { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--cream); }
.benefits-heading { max-width: 1060px; margin: 0 auto 3.5rem; display: grid; grid-template-columns: .2fr 1fr; gap: 1.4rem; }
.benefits-heading h2 { margin: 0; max-width: 12ch; }
.benefits-heading h2 span { color: var(--coral); }
.benefit-grid { max-width: 1060px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.benefit-card { min-height: 275px; padding: 1.35rem; display: flex; flex-direction: column; border-radius: 1rem; transition: transform .25s; }
.benefit-card:hover { transform: translateY(-8px) rotate(-1deg); }
.benefit-card h3 { margin: auto 0 .8rem; font-family: var(--display); font-size: 2rem; line-height: .9; text-transform: uppercase; letter-spacing: -.03em; }
.benefit-card p { margin: 0; line-height: 1.45; font-size: .85rem; }
.benefit-icon { display: grid; place-items: center; width: 47px; height: 47px; border: 2px solid currentColor; border-radius: 50%; font-size: 1.7rem; }
.benefit-blue { background: var(--blue); color: white; }
.benefit-yellow { background: var(--yellow); }
.benefit-white { background: white; box-shadow: 0 8px 20px rgba(17,34,31,.07); }
.benefit-coral { background: var(--coral); color: white; }

.gallery { padding-top: clamp(5rem, 11vw, 9rem); padding-bottom: clamp(5rem, 11vw, 9rem); background: var(--paper); }
.gallery-heading { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.gallery-heading h2 { margin: 0; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.filter-button { padding: .55rem .8rem; border: 1px solid var(--ink); border-radius: 100px; background: transparent; color: var(--ink); font-size: .73rem; font-weight: 900; transition: color .2s, background .2s; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: white; }
.gallery-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 185px; gap: .85rem; }
.gallery-item { min-width: 0; position: relative; overflow: hidden; padding: 0; border: 0; background: var(--ink); text-align: left; transition: opacity .25s, transform .25s; }
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: white; font-size: .68rem; font-weight: 900; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; text-shadow: 0 1px 5px black; }
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: translateY(0); }
.gallery-item span b { font-size: 1.5rem; }
.item-large { grid-column: span 2; grid-row: span 2; }
.item-tall { grid-row: span 2; }
.item-wide { grid-column: span 2; }

.join { padding-top: clamp(5.5rem, 13vw, 11rem); padding-bottom: clamp(5.5rem, 13vw, 11rem); text-align: center; background: var(--coral); color: white; position: relative; overflow: hidden; }
.join::before, .join::after { content: ''; position: absolute; width: 32vw; height: 32vw; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.join::before { left: -13vw; top: -12vw; }
.join::after { right: -14vw; bottom: -15vw; }
.join > * { position: relative; z-index: 1; }
.join h2 { margin-bottom: 1.2rem; color: white; }
.join h2 span { color: var(--lime); }
.join-copy { max-width: 44ch; margin: 0 auto 2rem; line-height: 1.55; }
.join-marks { display: flex; justify-content: center; gap: 3rem; margin-bottom: 1.7rem; color: var(--yellow); font-size: 1.4rem; }
.join-marks span:nth-child(2) { transform: translateY(-.8rem) scale(1.8); }

.site-footer { padding: 2.5rem clamp(1.25rem, 7vw, 7.5rem) 1.3rem; background: var(--ink); color: var(--cream); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 2rem; max-width: 1300px; margin: auto; padding-bottom: 2.4rem; }
.footer-logo { display: flex; align-items: center; gap: .8rem; color: white; font: 2.2rem/.68 var(--display); letter-spacing: -.06em; }
.footer-logo img { width: 64px; height: 64px; object-fit: contain; }
.footer-main p { margin: 0; color: #9bb3ad; line-height: 1.5; font-size: .85rem; }
.footer-top { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: var(--lime); font-size: 1.5rem; transition: background .2s, color .2s; }
.footer-top:hover { background: var(--lime); color: var(--ink); }
.footer-bottom { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; max-width: 1300px; margin: auto; color: #9bb3ad; font-size: .67rem; }

.lightbox { width: min(92vw, 1000px); border: 0; padding: .85rem; background: var(--ink); color: white; box-shadow: 0 20px 80px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(4, 11, 10, .82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { margin: .65rem 3rem .2rem .1rem; font-weight: 800; font-size: .82rem; }
.lightbox-close { position: absolute; right: .9rem; top: .9rem; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 2rem; line-height: 1; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { min-height: 72px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-content { max-width: 750px; }
  .hero-visual { width: min(100%, 610px); min-height: 460px; margin: 0 auto; }
  .hero-photo img { height: 420px; min-height: 0; }
  .intro { grid-template-columns: .12fr 1.1fr .75fr; gap: 2rem; }
  .surface-layout { grid-template-columns: 1fr .7fr; gap: 2.5rem; }
  .learn { grid-template-columns: .7fr 1fr; gap: 3rem; }
  .learn-art { min-height: 380px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { padding-top: 86px; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding-inline: 1.1rem;
  }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .main-nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) 1.25rem calc(.8rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(.35rem, 1.3vh, .65rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(102%);
    transition: transform .35s ease;
    font-family: var(--display);
    font-size: clamp(1.4rem, 7vw, 2rem);
    line-height: .98;
    letter-spacing: -.03em;
    z-index: 101;
  }
  .main-nav > a:not(.nav-cta) { white-space: nowrap; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { font-family: var(--body); font-size: .9rem; }
  h1 { font-size: clamp(4rem, 16vw, 6.5rem); }
  h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .hero-grid { padding-top: 3.4rem; padding-bottom: 3rem; }
  .hero-visual { min-height: 370px; margin-top: .6rem; }
  .hero-photo { width: min(86%, 470px); border-width: 7px; box-shadow: 10px 12px 0 var(--blue); }
  .hero-photo img { height: 330px; }
  .hero-ball { width: 70px; height: 70px; font-size: 1.55rem; right: 4%; }
  .stamp-one { top: 0; left: 0; }
  .stamp-two { right: 0; top: 16%; }
  .ticker-track { font-size: 1rem; }
  .intro { grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 5rem; gap: 2.4rem; }
  .intro-aside { flex-direction: row; }
  .vertical-label { writing-mode: horizontal-tb; transform: none; }
  .intro-photos { min-height: 330px; }
  .polaroid-back { height: 265px; }
  .polaroid-front { height: 280px; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; }
  .surface-layout { grid-template-columns: 1fr; margin-top: 3rem; }
  .surface-feature { min-height: 320px; }
  .learn { grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 5rem; gap: 2rem; }
  .learn-art { min-height: 330px; max-width: 380px; width: 100%; margin: auto; }
  .circle-yellow { width: 115px; height: 115px; }
  .circle-blue { width: 140px; height: 140px; }
  .circle-red { width: 105px; height: 105px; }
  .benefits-heading { grid-template-columns: 1fr; gap: 1rem; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .benefit-card { min-height: 220px; padding: 1rem; }
  .benefit-card h3 { font-size: 1.5rem; }
  .benefit-card p { font-size: .75rem; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .gallery-filters { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 155px; gap: .55rem; }
  .gallery-item span { opacity: 1; transform: none; font-size: .58rem; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-main p { grid-column: 1 / -1; grid-row: 2; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .hero-mini-stats { gap: .8rem; }
  .hero-mini-stats b { font-size: .8rem; }
  .hero-mini-stats span { font-size: .65rem; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Proteção adicional contra qualquer transbordamento horizontal em telas estreitas. */
@media (max-width: 720px) {
  html, body, main { max-width: 100%; overflow-x: clip; }
  .site-header, .hero, .intro, .playgrounds, .learn, .benefits, .gallery, .join, .site-footer { width: 100%; max-width: 100%; }
}


/* Arena, accessible heights, real-time simulation and institutional contact. */
.arena { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--cream); }
.arena-heading { max-width: 1040px; margin: 0 auto clamp(2.4rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 3rem; }
.arena-heading .eyebrow { grid-column: 1 / -1; }
.arena-heading h2 { margin: 0; }
.arena-heading h2 span { color: var(--blue); }
.arena-heading > p:last-child { max-width: 42ch; margin: 0 0 .3rem; line-height: 1.65; }
.arena-layout { max-width: 1040px; margin: auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.arena-diagram-card { padding: clamp(1.2rem, 3vw, 2rem); background: white; border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: 12px 14px 0 var(--blue); }
.arena-card-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.arena-card-top span:last-child { color: var(--blue); }
.arena-footprint { position: relative; width: 88%; margin: 2rem auto 3.8rem; aspect-ratio: 2 / 1; border: 3px solid var(--blue); background: #eaf0ff; }
.footprint-half { position: absolute; inset-block: 0; width: 50%; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(8,72,237,.035) 12px 14px); }
.footprint-left { left: 0; }
.footprint-right { right: 0; }
.footprint-center { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--blue); }
.footprint-length, .footprint-width { position: absolute; color: var(--blue); font-weight: 900; font-size: .78rem; }
.footprint-length { top: -1.55rem; left: 50%; transform: translateX(-50%); }
.footprint-width { right: -2.1rem; top: 50%; transform: translateY(-50%) rotate(90deg); }
.arena-measure-note { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.arena-measure-note span { font-size: .67rem; letter-spacing: .12em; font-weight: 900; }
.arena-measure-note strong { color: var(--blue); font-family: var(--display); font-size: 2.8rem; line-height: .9; }
.arena-measure-note small { font-size: .5em; }
.arena-options > .eyebrow { margin-bottom: .85rem; }
.height-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.height-choice { min-height: 105px; padding: .9rem .75rem; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; border: 1px solid var(--line); border-radius: .9rem; background: white; color: var(--ink); text-align: left; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.height-choice:hover { transform: translateY(-3px); }
.height-choice.is-active { background: var(--blue); border-color: var(--blue); color: white; }
.height-choice strong { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: .85; }
.height-choice span { font-size: .55rem; letter-spacing: .08em; font-weight: 900; }
.height-ground strong { font-size: 1.7rem; }
.height-description { min-height: 3.7rem; margin: 1rem 0; font-size: .88rem; line-height: 1.5; }
.pcd-note { padding: 1rem; display: grid; grid-template-columns: 36px 1fr; gap: .8rem; align-items: start; background: var(--yellow); border-radius: .8rem; }
.pcd-symbol { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.4rem; }
.pcd-note p { margin: 0; font-size: .8rem; line-height: 1.5; }
.height-indicator { --height-level: 90%; position: relative; height: 48px; margin-top: 1.1rem; padding-top: 1.3rem; border-bottom: 4px solid var(--ink); }
.height-indicator-line { position: absolute; left: 0; right: 0; bottom: 4px; border-top: 3px solid var(--coral); transform: translateY(calc(-1 * var(--height-level))); transition: transform .35s ease; }
.height-indicator-ground .height-indicator-label { display: none; }
.height-indicator small { position: absolute; left: 0; bottom: -1.35rem; font-size: .57rem; letter-spacing: .08em; font-weight: 900; }
.height-indicator small b { color: var(--blue); }
.height-indicator.is-ground .height-indicator-line { transform: translateY(0); }
.simulation { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.simulation::after { content: '4×8'; position: absolute; right: -2%; bottom: -24%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); font: clamp(10rem, 30vw, 28rem)/1 var(--display); pointer-events: none; }
.simulation-layout { position: relative; z-index: 1; max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.simulation-screen { padding: clamp(1rem, 3vw, 1.7rem); background: #182e2a; border: 1px solid rgba(255,255,255,.25); border-radius: 1.2rem; box-shadow: 14px 16px 0 var(--blue); }
.simulation-screen-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.simulation-screen-head b { color: var(--lime); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,108,88,.15); }
.simulation-court { position: relative; aspect-ratio: 2 / 1; border: 2px solid var(--lime); background: linear-gradient(135deg, rgba(8,72,237,.26), rgba(8,72,237,.06)); overflow: hidden; }
.simulation-midline { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed rgba(217,255,71,.7); }
.simulation-boundary { position: absolute; inset: 10%; border: 1px dashed rgba(255,255,255,.45); }
.simulation-boundary::before, .simulation-boundary::after { content: ''; position: absolute; inset-block: 0; width: 12%; border-block: 1px solid rgba(255,255,255,.6); }
.simulation-boundary::before { left: 0; border-left: 1px solid rgba(255,255,255,.6); }
.simulation-boundary::after { right: 0; border-right: 1px solid rgba(255,255,255,.6); }
.simulation-ball { position: absolute; left: 20%; top: 62%; z-index: 2; width: 22px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 7px rgba(255,216,73,.18); animation: ballTrace 4.5s ease-in-out infinite alternate; }
.simulation-scan { position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--coral); box-shadow: 0 0 22px 5px rgba(255,108,88,.35); animation: scanCourt 6s linear infinite; }
.simulation-edge-label { position: absolute; right: 8%; top: 7%; padding: .35rem .45rem; background: var(--lime); color: var(--ink); font-size: .5rem; letter-spacing: .08em; font-weight: 900; }
@keyframes ballTrace { 0% { left: 20%; top: 62%; } 55% { left: 66%; top: 28%; } 100% { left: 88%; top: 54%; } }
@keyframes scanCourt { to { left: 100%; } }
.simulation-alert { display: flex; align-items: center; gap: .8rem; padding: .9rem .2rem .15rem; }
.alert-check { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-weight: 900; }
.simulation-alert strong, .simulation-alert small { display: block; }
.simulation-alert strong { font-size: .78rem; }
.simulation-alert small { margin-top: .2rem; color: #a8bbb5; font-size: .63rem; }
.simulation-caption { margin: 1.3rem 0 0; color: #a8bbb5; font-size: .55rem; letter-spacing: .1em; text-align: right; }
.simulation-copy .eyebrow { color: var(--lime); }
.simulation-copy h2 { color: white; }
.simulation-copy h2 span { color: var(--lime); }
.simulation-copy > p:not(.eyebrow) { max-width: 48ch; line-height: 1.7; color: #d1ddd8; }
.contact { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--paper); }
.contact-heading { max-width: 1120px; margin: auto auto 3rem; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1rem 4rem; }
.contact-heading .eyebrow { grid-column: 1 / -1; }
.contact-heading h2 { margin: 0; }
.contact-heading h2 span { color: var(--coral); }
.contact-heading > p:last-child { max-width: 39ch; margin: 0 0 .3rem; line-height: 1.6; }
.contact-card { max-width: 1120px; margin: auto; padding: clamp(1.2rem, 3vw, 2rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; background: var(--blue); color: white; border-radius: 1.3rem; box-shadow: 12px 14px 0 var(--yellow); }
.contact-person { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact-person > span { margin-bottom: .7rem; color: var(--lime); font-size: .63rem; letter-spacing: .12em; font-weight: 900; }
.contact-person h3 { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; text-transform: uppercase; }
.contact-site { padding-bottom: .2rem; border-bottom: 1px solid rgba(255,255,255,.7); font-weight: 900; }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.contact-link { min-width: 0; min-height: 120px; padding: 1rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .65rem; border: 1px solid rgba(255,255,255,.5); border-radius: .8rem; transition: transform .2s, background .2s, color .2s; }
.contact-link:hover { transform: translateY(-4px); background: var(--lime); color: var(--ink); }
.contact-link > span { color: var(--lime); font-size: .59rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-link:hover > span { color: var(--blue); }
.contact-link strong { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(.86rem, 1.5vw, 1.1rem); }
.contact-link small { width: 100%; display: flex; justify-content: space-between; gap: .4rem; color: rgba(255,255,255,.75); font-size: .63rem; }
.contact-link:hover small { color: var(--ink); }
.contact-link small b { font-size: 1rem; }
.contact-whatsapp { background: rgba(217,255,71,.12); border-color: var(--lime); }

@media (max-width: 980px) {
  .arena-layout, .simulation-layout { gap: 2rem; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-person { padding-bottom: 1rem; }
  .simulation-copy h2 { font-size: clamp(3rem, 7vw, 5rem); }
}
@media (max-width: 720px) {
  .arena-heading, .contact-heading { grid-template-columns: 1fr; gap: 1rem; }
  .arena-heading .eyebrow, .contact-heading .eyebrow { grid-column: auto; }
  .arena-layout, .simulation-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .arena-diagram-card { box-shadow: 8px 10px 0 var(--blue); }
  .height-options { gap: .45rem; }
  .height-choice { min-height: 96px; padding: .7rem .55rem; }
  .height-choice strong { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  .height-choice span { font-size: .48rem; }
  .height-ground strong { font-size: 1.35rem; }
  .simulation-screen { box-shadow: 8px 10px 0 var(--blue); }
  .simulation-edge-label { font-size: .43rem; }
  .contact-card { gap: 1.3rem; box-shadow: 8px 10px 0 var(--yellow); }
  .contact-links { grid-template-columns: 1fr; }
  .contact-link { min-height: 95px; }
  .footer-bottom a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .simulation-ball, .simulation-scan { animation: none !important; }
}
