/* Redesign "Reflexos do Futuro" - Site de Recrutamento Cyberglass */

/* Import Google Fonts - Fonte Poppins (oficial da Cyberglass) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset e Base */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Preto profundo */
    color: #ffffff; /* Branco */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    letter-spacing: 0.03em; /* Espaçamento ampliado entre letras */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="none" stroke="rgba(169, 169, 169, 0.1)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
}

main {
    flex-grow: 1;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: -1;
}

section {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(192, 192, 192, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.03) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

/* Cabeçalho com Glassmorphism */
header {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 1.5rem 30px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 180px; /* Logo ainda mais ampliado */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    transition: filter 0.3s ease;
    margin: 10px 0;
}

.logo-container img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

header nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
    position: relative;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(165, 216, 255, 0), rgba(165, 216, 255, 1), rgba(165, 216, 255, 0));
    transition: width 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a:focus {
    color: #A5D8FF; /* Azul glacial */
}

header nav ul li a:hover::after,
header nav ul li a:focus::after {
    width: 100%;
}

/* Tipografia Futurista */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0), rgba(192, 192, 192, 1), rgba(192, 192, 192, 0));
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
}

h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #A5D8FF; /* Azul glacial */
}

h3 {
    font-size: 1.5rem;
    position: relative;
    padding-left: 15px;
}

h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: #C0C0C0; /* Prata espelhada */
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Botões com Efeito de Vidro */
.btn {
    display: inline-block;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid rgba(192, 192, 192, 0.3);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: rotate(30deg) translate(10%, 10%);
}

.btn-primary {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
    color: #ffffff;
    background-color: rgba(20, 20, 20, 0.9);
    border-color: #A5D8FF; /* Azul glacial */
    box-shadow: 0 0 20px rgba(165, 216, 255, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    color: #ffffff;
    background-color: rgba(192, 192, 192, 0.1);
}

.btn-secondary:hover {
    color: #ffffff;
    background-color: rgba(192, 192, 192, 0.2);
    border-color: #C0C0C0; /* Prata espelhada */
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
    transform: translateY(-3px);
}

/* Formulários com Efeito de Vidro */
form div {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    color: #C0C0C0; /* Prata espelhada */
}

form input[type="text"],
form input[type="number"],
form input[type="file"],
form textarea {
    width: 100%;
    padding: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

form input[type="text"]:focus,
form input[type="number"]:focus,
form input[type="file"]:focus,
form textarea:focus {
    border-color: #A5D8FF; /* Azul glacial */
    outline: 0;
    box-shadow: 0 0 15px rgba(165, 216, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Vagas Abertas com Cards de Vidro */
.vaga {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vaga::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.05) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

.vaga:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.vaga h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 1rem;
    border-bottom: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.vaga p {
    margin-bottom: 0.7rem;
    color: #f0f0f0;
}

.vaga p strong {
    color: #C0C0C0; /* Prata espelhada */
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Trabalhe Conosco */
.opcao-candidatura {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opcao-candidatura::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.05) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

.opcao-candidatura:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.opcao-candidatura h3 {
    border-bottom: none;
}

/* Rodapé com Glassmorphism */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.03) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

/* Página de Início Específica */
#inicio {
    text-align: center;
    padding: 50px 30px;
    position: relative;
}

#inicio h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
}

#inicio h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0), rgba(192, 192, 192, 1), rgba(192, 192, 192, 0));
}

#inicio .btn-primary {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* Mensagens Flash com Glassmorphism */
.flash-messages {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.flash-messages li {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.03em;
}

.flash-messages .success {
    background-color: rgba(21, 87, 36, 0.7);
    color: #d4edda;
    border-color: rgba(195, 230, 203, 0.3);
}

.flash-messages .danger {
    background-color: rgba(114, 28, 36, 0.7);
    color: #f8d7da;
    border-color: rgba(245, 198, 203, 0.3);
}

.flash-messages .warning {
    background-color: rgba(133, 100, 4, 0.7);
    color: #fff3cd;
    border-color: rgba(255, 238, 186, 0.3);
}

.flash-messages .info {
    background-color: rgba(12, 84, 96, 0.7);
    color: #d1ecf1;
    border-color: rgba(190, 229, 235, 0.3);
}

/* Efeitos de Animação */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(165, 216, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(165, 216, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(165, 216, 255, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Aplicando animações */
.vaga, .opcao-candidatura, section {
    animation: fadeIn 0.6s ease-out forwards;
}

.btn-primary:focus {
    animation: pulse 1.5s infinite;
}

/* Links padrão */
.verde-clarinho {
    color: #A5D8FF !important;
    transition: all 0.3s ease;
}

.verde-clarinho:hover {
    color: rgba(165, 216, 255, 0.8) !important;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 15px;
    }
    
    .image-container {
    margin-bottom: 1.5rem;
}

.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.image-row img {
    width: 48%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.full-width {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .image-row img {
        max-width: 100%;
        margin-bottom: 15px;
    }
}    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header nav ul li {
        margin: 5px 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section, .vaga, .opcao-candidatura {
        padding: 20px;
    }
}

/* Efeitos de Vidro Adicionais */
.glass-effect {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(192, 192, 192, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.05) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

/* Efeito de Vidro Riscado */
.scratched-glass {
    position: relative;
}

.scratched-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><line x1="0" y1="100" x2="100" y2="0" stroke="rgba(255, 255, 255, 0.03)" stroke-width="0.5"/><line x1="20" y1="100" x2="100" y2="20" stroke="rgba(255, 255, 255, 0.02)" stroke-width="0.3"/><line x1="0" y1="80" x2="80" y2="0" stroke="rgba(255, 255, 255, 0.02)" stroke-width="0.3"/></svg>');
    pointer-events: none;
    opacity: 0.5;
}
