
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =====================================
   CONFIGURAÇÕES GERAIS
===================================== */

:root {
    --fundo: #050914;
    --fundo-secundario: #070c17;
    --card: #0c1526;
    --azul: #00b8ff;
    --azul-escuro: #0089be;
    --roxo: #7c3aed;
    --branco: #f5f8ff;
    --cinza: #a5afc0;
    --borda: rgba(0, 184, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--fundo);
    color: var(--branco);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 8%;
    position: relative;
}

/* FUNDO TECNOLÓGICO */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(0, 184, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 184, 255, 0.025) 1px, transparent 1px);

    background-size: 45px 45px;
}

/* =====================================
   CABEÇALHO
===================================== */

.header {
    width: 100%;
    height: 85px;
    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background: rgba(5, 9, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0, 184, 255, 0.12);
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header nav a {
    color: #c4ccda;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--azul);
    transition: 0.3s;
}

.header nav a:hover {
    color: var(--azul);
}

.header nav a:hover::after {
    width: 100%;
}

/* =====================================
   INÍCIO / BANNER PRINCIPAL
===================================== */

.inicio {
    min-height: 100vh;
    padding: 150px 8% 100px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(5, 9, 20, 0.96) 0%,
            rgba(5, 9, 20, 0.78) 48%,
            rgba(5, 9, 20, 0.35) 100%
        ),
        linear-gradient(
            0deg,
            #050914 0%,
            transparent 35%
        ),
        url("img/baner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inicio-conteudo {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.destaque {
    display: inline-block;
    color: var(--azul);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.inicio h1 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: white;
}

.inicio h1 span {
    color: var(--azul);
    text-shadow: 0 0 25px rgba(0, 184, 255, 0.25);
}

.inicio p {
    max-width: 570px;
    color: #c0cad9;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* BOTÕES */

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 30px;

    color: white;
    font-size: 13px;
    font-weight: 600;

    background: linear-gradient(
        110deg,
        #0089be,
        #3756d8,
        #7c3aed
    );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;

    transition: 0.3s;
}

.botao:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 184, 255, 0.25);
}

/* =====================================
   TÍTULOS DAS SEÇÕES
===================================== */

.titulo-secao {
    text-align: center;
    margin-bottom: 35px;
}

.titulo-secao span {
    color: var(--azul);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.titulo-secao h2 {
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 12px;
}

.titulo-secao p {
    color: var(--cinza);
    font-size: 13px;
    line-height: 1.8;
}

/* =====================================
   SOBRE
===================================== */

.sobre {
    background: #070c17;
}

.sobre-conteudo {
    display: grid;
    grid-template-columns: 1fr 450px;
    align-items: start;
    gap: 70px;
}

.sobre-conteudo {
    display: grid;
    grid-template-columns: 450px 1fr;
    align-items: center;
    gap: 40px;
}

.sobre-texto {
    width: 100%;
    max-width: 450px;
    margin: 0;
    text-align: left;
}

.sobre-texto h3 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: left;
}

.sobre-texto p {
    color: #b8c3d4;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 22px;
    text-align: justify;
}

.sobre-video {
    width: 100%;
    max-width: 400px;
    justify-self: center;
    margin-right: 100px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(0, 184, 255, 0.35);
    box-shadow: 0 10px 40px rgba(0, 184, 255, 0.10);
}

.sobre-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.sobre-texto p {
    color: #b8c3d4;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 24px;
    text-align: justify;
}

.sobre-texto p {
    color: #b8c3d4;
    font-size: 17px;
    line-height: 2.2;
    margin-bottom: 28px;
    text-align: center;
}

.sobre-video {
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid rgba(0, 184, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 184, 255, 0.08);
}

.sobre-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* =====================================
   PROJETOS
===================================== */

.projetos {
    background: var(--fundo);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.projeto-card {
    position: relative;
    padding: 35px 30px;

    background: linear-gradient(
        145deg,
        #0d192b,
        #091221
    );

    border: 1px solid rgba(0, 184, 255, 0.12);
    border-radius: 9px;

    transition: 0.35s;
}

.projeto-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 184, 255, 0.55);
    box-shadow: 0 12px 35px rgba(0, 184, 255, 0.08);
}

.projeto-numero {
    color: var(--azul);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
}

.projeto-card h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 14px;
}

.projeto-card p {
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.9;
}

/* =====================================
   GALERIA
===================================== */

.galeria {
    background: #070c17;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.galeria-item {
    height: 280px;
    display: block;
    position: relative;
    overflow: hidden;

    background: var(--card);

    border: 1px solid rgba(0, 184, 255, 0.16);
    border-radius: 9px;

    transition: 0.35s;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.galeria-item:hover {
    border-color: var(--azul);
    box-shadow: 0 10px 35px rgba(0, 184, 255, 0.12);
}

.galeria-item:hover img {
    transform: scale(1.08);
}

.galeria-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 25px;

    background: linear-gradient(
        to top,
        rgba(3, 7, 16, 0.98),
        rgba(3, 7, 16, 0.05)
    );
}

.galeria-overlay h3 {
    font-size: 21px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.galeria-overlay span {
    font-size: 12px;
    color: var(--azul);
    font-weight: 600;
}

/* AVISO DA FETEC 2026 */

.aviso-fetec-2026 {
    margin-top: 40px;
    padding: 30px 35px;

    background: linear-gradient(
        110deg,
        rgba(0, 184, 255, 0.07),
        rgba(124, 58, 237, 0.07)
    );

    border: 1px solid rgba(0, 184, 255, 0.17);
    border-left: 3px solid var(--azul);
    border-radius: 7px;
}

.aviso-fetec-2026 h3 {
    color: var(--azul);
    font-size: 18px;
    margin-bottom: 15px;
}

.aviso-fetec-2026 p {
    color: var(--cinza);
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 10px;
}

/* =====================================
   PESQUISA
===================================== */

.pesquisa {
    text-align: center;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 184, 255, 0.10),
            transparent 65%
        ),
        var(--fundo);
}

.pesquisa-conteudo {
    max-width: 700px;
    margin: auto;
}

.pesquisa-conteudo > span {
    color: var(--azul);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.pesquisa h2 {
    color: white;
    font-size: 36px;
    margin: 15px 0;
}

.pesquisa p {
    color: var(--cinza);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* =====================================
   RODAPÉ
===================================== */

.footer {
    padding: 45px 8%;
    text-align: center;

    background: #030711;
    border-top: 1px solid rgba(0, 184, 255, 0.15);
}

.footer h2 {
    color: var(--azul);
    font-size: 25px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.footer p {
    color: var(--cinza);
    font-size: 12px;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 10px;
    opacity: 0.7;
}

/* =====================================
   PÁGINA DA PESQUISA
===================================== */

.pagina-pesquisa {
    min-height: 100vh;
    padding: 125px 8% 80px;

    background:
        radial-gradient(
            circle at top right,
            rgba(124, 58, 237, 0.12),
            transparent 35%
        ),
        var(--fundo);
}

.formulario-pesquisa {
    max-width: 800px;
    margin: 35px auto;
    padding: 40px;

    background: #0b1527;
    border: 1px solid var(--borda);
    border-radius: 10px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.pergunta {
    margin-bottom: 30px;
}

.pergunta h3 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pergunta label {
    display: block;
    padding: 13px 16px;
    margin-bottom: 9px;

    color: var(--cinza);
    font-size: 12px;

    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;

    cursor: pointer;
    transition: 0.25s;
}

.pergunta label:hover {
    color: white;
    border-color: var(--azul);
    background: rgba(0, 184, 255, 0.05);
}

.pergunta input {
    accent-color: var(--azul);
    margin-right: 9px;
}

.formulario-pesquisa button {
    width: 100%;
    padding: 15px;

    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    background: linear-gradient(
        110deg,
        #0089be,
        #3756d8,
        #7c3aed
    );

    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.formulario-pesquisa button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 255, 0.2);
}

/* MENSAGEM DE SUCESSO */

.mensagem-sucesso {
    display: none;

    position: fixed;
    inset: 0;
    z-index: 2000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}

.mensagem-sucesso.ativa {
    display: flex;
}

.mensagem-caixa {
    width: 100%;
    max-width: 420px;
    padding: 40px;

    text-align: center;

    background: #0c192b;
    border: 1px solid var(--azul);
    border-radius: 10px;

    box-shadow: 0 0 35px rgba(0, 184, 255, 0.12);
}

.mensagem-caixa h2 {
    color: var(--azul);
    font-size: 23px;
    margin-bottom: 15px;
}

.mensagem-caixa p {
    color: var(--cinza);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.mensagem-caixa button {
    padding: 12px 28px;

    color: white;
    font-family: inherit;
    font-size: 12px;

    background: var(--azul-escuro);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* =====================================
   PÁGINAS DAS GALERIAS E PROJETOS
===================================== */

.pagina-galeria {
    min-height: 100vh;
    padding: 130px 8% 80px;
    background: var(--fundo);
}

.pagina-galeria .titulo-secao {
    margin-bottom: 45px;
}

.galeria-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galeria-fotos img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--borda);
    transition: 0.3s;
}

.galeria-fotos img:hover {
    transform: scale(1.02);
    border-color: var(--azul);
}

/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 1000px) {

    section {
        padding: 85px 6%;
    }

    .sobre-conteudo {
        grid-template-columns: 1fr 400px;
        gap: 35px;
    }

    .projetos-grid,
    .galeria-grid {
        gap: 18px;
    }

}

@media (max-width: 800px) {

    .header {
        padding: 0 5%;
    }

    .header nav {
        gap: 18px;
    }

    .header nav a {
        font-size: 12px;
    }

    .sobre-conteudo {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sobre-video {
        max-width: 100%;
    }

    .projetos-grid,
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .header {
        height: auto;
        min-height: 80px;
        padding: 10px 4%;

        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
        padding-bottom: 8px;
    }

    .header nav a {
        font-size: 11px;
    }

    section {
        padding: 75px 6%;
    }

    .inicio {
        min-height: 750px;
        padding: 150px 6% 80px;
        background-position: center;
    }

    .inicio h1 {
        font-size: 39px;
    }

    .inicio p {
        font-size: 13px;
    }

    .titulo-secao h2 {
        font-size: 30px;
    }

    .projetos-grid,
    .galeria-grid,
    .galeria-fotos {
        grid-template-columns: 1fr;
    }

    .galeria-item {
        height: 250px;
    }

    .aviso-fetec-2026 {
        padding: 25px 20px;
    }

    .pesquisa h2 {
        font-size: 29px;
    }

    .formulario-pesquisa {
        padding: 25px 18px;
    }

    .pagina-pesquisa,
    .pagina-galeria {
        padding: 140px 6% 70px;
    }

    .footer {
        padding: 35px 6%;
    }

}
.imagens-projetos {
    width: 90%;
    max-width: 850px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.projeto-item {
    width: 100%;
    text-align: center;
}

.projeto-item img {
    width: 100%;
    max-width: 650px;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: auto;
}

.projeto-item p {
    margin-top: 15px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}