.page-home > .top {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    border-color: #ebffff26;
    background: linear-gradient(180deg, #04131bc4, #04131b44);
}
.page-home .top-link, .page-home .site-nav a { color: #edf8f7; }
.page-home .top .outline { border-color: #ffffff68; background: #071e2b82; }
.page-home .top .outline:hover { background: #124051; }

.beach-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: max(100svh, 420px);
    display: flex;
    align-items: center;
    padding-block: 108px 111px;
    overflow: hidden;
    background: #0b454f;
    --crop-x: 64%;
}
.beach-scene, .beach-poster, .beach-render, .beach-render canvas, .beach-film {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.beach-scene { z-index: -2; }
.beach-poster, .beach-film { object-fit: cover; object-position: var(--crop-x) 50%; }
.beach-render { opacity: 0; transition: opacity .6s ease; }
.beach-hero.has-ocean .beach-render { opacity: 1; }
.beach-render canvas { display: block; }
.beach-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, #04161ddd, #04161da2 26%, #061d2461 44%, transparent 74%),
        linear-gradient(0deg, #04191dc7, transparent 24%);
    pointer-events: none;
}
.beach-content { position: relative; padding-bottom: 2vh; }
.beach-content .eyebrow {
    color: #ffe4ab;
    font-size: clamp(.68rem, 1.15vw, .82rem);
    text-shadow: 0 2px 10px #051014a6;
}
.beach-content h1 {
    margin-top: 15px;
    color: #f8f5ec;
    font-size: clamp(3.9rem, 7.6vw, 7.4rem);
    font-weight: 880;
    letter-spacing: -.068em;
    line-height: .94;
    text-shadow: 0 2px 30px #00161a60;
}
.beach-content h1 span, .beach-content h1 em { display: block; }
.beach-content h1 em { color: #ffce86; font-style: normal; }
.beach-controls {
    position: absolute;
    inset: auto 0 clamp(23px, 5svh, 52px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.beach-next, .beach-audio {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #fafcfa;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.2;
}
.beach-next { gap: 12px; }
.beach-arrow, .beach-audio {
    border: 1px solid #e7ffff73;
    background: #051d27a8;
    border-radius: 999px;
    transition: background-color .18s, border-color .18s;
}
.beach-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    font-size: 1.15rem;
}
.beach-audio { padding: 9px 13px; min-height: 38px; }
.beach-audio[hidden] { display: none; }
.beach-next:hover .beach-arrow, .beach-audio:hover, .beach-audio[aria-pressed="true"] {
    border-color: #ffc378;
    background-color: #143e44;
}

.demo-stage {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding-block: clamp(27px, 4.6svh, 50px);
    background: radial-gradient(ellipse 70% 80% at 50% 48%, #102e3b 0%, #0d1820 52%, #0a1016 100%);
    border-block: 1px solid #26414c;
}
.demo-inner {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: clamp(14px, 2.45svh, 26px);
}
.demo-heading { justify-items: center; text-align: center; margin: 0; }
.demo-heading h2 { font-size: clamp(2.25rem, 4.5vw, 4.45rem); }
.demo-heading p { font-size: clamp(.82rem, 1.36vw, 1rem); }
.demo-player {
    width: min(100%, 1050px, max(430px, calc((100svh - 240px) * 1.7778)));
    border-color: #51626c;
    box-shadow: 0 18px 60px #0008;
}
.demo-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 11px;
    padding: 14px;
    background:
        linear-gradient(180deg, #090f1b3b, #0714217a 64%, #06131bd2),
        url("copacabamar.webp") center 53% / cover;
    color: #f5f6f2;
    text-align: center;
    text-shadow: 0 2px 12px #020609;
    font-size: clamp(.85rem, 1.45vw, 1.1rem);
    font-weight: 650;
}
.demo-cover:focus-visible { outline-offset: -8px; }
.demo-play-icon {
    display: grid;
    place-items: center;
    width: clamp(48px, 7vw, 74px);
    aspect-ratio: 1;
    border: 1px solid #ffe0aee2;
    border-radius: 50%;
    background: #122027bb;
    transition: background .18s, color .18s;
    color: #ffd495;
}
.demo-play-icon::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-block: 9px solid transparent;
    border-left: 14px solid currentColor;
}
.demo-cover:hover .demo-play-icon, .demo-cover:focus-visible .demo-play-icon { color: #172023; background: #ffd495; }
.demo-empty { align-content: end; padding-bottom: clamp(14px, 3.5vw, 28px); }
.demo-empty p { color: #f4f1eb; }
.demo-next { color: #d3e2e6; font-size: .82rem; font-weight: 600; }
.demo-next span { margin-right: 4px; color: var(--gold); }
.demo-next:hover { color: var(--gold); }

.home-offer { padding-block: clamp(26px, 5vw, 70px) 0; background: #10151c; }
.home-offer .offer { margin-top: 0; }
.page-home .curriculum { border-top: 0; }

@media (max-width: 730px) {
    .beach-hero { --crop-x: 86%; }
    .beach-hero::after {
        background:
            radial-gradient(ellipse 115% 35% at 12% 51%, #04151dc7, #04172181 57%, transparent),
            linear-gradient(0deg, #021419ce, transparent 25%);
    }
    .beach-content h1 { font-size: clamp(3rem, 10.9vw, 5.55rem); }
    .demo-player { width: min(100%, 630px); }
}
@media (max-width: 360px) {
    .beach-content h1 { font-size: clamp(2.55rem, 11vw, 3rem); }
    .beach-next, .beach-audio { font-size: .78rem; gap: 6px; }
}
@media (max-height: 575px) and (min-width: 731px) {
    .beach-content h1 { font-size: min(11svh, 6.4rem); }
}
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
    html:has(.page-home) { scroll-snap-type: y proximity; }
    .page-home :is(#inicio, #demonstracao, #informacoes) { scroll-snap-align: start; scroll-margin: 0; }
}
.page-home :is(#inicio, #demonstracao, #informacoes) { scroll-margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
    .beach-render { display: none; }
}
