/* Importa as fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@300;400;500;600;700&display=swap');

/* Fonte local Edo SZ */
@font-face {
    font-family: 'Edo SZ';
    src: url('images/edosz.woff2') format('woff2'),
         url('images/edosz.woff') format('woff'),
         url('images/edosz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Previne scroll horizontal global */
    width: 100%;
    scroll-behavior: smooth; /* Adiciona scroll suave para âncoras */
}

body {
    font-family: 'Montserrat Alternates', sans-serif;
    background: transparent; /* Remove fundo branco padrão */
    overflow-x: hidden; /* Previne scroll horizontal */
    width: 100%;
    padding-top: 90px; /* Compensa altura da navbar fixa aumentada */
}

/* Hero Section */
.hero {
    width: 100%;
    min-height: calc(100vh - 90px); /* Altura mínima em vez de fixa */
    height: auto; /* Permite que a altura se adapte ao conteúdo */
    background-image: url('images/fundosite.png');
    background-size: cover; /* Preenche totalmente o fundo */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito parallax opcional */
    background-color: transparent; /* Garante que não há fundo branco */
    position: relative;
    overflow: visible; /* Permite que elementos se estendam além dos limites */
    padding-bottom: 2rem; /* Espaço no final para separar da próxima seção */
}

/* Fundo vertical atrás do aluno */
.hero-fundo-aluno {
    position: absolute;
    top: -23%;
    left: 0;
    width: 100%;
    height: 150%; /* Altura expandida para evitar cortes */
    background-image: url('images/fundoaluno.png');
    background-size: cover; /* Mostra a imagem completa sem cortes */
    background-position: left bottom; /* Alinhado à esquerda e na base */
    background-repeat: no-repeat;
    pointer-events: none; /* Não interfere com interações */
    z-index: 1; /* Fica atrás do aluno */
}

/* Imagem do aluno no canto inferior esquerdo */
.hero-aluno {
    position: absolute;
    bottom: -2%;
    left: 5%;
    width: 100%; /* Reduzido de 120% para evitar overflow */
    height: 100%; /* Altura proporcional ao hero */
    background-image: url('images/aluno.png');
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
    aspect-ratio: 1/1; /* Mantém proporção da imagem */
    max-width: 50%; /* Limita largura máxima */
    pointer-events: none; /* Não interfere com interações */
    z-index: 3; /* Fica na frente do fundo (z-index 1) */
}

/* Hero fade - sobreposta às demais imagens */
.hero-fade {
    position: absolute;
    top: 27%;
    left: 0%; /* Começa no fim da imagem do aluno (aproximadamente) */
    width: 100%; /* Largura ajustada para não sair da tela */
    height: 100%; /* Altura expandida para evitar cortes */
    background-image: url('images/herofade.png');
    background-size: 100% 100%; /* Força preenchimento total do espaço */
    background-position: left top; /* Alinhado à esquerda e topo */
    background-repeat: no-repeat;
    pointer-events: none; /* Não interfere com interações */
    z-index: 10; /* Por cima de todas as outras imagens */
}

/* Conteúdo de texto no lado direito do hero */
.hero-content {
    position: absolute;
    right: 10%; /* Margem da direita */
    top: 27%;
    transform: translateY(-70%); /* Centraliza verticalmente */
    width: 100%; /* Largura do conteúdo de texto */
    max-width: 800px; /* Largura máxima para legibilidade */
    color: #333;
    z-index: 30; /* Garante que fica sobre todos os elementos, incluindo o fade */
}

/* Título principal */
.hero-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 3.5vh;   
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ce0000; /* Cor escura para contraste */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* Sombra sutil para legibilidade */
}

/* Subtítulo/descrição */
.hero-subtitle {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsivo fluido: mín 1rem, ideal 2.5% viewport, máx 1.2rem */
    font-weight: 400;
    line-height: 1.6;
    color: #ce0000; /* Cor um pouco mais clara que o título */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6); /* Sombra sutil para legibilidade */
    margin: 0;
}

/* Formulário do hero */
.hero-form {
    position: absolute;
    right: 10%; /* Alinhado com o conteúdo de texto */
    top: 38%; /* Posicionado abaixo do texto */
    width: 100%;
    max-width: 400px; /* Largura máxima do formulário */
    height: 570px; /* Ajustado para coincidir com o iframe */
    z-index: 40; /* Por cima de todos os elementos, incluindo texto */
    background: linear-gradient(90deg, #ce0000, #ff5c00); /* Gradiente linear 90 graus */
    border-radius: 8px; /* Bordas arredondadas para um visual mais suave */
    padding: 1rem 1rem 0 1rem; /* Padding para acomodar o título */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

/* Título do formulário */
.hero-form-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Responsivo fluido: mín 0.9rem, ideal 2% viewport, máx 1.1rem */
    color: white;
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* Navbar */
.navbar {
    background-color: white;
    padding: 1rem 0; /* Aumentado de 1rem para 1.5rem */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Fixa a navbar no topo */
    top: 0; /* Posiciona no topo da página */
    left: 0; /* Alinha à esquerda */
    width: 100%; /* Ocupa toda a largura */
    z-index: 1000000; /* Z-index muito alto para ficar acima de tudo */
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 75px; /* Aumentado de 40px para 50px */
    width: auto;
}

/* Imagem tema da navbar */
.navbar-tema {
    display: flex;
    align-items: center;
}

.navbar-tema img {
    height: 75px; /* Aumentado de 30px para 40px */
    width: auto;
    object-fit: contain;
}

/* Responsividade para telas menores que 1110px */
@media (max-width: 1110px) {
    .hero {
        overflow: visible; /* Previne overflow horizontal e vertical */
        min-height: calc(100vh - 90px); /* Altura controlada */
        max-height: calc(100vh - 90px); /* Limita altura máxima */
    }
    
    .hero-content {
        max-width: 800px; /* Garante que não ultrapasse a largura da tela */
        max-height: 100%;
        right: 25%; /* Reduz margem direita */
    }
    
    .hero-form {
        max-width: 100%; /* Limita largura do formulário */
        right: 5%; /* Reduz margem direita */
        top: 40%; /* Reduz posição vertical para evitar overflow */
        height: 570px; /* Reduz altura para caber na viewport */
        z-index: 10000;
    }
    
    .links-section {
        margin-top: -8rem; /* Margin negativo reduzido para evitar sobreposição */
    }
    hero-form
    .links-container {
        margin: 0 auto; /* Remove margin de 40px, mantém centralização */
        padding: 2rem; /* Adiciona padding interno para compensar */
    }
}

/* Responsividade específica para tablets grandes (769px a 1110px) */
@media (max-width: 1110px) and (min-width: 769px) {
    .hero {
        overflow: visible; /* Permite que elementos sejam visíveis */
        min-height: calc(100vh - 90px);
        max-height: none; /* Remove limitação de altura máxima */
        padding-bottom: 12rem; /* Adiciona espaço para o formulário */
    }
    
    .hero-form {
        top: 45%; /* Posição mais alta para evitar overflow */
        height: 520px; /* Altura adequada */
        max-width: 400px; /* Largura ajustada */
        right: 5%; /* Posicionamento à direita para não sobrepor o texto */
    }
    
    .hero-aluno {
        max-width: 50%;
        top: 2%;
    }

    .hero-fundo-aluno {
        position: absolute;
        top: -25%;
        left: 0;
        width: 100%;
        height: 150%; /* Altura expandida para evitar cortes */
        background-image: url('images/fundoaluno.png');
        background-size: cover; /* Mostra a imagem completa sem cortes */
        background-position: left bottom; /* Alinhado à esquerda e na base */
        background-repeat: no-repeat;
        pointer-events: none; /* Não interfere com interações */
        z-index: 1; /* Fica atrás do aluno */
    }
    
    .hero-content {
        top: 25%; /* Posição ligeiramente mais alta */
        max-width: 600px; /* Largura limitada para não sobrepor o formulário */
        left: 10%; /* Posicionamento à esquerda */
        right: auto; /* Remove posicionamento à direita */
        transform: translateY(-50%); /* Apenas centralização vertical */
        text-align: left; /* Alinhamento à esquerda */
    }
    
    .hero-title {
        white-space: normal; /* Permite quebra de linha */
        word-wrap: break-word; /* Quebra palavras longas se necessário */
        line-height: 1.3; /* Melhora espaçamento entre linhas */
    }
    
    .hero-subtitle {
        white-space: normal; /* Permite quebra de linha */
        word-wrap: break-word; /* Quebra palavras longas se necessário */
        line-height: 1.5; /* Melhora espaçamento entre linhas */
    }
}

/* Responsividade do Hero e Navbar */
@media (max-width: 768px) {
    .hero {
        overflow: visible; /* Permite que elementos sejam visíveis */
        min-height: calc(100vh - 90px);
        max-height: none; /* Remove limitação de altura máxima */
        padding-bottom: 12rem; /* Adiciona espaço para o formulário */
    }
    .hero-content {
        top: 15%; /* Posição na parte superior */
        left: 50%; /* Centralizado horizontalmente */
        right: auto; /* Remove posicionamento à direita */
        transform: translateX(-50%) translateY(-50%); /* Centraliza completamente */
        max-width: 90%; /* Largura responsiva */
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }
    .hero-form {
        top: 65%; /* Centralizado verticalmente */
        left: 50%; /* Centralizado horizontalmente */
        right: auto; /* Remove posicionamento à direita */
        transform: translateX(-50%) translateY(-50%); /* Centraliza completamente */
        height: 520px; /* Altura adequada */
        max-width: 400px; /* Largura ajustada */
        width: 90%; /* Largura responsiva com limite */
    }

    .hero-aluno {
        display: none !important; /* Esconde a imagem aluno.png em telas ≤ 768px */
    }
    
    .hero-fundo-aluno {
        position: absolute;
        top: -25%;
        left: 0;
        width: 100%;
        height: 150%; /* Altura expandida para evitar cortes */
        background-image: url('images/fundoaluno.png');
        background-size: cover; /* Mostra a imagem completa sem cortes */
        background-position: left bottom; /* Alinhado à esquerda e na base */
        background-repeat: no-repeat;
        pointer-events: none; /* Não interfere com interações */
        z-index: 1; /* Fica atrás do aluno */
    }
    
    .hero-title {
        white-space: normal; /* Permite quebra de linha */
        word-wrap: break-word; /* Quebra palavras longas se necessário */
        line-height: 1.3; /* Melhora espaçamento entre linhas */
    }
    
    .hero-subtitle {
        white-space: normal; /* Permite quebra de linha */
        word-wrap: break-word; /* Quebra palavras longas se necessário */
        line-height: 1.5; /* Melhora espaçamento entre linhas */
    }
    
}





/* =================================
   SEÇÃO DE LINKS
   ================================= */

/* Seção principal dos links */
.links-section {
    width: 100%;
    background-color: #ff6700; /* Cor sólida conforme solicitado */
    margin-top: 5rem; /* Espaço adicional acima da seção */
    position: relative;
    z-index: 10; /* Fica acima de todos os elementos do hero */
    transform: translateZ(0); /* Cria novo stacking context */
    isolation: isolate; /* Força isolamento do stacking context */
    clear: both; /* Limpa qualquer float */
    scroll-margin-top: 90px; /* Compensa altura da navbar para scroll suave */
}

/* Container dos links */
.links-container {
    max-width: 1200px;
    margin: 100px 40px 40px 40px; 
    padding: 0;
}

/* Lista dos links */
.links-list {
    list-style: none; /* Remove marcadores da lista */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* Espaçamento entre itens */
}

/* Itens da lista */
.links-list li {
    margin: 0;
    padding: 0;
}

/* Estilo dos links */
.links-list a {
    display: flex; /* Usar flexbox para alinhar ícone e texto */
    align-items: center; /* Centraliza verticalmente */
    color: white;
    text-decoration: none;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600; /* Peso normal, não bold */
    font-size: 1rem;
    line-height: 2;
    transition: all 0.3s ease;
    border-bottom: 2px solid white; /* Traçado inferior */
    padding-bottom: 0.3rem; /* Espaço entre texto e traçado */
}

/* Estilo do ícone check */
.link-icon {
    width: 20px; /* Largura do ícone */
    height: 20px; /* Altura do ícone */
    margin-right: 0.75rem; /* Espaço entre ícone e texto */
    filter: brightness(0) invert(1); /* Torna o SVG branco */
    transition: all 0.3s ease; /* Transição suave para efeitos */
    flex-shrink: 0; /* Impede que o ícone seja comprimido */
}

/* Último item sem borda inferior */
.links-list li:last-child a {
    border-bottom: none;
}

/* Hover effect simples */
.links-list a:hover {
    color: #fff3e6; /* Cor mais clara no hover */
    border-bottom-color: #fff3e6; /* Traçado também muda de cor no hover */
    transform: translateY(-2px); /* Leve elevação no hover */
}

/* Efeito hover no ícone */
.links-list a:hover .link-icon {
    transform: scale(1.1); /* Leve aumento do ícone no hover */
    filter: brightness(0) invert(0.9); /* Ícone ligeiramente mais claro no hover */
}

/* Imagem no inferior da seção */
.links-bottom-image {
    width: 100%;
    height: 26px; /* Altura da imagem */
    background-image: url('images/linhas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =================================
   RESPONSIVIDADE DA SEÇÃO DE LINKS
   ================================= */

/* Tablet e mobile */
@media (max-width: 768px) {
    .links-container {
        padding: 0 1rem;
    }
    
    .links-list a {
        font-size: 0.95rem;
        padding: 0.4rem 0;
        padding-bottom: 0.25rem; /* Padding reduzido para mobile */
        border-bottom-width: 1.5px; /* Traçado mais fino em mobile */
    }
    
    /* Ícone menor em mobile */
    .link-icon {
        width: 18px; /* Ícone ligeiramente menor em mobile */
        height: 18px;
        margin-right: 0.5rem; /* Menos espaço em mobile */
    }
    
    .links-list {
        gap: 0.6rem;
    }
    
    .links-bottom-image {
        height: 50px; /* Altura reduzida em tablet */
    }
}



/* =================================
   NOVA SEÇÃO
   ================================= */

/* Seção principal */
.new-section {
    width: 100%;
    background-color: #fdf5e3; /* Cor sólida conforme solicitado */
    position: relative;
    min-height: 600px; /* Altura mínima aumentada para acomodar a imagem fundovideo */
    max-height: 800px;
    padding-bottom: 400px; /* Espaço extra para a imagem fundovideo não ser cortada */
    overflow: hideen; /* Permite que as imagens se estendam além dos limites da seção */
}

/* Imagem de fundo da seção */
.new-section-background {
    position: absolute;
    top: 0%;
    right: 0;
    width: 600px; /* Largura da imagem */
    height: 600px; /* Altura da imagem */
    background-image: url('images/balao.png');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    pointer-events: none; /* Não interfere com a interação */
    z-index: 1; /* Fica atrás do conteúdo */
}

/* Imagem fundovideo à esquerda da seção */
.new-section-fundovideo {
    position: absolute;
    top: 70%;
    left: 0%;
    width: 1000px; /* Largura da imagem */
    height: 1000px; /* Altura da imagem */
    background-image: url('images/fundovideo.png');
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    pointer-events: none; /* Não interfere com a interação */
    z-index: 3; /* Z-index baixo para ficar bem atrás do iframe do vídeo */
    transform: translateY(-50%); /* Centraliza verticalmente */
}

/* Imagem borda no canto inferior da seção */
.new-section-borda {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%); /* Centraliza horizontalmente */
    width: 100%;
    height: 200px; /* Altura fixa para controle consistente */
    background-image: url('images/borda.png');
    background-size: cover; /* Cobre toda a área definida */
    background-position: bottom center;
    background-repeat: no-repeat;
    pointer-events: none; /* Não interfere com a interação */
    z-index: 2; /* Fica acima das outras imagens de fundo mas atrás do conteúdo */
}

/* Container da nova seção */
.new-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 100; /* Z-index mais alto para o conteúdo, mas ainda abaixo do vídeo */
}

/* Título da nova seção */
.new-section-title {
    font-family: 'Edo SZ', cursive;
    font-size: 2.5rem;
    color: #4995b0;
    text-align: center;
    margin: 0 0 2rem 0; /* Adiciona espaço abaixo do título */
    line-height: 1.2;
}

/* Frame do vídeo */
.video-frame {
    position: relative;
    width: 100%;
    max-width: 800px; /* Largura máxima do vídeo */
    margin: 0 auto; /* Centraliza o vídeo */
    aspect-ratio: 16/9; /* Proporção de vídeo padrão */
    border-radius: 100px 0 100px 0px; /* Bordas arredondadas apenas superior esquerda e inferior direita */
    overflow: hidden; /* Esconde partes do iframe fora das bordas arredondadas */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Sombra sutil */
    background: #000; /* Fundo preto para loading */
    z-index: 1000; /* Z-index alto para ficar sempre no topo */
}

/* Iframe do vídeo */
.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1001; /* Z-index ainda mais alto para o iframe */
}

/* Texto do edital */
.edital-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.2rem;
    font-weight: 700; /* Peso aumentado para bold */
    color: white; /* Texto branco */
    text-align: center;
    margin: 2rem auto 0 auto; /* Auto nas laterais para centralizar */
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ff6700; /* Fundo laranja */
    padding: 1rem 2rem; /* Padding para espaçamento interno */
    border-radius: 8px; /* Bordas arredondadas sutis */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    display: block; /* Mudado para block para centralizar melhor */
    width: fit-content; /* Largura ajustada ao conteúdo */
}

/* Hover effect para o texto do edital */
.edital-text:hover {
    color: white; /* Mantém texto branco no hover */
    text-decoration: none; /* Remove sublinhado */
    background-color: #e55a00; /* Laranja mais escuro no hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra mais pronunciada */
    transform: translateY(-2px); /* Leve elevação no hover */
}

/* =================================
   RESPONSIVIDADE DA NOVA SEÇÃO
   ================================= */

/* Tablet e mobile */
@media (max-width: 768px) {
    .new-section {
        min-height: 400px; /* Altura mínima ajustada para tablet */
        padding-bottom: 1.5rem; /* Padding reduzido para tablet */
    }
    
    .new-section-container {
        padding: 1.5rem 1rem;
    }
    
    .new-section-title {
        font-size: 2rem; /* Tamanho reduzido para tablet */
        margin: 0 0 1.5rem 0; /* Reduz espaço abaixo do título */
    }
    
    .video-frame {
        max-width: 90%; /* Reduz largura em tablet */
        border-radius: 80px 0 80px 0; /* Ajusta bordas proporcionalmente */
    }
    
    .new-section-background {
        width: 300px; /* Reduz tamanho em tablet */
        height: 300px;
        right: -50px; /* Posiciona parcialmente fora da tela */
    }
    
    .new-section-fundovideo {
        width: 300px; /* Reduz tamanho em tablet */
        height: 300px;
        left: -50px; /* Posiciona parcialmente fora da tela */
    }
    
    .new-section-borda {
        height: 150px; /* Altura proporcional em tablet */
    }
    
    .edital-text {
        font-size: 1.1rem; /* Tamanho reduzido para tablet */
        margin: 1.5rem auto 0 auto; /* Mantém centralização em tablet */
        padding: 0.8rem 1.5rem; /* Padding reduzido para tablet */
    }
}

    



/* Mobile pequeno */
@media (max-width: 500px) {
    .new-section {
        min-height: 300px; /* Altura mínima reduzida para mobile */
        padding-bottom: 1rem; /* Padding mínimo para mobile */
    }
    
    .new-section-container {
        padding: 1rem 0.5rem; /* Padding reduzido para mobile */
    }
    
    .new-section-title {
        font-size: 1.5rem; /* Tamanho menor para mobile */
        margin: 0 0 1rem 0; /* Margem reduzida para mobile */
    }
    
    .video-frame {
        max-width: 95%; /* Usa quase toda a largura em mobile */
        border-radius: 60px 0 60px 0; /* Bordas menores para mobile */
        margin: 0 auto 1rem auto; /* Adiciona margem inferior */
    }
    
    .new-section-background {
        width: 200px; /* Tamanho muito reduzido para mobile */
        height: 200px;
        right: -20px; /* Posiciona mais fora da tela */
        top: 10%; /* Ajusta posição vertical */
    }
    
    .new-section-fundovideo {
        width: 300px; /* Tamanho muito reduzido para mobile */
        height: 300px;
        left: -10px; /* Posiciona mais fora da tela */
        top: 90%; /* Ajusta posição para não interferir */
    }
    
    .new-section-borda {
        height: 100px; /* Altura mínima para mobile */
        bottom: -10%; /* Ajusta posição */
    }
    
    .edital-text {
        font-size: 1rem; /* Tamanho mínimo para mobile */
        margin: 1rem auto 0 auto; /* Margem reduzida */
        padding: 0.6rem 1rem; /* Padding mínimo */
        max-width: 95%; /* Limita largura em mobile */
    }

    .hero-form {
        top: 75%;
        height: 520px;
        width: 100%;
        max-width: 350px;
        left: 50%;
    }

    .hero-content {
        top: 21%;
    }
    
    /* Seção Fundosecao para telas pequenas */
    .fundosecao-section {
        min-height: 100vh; /* Reduz altura mínima */
        padding: -1.5rem 0; /* Reduz padding */
    }
    
    .fundosecao-container {
        flex-direction: column !important;
        gap: clamp(1rem, 4vw, 2rem); /* Gap fluido entre 1rem e 2rem */
        min-height: auto; /* Remove min-height fixo */
        padding: clamp(0rem, 2vw, 0rem); /* Padding fluido */
        width: 100%; /* Usa toda a largura disponível */
        max-width: 100vw; /* Limita ao viewport */
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 auto; /* Centraliza o container */
    }
    
    /* Conquistas reduzidas para telas pequenas */
    .fundosecao-conquistas {
        /* Dimensionamento fluido e responsivo */
        width: clamp(280px, 70vw, 500px) !important; /* Largura fluida entre 280px e 500px */
        height: clamp(280px, 70vw, 500px) !important; /* Altura igual à largura para manter proporção 1:1 */
        min-width: 380px !important; /* Largura mínima para legibilidade */
        max-width: 400px !important; /* Largura máxima para não dominar a tela */
        min-height: 380px !important; /* Altura mínima */
        max-height: 400px !important; /* Altura máxima */
        flex: 0 0 auto !important; /* Flex baseado no conteúdo */
        order: 1;
        background-image: url('images/conquistas.png') !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        aspect-ratio: 1/1; /* Garante proporção quadrada */
    }
    
    /* Wrapper do video aparece segundo (abaixo) */
    .fundosecao-video-wrapper {
        flex: 0 0 auto !important; /* Tamanho automático para acomodar conteúdo */
        order: 2; /* Segundo na ordem */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Video aparece segundo (abaixo) */
    .fundosecao-video {
        width: 450px !important; /* Largura explícita */
        height: 400px !important; /* Altura explícita */
        background-image: url('images/video.png') !important; /* Força a imagem */
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important; /* Força exibição */
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important; /* Remove qualquer position absoluto */
        z-index: 10 !important; /* Z-index alto para garantir visibilidade */
    }
    
    /* Texto do video em mobile */
    .video-text {
        font-size: 1.5rem !important; /* Tamanho menor para mobile */
        margin-top: 1rem !important;
        color: #ff6700 !important;
        text-align: center !important;
    }

}


/* =================================
   SEÇÃO FUNDOSECAO
   ================================= */

/* Seção principal com fundo fundosecao.png */
.fundosecao-section {
    width: 100%;
    min-height: 80vh; /* Altura adequada para acomodar conteúdo */
    height: auto; /* Permite que a altura se adapte ao conteúdo */
    background-color: #fdf5e3; /* Cor de fundo conforme solicitado */
    position: relative;
    overflow: visible; /* Permite que elementos se estendam além dos limites */
    padding: 4rem 0; /* Padding vertical adequado */
}

/* Imagem de fundo da seção fundosecao */
.fundosecao-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/fundoeuclides.png');
    background-size: cover; /* Preenche totalmente o fundo */
    background-position: center center; /* Centraliza tanto horizontal quanto verticalmente */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito parallax opcional */
    pointer-events: none; /* Não interfere com interações */
    z-index: 1; /* Fica atrás do conteúdo */
}

/* Container do conteúdo da seção fundosecao */
.fundosecao-container {
    max-width: 1400px; /* Largura máxima maior para acomodar as imagens */
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 3; /* Fica acima de todos os elementos */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem; /* Distância fixa entre as imagens */
}

/* Wrapper para video e texto */
.fundosecao-video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 500px; /* Largura fixa do wrapper (desktop) */
}

/* Imagem video na seção fundosecao */
.fundosecao-video {
    width: 500px; /* Largura fixa reduzida para desktop */
    height: 500px; /* Altura fixa reduzida para desktop */
    background-image: url('images/video.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: auto; /* Permite interações para o link */
    z-index: 2; /* Fica acima da imagem de fundo */
}

/* Link do vídeo */
.video-link {
    display: block; /* Faz o link ocupar todo o espaço da div */
    width: 100%; /* Ocupa toda a largura */
    height: 100%; /* Ocupa toda a altura */
    text-decoration: none; /* Remove sublinhado */
    cursor: pointer; /* Mostra cursor de clique */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Transições suaves */
}

/* Efeito hover no link do vídeo */
.video-link:hover {
    transform: scale(1.05); /* Leve aumento no hover */
    opacity: 0.9; /* Leve transparência no hover */
}

/* Garantir que a div interna do vídeo mantenha as propriedades */
.video-link .fundosecao-video {
    pointer-events: none; /* A div interna não captura eventos */
}

/* Texto do video */
.video-text {
    font-family: 'Edo SZ', sans-serif; /* Fonte edosz.ttf */
    font-size: 2.5rem; /* Tamanho grande e impactante */
    color: #ff6700; /* Cor laranja do tema */
    text-align: center;
    line-height: 1.2;
    margin-top: 1rem; /* Espaçamento acima do texto */
    font-weight: normal;
    text-transform: uppercase; /* Mantém em maiúsculas */
    letter-spacing: 1px; /* Espaçamento entre letras */
}

/* Imagem conquistas na seção fundosecao */
.fundosecao-conquistas {
    flex: 0 0 700px; /* Largura fixa aumentada para 600px */
    width: 700px; /* Largura explícita */
    height: 700px; /* Altura fixa aumentada */
    background-image: url('images/conquistas.png') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    pointer-events: none; /* Não interfere com interações */
    z-index: 2; /* Fica acima da imagem de fundo */
    display: block !important; /* Força exibição */
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* =================================
   RESPONSIVIDADE DA SEÇÃO FUNDOSECAO
   ================================= */

/* Responsividade para telas médias (769px a 1400px) */
@media (max-width: 1400px) {
    .fundosecao-container {
        max-width: 1200px;
        gap: 6rem; /* Reduz distância entre imagens */
    }
}

/* Responsividade para telas pequenas (769px a 1200px) */
@media (max-width: 1200px) {
    .fundosecao-container {
        max-width: 1000px;
        gap: 0rem; /* Reduz ainda mais a distância */
    }
    
    .fundosecao-video-wrapper {
        flex: 0 0 500px; /* Tamanho do wrapper */
    }
    
    .fundosecao-video {
        width: 500px; /* Mantém tamanho grande */
        height: 500px;
    }
    
    .fundosecao-conquistas {
        flex: 0 0 500px; /* Mantém tamanho grande */
        height: 500px;
        background-image: url('images/conquistas.png') !important; /* Garante que a imagem está definida */
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .video-text {
        font-size: 2rem; /* Reduz tamanho da fonte */
    }
}

/* Responsividade específica para telas entre 769px e 1000px */
@media (max-width: 1000px) and (min-width: 769px) {
    .fundosecao-container {
        flex-direction: column; /* Empilha verticalmente */
        gap: 2rem; /* Espaçamento vertical entre elementos */
        max-width: 90%; /* Largura responsiva */
        padding: 2rem 1rem;
        align-items: center; /* Centraliza os elementos */
    }
    
    /* Conquistas aparece primeiro (acima) */
    .fundosecao-conquistas {
        flex: 0 0 400px; /* Tamanho reduzido */
        height: 400px;
        order: 1; /* Conquistas aparecem primeiro */
        background-image: url('images/conquistas.png') !important; /* Força a imagem */
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Wrapper do video aparece segundo (abaixo) */
    .fundosecao-video-wrapper {
        flex: 0 0 auto; /* Tamanho automático */
        order: 2; /* Video aparece segundo */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .fundosecao-video {
        width: 400px; /* Tamanho reduzido para caber na tela */
        height: 400px;
    }
    
    .video-text {
        font-size: 1.8rem; /* Tamanho de fonte intermediário */
        margin-top: 1rem;
    }
}

/* Tablet e mobile */
@media (max-width: 768px) {
    .fundosecao-section {
        min-height: 120vh; /* Altura aumentada para acomodar as duas imagens empilhadas */
        padding: 0% 0% 0% 0%;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fundosecao-background {
        background-attachment: scroll; /* Remove parallax em mobile */
        background-size: cover;
        background-position: center center;
    }
    
    .fundosecao-container {
        flex-direction: column !important; /* Empilha as imagens verticalmente */
        gap: 0.7rem; /* Espaçamento entre as imagens */
        min-height: 100vh;
        padding: 0rem;
        margin: 0 auto; /* Centraliza horizontalmente */
        max-width: 500px; /* Limita largura para melhor centralização */
        display: flex !important; /* Força display flex */
        align-items: center;
        justify-content: center;
    }
    
    /* Conquistas aparece primeiro (acima) */
    .fundosecao-conquistas {
        flex: 0 0 450px !important; /* Tamanho fixo para conquistas */
        width: 450px !important; /* Largura explícita */
        height: 450px !important; /* Altura explícita */
        order: 1; /* Primeiro na ordem */
        background-image: url('images/conquistas.png') !important; /* Força a imagem */
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important; /* Força exibição */
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important; /* Remove qualquer position absoluto */
        z-index: 10 !important; /* Z-index alto para garantir visibilidade */
    }
    
    /* Wrapper do video aparece segundo (abaixo) */
    .fundosecao-video-wrapper {
        flex: 0 0 auto !important; /* Tamanho automático para acomodar conteúdo */
        order: 2; /* Segundo na ordem */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Video aparece segundo (abaixo) */
    .fundosecao-video {
        width: 450px !important; /* Largura explícita */
        height: 450px !important; /* Altura explícita */
        background-image: url('images/video.png') !important; /* Força a imagem */
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block !important; /* Força exibição */
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important; /* Remove qualquer position absoluto */
        z-index: 10 !important; /* Z-index alto para garantir visibilidade */
    }
    
    /* Texto do video em mobile */
    .video-text {
        font-size: 1.5rem !important; /* Tamanho menor para mobile */
        margin-top: 1rem !important;
        color: #ff6700 !important;
        text-align: center !important;
    }
}






/* =================================
   SEÇÃO FUNDOEUCLIDES
   ================================= */

/* Seção principal com fundo fundoeuclides.png */
.fundoeuclides-section {
    width: 100%;
    min-height: 100vh; /* Altura mínima de uma tela inteira */
    height: auto; /* Permite que a altura se adapte ao conteúdo */
    background-color: #fdf5e3; /* Cor de fundo padrão */
    position: relative;
    overflow: visible; /* Permite que elementos se estendam além dos limites */
    padding-top: 12px;
    padding-bottom: 32px; /* Remove padding inferior */
}

/* Imagem de fundo da seção fundoeuclides */
.fundoeuclides-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/fundoeuclides.png');
    background-size: cover; /* Preenche totalmente o fundo */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito parallax opcional */
    pointer-events: none; /* Não interfere com interações */
    z-index: 1; /* Fica atrás do conteúdo */
}

/* Container do conteúdo da seção fundoeuclides */
.fundoeuclides-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 1rem 1rem; /* Remove padding inferior */
    position: relative;
    z-index: 2; /* Fica acima da imagem de fundo */
    min-height: calc(100vh - 2rem); /* Ajusta altura mínima */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Título principal da seção fundoeuclides */
.fundoeuclides-title {
    font-family: 'Edo SZ', cursive;
    font-size: 3.5rem;
    color: #FF6700;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    text-transform: lowercase;
}

/* Container da imagem alunos */
.fundoeuclides-image {
    margin: 1rem 0;
    max-width: 100%;
}

.fundoeuclides-image img {
    width: 100%;
    height: auto;
    max-width: 800px;
}

/* Subtítulo da seção fundoeuclides */
.fundoeuclides-subtitle {
    font-family: 'Edo SZ', cursive;
    font-size: 2.5rem;
    color: #FF6700;
    margin: 2rem 0 0 0;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

/* =================================
   RESPONSIVIDADE DA SEÇÃO FUNDOEUCLIDES
   ================================= */

/* Tablet e mobile */
@media (max-width: 768px) {
    .fundoeuclides-section {
        min-height: auto; /* Altura mínima reduzida para mobile */
        background-attachment: scroll; /* Remove parallax em mobile */
        padding-bottom: 1rem; /* Remove padding inferior */
        padding-top: 1rem;
    }
    
    .fundoeuclides-background {
        background-attachment: scroll; /* Remove parallax em mobile */
        background-size: cover; /* Mantém cobertura total */
    }
    
    .fundoeuclides-container {
        padding: 0.2rem 0.2rem 0 0.2rem; /* Remove padding inferior */
        min-height: auto;
    }
    
    .fundoeuclides-title {
        font-size: 2.8rem; /* Reduz tamanho em tablet */
        margin: 0 0 0.5rem 0;
    }
    
    .fundoeuclides-image {
        margin: 1.5rem 0;
    }
    
    .fundoeuclides-image img {
        max-width: 600px; /* Reduz tamanho da imagem em tablet */
    }
    
    .fundoeuclides-subtitle {
        font-size: 2rem; /* Reduz tamanho em tablet */
        margin: 0.5rem 0 0.5rem 0;
    }
}





/* =================================
   FOOTER
   ================================= */

/* Footer principal */
.footer {
    width: 100%;
    background-color: #ff6700; /* Cor laranja conforme o exemplo */
    color: white;
    padding: 3rem 0 2rem 0;
    text-align: center;
    font-family: 'Montserrat Alternates', sans-serif;
}

/* Container do footer */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Logo do footer */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 120px; /* Tamanho adequado para o logo */
    width: auto;
    max-width: 100%;
}

/* Seção social */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ícones sociais */
.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    object-fit: contain; /* Mantém proporção da imagem */
}



.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Usernames das redes sociais */
.footer-usernames {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

/* Links dos usernames */
.footer-usernames a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-usernames a:hover {
    color: #ff6700;
    border-bottom-color: #ff6700;
    transform: translateY(-1px);
}

/* Copyright */
.footer-copyright {
    text-align: center;
    line-height: 1.4;
}

.footer-copyright p {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0.5rem 0;
    color: white;
}

/* =================================
   RESPONSIVIDADE DO FOOTER
   ================================= */

/* Tablet */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .footer-logo img {
        height: 100px; /* Reduz tamanho em tablet */
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .footer-usernames {
        font-size: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}

/* Mobile */


