:root {
    color-scheme: light dark;
    font-family: system-ui, sans-serif;
    --ink: #12334b; --muted: #365b70; --paper: #edf8fc;
    --surface: #fff; --blue: #dceffa; --green: #def5f3;
    --accent: #086a80; --line: #9bc6d7;
    --brand-dark: #123f64; --discovery: #FFD45A;
    --coral: #F26B5E; --information: #4B7BEC;
    color: var(--ink); line-height: 1.65;
}
:root h1, :root h2, :root h3, :root .button {
    font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}
:root .hero-note { background: var(--surface); }
.art-stack { position: relative; isolation: isolate; padding: 1.5rem; max-width: 20rem; margin-inline: auto; }
.art-stack::before, .art-stack::after {
    content: ""; position: absolute; inset: 2rem; border-radius: 1.25rem;
    background: var(--discovery); transform: rotate(-10deg); z-index: -1;
}
.art-stack::after { background: var(--coral); transform: rotate(8deg); }
.app-art { display: block; width: 100%; height: auto; }
.companion { display: block; width: min(10rem, 100%); height: auto; aspect-ratio: 1; object-fit: contain; }
.hero-companion { position: absolute; right: -.25rem; bottom: -.25rem; width: 40%; }
.theme-art { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: .75rem; background: var(--paper); }
.companion-panel > .companion { margin-bottom: 1rem; }
.mascot-intro { max-width: 45rem; }
.mascot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1rem); margin-block: 1.3rem; }
.mascot-card { min-width: 0; padding: clamp(.75rem, 1.5vw, 1.25rem); border: 2px solid rgb(25 151 232 / .32); border-radius: 1.2rem; background: rgb(255 255 255 / .88); box-shadow: 0 6px 18px rgb(12 56 83 / .1); text-align: center; }
.mascot-card img { display: block; width: min(100%, 10rem); height: auto; aspect-ratio: 1; object-fit: contain; margin-inline: auto; }
.mascot-card h3 { margin: .35rem 0; color: #123f64; }
.mascot-card p { margin: 0; font-size: .92rem; line-height: 1.45; }
@media (max-width: 60rem) { .mascot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .mascot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:root .theme-grid { max-width: 48rem; }
:root .button { color: #fff; }
@media (prefers-color-scheme: dark) {
    :root .button { background: #086a80; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
* { box-sizing: border-box; }
body {
    margin: 0;
    padding-bottom: 25px;
    background-color: var(--paper);
    background-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 60%, rgba(92, 166, 194, 0.11) 100%), image-set(url("/images/aventura-azul.webp") type("image/webp"), url("/images/aventura-azul.png") type("image/png"));
    background-position: center center, center var(--theme-background-offset, 0px);
    background-size: 100% 100%, auto max(100vh, 177.6833vw);
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
}
.site-header, footer { background: var(--surface); }
main > section:not(.hero) {
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--surface);
    border-radius: 1.5rem;
}
:root .hero {
    /*none*/
}
.hero > div, .hero-note { min-width: 0; }
.hero > div {
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--surface);
    border-radius: 1.5rem;
}
.hero-landscape { margin: 0; min-width: 0; overflow: hidden; border-radius: 1rem; background: #102637; }
.hero-scene { position: relative; aspect-ratio: 16 / 9; }
.hero-scene::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, transparent 50%, rgb(0 0 0 / .72));
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.hero-landscape.is-playing .hero-video { visibility: visible; }
.hero-art-caption { display: flex; align-items: center; gap: .625rem; padding: .75rem; color: #fff; background: #07121d; font-weight: 750; line-height: 1.3; }
.hero-landscape img.hero-star { width: 2.875rem; height: 2.875rem; flex: 0 0 2.875rem; object-fit: contain; }
.hero-landscape.is-playing .hero-star { animation: hero-twinkle 1.15s ease-in-out infinite alternate; }
@keyframes hero-twinkle {
    from { transform: scale(.94) rotate(-6deg); opacity: .88; }
    to { transform: scale(1.09) rotate(6deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-landscape .hero-video { visibility: hidden; }
}
@media (forced-colors: active) {
    .hero-art-caption { color: CanvasText; background: Canvas; }
}
.hero-landscape img:not(.hero-faisca) {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}
.hero-landscape figcaption {
    padding: .75rem;
    color: var(--ink);
    background: var(--surface);
    border-radius: 0 0 1rem 1rem;
}
.hero-landscape + .hero-note { grid-column: 1 / -1; }
@media (forced-colors: active) {
    body, :root .hero { background-image: none; }
}
header, main, footer {
    max-width: 76rem;
    margin-inline: auto;
    padding: 12px;
    padding-top: 25px;
}
a { color: var(--accent); text-underline-offset: .25em; overflow-wrap: anywhere; }
a:focus-visible, main:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.brand span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.preview-label, .small { font-size: .875rem; color: var(--muted); }
.preview-label { border: 1px solid var(--line); border-radius: 2rem; padding: .3rem .75rem; }
.skip-link { position: absolute; top: -10rem; padding: 1rem; background: var(--surface); z-index: 1; }
.skip-link:focus { top: 1rem; left: 1rem; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 5vw, 4rem); background: var(--blue); border-radius: 2rem; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.04em; margin-block: .5em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-block: .4em .75em; }
h3 { font-size: 1.2rem; line-height: 1.35; }
p { max-width: 65ch; }
.lead { font-size: 1.25rem; }
.eyebrow { font-size: .85rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-block: 1.75rem; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .85rem 1.25rem; background: var(--accent); color: var(--surface); border-radius: .85rem; font-weight: 750; text-decoration: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hero-note, .panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; }
.hero-note h2 { font-size: 1.8rem; }
.decorative-star { font-size: 3rem; color: var(--accent); }
section + section { margin-top: clamp(3rem, 7vw, 6rem); }
section { scroll-margin-top: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-left: 1.5rem; }
.steps li { padding: .5rem; }
.steps li::marker { font-size: 1.3rem; color: var(--accent); font-weight: 800; }
.notice { padding: 1.25rem; border-left: .3rem solid var(--accent); background: var(--green); border-radius: 0 1rem 1rem 0; max-width: none; }
.split-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.theme-card { border: 4px solid #1d99ffbf !important; border-radius: 1.25rem; padding: 1.5rem; }
.blue { background: var(--blue); }
.emerald { background: var(--green); }
.swatch { display: block; height: .5rem; width: 3rem; border-radius: 1rem; background: var(--accent); }
.blue .swatch { background: #356493; }
.video-section { background: var(--green); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; }
.video-placeholder { display: flex; flex-direction: column; justify-content: center; min-height: 16rem; border: 2px dashed var(--accent); border-radius: 1rem; padding: 1.5rem; background: var(--surface); }
.availability { display: grid; grid-template-columns: minmax(0, 222px) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: 1.5rem; }
.availability-content { min-width: 0; }
footer {
    border: 9px solid rgba(0, 124, 255, 0.17);
    border-radius: 1.8rem;
    background: linear-gradient(48deg, #FFFFFF69 100%, #0396FF2E 100%);
    box-shadow: 0 5px 20px rgb(12 56 83 / .18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--muted);
    text-align: center;
    margin-bottom: 0px;
    margin-top: 7px;
    padding: 15px;
}
.footer-heart { color: #e53935; font-size: 1.2em; }
.footer-links { justify-content: center; gap: .25rem 1.4rem; margin-bottom: .35rem; }
.footer-links a { color: #123f64; }
footer > p { max-width: none; margin: .5rem 0 0; }
main > .legal-page { max-width: 56rem; margin-inline: auto; padding: clamp(1.25rem, 3vw, 2rem); background: rgb(255 255 255 / .96); border: 1px solid rgb(255 255 255 / .8); border-radius: 1.5rem; box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.legal-page > h1 { margin: .3rem 0 .5rem; font-size: clamp(2rem, 5vw, 3.3rem); }
.legal-page > .eyebrow { margin: 0; }
.legal-page > p { max-width: 72ch; }
.legal-updated { color: var(--muted); font-size: .9rem; }
.legal-section { padding-block: 1rem; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.legal-section p, .legal-section ol { margin: 0; max-width: 72ch; }
.legal-section li + li { margin-top: .5rem; }
.legal-related { padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 48rem) {
    .hero, .split-section, .steps, .theme-grid { grid-template-columns: 1fr; }
    .hero { gap: 1rem; }
    .site-header { align-items: flex-start; }
    nav { width: 100%; }
}
@media (prefers-color-scheme: dark) {
    :root { --ink: #e7f5ff; --muted: #bed7e7; --paper: #102637; --surface: #163449; --blue: #1d405a; --green: #16444c; --accent: #8ee4ec; --line: #638b9f; }
    .blue .swatch { background: #9fc8f0; }
}
@media (forced-colors: active) {
    .button, .hero, .hero-note, .panel, .notice, .theme-card, .video-placeholder { border: 1px solid CanvasText; }
}

/* Aventura Azul: componentes da Home iOS adaptados ao site. */
html { scroll-behavior: smooth; background: #78bdfb; }
body { background-color: #dceffa; }
section { scroll-margin-top: 6rem; }
.site-header {
    position: sticky;
    top: 0.55rem;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0;
    width: calc(100% - 1.5rem);
    padding: 12px;
    padding-top: 9px;
    border: 9px solid rgba(0, 124, 255, 0.17);
    border-radius: 1.8rem;
    background: linear-gradient(48deg, #ABDCFF85 100%, #0396FF30 100%);
    box-shadow: 0 5px 20px rgb(12 56 83 / .18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    margin: auto;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; color: #183440; font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.brand img { width: 4.6rem; height: 4.6rem; flex: none; border-radius: 0.7rem; }
.brand span { display: block; font-size: 28px; font-weight: inherit; color: inherit; }
.brand small { display: block; margin-top: .18rem; color: #3c5b68; font-family: system-ui, sans-serif; font-size: 1.02rem; font-weight: 550; }
.app-nav { display: grid; grid-template-columns: repeat(4, minmax(4.25rem, 1fr)); gap: .15rem; padding: .25rem; border: 1px solid rgb(154 199 220 / .55); border-radius: 999px; background: rgb(221 239 249 / .76); }
.app-nav a { display: grid; justify-items: center; align-content: center; gap: .1rem; min-height: 3.25rem; padding: .3rem .7rem; border-radius: 999px; color: #202d35; font-size: .74rem; font-weight: 720; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.app-nav a:hover { background: rgb(0 109 191 / .08); }
.app-nav a[aria-current="location"] { background: rgb(0 109 191 / .13); color: #005795; }
.nav-icon { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; }
.nav-icon svg { width: 1.15rem; height: 1.15rem; }
.app-nav a[aria-current="location"] .nav-icon { color: #fff; background: linear-gradient(145deg, #078cdb, #005caa); box-shadow: 0 2px 8px rgb(0 109 191 / .3); }
.site-header > .preview-label { font-size: .72rem; white-space: nowrap; }

main > section:not(.hero) { background: rgb(255 255 255 / .96); border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.hero { gap: clamp(1rem, 2.2vw, 1.5rem); align-items: stretch; padding: clamp(.75rem, 2.5vw, 1.8rem); box-shadow: 0 12px 28px rgb(3 51 86 / .18); }
.hero-landscape { position: relative; grid-column: 1; grid-row: 1; align-self: start; border-radius: 1.4rem; box-shadow: 0 8px 20px rgb(0 29 56 / .22); }
.hero-visual { position: relative; overflow: hidden; }
.hero-scene > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-scene > .hero-faisca { position: absolute; z-index: 1; top: 29%; left: 79%; width: 15%; height: auto; max-height: 42%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 2px 5px rgb(255 255 255 / .7)); transform: translate(-50%, -50%); animation: hero-faisca-flight 3.6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes hero-faisca-flight { from { transform: translate(-50%, calc(-50% + 5px)) rotate(-4deg) scale(.97); } to { transform: translate(-50%, calc(-50% - 7px)) rotate(5deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hero-scene > .hero-faisca { animation: none; } }
.hero-art-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: clamp(.7rem, 1.8vw, 1.1rem); background: transparent; font-size: clamp(.95rem, 1.65vw, 1.3rem); text-shadow: 0 1px 3px rgb(0 0 0 / .42); }
.hero-landscape img.hero-star { width: 2.875rem; height: 2.875rem; flex: 0 0 2.875rem; object-fit: contain; }
.hero-landscape figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-note { grid-column: 1 / -1; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1.25rem; align-items: center; padding: 1rem 1.4rem; background: rgb(255 255 255 / .94); border: 1px solid rgb(255 255 255 / .8); border-radius: 1.3rem; box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.hero-note .art-stack { grid-row: 1 / 5; width: 6.6rem; padding: .5rem; }
.hero-note .art-stack::before, .hero-note .art-stack::after { inset: .8rem; }
.hero-note h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.hero-note p { margin-block: .2rem; }
.hero-note .hero-companion { width: 35%; }
.eyebrow { display: inline-block; width: fit-content; max-width: 100%; padding: .32rem .72rem; border-radius: 999px; background: #1d99ff; color: #fff; font-size: .76rem; letter-spacing: .04em; }
.button { min-height: 52px; border: 2px solid rgb(255 212 90 / .72); border-radius: 1.1rem; background: linear-gradient(135deg, #0a9480, #035e61); box-shadow: 0 5px 11px rgb(0 70 77 / .26); color: #fff; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 14px rgb(0 70 77 / .32); }
.steps { gap: 1rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.1rem; border: 1px solid var(--line); border-radius: 1.1rem; background: #f1f9fc; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .8rem; border-radius: 50%; background: #056b68; color: #fff; font-weight: 800; }
.steps li::marker { content: ""; }
.panel, .video-placeholder { border-color: var(--line); background: #f1f9fc; }
@media (max-width: 65rem) {
    .site-header { grid-template-columns: minmax(0, 1fr) auto; }
    .site-header > .preview-label { display: none; }
}
@media (max-width: 48rem) {
    .site-header { grid-template-columns: 1fr; }
    .brand { justify-self: center; font-size: .98rem; }
    .brand img { width: 4.6rem; height: 4.6rem; }
    .app-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
    .app-nav a { min-width: 0; min-height: 3.2rem; padding: .25rem .1rem; font-size: .69rem; }
    .hero-landscape { grid-column: 1; grid-row: 1; }
    .hero-note { grid-column: 1; grid-template-columns: 4.8rem minmax(0, 1fr); gap: .2rem .8rem; padding: .75rem; }
    .hero-note .art-stack { width: 4.7rem; }
    .hero-note .small { display: none; }
    .hero-note h2 { font-size: 1.18rem; }
    .hero-art-caption { font-size: .92rem; }
    .hero-landscape .hero-star { width: 2.3rem; height: 2.3rem; flex-basis: 2.3rem; }
    section { scroll-margin-top: 8rem; }
}
@media (prefers-color-scheme: dark) {
    body { background-color: #102637; }
    .site-header, footer, main > section:not(.hero), .hero-note { background: rgb(23 54 74 / .96); border-color: #638b9f; }
    .brand, .app-nav a { color: #edf8fc; }
    .brand small, .hero-landscape figcaption { color: #c7dce8; }
    .app-nav { background: rgb(18 45 65 / .88); }
    .app-nav a[aria-current="location"] { color: #a8e4ff; }
    .steps li, .panel, .video-placeholder { background: #22475b; color: #edf8fc; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .app-nav a, .button { transition: none; }
}
@media (forced-colors: active) {
    body, .hero { background-image: none; }
    .site-header, .hero-note, .app-nav a[aria-current="location"] { border: 1px solid CanvasText; box-shadow: none; }
    .hero-art-caption { color: CanvasText; background: Canvas; text-shadow: none; }
}

/* A dobra desktop usa a arte inteira como palco, com a mensagem sobre a cena. */
.discovery-section { margin-top: clamp(1rem, 2vw, 1.5rem); padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.discovery-section .hero-note { width: 100%; margin: 0; }
.store-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 52rem; margin: 1.5rem auto 1rem; }
@media (min-width: 68.01rem) {
    .hero { position: relative; display: block; padding: 0; overflow: hidden; background: #102637; }
    .hero-landscape { width: 100%; margin: 0; border-radius: inherit; box-shadow: none; }
    .hero-scene { aspect-ratio: 16 / 9; }
    .hero-scene > img:first-child, .hero-video { object-fit: cover; }
    .hero-scene::after { background: linear-gradient(90deg, rgb(0 21 38 / .33), transparent 65%), linear-gradient(to bottom, transparent 65%, rgb(0 0 0 / .52)); }
    .hero-art-caption { left: auto; right: 1rem; bottom: 1rem; width: auto; max-width: 22rem; border-radius: 1rem; background: rgb(0 23 38 / .55); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
    .discovery-section .hero-note { grid-template-columns: 7.5rem minmax(0, 1fr); }
}
@media (min-width: 48.01rem) and (max-width: 68rem) {
    .hero { display: flex; flex-direction: column; }
    .hero-landscape { order: -1; width: 100%; }
    .hero-scene > img:first-child, .hero-video { object-fit: cover; }
}
@media (max-width: 48rem) {
    .store-options { grid-template-columns: 1fr; max-width: 21rem; }
}
@media (forced-colors: active) {
    .store-options .hero-shortcut { border: 1px solid CanvasText; }
}

/* Composição das caixas baseada na Home e na Ajuda do aplicativo. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main > section + section { margin-top: clamp(1rem, 2.5vw, 2rem); }
.hero { display: block; padding: 0; overflow: visible; background: none; box-shadow: none; }
.hero-landscape { width: 100%; border-radius: 1.4rem; }
.hero-scene { aspect-ratio: 16 / 9; }
.hero-scene > img:first-child, .hero-video { object-fit: cover; }
.hero-scene::after { background: linear-gradient(to bottom, transparent 45%, rgb(0 0 0 / .72)); }
.hero-art-caption { right: 0; bottom: 0; left: 0; width: auto; max-width: none; padding: clamp(.9rem, 2vw, 1.5rem); border-radius: 0; background: transparent; font-size: clamp(1.05rem, 2vw, 1.75rem); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-art-caption > span { display: grid; gap: .15rem; }
.hero-art-caption strong { font: inherit; font-weight: 780; }
.hero-art-caption small { font-size: .72em; font-weight: 500; }
.hero-main-action { display: flex; flex-direction: column; justify-content: center; gap: .4rem; width: 100%; min-height: 138px; padding: 1rem; border-color: rgb(255 212 90 / .78); border-radius: 1.4rem; background: linear-gradient(135deg, #0a9480, #035e61); font-size: clamp(1.15rem, 2vw, 1.6rem); }
.scan-symbol { width: 4.2rem; height: 4.2rem; color: #ffd45a; }
.discovery-section { display: grid; grid-template-columns: minmax(0, 6fr) minmax(320px, 1fr); align-items: stretch; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.store-downloads { grid-column: 2; grid-row: 1; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .75rem; min-width: 0; }
.hero-shortcut { display: grid; place-items: center; width: 100%; min-width: 0; min-height: 109px; overflow: hidden; border: 0; border-radius: .72rem; background: #000; box-shadow: none; text-decoration: none; }
.store-badge { display: block; width: 76%; height: auto; object-fit: contain; }
.hero-shortcut:hover .store-badge { filter: brightness(1.12); }
.availability .small { max-width: none; margin-inline: auto; font-size: clamp(1.125rem, 2vw, 1.35rem); text-align: center; }
.availability-mascot { position: relative; width: 100%; max-width: 222px; aspect-ratio: 1; margin: 0 auto; isolation: isolate; }
.availability-mascot img { display: block; width: auto; max-width: 222px; height: auto; object-fit: contain; animation: mascot-bob 3.6s ease-in-out infinite; }
.mascot-glow { position: absolute; z-index: 1; top: 54%; left: 53%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 252 190 / .67), rgb(255 203 58 / .2) 54%, transparent 72%); filter: blur(3px); transform: translate(-50%, -50%); mix-blend-mode: screen; animation: mascot-glow 1.8s ease-in-out infinite alternate; pointer-events: none; }
.mascot-spark { position: absolute; z-index: 2; top: 53%; left: 53%; width: 5%; aspect-ratio: 1; background: #fff9c3; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px #ffd34d); opacity: 0; animation: mascot-spark-rise 2.4s ease-out infinite; pointer-events: none; }
.mascot-spark-1 { --spark-x: -28px; --spark-y: -47px; animation-delay: 0s; }
.mascot-spark-2 { --spark-x: 24px; --spark-y: -63px; animation-delay: .6s; }
.mascot-spark-3 { --spark-x: -10px; --spark-y: -74px; animation-delay: 1.2s; }
.mascot-spark-4 { --spark-x: 37px; --spark-y: -39px; animation-delay: 1.8s; }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes mascot-glow { from { opacity: .62; scale: .92; } to { opacity: 1; scale: 1.18; } }
@keyframes mascot-spark-rise { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.25); } 18% { opacity: 1; } 72% { opacity: .9; } 100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(1.15) rotate(60deg); } }
@media (prefers-reduced-motion: reduce) { .availability-mascot img, .mascot-glow, .mascot-spark { animation: none; } .mascot-glow { opacity: .65; } }
@media (max-width: 40rem) { .availability { grid-template-columns: 1fr; } .availability-mascot { width: min(42vw, 180px); } .availability-mascot img { width: 100%; } }
.discovery-section .hero-note { grid-column: 1; min-height: 0; }
.how-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; gap: clamp(.75rem, 1.5vw, 1.25rem); margin-bottom: 1rem; }
.how-intro-copy { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid rgb(255 255 255 / .8); border-radius: 1.25rem; background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.how-intro-copy .eyebrow { margin: 0; }
.how-intro-copy .section-titlebar { margin: .4rem 0 .6rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
.how-intro-copy > p:last-child { margin: 0; }
.section-titlebar { width: 100%; margin: .55rem 0 1rem; padding: .8rem 1.2rem; border: 1px solid rgb(255 255 255 / .8); border-radius: 1.1rem; background: rgb(255 255 255 / .96); box-shadow: 0 5px 15px rgb(8 44 69 / .11); font-size: clamp(1.35rem, 2.5vw, 2rem); }
main > :is(#como-funciona, #colecao, #temas, #demonstracao, #ajuda) { padding: 0; background: none; border: 0; box-shadow: none; }
#como-funciona > p:not(.eyebrow, .notice), #temas > p:not(.eyebrow, .small), #temas > .small { width: fit-content; max-width: 100%; margin: 0 0 1rem; padding: .75rem 1.2rem; border-radius: 1rem; background: rgb(255 255 255 / .96); box-shadow: 0 5px 15px rgb(8 44 69 / .11); }
.steps { display: block; margin: 0; padding: .25rem 1.2rem; border: 1px solid rgb(255 255 255 / .8); border-radius: 1.25rem; background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .8rem; align-items: center; margin: 0; padding: 1rem 0; border: 0; border-radius: 0; background: none; }
.steps li + li { border-top: 1px solid #d9e2e8; }
.steps li::before { grid-column: 1; grid-row: 1 / 3; margin: 0; }
.steps h3 { grid-column: 2; margin: 0; }
.steps li p { grid-column: 2; margin: .25rem 0 0; max-width: none; }
#como-funciona .notice { margin: 1rem 0 0; }
#colecao, #demonstracao { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: 1rem; }
.section-copy, #colecao > .panel, #demonstracao > .video-placeholder { height: 100%; padding: clamp(1rem, 2.4vw, 1.5rem); border: 1px solid rgb(255 255 255 / .8); border-radius: 1.25rem; background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.section-copy .section-titlebar { margin-top: .45rem; }
.section-copy > p:last-child, #colecao > .panel > p:last-child, #demonstracao > .video-placeholder > p:last-child { margin-bottom: 0; }
#demonstracao > .video-placeholder { display: block; min-height: 0; border: 1px solid rgb(255 255 255 / .8); }
.theme-card { background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.theme-carousel { position: relative; box-sizing: border-box; width: 100%; padding-inline: clamp(1.8rem, 4vw, 3rem); background: #ffffffa8; border-radius: 15px; border: 9px solid #ffffff8a; margin-bottom: 15px; }
:root .theme-carousel .theme-grid { display: flex; gap: .85rem; width: 100%; max-width: none; overflow-x: auto; padding: .35rem .1rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.theme-carousel .theme-card { flex: 0 0 clamp(9rem, 18vw, 13rem); min-width: 0; scroll-snap-align: start; }
.theme-carousel .theme-card h3 { margin: .55rem 0 .2rem; font-size: 1rem; }
.theme-carousel .theme-card p { margin: 0; font-size: .8rem; line-height: 1.35; }
.theme-carousel .theme-art { aspect-ratio: 9 / 16; height: auto; border-radius: .6rem; object-fit: contain; }
.theme-carousel-button { position: absolute; top: 38%; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid #a9dbf1; border-radius: 50%; background: #f5fcff; color: #123f64; box-shadow: 0 4px 12px rgb(8 44 69 / .18); font: 700 2rem/1 system-ui; cursor: pointer; }
.theme-carousel-button:hover { background: #d9f3ff; }
.theme-carousel-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme-carousel-button[data-theme-previous] { left: 0; }
.theme-carousel-button[data-theme-next] { right: 0; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.help-grid > .panel { height: 100%; padding: 1.2rem; border: 1px solid rgb(255 255 255 / .8); background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.help-grid .companion { float: right; width: 4rem; height: 4rem; margin: 0 0 .4rem .7rem; }
.help-grid .eyebrow { margin: 0; }
.help-grid h3 { margin: .8rem 0; }
.help-grid .text-link { margin-top: .35rem; }
#privacidade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .6rem 2rem; align-items: start; }
#privacidade h2 { grid-row: span 2; margin: 0; font-size: clamp(1.4rem, 2.5vw, 2rem); }
#privacidade p { margin: 0; }
@media (max-width: 68rem) {
    .hero { display: block; }
}
@media (max-width: 48rem) {
    .discovery-section, .how-intro { grid-template-columns: 1fr; }
    .store-downloads { grid-column: 1; grid-row: auto; width: min(100%, 21rem); justify-self: center; }
    .hero-shortcut { min-height: 101px; }
    .hero-main-action { min-height: 118px; }
    #colecao, #demonstracao, .help-grid { grid-template-columns: 1fr; }
    #privacidade { grid-template-columns: 1fr; }
    #privacidade h2 { grid-row: auto; }
    .hero-landscape .hero-star { width: 2.4rem; height: 2.4rem; flex-basis: 2.4rem; }
    .hero-art-caption { font-size: clamp(.9rem, 3.5vw, 1.15rem); }
}
@media (prefers-color-scheme: dark) {
    .how-intro-copy, .section-titlebar, .steps, .section-copy, #colecao > .panel, #demonstracao > .video-placeholder, .theme-card, .help-grid > .panel, main > .legal-page { color: #edf8fc; background: rgb(23 54 74 / .96); border-color: #638b9f; }
    .footer-links a { color: #edf8fc; }
    .steps li + li { border-color: #638b9f; }
}
@media (forced-colors: active) {
    .hero-main-action, .how-intro-copy, .section-titlebar, .steps, .section-copy, .help-grid > .panel { border: 1px solid CanvasText; box-shadow: none; }
}

/* Créditos: mesma identidade azul e superfícies claras do aplicativo. */
main > section.credits-page { max-width: 76rem; margin-inline: auto; padding: 0; background: none; border: 0; box-shadow: none; }
.credits-intro { display: grid; grid-template-columns: minmax(130px, 222px) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgb(255 255 255 / .82); border-radius: 1.6rem; background: linear-gradient(125deg, rgb(255 255 255 / .98), rgb(225 246 255 / .94)); box-shadow: 0 12px 28px rgb(3 51 86 / .16); }
.credits-intro h1 { max-width: 16ch; margin: .55rem 0 .7rem; font-size: clamp(2rem, 5vw, 3.9rem); }
.credits-intro .eyebrow { margin: 0; }
.credits-intro img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 15px rgb(5 82 99 / .18)); }
.credits-lead { max-width: 60ch; margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.55; }
.credits-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1rem, 2.5vw, 2rem); }
.credits-person, .credits-story { padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid rgb(255 255 255 / .85); border-radius: 1.4rem; background: rgb(255 255 255 / .96); box-shadow: 0 8px 22px rgb(8 44 69 / .13); }
.credits-person { border-top: 6px solid #0a9caa; }
.credits-person-idea { border-top-color: #f2a826; }
.credits-person-mark { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 1rem; background: #fff0c8; color: #9a5b00; font-size: 2rem; line-height: 1; }
.credits-person-build .credits-person-mark { background: #d9f5ff; color: #075b81; }
.credits-role { margin: 1rem 0 .3rem; color: #075b81; font-size: .82rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.credits-person h2 { margin: 0 0 .9rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.credits-person p:last-child { margin-bottom: 0; }
.credits-story { margin-top: clamp(1rem, 2.5vw, 2rem); background: linear-gradient(125deg, rgb(255 255 255 / .98), rgb(230 250 245 / .96)); }
.credits-story .eyebrow { margin: 0; }
.credits-story h2 { margin: .5rem 0 .8rem; }
.credits-story p { max-width: 78ch; }
.credits-signature { color: #075b81; font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif; font-size: 1.4rem; font-weight: 800; }
.credits-signature span { color: #e53935; }
.credits-story .button { margin-top: .25rem; }
@media (max-width: 48rem) {
    .credits-intro { grid-template-columns: 1fr; gap: .5rem; }
    .credits-intro .availability-mascot { width: min(40vw, 160px); justify-self: center; }
    .credits-people { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
    .credits-intro, .credits-person, .credits-story { color: #edf8fc; background: rgb(23 54 74 / .96); border-color: #638b9f; }
    .credits-person-idea { border-top-color: #f2a826; }
    .credits-person-build { border-top-color: #0a9caa; }
    .credits-role, .credits-signature { color: #8ee4ec; }
}
@media (forced-colors: active) {
    .credits-intro, .credits-person, .credits-story { border: 1px solid CanvasText; box-shadow: none; }
}

/* Idioma sempre visível no cabeçalho, inclusive em telas estreitas. */
.language-switcher { position: relative; justify-self: end; color: #183440; font-family: system-ui, sans-serif; }
.language-switcher summary { display: grid; grid-template-columns: 28px 10px; align-items: center; justify-content: center; column-gap: 3px; width: 54px; height: 44px; padding: .35rem; border: 1px solid rgb(154 199 220 / .75); border-radius: 999px; background: rgb(235 249 255 / .9); cursor: pointer; list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::marker { content: ""; }
.language-switcher summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); justify-self: center; align-self: center; }
.language-switcher[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-switcher img { display: block; flex: none; width: 28px; height: 20px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(0 0 0 / .18); }
.language-switcher summary:focus-visible, .language-switcher a:focus-visible { outline: 3px solid #075b81; outline-offset: 2px; }
.language-options { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 60; width: max-content; min-width: 15rem; max-width: calc(100vw - 2rem); padding: .35rem; border: 1px solid #a8d3e6; border-radius: .9rem; background: #fff; box-shadow: 0 8px 22px rgb(8 44 69 / .24); }
.language-options a { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .45rem .65rem; border-radius: .55rem; color: #12334b; text-decoration: none; font-size: .9rem; }
.language-options a:hover, .language-options a[aria-current="page"] { background: #e3f4ff; }
.language-options a span[aria-hidden="true"] { margin-left: auto; }
@media (max-width: 48rem) {
    .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
    .site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
    .site-header .brand img { width: 2.8rem; height: 2.8rem; }
    .site-header .brand span { font-size: clamp(1rem, 4.6vw, 1.35rem); }
    .site-header .brand small { font-size: .7rem; }
    .site-header .app-nav { grid-column: 1 / -1; grid-row: 2; }
    .site-header .language-switcher { grid-column: 2; grid-row: 1; }
    .language-switcher summary { padding: .35rem; }
}
@media (forced-colors: active) { .language-switcher summary, .language-options { border: 1px solid CanvasText; } }
