.audiowide-regular {
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat-paragrafo {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  text-align: justify

}


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
}

/* Cores base */
:root {
    --bg: #ffffff;
    --primary: #0a0a0a;
    --accent: #007bff;
    --text: #333333;
    --gray: #f5f5f5;
}

/* Imagem de fundo fixa para o body */
body {
    background-image: url('/static/imagens/fundo.png'); /* Substitua pelo caminho da sua imagem */
    background-attachment: fixed; /* Fixa a imagem no fundo */
    background-size: cover; /* Garante que a imagem cubra todo o viewport */
    background-repeat: no-repeat; /* Evita a repetição da imagem */
    background-position: center center; /* Centraliza a imagem */
}


/* Header fixo */
header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease; /* Transição para o esconder/mostrar */
}

.logo-container img {
    height: 100px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* Destaque / Missão */
.highlight {
    /* Remove o background específico, agora o body gerencia */
    background: none;
    text-align: center;
    padding: 10rem 2rem 6rem;
    color: white;
    /* Fundo semi-transparente para melhor contraste com a imagem de fundo */
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Sombra para separar seção */
    margin-bottom: 40px; /* Espaço para separar as seções */
    border-radius: 8px; /* Bordas arredondadas */
}

.highlight h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight p {
    font-size: 1.25rem;
}

/* Seções */
section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: auto;
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.5); /* Fundo branco semi-transparente */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Sombra para separar seção */
    margin-bottom: 40px; /* Espaço para separar as seções */
    border-radius: 8px; /* Bordas arredondadas */
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 5px

}

section h3{
    margin: 10px;
    padding: 5px;
    text-align: center;

}

section div div h3{
    font-family:montserrat;
    text-align: center;
}

.cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
    transform: translateY(-5px); /* Move o card para cima no hover */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Aumenta a sombra no hover */
}


.card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
    margin-top: auto;
    display: block;
}



/* Contato */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}

form input, form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #005dc0;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 4rem;
}

footer p {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

/* Menu hamburguer */
.menu-toggle {
    display: none; /* Esconde por padrão em telas maiores */
    font-size: 2rem;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 20;

    /* Propriedades para posicionamento */
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Classe para esconder o header (usada pelo JS) */
header.hidden {
    transform: translateY(-100%); /* Move o header para cima, fora da tela */
    box-shadow: none; /* Remove a sombra ao esconder */
}


/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mostra o botão apenas no mobile */
    }

    header {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-right: 4rem; /* Garante espaço para o botão hambúrguer */
        /* Header em mobile não deve usar a classe 'hidden' da versão desktop */
        transform: translateY(0) !important;
    }

    .logo-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
    }

    nav#nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: black;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    nav#nav-menu.active {
        display: block;
    }

    nav#nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    nav#nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    nav#nav-menu a {
        color: white;
        padding: 0.8rem 1.5rem;
        display: block;
    }

    nav#nav-menu a:hover {
        background-color: #333;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .highlight h1 {
        font-size: 2.2rem;
    }
}

.flash.success { color: green; }
.flash.error { color: red; }
