:root {
    --bg: #070A14;
    --bg2: #0B1124;
    --line: rgba(255, 255, 255, .09);
    --text: #EAF0FF;
    --mut: #9AA7C4;
    --cyan: #22D3F5;
    --blue: #1F7BF2;
    --grad: linear-gradient(135deg, #22D3F5, #1F7BF2);
    --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px
}

.wrap {
    width: min(1120px, 100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    margin-inline: auto
}

section {
    padding: 96px 0
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 600
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    max-width: 20ch
}

.lead {
    color: var(--mut);
    max-width: 56ch;
    margin-top: 16px
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid var(--line);
    transition: transform .2s, border-color .2s, box-shadow .2s;
    cursor: pointer;
    font-family: inherit;
    color: var(--text);
    background: transparent
}

.btn:hover {
    border-color: rgba(255, 255, 255, .3)
}

.btn.pri {
    background: var(--grad);
    border-color: transparent;
    color: #04101F;
    box-shadow: 0 8px 30px -8px rgba(34, 211, 245, .55)
}

.btn.pri:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px -8px rgba(34, 211, 245, .75)
}

/* link de acessibilidade */
.skip {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    background: var(--cyan);
    color: #04101F;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    transition: top .2s
}

.skip:focus {
    top: calc(10px + env(safe-area-inset-top, 0px))
}

/* header de vidro */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(7, 10, 20, .45);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px
}

.logo {
    height: 34px;
    width: auto
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .92rem;
    color: var(--mut)
}

.menu a:not(.btn):hover {
    color: var(--text)
}

.menu .btn {
    padding: 9px 18px;
    color: #04101F
}

.burger {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer
}

.burger span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: top .3s ease, transform .3s ease, opacity .2s ease
}

.burger span:nth-child(1) {
    top: 13px
}

.burger span:nth-child(2) {
    top: 19px
}

.burger span:nth-child(3) {
    top: 25px
}

.burger[aria-expanded="true"] span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg)
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.burger[aria-expanded="true"] span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg)
}

/* footer */
footer {
    border-top: 1px solid var(--line);
    background: #050813;
    padding: 70px 0 0
}

.fgrid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px
}

footer .logo {
    height: 32px;
    margin-bottom: 16px
}

footer p {
    color: var(--mut);
    font-size: .92rem;
    max-width: 34ch
}

footer h4 {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 14px
}

footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: .92rem;
    color: var(--mut)
}

footer li a:hover {
    color: var(--cyan)
}

.fbot {
    margin-top: 56px;
    padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    color: var(--mut);
    font-size: .85rem
}

.fbot nav {
    display: flex;
    gap: 22px
}

.fbot a:hover {
    color: var(--text)
}

/* conteúdo legal */
.legal {
    padding: 150px 0 90px
}

.legal .wrap {
    max-width: 780px
}

.legal h1 {
    font-size: clamp(2rem, 4.5vw, 3rem)
}

.legal .upd {
    color: var(--mut);
    margin: 12px 0 44px;
    font-size: .92rem
}

.legal h2 {
    font-size: 1.25rem;
    margin: 38px 0 10px;
    max-width: none
}

.legal p {
    color: var(--mut);
    margin-bottom: 12px
}

.legal .back {
    margin-top: 44px
}

@media(max-width:900px) {
    .legal {
        padding: 120px 0 70px
    }

    .fgrid {
        grid-template-columns: 1fr 1fr
    }

    .fgrid>div:first-child {
        grid-column: 1/-1
    }

    .burger {
        display: block
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 20px 26px;
        background: rgba(7, 10, 20, .85);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line)
    }

    .menu.open {
        display: flex
    }

    .menu a:not(.btn) {
        padding: 10px 0;
        width: 100%;
        font-size: 1rem
    }

    .menu .btn {
        width: 100%;
        padding: 13px 18px
    }

    .fbot {
        flex-direction: column
    }
}

@media(max-width:600px) {
    .wrap {
        width: min(1120px, 100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
    }

    .legal {
        padding: 104px 0 56px
    }

    .legal .back {
        width: 100%
    }
}

@media(max-width:520px) {
    .fgrid {
        grid-template-columns: 1fr
    }
}

@media(max-width:380px) {
    .logo {
        height: 30px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}