@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* Reset e configurações globais */
html {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Garantir que o header sempre fique no topo */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    background: #1B004D;
}

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

body {
    font-family: "Inconsolata", monospace;
    line-height: 1.6;
    min-height: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

/* Links */
a {
    color: #ffff;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1B004D;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(27, 0, 77, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2a0066;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 0, 77, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Header e Navegação */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo .logo-img {
    width: 150px;
    height: auto;
}

.menu {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
    font-family: "Kdam Thmor Pro", sans-serif;
    background: #1B004D;
    height: 12vh;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
}

.Contato {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #1b0049;
    border-radius: 11px;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.Contato:hover {
    background-color: #f0f0f0;
    color: #1b0049;
}

/* Menu Mobile */
.mobile-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    z-index: 1001;
}

/* Garantir que o header funcione corretamente em mobile */
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }
    
    .menu {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background: #ffff;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

/* Estilos para o menu mobile ativo */
.nav-list.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.nav-list.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Overlay para o menu mobile */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Seção Inicial */
.Inicio {
    background: url(Images/Bg-centro.png) no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    position: relative;
}

.main-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.titulo {
    font-size: 30px;
    font-family: "Lilita One", sans-serif;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.barra-com-textomenor {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.barra {
    width: 420px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.textomenor {
    font-size: 15.4px;
    font-family: "Inconsolata", monospace;
    font-style: italic;
    color: #ffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Seção Explicação do Jogo */
.explicacao-jogo {
    background: #06001f;
    padding: 80px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    min-height: 70vh;
}

.imagem1 .aimagem {
    border-radius: 4%;
    width: 500px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-imagem .imagem-logo {
    width: 350px;
    margin-left: 160px;
    position: relative;
    bottom: 90px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Responsividade - ajustes de centralização e espaçamento */
@media (max-width: 1024px) {
    .Inicio {
        align-items: center;
        justify-content: center;
        padding: 120px 16px 80px;
        background-position: center center;
    }

    .main-text {
        min-height: auto;
        padding: 0 12px;
    }

    .titulo {
        font-size: 26px;
    }

    .barra {
        width: min(320px, 70%);
    }

    .barra-com-textomenor {
        gap: 10px;
    }

    .explicacao-jogo {
        flex-direction: column;
        padding: 60px 24px;
        gap: 32px;
        text-align: center;
    }

    .imagem1 {
        display: flex;
        justify-content: center;
    }

    .imagem1 .aimagem {
        width: min(480px, 100%);
    }

    .logo-imagem {
        display: flex;
        justify-content: center;
    }

    .logo-imagem .imagem-logo {
        margin-left: 0;
        bottom: 0;
        width: min(280px, 70vw);
    }
}

@media (max-width: 600px) {
    .Inicio {
        padding: 120px 12px 72px;
    }

    .titulo {
        font-size: 22px;
        line-height: 1.25;
    }

    .barra {
        width: 180px;
    }

    .textomenor {
        font-size: 14px;
        text-align: center;
    }

    .explicacao-jogo {
        padding: 48px 16px;
        gap: 24px;
    }
}

.texto-logo p {
    position: relative;
    bottom: 200px;
    font-size: 32px;
    font-family: "Inconsolata", monospace;
    font-weight: 300;
    color: #ffff;
    max-width: 817px;
    line-height: 1.4;
    text-align: justify;
}

/* Seção Objetivos */
.objetivos {
    color: white;
    background: #0B003A;
    font-family: "Inconsolata", monospace;
    padding: 60px 0;
}

.objetivos h2 {
    font-family: "Lilita One", sans-serif;
    display: flex;
    justify-content: center;
    font-size: 96px;
    padding: 40px;
    text-align: center;
}

.objetivos p {
    font-family: "Inconsolata", monospace;
    font-size: 25px;
    font-weight: 200;
    line-height: 1.5;
    max-width: 96%;
}

.objetivos div {
    margin-left: 120px;
    margin-bottom: 40px;
}

.objetivos h3 {
    font-family: "Kdam Thmor Pro", sans-serif;
    font-size: 48px;
    font-weight: 200;
    margin-bottom: 20px;
}

.primeiro,
.segundo,
.terceiro,
.quarto {
    position: relative;
    margin-bottom: 40px;
}

.barra-vertical {
    content: '';
    position: absolute;
    top: 14px;
    left: -140px;
    width: 2px;
    height: 150px;
    background-color: white;
    border-radius: 3px;
}

.rodape blockquote {
    padding: 30px;
    display: flex;
    justify-content: center;
    font-size: 32px;
    font-family: "Livvic", sans-serif;
    font-weight: 200;
    font-style: italic;
    text-align: center;
}

/* Seção FAQ */
.faq {
    background: #06001f;
    color: white;
    font-family: "Inconsolata", monospace;
    padding: 60px 0;
}

.faq h2 {
    font-family: "Lilita One", sans-serif;
    display: flex;
    justify-content: center;
    font-size: 96px;
    padding: 40px;
    text-align: center;
}

.faq div {
    margin-left: 120px;
    margin-bottom: 40px;
}

.faq h3 {
    font-family: "Kdam Thmor Pro", sans-serif;
    font-weight: 200;
    font-size: 48px;
    margin-bottom: 20px;
}

.faq p {
    font-family: "Inconsolata", monospace;
    font-size: 25px;
    font-weight: 200;
    max-width: 1900px;
    line-height: 1.5;
}

.barra-lateral {
    position: relative;
    right: 120px;
    margin-top: 30px;
    width: calc(100vw - 240px);
    max-width: 1730px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

/* Footer */
.rodape-final {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
    min-height: 13vh;
    font-size: 26px;
    text-align: center;
    background: #1B004D;
    color: #ffff;
    padding: 20px;
    gap: 20px;
}

.logos-rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-rodape img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logos-rodape img:hover {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 1200px) {
    .main-text {
        padding: 40px 20px;
        min-height: 50vh;
        max-width: 1000px;
    }

    .explicacao-jogo {
        padding: 60px 80px;
        gap: 60px;
    }

    .objetivos div {
        margin-left: 80px;
        margin-right: 80px;
    }

    .faq div {
        margin-left: 80px;
        margin-right: 80px;
    }

    .barra-lateral {
        right: 80px;
        width: calc(100% - 160px);
    }
}

@media (max-width: 999px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #1B004D;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }

    .nav-list.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list li {
        margin: 12px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease-in-out;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-list li a {
        font-size: 16px;
        padding: 12px 15px;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }

    .mobile-menu {
        display: flex;
    }

    .Inicio {
        padding-top: 80px;
    }

    .titulo {
        font-size: 20px;
        padding: 10px;
    }

    .textomenor {
        font-size: 13px;
    }

    .barra {
        width: 217px;
    }

    .main-text {
        padding: 30px 15px;
        min-height: 40vh;
        max-width: 800px;
    }

    .explicacao-jogo {
        flex-direction: column;
        padding: 50px 20px;
        gap: 40px;
        min-height: auto;
    }

    .imagem1 {
        display: none;
    }

    .logo-imagem .imagem-logo {
        margin-left: 0;
        bottom: 0;
        width: 250px;
        filter: none;
    }

    .texto-logo p {
        bottom: 0;
        font-size: 24px;
        text-align: justify;
        max-width: 100%;
    }

    .objetivos h2 {
        font-size: 48px;
        padding: 20px;
    }

    .barra-vertical {
        display: none;
    }

    .objetivos h3 {
        font-size: 28px;
        text-align: center;
    }

    .objetivos p {
        font-size: 18px;
        text-align: center;
    }

    .objetivos div {
        margin-left: 20px;
        margin-right: 20px;
    }

    .rodape blockquote {
        font-size: 24px;
        padding: 20px;
    }

    .faq h2 {
        font-size: 48px;
        padding: 20px;
    }

    .faq h3 {
        font-size: 28px;
        text-align: center;
    }

    .faq p {
        font-size: 18px;
        text-align: center;
        max-width: 100%;
        margin: 0 20px;
    }

    .faq div {
        margin-left: 20px;
        margin-right: 20px;
    }

    .barra-lateral {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        margin: 20px 0;
    }

    .rodape-final {
        font-size: 20px;
        padding: 20px;
        height: auto;
        min-height: 13vh;
    }

    .logos-rodape {
        gap: 30px;
    }

    .logos-rodape img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .Inicio {
        padding-top: 60px;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-color: #06001f;
    }

    .main-text {
        padding: 20px 10px;
        min-height: 35vh;
        max-width: 600px;
    }

    .explicacao-jogo {
        padding: 40px 15px;
    }

    .objetivos div {
        margin-left: 15px;
        margin-right: 15px;
    }

    .faq div {
        margin-left: 15px;
        margin-right: 15px;
    }

    .logo-imagem .imagem-logo {
        width: 100%;
        margin-bottom: -100px;
        margin-top: -100px;
    }

    .texto-logo p {
        font-size: 18px;
    }

    /* Melhorias para o menu mobile em tablets */
    .nav-list li a {
        font-size: 16px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .Inicio {
        padding-top: 50px;
    }

    /* Otimizações específicas para o menu mobile em telas pequenas */
    .nav-list {
        justify-content: flex-start;
        padding-top: 80px;
        height: 100vh;
        overflow-y: auto;
    }

    .nav-list li {
        margin: 8px 0;
    }

    .nav-list li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .faq .barra-lateral {
        width: 60%;
        margin-left: 70px;
    }
    
    .main-text {
        padding: 15px 10px;
        min-height: 30vh;
        max-width: 100%;
        margin-top: 330px;
    }

    .titulo {
        font-size: 16px;
    }

    .textomenor {
        font-size: 11px;
    }

    .barra {
        width: 150px;
    }

    .objetivos h2 {
        font-size: 30px;
    }

    .objetivos h3 {
        font-size: 17px;
        text-align: center;
    }

    .objetivos p {
        font-size: 16px;
        text-align: justify;
    }

    .faq h2 {
        font-size: 30px;
    }

    .faq h3 {
        font-size: 17px;
    }

    .faq p {
        font-size: 16px;
    }

    .rodape-final {
        font-size: 14px;
    }

    .logos-rodape {
        gap: 20px;
    }

    .logos-rodape img {
        height: 40px;
    }

    .logo-imagem .imagem-logo {
        width: 100%;
        margin-bottom: -100px;
        margin-top: -100px;
    }

    .texto-logo p {
        font-size: 16px;
    }

    .mobile-menu {
        width: 28px;
        height: 28px;
    }

    .mobile-menu div {
        width: 28px;
        height: 2px;
    }
}

/* Regras específicas para telas muito pequenas (320px x 560px) */
@media (max-width: 360px) {
    .nav-list {
        padding-top: 60px;
        justify-content: flex-start;
    }

    .nav-list li {
        margin: 6px 0;
    }

    .nav-list li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .mobile-menu {
        width: 24px;
        height: 24px;
    }

    .mobile-menu div {
        width: 24px;
        height: 2px;
    }

    .menu {
        height: 10vh;
        padding: 10px 15px;
    }

    .logo .logo-img {
        width: 100px;
    }
}

/* Regras específicas para telas com altura limitada */
@media (max-height: 600px) {
    .nav-list {
        justify-content: flex-start;
    }

    .nav-list li {
        margin: 4px 0;
    }

    .nav-list li a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Regras específicas para dispositivos com tela muito pequena e altura limitada */
@media (max-width: 360px) and (max-height: 600px) {
    .nav-list {
        padding-top: 30px;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .nav-list li a {
        font-size: 15px;
        padding: 6px 10px;
    }
}

/* Ajustes para notebooks e telas médias */
@media (min-width: 1000px) and (max-width: 1600px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .menu {
        height: 12vh;
        padding: 12px 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .logo .logo-img {
        width: 100px;
    }
    
    .nav-list li {
        margin-left: 20px;
        font-size: 13px;
    }
    
    .Contato {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .Inicio {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .main-text {
        position: relative;
        top: -220px;        /* Move 50px para baixo */
        margin-top: 80px; /* Adiciona 80px de espaçamento do topo */
        padding: 15px 10px;
        max-width: 700px;
    }
    
    .titulo {
        font-size: 22px;
    }
    
    .textomenor {
        font-size: 12px;
    }
    
    .barra {
        width: 280px;
    }
    
    .explicacao-jogo {
        padding: 40px 60px;
        gap: 40px;
    }
    
    .imagem1 .aimagem {
        width: 320px;
    }
    
    .logo-imagem .imagem-logo {
        width: 220px;
        margin-left: 80px;
        bottom: 50px;
    }
    
    .texto-logo p {
        font-size: 20px;
        bottom: 120px;
        max-width: 500px;
    }
    
    .objetivos h2 {
        font-size: 48px;
        padding: 20px;
    }
    
    .objetivos h3 {
        font-size: 24px;
    }
    
    .objetivos p {
        font-size: 16px;
    }
    
    .objetivos div {
        margin-left: 60px;
    }
    
    .faq h2 {
        font-size: 48px;
        padding: 20px;
    }
    
    .faq h3 {
        font-size: 24px;
    }
    
    .faq p {
        font-size: 16px;
        max-width: 1200px;
    }
    
    .faq div {
        margin-left: 60px;
    }
    
    .barra-lateral {
        right: 60px;
        width: calc(100% - 120px);
    }
    
    .rodape-final {
        font-size: 18px;
        min-height: 10vh;
    }
}

/* Manter layout Desktop em telas menores (posições iguais) */
@media (min-width: 1000px) and (max-width: 1200px) {
    /* Navegação como no desktop */
    .nav-list {
        position: static;
        top: auto;
        right: auto;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        transform: none;
        transition: none;
        z-index: auto;
    }
    .nav-list li {
        margin-left: 32px;
        opacity: 1;
    }
    .mobile-menu { display: none; }

    /* Seção Explicação do Jogo como no desktop */
    .explicacao-jogo {
        flex-direction: row;
        padding: 80px 100px;
        gap: 80px;
        min-height: 70vh;
    }
    .imagem1 { display: block; }
    .logo-imagem .imagem-logo {
        margin-left: 160px;
        bottom: 90px;
        width: 350px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    .texto-logo p {
        bottom: 200px;
        font-size: 32px;
        text-align: left;
        max-width: 817px;
    }

    /* Seção Objetivos como no desktop */
    .objetivos h2 { font-size: 72px; padding: 40px; }
    .barra-vertical { display: block; }
    .objetivos h3 { font-size: 40px; text-align: left; }
    .objetivos p { font-size: 22px; text-align: left; }
    .objetivos div { margin-left: 120px; margin-right: 0; }
    .rodape blockquote { font-size: 28px; padding: 30px; }

    /* Seção FAQ como no desktop */
    .faq h2 { font-size: 72px; padding: 40px; }
    .faq h3 { font-size: 40px; text-align: left; }
    .faq p { font-size: 22px; text-align: left; max-width: 1900px; margin: 0; }
    .faq div { margin-left: 120px; margin-right: 0; }
    .barra-lateral {
        position: relative;
        left: auto;
        right: 120px;
        width: calc(100vw - 240px);
        max-width: 1730px;
        margin: 30px 0 0 0;
    }

    /* Rodapé como no desktop */
    .rodape-final {
        font-size: 26px;
        padding: 20px;
        min-height: 13vh;
    }
}

/* Ajustes específicos para telas entre 1000px e 1200px */
@media (min-width: 1000px) and (max-width: 1200px) {
    .menu {
        height: 11vh;
        padding: 10px 15px;
    }
    
    .logo .logo-img {
        width: 90px;
    }
    
    .nav-list li {
        margin-left: 18px;
        font-size: 12px;
    }
    
    .Contato {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .Inicio {
        min-height: 90vh;
        padding-top: 50px;
    }

    
    .titulo {
        font-size: 20px;
    }
    
    .textomenor {
        font-size: 11px;
    }
    
    .barra {
        width: 250px;
    }
    
    .explicacao-jogo {
        padding: 35px 40px;
        gap: 35px;
    }
    
    .imagem1 .aimagem {
        width: 280px;
    }
    
    .logo-imagem .imagem-logo {
        width: 200px;
        margin-left: 60px;
        bottom: 40px;
    }
    
    .texto-logo p {
        font-size: 18px;
        bottom: 100px;
        max-width: 450px;
    }
    
    .objetivos h2 {
        font-size: 36px;
        padding: 15px;
    }
    
    .objetivos h3 {
        font-size: 20px;
    }
    
    .objetivos p {
        font-size: 14px;
    }
    
    .objetivos div {
        margin-left: 50px;
    }
    
    .faq h2 {
        font-size: 36px;
        padding: 15px;
    }
    
    .faq h3 {
        font-size: 20px;
    }
    
    .faq p {
        font-size: 14px;
        max-width: 1000px;
    }
    
    .faq div {
        margin-left: 50px;
    }
    
    .barra-lateral {
        right: 50px;
        width: calc(100% - 100px);
    }
    
    .rodape-final {
        font-size: 16px;
        min-height: 9vh;
    }
}

/* Media query específica para notebooks com resoluções típicas */
@media (min-width: 1366px) and (max-width: 1440px) {
    .menu {
        height: 10vh;
        padding: 10px 20px;
    }
    
    .logo .logo-img {
        width: 85px;
    }
    
    .nav-list li {
        margin-left: 16px;
        font-size: 11px;
    }
    
    .Contato {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .Inicio {
        min-height: 85vh;
        padding-top: 45px;
    }
    
    .main-text {
        padding: 18px 12px;
        min-height: 28vh;
        max-width: 750px;
    }
    
    .titulo {
        font-size: 18px;
    }
    
    .textomenor {
        font-size: 10px;
    }
    
    .barra {
        width: 220px;
    }
    
    .explicacao-jogo {
        padding: 30px 35px;
        gap: 30px;
    }
    
    .imagem1 .aimagem {
        width: 250px;
    }
    
    .logo-imagem .imagem-logo {
        width: 180px;
        margin-left: 50px;
        bottom: 35px;
    }
    
    .texto-logo p {
        font-size: 16px;
        bottom: 85px;
        max-width: 400px;
    }
    
    .objetivos h2 {
        font-size: 32px;
        padding: 12px;
    }
    
    .objetivos h3 {
        font-size: 18px;
    }
    
    .objetivos p {
        font-size: 13px;
    }
    
    .objetivos div {
        margin-left: 40px;
    }
    
    .faq h2 {
        font-size: 32px;
        padding: 12px;
    }
    
    .faq h3 {
        font-size: 18px;
    }
    
    .faq p {
        font-size: 13px;
        max-width: 900px;
    }
    
    .faq div {
        margin-left: 40px;
    }
    
    .barra-lateral {
        right: 40px;
        width: calc(100% - 80px);
    }
    
    .rodape-final {
        font-size: 14px;
        min-height: 8vh;
    }
}

/* Media query para notebooks com resoluções menores */
@media (min-width: 1280px) and (max-width: 1365px) {
    .menu {
        height: 9vh;
        padding: 8px 18px;
    }
    
    .logo .logo-img {
        width: 80px;
    }
    
    .nav-list li {
        margin-left: 14px;
        font-size: 10px;
    }
    
    .Contato {
        padding: 3px 7px;
        font-size: 10px;
    }
    
    .Inicio {
        min-height: 80vh;
        padding-top: 40px;
    }
    
    .main-text {
        position: relative;
        top: 50px;
        margin-top: 80px;
        padding: 15px 10px;
        min-height: 25vh;
        max-width: 700px;
    }
    
    .titulo {
        font-size: 16px;
    }
    
    .textomenor {
        font-size: 9px;
    }
    
    .barra {
        width: 200px;
    }
    
    .explicacao-jogo {
        padding: 25px 30px;
        gap: 25px;
    }
    
    .imagem1 .aimagem {
        width: 220px;
    }
    
    .logo-imagem .imagem-logo {
        width: 160px;
        margin-left: 40px;
        bottom: 30px;
    }
    
    .texto-logo p {
        font-size: 14px;
        bottom: 75px;
        max-width: 350px;
    }
    
    .objetivos h2 {
        font-size: 28px;
        padding: 10px;
    }
    
    .objetivos h3 {
        font-size: 16px;
    }
    
    .objetivos p {
        font-size: 12px;
    }
    
    .objetivos div {
        margin-left: 35px;
    }
    
    .faq h2 {
        font-size: 28px;
        padding: 10px;
    }
    
    .faq h3 {
        font-size: 16px;
    }
    
    .faq p {
        font-size: 12px;
        max-width: 800px;
    }
    
    .faq div {
        margin-left: 35px;
    }
    
    .barra-lateral {
        right: 35px;
        width: calc(100% - 70px);
    }
    
    .rodape-final {
        font-size: 13px;
        min-height: 7vh;
    }
}

/* Melhorias visuais para o menu mobile */
@media (max-width: 999px) {
    .nav-list {
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-list li a {
        position: relative;
        overflow: hidden;
    }
    
    .nav-list li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s;
    }
    
    .nav-list li a:hover::before {
        left: 100%;
    }
    
    /* Animação de entrada para os itens do menu */
    .nav-list.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-list.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-list.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-list.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-list.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-list.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-list.active li:nth-child(7) { transition-delay: 0.7s; }
}

/* Otimizações específicas para telas ultrawide (2340 x 1080) */
@media only screen and (max-width: 420px) and (min-width: 400px) {
    body {
        font-size: 20px;
        line-height: 1.7;
    }
    
    /* Header otimizado para telas ultrawide */
    .menu {
        height: 10vh;
        padding: 15px 40px;
    }
    
    .logo .logo-img {
        width: 180px;
    }
    
    .nav-list li {
        font-size: 18px;
        letter-spacing: 4px;
    }
    
    .Contato {
        padding: 12px 24px;
        font-size: 18px;
        border-radius: 12px;
    }
    
    /* Seção Inicial otimizada */
    .Inicio {
        min-height: 140vh;
        padding-top: 80px;
    }
    
    .main-text {
        padding: 35px 25px;
        min-height: 45vh;
        max-width: 1100px;
        
    }
    
    .titulo {
        font-size: 18px;
    }
    
    .textomenor {
        font-size: 14px;
    }
    
    .barra {
        width: 350px;
    }
    
    /* Seção Explicação do Jogo otimizada */

    
    .imagem1 .aimagem {
        width: 400px;
    }
    
    .logo-imagem .imagem-logo {
        width: 100%;
        margin: 0 auto;
        bottom: 70px;
    }
    
    .texto-logo p {
        font-size: 18px;
        bottom: 160px;
        max-width: 3700px;
        text-align: justify;
    }
    
    /* Seção Objetivos otimizada */
    .objetivos h2 {
        font-size: 30px;
    }
    
    .objetivos h3 {
        font-size:22px;
        text-align: justify;

    }
    
    .objetivos p {
        font-size: 22px;
        text-align: justify;
    }
    
    /* Seção FAQ otimizada */
    .faq h2 {
        font-size: 30px;
    }
    
    .faq h3 {
        font-size: 20px;
    }
    
    .faq p {
        font-size: 22px;
        text-align: justify;
    }
    
    .barra-lateral {
        right: 100px;
        width: calc(100% - 200px);
    }
    
    /* Rodapé otimizado */
    .rodape-final {
        font-size: 20px;
        text-align: center;
        min-height: 12vh;
    }
}

/* Otimizações para telas muito grandes (acima de 2500px) */
@media (min-width: 2500px) {
    body {
        font-size: 20px;
        line-height: 1.8;
    }
    
    /* Header para telas muito grandes */
    .menu {
        height: 8vh;
        padding: 20px 60px;
    }
    
    .logo .logo-img {
        width: 200px;
    }
    
    .nav-list li {
        margin-left: 50px;
        font-size: 20px;
        letter-spacing: 5px;
    }
    
    .Contato {
        padding: 15px 30px;
        font-size: 20px;
        border-radius: 15px;
    }
    
    /* Seção Inicial para telas muito grandes */
    .Inicio {
        min-height: 160vh;
        padding-top: 100px;
    }
    
    .main-text {
        padding: 40px 30px;
        min-height: 50vh;
        max-width: 1200px;
    }
    
    .titulo {
        font-size: 30px;
    }
    
    .textomenor {
        font-size: 16px;
    }
    
    .barra {
        width: 400px;
    }
    
    /* Seção Explicação do Jogo para telas muito grandes */
    .explicacao-jogo {
        padding: 80px 100px;
        gap: 80px;
    }
    
    .imagem1 .aimagem {
        width: 450px;
    }
    
    .logo-imagem .imagem-logo {
        width: 320px;
        margin: 0 auto;
        bottom: 80px;
    }
    
    .texto-logo p {
        font-size: 32px;
        bottom: 180px;
        max-width: 800px;
        text-align: center;
    }
    
    /* Seção Objetivos para telas muito grandes */
    .objetivos h2 {
        font-size: 90px;
        padding: 40px;
    }
    
    .objetivos h3 {
        font-size: 44px;
    }
    
    .objetivos p {
        font-size: 24px;
    }
    
    .objetivos div {
        margin-left: 120px;
        margin-right: 120px;
        max-width: 1800px;
    }
    
    /* Seção FAQ para telas muito grandes */
    .faq h2 {
        font-size: 90px;
        padding: 40px;
    }
    
    .faq h3 {
        font-size: 44px;
    }
    
    .faq p {
        font-size: 24px;
        max-width: 1800px;
    }
    
    .faq div {
        margin-left: 120px;
        margin-right: 120px;
    }
    
    .barra-lateral {
        right: 120px;
        width: calc(100% - 240px);
    }
    
    /* Rodapé para telas muito grandes */
    .rodape-final {
        font-size: 26px;
        min-height: 14vh;
    }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 6/7/8 PLUS ===== */
/* iPhone 6/7/8 Plus: 414px × 736px */
@media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) {
    /* Ajustes específicos para o header */
    .menu {
        height: 11vh;
        padding: 15px 25px;
    }
    
    .logo .logo-img {
        width: 130px;
    }
    
    /* Navegação mobile otimizada para iPhone Plus */
    .nav-list {
        padding-top: 90px;
        justify-content: flex-start;
    }
    
    .nav-list li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease-in-out;
    }
    
    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-list li a {
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 8px;
        margin: 0 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-list li a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    /* Menu mobile otimizado */
    .mobile-menu {
        width: 30px;
        height: 30px;
    }
    
    .mobile-menu div {
        width: 30px;
        height: 3px;
        border-radius: 2px;
    }
    
    /* Seção inicial otimizada para iPhone Plus */
    .Inicio {
        padding-top: 70px;
        min-height: 100vh;
    }
    
    .main-text {
        padding: 25px 20px;
        min-height: 45vh;
        max-width: 380px;
        margin-top: -250px;
    }
    
    .titulo {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .textomenor {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .barra {
        width: 280px;
        height: 4px;
    }
    
    /* Seção explicação do jogo otimizada */
    .explicacao-jogo {
        padding: 50px 25px;
        gap: 30px;
        min-height: auto;
    }
    
    .logo-imagem .imagem-logo {
        width: 280px;
        margin: 0 auto 20px;
        bottom: 0;
        display: block;
    }
    
    .texto-logo p {
        font-size: 20px;
        bottom: 0;
        text-align: center;
        max-width: 100%;
        line-height: 1.6;
        margin-top: 20px;
    }
    
    /* Seção objetivos otimizada */
    .objetivos {
        padding: 50px 0;
    }
    
    .objetivos h2 {
        font-size: 42px;
        padding: 25px 20px;
        line-height: 1.2;
    }
    
    .objetivos div {
        margin: 0 25px 35px;
        text-align: center;
    }
    
    .objetivos h3 {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .objetivos p {
        font-size: 18px;
        line-height: 1.5;
        text-align: justify;
    }
    
    .rodape blockquote {
        font-size: 20px;
        padding: 25px 20px;
        line-height: 1.4;
    }
    
    /* Seção FAQ otimizada */
    .faq {
        padding: 50px 0;
    }
    
    .faq h2 {
        font-size: 42px;
        padding: 25px 20px;
        line-height: 1.2;
    }
    
    .faq div {
        margin: 0 25px 35px;
        text-align: center;
    }
    
    .faq h3 {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .faq p {
        font-size: 18px;
        line-height: 1.5;
        text-align: justify;
        max-width: 100%;
        margin: 0;
    }
    
    .barra-lateral {
        width: 80%;
        margin: 25px auto 0;
        height: 4px;
    }
    
    /* Rodapé otimizado */
    .rodape-final {
        font-size: 18px;
        padding: 25px 20px;
        min-height: 12vh;
        line-height: 1.4;
    }
    
    /* Botão voltar ao topo otimizado */
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Melhorias de acessibilidade para iPhone Plus */
    .nav-list li a:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }
    
    /* Otimizações de performance para iPhone Plus */
    .Inicio {
        background-attachment: scroll;
    }
    
    /* Ajustes de espaçamento para melhor usabilidade */
    .nav-list li:not(:last-child) {
        margin-bottom: 20px;
    }
    
    /* Melhor contraste para elementos interativos */
    .Contato {
        background-color: #ffffff;
        color: #1b0049;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .Contato:hover {
        background-color: #f8f8f8;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS EM ORIENTAÇÃO LANDSCAPE ===== */
@media only screen and (min-width: 736px) and (max-width: 736px) and (min-height: 414px) and (max-height: 414px) {
    /* Header otimizado para landscape */
    .menu {
        height: 8vh;
        padding: 10px 20px;
    }
    
    .logo .logo-img {
        width: 100px;
    }
    
    /* Navegação landscape */
    .nav-list {
        padding-top: 70px;
        justify-content: flex-start;
    }
    
    .nav-list li {
        margin: 8px 0;
    }
    
    .nav-list li a {
        font-size: 16px;
        padding: 12px 15px;
        margin: 0 15px;
    }
    
    /* Seção inicial landscape */
    .Inicio {
        padding-top: 50px;
        min-height: 100vh;
    }
    
    .main-text {
        padding: 20px 15px;
        min-height: 40vh;
        max-width: 600px;
        margin-top: -200px;
    }
    
    .titulo {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .textomenor {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .barra {
        width: 250px;
    }
    
    /* Seção explicação landscape */
    .explicacao-jogo {
        padding: 40px 20px;
        gap: 25px;
    }
    
    .logo-imagem .imagem-logo {
        width: 200px;
        margin: 0 auto 15px;
    }
    
    .texto-logo p {
        font-size: 18px;
        text-align: center;
        margin-top: 15px;
    }
    
    /* Seção objetivos landscape */
    .objetivos h2 {
        font-size: 36px;
        padding: 20px 15px;
    }
    
    .objetivos div {
        margin: 0 20px 25px;
    }
    
    .objetivos h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .objetivos p {
        font-size: 16px;
    }
    
    /* Seção FAQ landscape */
    .faq h2 {
        font-size: 36px;
        padding: 20px 15px;
    }
    
    .faq div {
        margin: 0 20px 25px;
    }
    
    .faq h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .faq p {
        font-size: 16px;
    }
    
    .barra-lateral {
        width: 70%;
        margin: 20px auto 0;
    }
    
    /* Rodapé landscape */
    .rodape-final {
        font-size: 16px;
        padding: 20px 15px;
        min-height: 10vh;
    }
    
    /* Botão voltar ao topo landscape */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS COM DENSIDADE DE PIXEL ALTA ===== */
@media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Otimizações para telas Retina */
    .logo .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .imagem1 .aimagem,
    .logo-imagem .imagem-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Melhor renderização de fontes para telas Retina */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Ajustes de sombra para telas Retina */
    .back-to-top {
        box-shadow: 0 2px 8px rgba(27, 0, 77, 0.4);
    }
    
    .Contato {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS COM SUPORTE A SAFARI ===== */
@supports (-webkit-touch-callout: none) {
    @media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) {
        /* Otimizações específicas para Safari no iOS */
        .Inicio {
            background-attachment: scroll;
            -webkit-background-size: cover;
            background-size: cover;
        }
        
        /* Melhor suporte para viewport do Safari */
        .main-text {
            padding: 25px 20px;
            min-height: 45vh;
            max-width: 380px;
            margin-top: -250px;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Otimizações de scroll para Safari */
        .nav-list {
            -webkit-overflow-scrolling: touch;
        }
        
        /* Melhor suporte para elementos fixos no Safari */
        .back-to-top {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }
    }
}

/* ===== Preloader e animações com GSAP ===== */
body.is-loading {
    overflow: hidden;
}

.page-content {
    opacity: 1;
    transform: none;
}

body.is-loading .page-content {
    opacity: 0;
    transform: translateY(12px);
}

.preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #0f1a2f 0%, #060911 50%, #02040a 100%);
    z-index: 9999;
}

.preloader-logo {
    width: clamp(160px, 20vw, 240px);
    filter: drop-shadow(0 8px 24px rgba(0, 255, 255, 0.35));
}

[data-animate="fade-up"] {
    opacity: 1;
    transform: none;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* ===== Scroll suave e barra personalizada ===== */
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #3fe5ff #060911;
    scroll-behavior: smooth; /* garante rolagem suave inclusive em body */
}

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #060911;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.45);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3fe5ff 0%, #6f45ff 100%);
    border: 2px solid #060911;
    border-radius: 12px;
    box-shadow:
        0 0 10px rgba(63, 229, 255, 0.35),
        0 0 18px rgba(111, 69, 255, 0.28);
    transition: background 200ms ease, box-shadow 200ms ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5df0ff 0%, #8a62ff 100%);
    box-shadow:
        0 0 14px rgba(93, 240, 255, 0.45),
        0 0 22px rgba(138, 98, 255, 0.35);
}