/* ==========================================================================
   CONFIGURAÇÕES GLOBAIS & VARIÁVEIS (CYBERPUNK THEME)
   ========================================================================== */
:root {
    --bg-main: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.75);
    --border-neon: #00f0ff;
    --accent-neon: #ff0055;
    --text-primary: #ffffff;
    --text-secondary: #8ef8ff;
    --text-muted: #748297;
    --font-cyber: 'Orbitron', sans-serif;
    --font-body: 'Titillium Web', sans-serif;
    --glow: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 0, 85, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 240, 255, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

/* ==========================================================================
   HEADER COMPONENT (CUSTOMIZADO)
   ========================================================================== */
header {
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,30,0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-neon);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 5px 25px rgba(255, 0, 85, 0.2);
}

header > .logo {
    width: 45px;
    height: 45px;
    background-image: url(../img/logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px var(--accent-neon));
}

/* ==========================================================================
   LAYOUT CONTAINER & CARD DE AVISO
   ========================================================================== */
.container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.aviso-container {
    background: transparent;
    border: none;
    height: auto;
    padding: 0;
    box-shadow: none;
    margin-bottom: 30px;
}

.aviso {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--border-neon);
    border-radius: 4px;
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 25px;
    font-weight: 400;
    color: var(--text-secondary);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.05);
}

/* ==========================================================================
   ESTILIZAÇÃO DO FORMULÁRIO (GLASSMORPHISM HARDWARE)
   ========================================================================== */
.main-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.form-section {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1);
}

.section-title {
    font-family: var(--font-cyber);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 10px;
    border-bottom: 2px solid var(--accent-neon);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Campos de entrada e aglomerados */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.input-group label {
    font-family: var(--font-cyber);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.input-group:focus-within label {
    color: var(--border-neon);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Estilo unificado para Inputs e Selects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="time"],
select {
    width: 100%;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0 15px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--glow);
}

input:focus, select:focus {
    border-color: var(--border-neon);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

/* Customização interna do Select */
select option {
    background-color: #12121c;
    color: var(--text-primary);
}

/* Estilização para Input File */
input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(0, 240, 255, 0.3);
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--accent-neon);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    cursor: pointer;
    margin-right: 15px;
    transition: opacity 0.3s;
}

input[type="file"]::file-selector-button:hover {
    opacity: 0.85;
}

/* Input readonly (Horário) */
input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: transparent;
    cursor: not-allowed;
}

/* ==========================================================================
   BOTÃO SPECTRO-CYBER (UI/UX PREMIUM)
   ========================================================================== */
.cyber-button {
    align-self: center;
    width: 100%;
    max-width: 320px;
    height: 55px;
    display: flex;
    align-items: center;
    border: none;
    cursor: pointer;
    background-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 20px 0 5px 0;
}

.cyber-button .text {
    width: 75%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f0f14;
    color: var(--text-primary);
    font-family: var(--font-cyber);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.95rem;
    border-right: 2px solid var(--accent-neon);
    transition: all 0.3s ease;
}

.cyber-button .arrow-box {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cyber-button .arrow {
    width: 18px;
    height: 18px;
    fill: var(--text-primary);
    transition: transform 0.3s ease;
}

/* Estados de Hover e Active do Botão */
.cyber-button:hover {
    background-color: var(--border-neon);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.cyber-button:hover .text {
    color: var(--border-neon);
    border-right-color: var(--border-neon);
}

.cyber-button:hover .arrow {
    transform: translateX(5px);
    fill: #0f0f14;
}

.cyber-button:active {
    transform: scale(0.98);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE INTELIGENTE)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
    }
    
    header {
        padding: 0 20px;
        justify-content: center;
    }

    .form-section {
        padding: 20px;
    }
    
    .aviso {
        font-size: 0.95rem;
        padding: 15px;
    }

    .cyber-button {
        max-width: 100%;
    }
}