/* =========================================================
   CRIATIVAMENTE CODE
   Arquivo: tecnologia.css
   Identidade visual neon para o módulo Tecnologia
   ========================================================= */

:root {
    --tech-bg: #020617;
    --tech-bg-2: #07111f;

    --tech-card: rgba(15, 23, 42, 0.82);
    --tech-card-2: rgba(2, 6, 23, 0.88);

    --tech-ciano: #00f5ff;
    --tech-verde: #39ff14;
    --tech-roxo: #8b5cf6;
    --tech-azul: #2563eb;

    --tech-texto: #e5f7ff;
    --tech-texto-suave: #9fb7c9;

    --tech-borda: rgba(0, 245, 255, 0.28);

    --tech-gradiente:
        linear-gradient(
            135deg,
            #00f5ff,
            #2563eb,
            #8b5cf6
        );

    --tech-gradiente-verde:
        linear-gradient(
            135deg,
            #00f5ff,
            #39ff14
        );

    --tech-sombra-neon:
        0 0 24px rgba(0, 245, 255, 0.22);
}

/* =========================================================
   BASE
   ========================================================= */

.pagina-tecnologia {
    color: var(--tech-texto);

    background:
        radial-gradient(
            circle at top left,
            rgba(0, 245, 255, 0.12),
            transparent 28%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(139, 92, 246, 0.16),
            transparent 30%
        ),

        var(--tech-bg);
}

.tech-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.tech-label {
    margin-bottom: 1rem;

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    color: var(--tech-ciano);

    font-family: var(--fonte-codigo);
    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tech-cabecalho {
    max-width: 820px;
    margin: 0 auto 3rem;

    text-align: center;
}

.tech-cabecalho h2,
.tech-apresentacao h2,
.tech-sobre h2,
.tech-contato h2 {
    margin-bottom: 1rem;
    color: var(--tech-texto);
}

.tech-cabecalho p,
.tech-apresentacao p,
.tech-sobre p,
.tech-contato p {
    color: var(--tech-texto-suave);
}

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

.tech-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.9rem 1.45rem;

    border-radius: 999px;

    font-weight: 800;

    transition: var(--transicao-padrao);
}

.tech-botao-neon {
    color: #020617;

    background: var(--tech-gradiente-verde);

    box-shadow:
        0 0 22px rgba(0, 245, 255, 0.35);
}

.tech-botao-neon:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 34px rgba(57, 255, 20, 0.38);
}

.tech-botao-outline {
    color: var(--tech-ciano);

    background-color:
        rgba(0, 245, 255, 0.06);

    border:
        1px solid var(--tech-borda);
}

.tech-botao-outline:hover {
    color: #020617;

    background:
        var(--tech-ciano);

    transform: translateY(-3px);
}

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

.tech-hero {
    min-height: 100vh;

    padding: 1.5rem;

    background:
        linear-gradient(
            135deg,
            rgba(2, 6, 23, 0.90),
            rgba(2, 6, 23, 0.72)
        ),

        url("../images/tecnologia/hero-tecnologia.png");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.tech-menu {
    width: min(96%, 1380px);

    margin: 0 auto;

    padding: 0.9rem 1.2rem;

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

    gap: 2rem;

    background-color:
        rgba(2, 6, 23, 0.68);

    border:
        1px solid var(--tech-borda);

    border-radius: 999px;

    backdrop-filter: blur(18px);

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-logo img {
    width: clamp(150px, 17vw, 250px);
}

.tech-menu-links {
    gap: clamp(0.8rem, 1.5vw, 1.4rem);
}

.tech-menu-links a {
    color: var(--tech-texto);

    font-family: var(--fonte-codigo);
    font-size: 0.85rem;
}

.tech-menu-links a:hover {
    color: var(--tech-verde);
}

.tech-hero-grid {
    width: min(94%, 1320px);

    margin:
        clamp(4rem, 9vh, 7rem)
        auto
        0;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap:
        clamp(2rem, 6vw, 5rem);

    align-items: center;
}

.tech-hero-texto h1 {
    max-width: 820px;

    margin-bottom: 1.5rem;

    color: var(--tech-texto);

    font-size:
        clamp(2.8rem, 5vw, 5.8rem);

    line-height: 1;

    text-shadow:
        0 0 32px rgba(0, 245, 255, 0.16);
}

.tech-hero-texto p {
    max-width: 760px;

    margin-bottom: 2rem;

    color: var(--tech-texto-suave);

    font-size:
        clamp(1.05rem, 1.4vw, 1.35rem);
}

.tech-hero-botoes {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem;
}

.tech-hero-imagem {
    overflow: hidden;

    border:
        1px solid var(--tech-borda);

    border-radius: 28px;

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-hero-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   APRESENTAÇÃO
   ========================================================= */

.tech-apresentacao {
    background:
        linear-gradient(
            135deg,
            rgba(2, 6, 23, 0.92),
            rgba(7, 17, 31, 0.88)
        ),

        url("../images/tecnologia/background-tech-lab.png");

    background-size: cover;
    background-position: center;
}

.tech-apresentacao-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap:
        clamp(2rem, 5vw, 4rem);

    align-items: center;
}

.tech-metricas {
    display: grid;
    gap: 1rem;
}

.tech-metricas article {
    padding: 1.5rem;

    background:
        var(--tech-card);

    border:
        1px solid var(--tech-borda);

    border-radius: 24px;

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-metricas strong {
    display: block;

    color: var(--tech-verde);

    font-family: var(--fonte-codigo);
    font-size: 2.4rem;
}

.tech-metricas span {
    color: var(--tech-texto-suave);
}

/* =========================================================
   TRILHAS
   ========================================================= */

.tech-trilhas {
    background-color: var(--tech-bg);
}

.tech-grid-trilhas {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1.25rem;
}

.tech-card-trilha,
.tech-card-formato,
.tech-card-rede {
    padding: 1.5rem;

    background:
        var(--tech-card);

    border:
        1px solid var(--tech-borda);

    border-radius: 26px;

    box-shadow:
        var(--tech-sombra-neon);

    transition:
        var(--transicao-padrao);
}

.tech-card-trilha:hover,
.tech-card-formato:hover,
.tech-card-rede:hover {
    transform: translateY(-6px);

    border-color:
        var(--tech-verde);

    box-shadow:
        0 0 36px rgba(57, 255, 20, 0.22);
}

.tech-card-trilha img {
    width: 100%;
    height: 150px;

    margin-bottom: 1.2rem;

    object-fit: cover;

    border-radius: 18px;

    border:
        1px solid var(--tech-borda);
}

.tech-card-trilha i {
    margin-bottom: 1.2rem;

    color: var(--tech-ciano);

    font-size: 2.6rem;
}

.tech-card-trilha h3,
.tech-card-formato h3,
.tech-card-rede h3 {
    margin-bottom: 0.8rem;

    color: var(--tech-texto);

    font-size: 1.25rem;
}

.tech-card-trilha p,
.tech-card-formato p,
.tech-card-rede p {
    color: var(--tech-texto-suave);
}

/* =========================================================
   FORMATOS
   ========================================================= */

.tech-formatos {
    background:
        radial-gradient(
            circle at top left,
            rgba(139, 92, 246, 0.16),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #020617,
            #07111f
        );
}

.tech-banner-projetos {
    margin-bottom: 2rem;

    overflow: hidden;

    border:
        1px solid var(--tech-borda);

    border-radius: 28px;

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-banner-projetos img {
    width: 100%;
    max-height: 360px;

    object-fit: cover;
}

.tech-grid-formatos {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.5rem;
}

.tech-card-formato {
    min-height: 390px;

    display: flex;
    flex-direction: column;
}

.tech-card-icone {
    width: 86px;
    height: 86px;

    margin-bottom: 1.4rem;

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

    color: #020617;

    background:
        var(--tech-gradiente-verde);

    border-radius: 22px;

    font-size: 2.5rem;

    box-shadow:
        0 0 26px rgba(0, 245, 255, 0.32);
}

.tech-card-formato .tech-botao {
    width: fit-content;
    margin-top: auto;
}

/* =========================================================
   SOBRE
   ========================================================= */

.tech-sobre {
    background:
        linear-gradient(
            135deg,
            rgba(2, 6, 23, 0.92),
            rgba(7, 17, 31, 0.88)
        ),

        url("../images/tecnologia/background-tech-lab.png");

    background-size: cover;
    background-position: center;
}

.tech-sobre-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap:
        clamp(2rem, 5vw, 4rem);

    align-items: center;
}

.tech-painel-lista {
    display: grid;
    gap: 1rem;
}

.tech-painel-lista article {
    padding: 1.2rem 1.4rem;

    display: flex;
    align-items: center;
    gap: 1rem;

    background:
        var(--tech-card);

    border:
        1px solid var(--tech-borda);

    border-radius: 18px;

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-painel-lista i {
    color: var(--tech-verde);
    font-size: 1.5rem;
}

.tech-painel-lista span {
    color: var(--tech-texto);
    font-weight: 800;
}

/* =========================================================
   REDES
   ========================================================= */

.tech-redes {
    background:
        linear-gradient(
            135deg,
            rgba(2, 6, 23, 0.92),
            rgba(7, 17, 31, 0.88)
        ),

        url("../images/tecnologia/background-tech-lab.png");

    background-size: cover;
    background-position: center;
}

.tech-redes-grid {
    max-width: 820px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.5rem;
}

.tech-card-rede {
    text-align: center;
}

.tech-card-rede > i {
    margin-bottom: 1.3rem;

    color: var(--tech-ciano);

    font-size: 3rem;
}

.tech-card-rede .tech-botao {
    margin-top: 1.2rem;
}

/* =========================================================
   CONTATO
   ========================================================= */

.tech-contato {
    background:
        linear-gradient(
            135deg,
            rgba(2, 6, 23, 0.96),
            rgba(15, 23, 42, 0.96)
        );
}

.tech-contato .formulario-contato {
    background:
        var(--tech-card);

    border-color:
        var(--tech-borda);

    box-shadow:
        var(--tech-sombra-neon);
}

.tech-contato .campo-formulario label {
    color: var(--tech-texto);
}

.tech-contato .campo-formulario input,
.tech-contato .campo-formulario textarea {
    color: var(--tech-texto);

    background-color:
        rgba(2, 6, 23, 0.72);

    border-color:
        var(--tech-borda);
}

.tech-contato .campo-formulario input:focus,
.tech-contato .campo-formulario textarea:focus {
    border-color:
        var(--tech-verde);

    box-shadow:
        0 0 0 4px rgba(57, 255, 20, 0.13);
}

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

.tech-footer {
    color: var(--tech-texto);

    background: #020617;

    border-top:
        1px solid var(--tech-borda);
}

.tech-footer-grid {
    width: min(98%, 1600px);

    padding: 4rem 0 3rem;

    display: grid;

    grid-template-columns:
        1.25fr 1.05fr 1.35fr 1.35fr;

    gap: clamp(2rem, 4vw, 4rem);
}

.tech-footer img {
    width: min(100%, 250px);

    margin-bottom: 1.5rem;
}

.tech-footer p,
.tech-footer a {
    color: var(--tech-texto-suave);

    font-size: 0.9rem;
}

.tech-footer h3 {
    margin-bottom: 1rem;

    color: var(--tech-texto);

    font-size: 1.05rem;
}

.tech-footer a {
    margin-bottom: 0.65rem;

    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;

    transition:
        var(--transicao-padrao);
}

.tech-footer a:hover {
    color: var(--tech-ciano);

    transform: translateX(4px);
}

.tech-footer i {
    color: var(--tech-ciano);
}

.tech-footer a img {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.tech-footer a .icone-contato-rodape {
    width: 1.1rem;
    height: 1.1rem;
}

.pagina-tecnologia .item-flutuante img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.tech-footer-base {
    padding: 1.2rem;

    text-align: center;

    border-top:
        1px solid rgba(0, 245, 255, 0.18);
}

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

.pagina-tecnologia .botao-menu-flutuante {
    background:
        var(--tech-gradiente);
}

.pagina-tecnologia .botao-whatsapp {
    background:
        linear-gradient(
            135deg,
            #16a34a,
            #39ff14
        );
}

.pagina-tecnologia .item-flutuante {
    background:
        linear-gradient(
            135deg,
            #020617,
            #0f172a
        );

    border:
        1px solid var(--tech-borda);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1100px) {

    .tech-hero-grid,
    .tech-apresentacao-grid,
    .tech-sobre-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid-trilhas {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .tech-grid-formatos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .tech-footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .tech-menu {
        border-radius: 28px;
    }

    .tech-hero {
        min-height: auto;
    }

    .tech-hero-grid {
        margin-top: 4rem;
    }

    .tech-hero-botoes {
        flex-direction: column;
    }

    .tech-botao {
        width: 100%;
    }

    .tech-grid-trilhas,
    .tech-grid-formatos,
    .tech-redes-grid,
    .tech-footer-grid {
        grid-template-columns: 1fr;
    }

    .tech-card-formato {
        min-height: auto;
    }
}

@media (max-width: 520px) {

    .tech-section {
        padding: 3rem 0;
    }

    .tech-terminal {
        border-radius: 18px;
    }

    .terminal-corpo {
        padding: 1rem;
        font-size: 0.85rem;
    }
}
