*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background-color: #22262B;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #F2F4F6;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    background-color: #22262B;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #acd0ff;
    text-decoration: none;
}

a:hover {
    color: #f2ffff;
    text-decoration: none;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 0 12px 0;
    background-color: #1A1D21;
}

header .logo {
    width: 200px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 15px 0 30px 0;
    flex-grow: 1;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 18px 16px;
    background-color: #1A1D21;
    text-align: center;
}

.em-breve {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    line-height: 50px;
    color: #8A939D;
}

/* idiomas: o <html data-lang> escolhe qual texto aparece; sem JavaScript fica o português */
html[data-lang="pt"] [data-l]:not([data-l="pt"]),
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="es"] [data-l]:not([data-l="es"]) {
    display: none !important;
}

.idiomas {
    display: flex;
    gap: 6px;
    font-size: 12px;
}

.idiomas a {
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #8A939D;
    font-weight: 600;
}

.idiomas a:hover {
    color: #F2F4F6;
}

.idiomas a[aria-current="true"] {
    border-color: #4A525B;
    color: #F2F4F6;
}

/* lojas */
.lojas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    padding: 10px 16px 0 16px;
}

.loja {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.loja-titulo {
    color: #C9D0D7;
}

.loja img {
    display: block;
    height: 54px;
    width: auto;
}

/* carrossel */
.carrossel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin-top: 34px;
    user-select: none;
    -webkit-user-select: none;
}

.palco {
    position: relative;
    height: min(72vh, 620px, calc((100vw - 32px) * 0.72 * 16 / 9));
    overflow: hidden;
    touch-action: pan-y;
}

.slide {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    aspect-ratio: 9 / 16;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    transition: transform .55s cubic-bezier(.22, .8, .3, 1), opacity .55s ease, filter .55s ease;
    cursor: pointer;
}

.slide.sem-transicao {
    transition: none;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.seta {
    position: absolute;
    top: 50%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid #4A525B;
    border-radius: 50%;
    background: rgba(26, 29, 33, .85);
    color: #F2F4F6;
    cursor: pointer;
    transition: background .2s;
}

.seta:hover {
    background: #343A41;
}

.seta svg {
    width: 22px;
    height: 22px;
}

.seta-anterior {
    left: 16px;
}

.seta-proxima {
    right: 16px;
}

.pontos {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.pontos button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #4A525B;
    cursor: pointer;
    transition: width .3s, background .3s;
}

.pontos button[aria-current="true"] {
    width: 22px;
    background: #7EA6C8;
}

/* seções de texto, como no wGravBr */
.session {
    width: 100%;
    max-width: 900px;
    padding: 26px 16px 0 16px;
    text-align: center;
}

.session-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.session-txt {
    margin-top: 10px;
    color: #C9D0D7;
    font-size: 15px;
}

.session-txt strong {
    color: #F2F4F6;
}

.destaque {
    margin-top: 30px;
}

.destaque .session-title {
    font-size: 36px;
}

.aviso {
    max-width: 640px;
    margin: 34px auto 0 auto;
    padding: 14px 18px;
    border: 1px solid #3F464E;
    border-radius: 10px;
    background: #1A1D21;
    color: #A9B2BC;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    margin-top: 4px;
}

/* aviso de cookies */
.cookies {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(100% - 32px, 760px);
    padding: 14px 16px;
    transform: translateX(-50%);
    border: 1px solid #4A525B;
    border-radius: 12px;
    background: #1A1D21;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .55);
    color: #C9D0D7;
    font-size: 13px;
}

.cookies[hidden] {
    display: none;
}

.cookies-texto strong {
    margin-right: 6px;
    color: #F2F4F6;
}

.cookies-botoes {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.botao {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.botao-primario {
    border: 1px solid #7EA6C8;
    background: #7EA6C8;
    color: #0B1726;
}

.botao-primario:hover {
    background: #96B9D6;
}

.botao-contorno {
    border: 1px solid #4A525B;
    background: transparent;
    color: #D5DBE1;
}

.botao-contorno:hover {
    background: #343A41;
}

@media (max-width: 600px) {
    .cookies {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        bottom: 10px;
    }

    .cookies-botoes .botao {
        flex: 1;
    }

    /* os dois selos lado a lado no celular */
    .lojas {
        flex-wrap: nowrap;
        gap: 14px;
        padding-top: 4px;
    }

    .loja-titulo {
        font-size: 12px;
    }

    .loja img {
        height: 44px;
    }

    .carrossel {
        margin-top: 28px;
    }

    .session {
        padding-top: 22px;
    }

    .session-title {
        font-size: 24px;
    }

    .destaque .session-title {
        font-size: 28px;
    }

    .session-txt {
        font-size: 14px;
    }

    .seta {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }

    .seta-anterior {
        left: 6px;
    }

    .seta-proxima {
        right: 6px;
    }
}
