/* ==========================================================
   FESTA FINAL DE ANO 2025/2026
   Portal ProfIsmael
   estilos.css
   Versão 2.0
   PARTE 1
========================================================== */

/*==========================================================
IMPORTAÇÃO DE FONTES
==========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap');

/*==========================================================
VARIÁVEIS GLOBAIS
==========================================================*/

:root{

    --verde:#2d6a4f;
    --verde-escuro:#1b4332;
    --verde-claro:#95d5b2;

    --amarelo:#ffb703;
    --laranja:#fb8500;
    --vermelho:#d90429;
    --azul:#219ebc;

    --branco:#ffffff;
    --cinza:#f5f5f5;

    --texto:#1c2b25;
    --texto-claro:#eef9f1;

    --sombra:0 12px 35px rgba(0,0,0,.18);

    --radius:20px;

    --transicao:.35s;

    --largura:1200px;

}

/*==========================================================
RESET
==========================================================*/

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Baloo 2',sans-serif;

    background:url("../imagens/background.webp")
               center center fixed;

    background-size:cover;

    color:var(--texto);

    line-height:1.7;

    overflow-x:hidden;

}

/*==========================================================
FUNDO
==========================================================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(2px);

    z-index:-1;

}

/*==========================================================
SELEÇÃO DE TEXTO
==========================================================*/

::selection{

    background:var(--amarelo);

    color:#222;

}

/*==========================================================
SCROLLBAR
==========================================================*/

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#e7ece8;

}

::-webkit-scrollbar-thumb{

    background:var(--verde);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--verde-escuro);

}

/*==========================================================
TIPOGRAFIA
==========================================================*/

h1{

    font-size:4rem;

    line-height:1.1;

    font-weight:800;

}

h2{

    font-size:2.5rem;

    color:var(--verde-escuro);

    margin-bottom:20px;

}

h3{

    font-size:1.45rem;

    color:var(--verde);

    margin-bottom:12px;

}

p{

    font-size:1.1rem;

    margin-bottom:18px;

}

a{

    color:inherit;

    text-decoration:none;

}

/*==========================================================
IMAGENS
==========================================================*/

img{

    display:block;

    max-width:100%;

    height:auto;

    transition:.35s;

}

img:hover{

    filter:saturate(108%);

}

/*==========================================================
CONTAINER
==========================================================*/

.container{

    width:min(92%,var(--largura));

    margin:auto;

}

/*==========================================================
LOADER
==========================================================*/

#loader{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:white;

    z-index:99999;

    transition:.8s;

}

.loader-centro{

    text-align:center;

}

.loader-centro img{

    width:170px;

    animation:flutuar 2s infinite;

}

.loader-centro h2{

    margin-top:25px;

    color:var(--verde);

}

/*==========================================================
BARRA DE PROGRESSO
==========================================================*/

#barraProgresso{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--amarelo),
        var(--laranja)
    );

    z-index:999999;

}

/*==========================================================
MENU
==========================================================*/

header{

    position:relative;

    width:100%;

}

.menu{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 6%;

    background:rgba(27,67,50,.70);

    backdrop-filter:blur(10px);

    z-index:999;

    transition:.35s;

}

.header-pequeno .menu{

    padding:10px 6%;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    color:white;

    font-size:1.5rem;

    font-weight:700;

}

.logo img{

    width:56px;

    height:56px;

    border-radius:50%;

    background:white;

    padding:5px;

    transition:.35s;

}

.header-pequeno .logo img{

    width:46px;

    height:46px;

}

.menu ul{

    display:flex;

    gap:30px;

    list-style:none;

}

.menu a{

    color:white;

    font-weight:700;

    position:relative;

    transition:.3s;

}

.menu a:hover{

    color:var(--amarelo);

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:3px;

    background:var(--amarelo);

    transition:.35s;

}

.menu a:hover::after{

    width:100%;

}

.menu-mobile{

    display:none;

    border:none;

    background:none;

    color:white;

    cursor:pointer;

    font-size:2rem;

}

/*==========================================================
HERO
==========================================================*/

.hero{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

    overflow:hidden;

}

.hero-banner{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    z-index:-2;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        180deg,

        rgba(0,0,0,.20),

        rgba(0,0,0,.55)

    );

    z-index:-1;

}

.hero-conteudo{

    position:relative;

    max-width:900px;

    text-align:center;

    color:white;

    padding:40px;

    animation:subir 1.2s ease;

}

.subtitulo{

    letter-spacing:5px;

    text-transform:uppercase;

    color:#fff7b2;

    margin-bottom:20px;

    font-size:1rem;

}

.hero h1{

    color:white;

}

.hero h1 span{

    display:block;

    margin-top:15px;

    color:var(--amarelo);

    font-size:2.3rem;

}

.descricao{

    font-size:1.25rem;

    margin:35px auto;

    max-width:760px;

}

/*==========================================================
BOTÕES
==========================================================*/

.hero-botoes{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;

}

.botao{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 38px;

    border-radius:40px;

    font-weight:700;

    font-size:1.05rem;

    transition:var(--transicao);

    box-shadow:var(--sombra);

}

.botao:hover{

    transform:translateY(-6px);

}

.botao.verde{

    background:var(--verde);

    color:white;

}

.botao.verde:hover{

    background:var(--verde-escuro);

}

.botao.amarelo{

    background:var(--amarelo);

    color:#222;

}

.botao.amarelo:hover{

    background:var(--laranja);

    color:white;

}

/*==========================================================
INDICADOR DE SCROLL
==========================================================*/

.scroll{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

}

.scroll span{

    display:block;

    width:28px;

    height:52px;

    border:3px solid white;

    border-radius:20px;

    position:relative;

}

.scroll span::before{

    content:"";

    position:absolute;

    left:50%;

    top:8px;

    width:6px;

    height:10px;

    border-radius:20px;

    background:white;

    transform:translateX(-50%);

    animation:scroll 2s infinite;

}

/*==========================================================
SECÇÕES
==========================================================*/

.secao{

    padding:90px 0;

    position:relative;

}

.secao:nth-child(even){

    background:rgba(255,255,255,.22);

    backdrop-filter:blur(3px);

}

.titulo-secao{

    text-align:center;

    margin-bottom:60px;

}

.titulo-secao .emoji{

    display:inline-block;

    font-size:3rem;

    margin-bottom:15px;

    animation:flutuar 3s infinite;

}

.titulo-secao p{

    max-width:760px;

    margin:auto;

    color:#35543f;

}

/*==========================================================
SEPARADOR
==========================================================*/

.separador{

    width:180px;

    height:5px;

    margin:30px auto;

    border-radius:10px;

    background:linear-gradient(

        90deg,

        var(--verde),

        var(--amarelo)

    );

}

/*==========================================================
INTRODUÇÃO
==========================================================*/

.cartao-introducao{

    padding:90px 0;

}

.cartao-introducao .container{

    display:grid;

    grid-template-columns:1fr 430px;

    gap:60px;

    align-items:center;

}

.cartao-introducao img{

    border-radius:25px;

    box-shadow:var(--sombra);

}

.cartao-introducao img:hover{

    transform:scale(1.03);

}

.texto h2{

    margin-bottom:25px;

}

/*==========================================================
CARDS
==========================================================*/

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-top:50px;

}

.card{

    background:rgba(255,255,255,.96);

    border-radius:24px;

    padding:35px;

    text-align:center;

    box-shadow:var(--sombra);

    transition:var(--transicao);

    border:4px solid transparent;

}

.card:hover{

    transform:translateY(-10px);

    border-color:var(--amarelo);

}

.card .icone{

    font-size:3rem;

    margin-bottom:20px;

    animation:none;

}

.card:hover .icone{

    animation:flutuar .8s infinite;

}

.card h3{

    color:var(--verde);

    margin-bottom:15px;

}

/*==========================================================
CARTAZ
==========================================================*/

.destaque-cartaz{

    background:linear-gradient(

        135deg,

        rgba(255,255,255,.94),

        rgba(244,255,247,.94)

    );

}

.cartaz-grid{

    display:grid;

    grid-template-columns:1fr 470px;

    gap:70px;

    align-items:center;

}

.cartaz-imagem{

    text-align:center;

}

.cartaz-imagem img{

    border-radius:25px;

    box-shadow:0 18px 45px rgba(0,0,0,.25);

}

.cartaz-imagem img:hover{

    transform:scale(1.03);

}

.etiqueta{

    display:inline-block;

    padding:8px 18px;

    border-radius:40px;

    background:var(--amarelo);

    font-weight:700;

    margin-bottom:20px;

}
/*==========================================================
VÍDEO
==========================================================*/

.video-card{

    max-width:900px;

    margin:auto;

    padding:20px;

    background:rgba(255,255,255,.95);

    border-radius:25px;

    box-shadow:var(--sombra);

}

.video-card video{

    display:block;

    width:100%;

    border-radius:18px;

}

.video-card iframe{

    width:100%;

    aspect-ratio:16/9;

    border:0;

    border-radius:18px;

}

/*==========================================================
PORTAL DOS FINALISTAS
==========================================================*/

.finalistas{

    background:linear-gradient(

        90deg,

        rgba(45,106,79,.94),

        rgba(27,67,50,.94)

    );

    color:white;

}

.painel-finalistas{

    display:grid;

    grid-template-columns:1fr auto;

    gap:60px;

    align-items:center;

}

.finalistas h2{

    color:white;

}

.finalistas p{

    color:#eef9f1;

}

.finalistas img{

    width:280px;

    border-radius:22px;

    box-shadow:var(--sombra);

}

/*==========================================================
GALERIA
==========================================================*/

.galeria-grid{

    display:grid;

    grid-template-columns:

        repeat(auto-fit,minmax(260px,1fr));

    gap:24px;

    margin-top:40px;

}

.galeria-item{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:white;

    box-shadow:var(--sombra);

    cursor:pointer;

}

.galeria-item img{

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

    transition:.45s;

}

.galeria-item:hover img{

    transform:scale(1.08);

}

.galeria-item::after{

    content:"🔍";

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;
    pointer-events:none;

    font-size:3rem;

    color:white;

    background:rgba(0,0,0,.35);

    opacity:0;

    transition:.35s;

}

.galeria-item:hover::after{

    opacity:1;

}

/*==========================================================
LIGHTBOX
==========================================================*/

.lightbox{

    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.94);

    opacity:0;
    visibility:hidden;

    transition:opacity .30s ease;

    z-index:99999;

    padding:20px;

    touch-action:pan-y;

}

.lightbox.ativo{

    opacity:1;
    visibility:visible;

}

#imagemLightbox{

    display:block;

    width:auto;

    height:auto;

    max-width:92vw;

    max-height:86vh;

    object-fit:contain;

    border-radius:18px;

    box-shadow:0 20px 60px rgba(0,0,0,.50);

    animation:zoomImagem .30s;

}

.fechar-lightbox{

    position:absolute;

    top:15px;

    right:20px;

    width:52px;

    height:52px;

    border:none;

    background:rgba(255,255,255,.20);

    color:#fff;

    border-radius:50%;

    cursor:pointer;

    font-size:2rem;

    display:flex;

    justify-content:center;

    align-items:center;

}

#anterior,
#seguinte{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    color:white;

    font-size:2rem;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    user-select:none;

}

#anterior{

    left:15px;

}

#seguinte{

    right:15px;

}

#contador{

    position:absolute;

    bottom:18px;

    left:50%;

    transform:translateX(-50%);

    color:white;

    background:rgba(0,0,0,.45);

    padding:8px 18px;

    border-radius:30px;

    font-size:.95rem;

}

/*==============================
TELEMÓVEIS
==============================*/

@media (max-width:768px){

    #imagemLightbox{

        max-width:96vw;

        max-height:72vh;

    }

    #anterior,
    #seguinte{

        width:48px;

        height:48px;

        font-size:1.6rem;

    }

    .fechar-lightbox{

        width:46px;

        height:46px;

        font-size:1.8rem;

    }

}

@keyframes zoomImagem{

    from{

        opacity:0;

        transform:scale(.90);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*==========================================================
EFEITOS DE ENTRADA
==========================================================*/

.revelar{

    opacity:0;

    transform:translateY(70px);

    transition:1s;

}

.revelar.ativo{

    opacity:1;

    transform:none;

}
/*==========================================================
OBRIGADO ÀS FAMÍLIAS
==========================================================*/

.agradecimento-familias{

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.96),
        rgba(244,255,247,.96)
    );

}

.agradecimento-box{

    max-width:950px;

    margin:auto;

    padding:50px;

    background:white;

    border-radius:25px;

    box-shadow:var(--sombra);

    text-align:center;

}

.agradecimento-box p{

    margin-bottom:22px;

    font-size:1.15rem;

}

.frase-final{

    margin-top:35px;

    font-size:1.35rem;

    font-weight:700;

    color:var(--verde);

}

/*==========================================================
TRABALHOS DOS ALUNOS
==========================================================*/

.trabalhos-grid{

    display:grid;

    grid-template-columns:

        repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;

}

.trabalho-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--sombra);

    transition:.35s;

}

.trabalho-card:hover{

    transform:translateY(-10px);

}

.trabalho-card img{

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

}

.trabalho-card .conteudo{

    padding:25px;

}

.trabalho-card h3{

    color:var(--verde);

}

.trabalho-card p{

    margin-bottom:0;

}

/*==========================================================
LIVRO DE HONRA
==========================================================*/

.livro-form{

    max-width:850px;

    margin:auto;

    background:white;

    padding:45px;

    border-radius:25px;

    box-shadow:var(--sombra);

}

.livro-form input,

.livro-form textarea{

    width:100%;

    padding:16px;

    margin-bottom:20px;

    border:2px solid #d9d9d9;

    border-radius:14px;

    font:inherit;

    transition:.30s;

}

.livro-form textarea{

    min-height:180px;

    resize:vertical;

}

.livro-form input:focus,

.livro-form textarea:focus{

    outline:none;

    border-color:var(--verde);

}

.livro-form button{

    cursor:pointer;

}

/*==========================================================
AGRADECIMENTOS
==========================================================*/

.agradecimentos{

    background:rgba(255,255,255,.28);

    backdrop-filter:blur(4px);

}

.agradecimentos-grid{

    display:grid;

    grid-template-columns:

        repeat(auto-fit,minmax(250px,1fr));

    gap:28px;

    margin-bottom:50px;

}

.agradecimento-card{

    background:white;

    padding:35px;

    border-radius:22px;

    text-align:center;

    box-shadow:var(--sombra);

    transition:.35s;

}

.agradecimento-card:hover{

    transform:translateY(-8px);

}

.icone-card{

    font-size:3rem;

    margin-bottom:18px;

}

.agradecimento-final{

    max-width:950px;

    margin:50px auto 0;

    background:white;

    padding:45px;

    border-radius:22px;

    box-shadow:var(--sombra);

    text-align:center;

}

.agradecimento-final strong{

    color:var(--verde-escuro);

    font-size:1.25rem;

}

/*==========================================================
RODAPÉ
==========================================================*/

footer{

    background:#163524;

    color:white;

    padding:70px 0 35px;

}

.rodape{

    display:grid;

    grid-template-columns:

        repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

.rodape h3{

    color:var(--amarelo);

    margin-bottom:18px;

}

.rodape p{

    color:#d9efe1;

}

.rodape a{

    color:white;

    transition:.30s;

}

.rodape a:hover{

    color:var(--amarelo);

}

.copyright{

    margin-top:50px;

    text-align:center;

    color:#b8d9c5;

    font-size:.95rem;

}

/*==========================================================
BOTÃO VOLTAR AO TOPO
==========================================================*/

#voltarTopo{

    position:fixed;

    right:25px;

    bottom:25px;

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:var(--verde);

    color:white;

    font-size:1.5rem;

    cursor:pointer;

    box-shadow:var(--sombra);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9999;

}

#voltarTopo.visivel{

    opacity:1;

    visibility:visible;

}

#voltarTopo:hover{

    background:var(--amarelo);

    color:#222;

    transform:translateY(-5px);

}

/*==========================================================
MEDIA QUERY - TABLET
==========================================================*/
@media(max-width:992px){

    h1{
        font-size:3rem;
    }

    h2{
        font-size:2rem;
    }

    .cartao-introducao .container,
    .cartaz-grid,
    .painel-finalistas{

        grid-template-columns:1fr;

    }

    .menu ul{

        display:none;

        flex-direction:column;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:rgba(27,67,50,.98);

        padding:20px 0;

        gap:18px;

        text-align:center;

    }

    #menuPrincipal.ativo{

        display:flex;

    }

    .menu-mobile{

        display:block;

    }

}

/*==========================================================
MEDIA QUERY - TELEMÓVEL
==========================================================*/

@media(max-width:768px){

    .hero{

        min-height:90vh;

    }

    .hero-conteudo{

        padding:25px;

    }

    .hero h1{

        font-size:2.3rem;

    }

    .hero h1 span{

        font-size:1.5rem;

    }

    .descricao{

        font-size:1.05rem;

    }

    .botao{

        width:100%;

    }

    .agradecimento-box,

    .agradecimento-final,

    .livro-form{

        padding:30px;

    }

    #anterior,

    #seguinte{

        width:48px;

        height:48px;

    }

}
/*==========================================================
ANIMAÇÕES FINAIS
==========================================================*/

@keyframes subir{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes flutuar{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes scroll{

    0%{

        opacity:0;

        top:8px;

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:0;

        top:24px;

    }

}

@keyframes aparecer{

    from{

        opacity:0;

        transform:scale(.96);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*==========================================================
CLASSES UTILITÁRIAS
==========================================================*/

.oculto{

    display:none !important;

}

.centrado{

    text-align:center;

}

.texto-verde{

    color:var(--verde);

}

.texto-amarelo{

    color:var(--amarelo);

}

.fundo-branco{

    background:rgba(255,255,255,.95);

}

.sombra{

    box-shadow:var(--sombra);

}

.borda{

    border-radius:var(--radius);

}

/*==========================================================
FOCUS (ACESSIBILIDADE)
==========================================================*/

a:focus,

button:focus,

input:focus,

textarea:focus{

    outline:3px solid var(--amarelo);

    outline-offset:3px;

}

/*==========================================================
MELHORIAS DE DESEMPENHO
==========================================================*/

.hero-banner,

.galeria-item img,

.cartaz-imagem img{

    will-change:transform;

}

.card,

.trabalho-card,

.botao,

.galeria-item,

.agradecimento-card{

    transition:

        transform .35s,

        box-shadow .35s,

        background .35s;

}

/*==========================================================
IMPRESSÃO
==========================================================*/

@media print{

    header,

    footer,

    #loader,

    #voltarTopo,

    .scroll,

    .hero-botoes,

    .menu,

    .lightbox{

        display:none !important;

    }

    body{

        background:white;

        color:black;

    }

    .secao{

        padding:20px 0;

        page-break-inside:avoid;

    }

    img{

        max-width:100%;

    }

}

/*==========================================================
FIM DO FICHEIRO
Portal ProfIsmael
Festa Final de Ano 2025/2026
Versão 2.0
==========================================================*/
.livro-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:40px;

margin-top:40px;

}

.livro-coluna{

background:#ffffff;

padding:25px;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.12);

}

.livro-coluna input,

.livro-coluna textarea{

width:100%;

padding:12px;

margin-bottom:15px;

border-radius:10px;

border:1px solid #ccc;

font-size:16px;

}

@media(max-width:900px){

.livro-grid{

grid-template-columns:1fr;

}

}
