/* ============================= */
/*          ESTILOS GERAIS      */
/* ============================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", "Arial", sans-serif;
    color: #ddd;
    min-height: 100vh;
    cursor: none;
    background: linear-gradient(120deg, #000000, #1a1a1a, #000000, #1a1a1a, #000000);
    background-size: 800% 800%;
    animation: gradientAnim 50s linear infinite alternate;
}

a {
    text-decoration: none;
}

/* Cursor personalizado */
body {
    cursor: url("/assets/Hornet-normal.ani"), auto
}

a {
    cursor: url("/assets/Hornet-alt.ani"), pointer;
}

input,
textarea {
    cursor: url("Hornet text.cur"), text;
}

/* ============================= */
/*          HEADER               */
/* ============================= */
header {
    background: #0a0a0a;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 79, 79, 0.2);
    border-bottom: 1px solid #330000;
}

header img.neon-img.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 6px #ff4f4f);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

header img.neon-img.logo:hover {
    filter: drop-shadow(0 0 12px #ff6b6b);
    transform: scale(1.05);
}

/* ============================= */
/*          NAVBAR               */
/* ============================= */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar a {
    display: flex;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.menu li {
    .menu li {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}
}

.menu>li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    transition: 0.3s;
}

.menu a:hover {
    color: #ff4f4f;
    text-shadow: 0 0 5px #ff4f4f;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border: 1px solid #ff4f4f;
    border-radius: 6px;
    min-width: 160px;
    list-style: none;
    padding: 8px 0;
    z-index: 10;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #ddd;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background: #ff4f4f22;
    color: #ff4f4f;
    text-shadow: 0 0 5px #ff4f4f;
}

.dropdown:hover .dropdown-menu {
    display: block;
}






/* ============================= */
/*          PESQUISA             */
/* ============================= */

.search-box {
    display: flex;
    gap: 20px;
    margin: 20px;
    text-align: center;
}

input {
    padding: 10px;
    width: 300px;
    border-radius: 8px;
    border: none;
}

.results {
    margin-top: 20px;
    text-align: center;
}

.results a {
    display: block;
    margin: 8px 0;
    padding: 10px;
    background: #222;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.results a:hover {
    background: #444;
}

.uniao-menu-pesquisa {
    display: flex;
}

.loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b0e12;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ============================= */
/*          BANNER               */
/* ============================= */
.banner1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 80px;
}


.banner-img img {

    max-width: 600px;
    /* Limita a largura máxima */
    height: 400px;
    /* Mantém a proporção da altura */
    max-height: 100%;
    /* Garante que a altura não ultrapasse o texto */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(139, 0, 0, 0.3));

}

.banner-img img:hover {
    transform: scale(1.02);
}

.banner-texto {
    max-width: 700px;
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    padding: 20px;
    border-radius: 12px;

}

.banner-texto p strong {
    color: #e94560;
    font-weight: bold;
}

.banner-texto .intro {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.banner-texto ul.descricao-missao {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.banner-texto ul.descricao-missao li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #ff4f4f;
    text-shadow: 0 0 8px rgba(255, 79, 79, 0.5);
}

/* ============================= */
/*          BANNER  2            */
/* ============================= */

.banner2 {

    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 80px;

}

.bannerimg2 img {
    max-width: 600px;
    height: auto;
    /* para manter proporção */
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(34, 34, 34, 0.4));
    border: 1px solid rgba(255, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.bannerimg2 img:hover {
    transform: scale(1.02);
}


/* ============================= */
/*          GRUPO DE BOTÕES      */
/* ============================= */
.juncao-botao {
    display: flex;
    align-items: center;
    gap: 15px;
}

.juncao-botao button#btnLogin {
    background: transparent;
    border: 2px solid #ff4f4f;
    padding: 8px 18px;
    border-radius: 25px;
    color: #ff4f4f;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.juncao-botao button#btnLogin:hover {
    background: #ff4f4f;
    color: #fff;
    box-shadow: 0 0 8px #ff4f4f;
}

.juncao-botao button#btnLogin a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.buton-hornet {
    display: flex;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.buton-hornet img.icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 6px #ff4f4f);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ============================= */
/*          ESTILIZAÇÃO H1       */
/* ============================= */
h1 {
    font-family: "Georgia", serif;
    font-size: 2.5rem;
    color: white;
    /* Vermelho vibrante */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(139, 0, 0, 0.3));
}

/* ============================= */
/*          Grafico              */
/* ============================= */
article {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    filter: drop-shadow(0 0 6px #ff4f4f);
}

canvas {
    border: 1px solid #555;
    border-radius: 8px;
    background: #111;
    width: 400px;
    /* deve ser igual ao width do atributo do canvas */
    height: 400px;
    /* deve ser igual ao height do atributo do canvas */
    display: block;
}

/* Se tiver algum .grafico no CSS, remova qualquer largura ou altura grande que tenha */
.grafico {
    max-width: 700px;
    max-height: 500px;
    /* remover width e height grandes */
}

/* ============================= */
/*          Cards                */
/* ============================= */

.agrupamento {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    /* 80px -> 5rem */
    padding: 5rem 0;
    max-width: 80%;
    margin: 0 auto;
}

.agrupamento1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    /* 80px -> 5rem */
    padding: 5rem 0;
    max-width: 80%;
    margin: 0 auto;
}

.card {
    width: 12.5rem;
    /* 200px */
    height: 15.625rem;
    /* 250px */
    background: linear-gradient(145deg, #161616, #1f1f1f);
    border: 2px solid #333;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.9);
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.25rem 0.625rem;
    cursor: pointer;
    position: relative;
    background-image: url("https://i.imgur.com/k6dyW0v.png");
    background-size: 3.75rem;
    background-repeat: no-repeat;
    background-position: top 1.25rem center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: glow 4s infinite ease-in-out;
}

.card:hover,
.card:focus {
    transform: translateY(-0.5rem) scale(1.05);
    box-shadow: 0 1rem 2.5rem rgba(255, 255, 255, 0.3);
    outline: none;
}

.desc {
    font-size: 0.875rem;
    color: #bbb;
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.4;
    max-width: 11.25rem;
    /* 180px */
    user-select: none;
}

.card:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 32px rgba(200, 200, 255, 0.15);
}

.imgperso {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    image-rendering: auto;
}

/* ============================= */
/*          Footer               */
/* ============================= */


.hollow-footer {
    background: linear-gradient(to top, #0b0c10, #14151c);
    padding: 40px 20px;
    text-align: center;
    color: #aaa;
    font-family: "Georgia", serif;
    box-shadow: inset 0 0 20px #0008;
    border-top: 1px solid #333;
    animation: fadeIn 1s ease;
}

.hollow-footer .footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hollow-footer p {
    font-size: 1em;
    color: #bbb;
    text-shadow: 0 0 6px #111;
}

.footer-icons {
    display: flex;
    gap: 20px;
}

.footer-icons a img {
    width: 28px;
    height: 28px;
    filter: grayscale(1) brightness(0.8) drop-shadow(0 0 6px #7af2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(1.2) drop-shadow(0 0 12px #7af);
}

.derrotada {
    animation: fadeOut 0.4s ease forwards;
    opacity: 0.3;
    transform: scale(0.9);
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.footer-icons a svg path {
    stroke: #aaa;
    stroke-width: 1.5;
    fill: transparent;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.8s ease-out, fill 0.4s ease-in;
}

.footer-icons a:hover svg path {
    stroke-dashoffset: 0;
    fill: #7af;
}




/* ============================= */
/*          ANIMAÇÕES            */
/* ============================= */
@keyframes gradientAnim {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes neon-glow-bordo {

    0%,
    100% {
        filter: drop-shadow(0 0 6px #ff4f4f) drop-shadow(0 0 12px #b22222) drop-shadow(0 0 20px #8b0000);
    }

    50% {
        filter: drop-shadow(0 0 10px #ff6b6b) drop-shadow(0 0 18px #dc143c) drop-shadow(0 0 25px #8b0000);
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 4px #444);
    }

    50% {
        filter: drop-shadow(0 0 10px #fff);
    }

    100% {
        filter: drop-shadow(0 0 4px #444);
    }
}

.hamburguer {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ff4f4f;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1000;
}

/* ============================= */
/*          Media Querry         */
/* ============================= */

@media(max-width: 1200px) {

    .banner1,
    .banner2 {
        flex-direction: column;

    }

    .banner-img img,
    .bannerimg2 img {
        height: auto;
    }

    .banner-texto {
        max-width: 100%;
        padding: 10px;
        font-size: 1rem;
    }

    .agrupamento,
    .agrupamento1 {

        padding: 2rem 0;
    }


    article {
        flex-direction: column;
        gap: 20px;
    }

    canvas {
        width: 90%;
        height: auto;
    }

    header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
    }

    .buton-hornet img.icon {
        display: none;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .intro {
        width: 600px;
    }
}

@media(max-width: 1200px) {

    #linka {
        display: none;
    }

    #linke {
        display: none;
    }
}

@media (max-width: 950px) {
    header {
        display: flex;
        justify-content: space-between;
    }

    header img.neon-img.logo {
        display: none;
    }

    .uniao-menu-pesquisa {
        gap: 80px;
    }

    .hamburguer {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #0a0a0a;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 999;
    }

    .navbar.active {
        display: flex;
    }
}

@media(max-width:800px) {
    #linha {
        width: 500px;
    }

    .intro {
        width: 400px;
    }

    .banner-img img,
    .bannerimg2 img {
        height: 300px;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 0px;
    }
}

@media(max-width:600px) {
    input {
        width: 170px;
    }

    .loader {
        display: none;
    }

    #linha {
        width: 350px;
    }

    .intro {
        width: 300px;
        font-size: 1.2rem;
        font-weight: 100;
    }

    .banner1,
    .banner2 {
        padding: 10px 30px;
    }

    .banner-img img,
    .bannerimg2 img {
        height: 200px;
    }

    h1 {
        font-size: 1.5em;
        margin-bottom: 50px;
    }

    @media(max-width:500px) {
        input {
            width: 115px;
        }

    }

}


/*API*/
#gnews-section h2 {
    font-weight: bold;
    color: #e15759;
}

#gnews-container .card {
    transition: transform 0.2s ease;
}

#gnews-container .card:hover {
    transform: scale(1.03);
}

/* Botão hamburguer */
.hamburguer {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    position: relative;
}

.hamburguer span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ff4f4f;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Animação X */
.hamburguer.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburguer.active span:nth-child(2) {
    opacity: 0;
}

.hamburguer.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar padrão (desktop) */
.navbar {
    display: flex;
    gap: 20px;
}

/* Menu fullscreen no mobile */
@media(max-width: 950px) {
    .navbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.95);
        gap: 30px;
        font-size: 24px;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }

    .menu {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        justify-content: center;
        text-align: center;
    }

    #linka {
        display: none;
    }

    #linke {
        display: none;
    }

    .navbar a {
        color: #fff;
        text-decoration: none;
        font-size: 26px;
        font-weight: bold;
        transition: color 0.3s;
    }

    .navbar a:hover {
        color: #ff4f4f;
    }

    .navbar.active {
        transform: translateY(0);
    }

    .hamburguer {
        display: flex;
        z-index: 1002;
        /* acima do menu */
    }
}


@media (max-width: 600px) {
  .dropdown-cards {
    width: 100%;
    padding: 10px;
    gap: 10px;
    justify-content: space-around;
  }

  .card-menu {
    width: 28vw;
    padding: 8px;
  }

  .card-menu img {
    width: 28px;
    height: 28px;
  }

  .card-menu span {
    font-size: 0.75rem;
  }
}
/* Container do dropdown */
.dropdown {
    position: relative;
}

/* Botão "Outros" */
.dropdown>a {
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dropdown>a:hover {
    color: #ff4f4f;
}

/* Conteúdo do dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

/* Cada link dentro do dropdown */
.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    border-radius: 6px;
}

.dropdown-content a:hover {
    background: #ff4f4f;
    color: #111;
}

/* Mostrar o dropdown */
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown-cards {
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  background: #111;
  padding: 15px;
  border: 1px solid #ff4f4f;
  border-radius: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 320px;
  justify-content: center;
}

.card-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px;
  width: 90px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.card-menu img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 4px #ff4f4f55);
}

.card-menu span {
  font-size: 0.9rem;
  font-weight: bold;
}

.card-menu:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px #ff4f4f55;
  background: #222;
}
.dropdown:hover .dropdown-cards {
  display: flex;
}