/* ==========================================================================
   SISTEMA DE DESIGN E VARIÁVEIS CÓSMICAS
   ========================================================================== */
:root {
    /* Cores de Acento Estelar e Nebular */
    --accent-orange: #ec6e2a;
    --accent-orange-glow: rgba(236, 110, 42, 0.35);
    --accent-blue: #00d2ff;
    --accent-blue-glow: rgba(0, 210, 255, 0.35);
    
    /* Cores Neutras Profundas */
    --bg-dark-900: #05050a;
    --bg-dark-800: #0a0a14;
    --bg-dark-700: rgba(8, 8, 16, 0.38);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-light-focus: rgba(255, 255, 255, 0.25);
    
    /* Tipografia */
    --font-title: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transições e Efeitos */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(24px) saturate(180%);
    --card-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

/* Reset Geral e Acessibilidade */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-orange) rgba(0, 0, 0, 0.2);
}

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    color: #e2e8f0;
    background-color: transparent;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================================
   ESTILO DO PLANO DE FUNDO DINÂMICO
   ========================================================================== */
#bg-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark-900);
    z-index: -1;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    z-index: 1;
}

.bg-layer.active {
    opacity: 1;
    transform: scale(1);
}

#bg-1 {
    background-image: url('imagens/astronomia01.webp');
}

.bg-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(5, 5, 10, 0.45) 100%);
    z-index: 3;
}

/* Estilo do Efeito Estrelado */
.stars-effect {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 150px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 80px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 250px 300px, #ffffff, rgba(0,0,0,0));
    background-size: 550px 550px;
    opacity: 0.15;
    z-index: 2;
    animation: twinkle 15s infinite linear;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-550px); }
}

/* ==========================================================================
   LAYOUT GERAL DA APLICAÇÃO
   ========================================================================== */
.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   CABEÇALHO E MENU
   ========================================================================== */
#main-header {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 60%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Menu Desktop */
.desktop-nav ul {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid transparent;
    color: rgba(226, 232, 240, 0.75);
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.nav-item.active {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

/* Botão do Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
    color: var(--accent-orange);
}

/* Menu Mobile Suspenso */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 99;
    padding: 1.5rem 2rem;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-nav.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-item {
    display: block;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.mobile-nav-item.active {
    border-left-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (GLASS CARD)
   ========================================================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 1.5rem 4rem 1.5rem;
}

.content-wrapper {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: center;
}

.glass-card {
    width: 100%;
    background: var(--bg-dark-700);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 20px;
}

/* Transições das Abas (Tabs) */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Elementos de Texto nas Abas */
.tab-content h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.tab-content h2 i {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.scroll-container {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 1rem;
    margin-right: -1rem;
}

.scroll-container p {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.scroll-container p strong {
    color: #ffffff;
    font-weight: 500;
}

/* Estilo do scrollbar customizado */
.scroll-container::-webkit-scrollbar {
    width: 6px;
}

.scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Divider elegante */
.card-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.01) 100%);
    margin: 1.75rem 0;
}

/* ==========================================================================
   CONTEÚDO DA TELA INICIAL (HERO & COUNTDOWN)
   ========================================================================== */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    background: rgba(236, 110, 42, 0.12);
    border: 1px solid rgba(236, 110, 42, 0.25);
    color: var(--accent-orange);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-family: var(--font-title);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 15px rgba(236, 110, 42, 0.05);
}

.hero-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-date {
    font-size: 1.25rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
}

.hero-location {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Container do Cronômetro */
.countdown-container {
    width: 100%;
    margin-bottom: 2rem;
}

.countdown-container h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-block {
    background: rgba(5, 5, 10, 0.5);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    width: 80px;
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.time-block:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.time-val {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.time-lbl {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.5);
    text-transform: uppercase;
    margin-top: 0.2rem;
    letter-spacing: 0.5px;
}

/* Botões */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #f17f41;
    box-shadow: 0 6px 24px rgba(236, 110, 42, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   SOBRE O EBA - COMPONENTES
   ========================================================================== */
.highlight-box {
    background: rgba(0, 210, 255, 0.05);
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.highlight-box h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box p {
    font-size: 0.95rem;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   LOCAL - COMPONENTES
   ========================================================================== */
.image-placeholder-container {
    height: 200px;
    border-radius: 12px;
    background-image: url('imagens/foto_de_fundo.png');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-light);
    margin: 1.25rem 0 1.75rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

.image-placeholder-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
    animation: rotate-slow 25s infinite linear;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.badge-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-content h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroll-container ul {
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.scroll-container ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 300;
}

.scroll-container ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    text-shadow: 0 0 5px var(--accent-orange-glow);
}

.scroll-container ul li strong {
    color: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
}

.info-card h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h4 i {
    color: var(--accent-orange);
}

.info-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ==========================================================================
   INSCRIÇÕES - COMPONENTES
   ========================================================================== */
.notification-box {
    background: rgba(236, 110, 42, 0.06);
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.notification-box h4 {
    font-family: var(--font-title);
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin: 0 0 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.scroll-container ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.scroll-container ol li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.85);
    font-weight: 300;
}

.scroll-container ol li strong {
    color: #ffffff;
}

.contact-highlight {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.contact-highlight p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-orange);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    background: rgba(236, 110, 42, 0.05);
    border: 1px solid rgba(236, 110, 42, 0.15);
}

.email-link:hover {
    color: #ffffff;
    background: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange-glow);
}

/* ==========================================================================
   LIVROS - COMPONENTES
   ========================================================================== */
.book-showcase {
    display: flex;
    gap: 2.2rem;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 1.25rem 0 2rem 0;
    align-items: center;
}

/* Efeito 3D do Livro */
.book-3d {
    position: relative;
    width: 170px;
    height: 171px;
    perspective: 1000px;
    transform-style: preserve-3d;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 3px 12px 12px 3px;
    flex-shrink: 0;
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #121226 0%, #201a35 100%);
    border-left: 6px solid #4a3e72;
    border-radius: 3px 12px 12px 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transform-origin: left center;
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px var(--accent-orange-glow);
}

.book-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.book-vol {
    font-size: 0.75rem;
    color: var(--accent-blue);
    margin-top: 0.25rem;
    text-transform: uppercase;
    font-weight: 500;
}

.book-pages {
    position: absolute;
    width: 96%;
    height: 94%;
    top: 3%;
    right: 0%;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    box-shadow: inset -3px 0 5px rgba(0,0,0,0.1);
    z-index: 1;
}

/* Animação do Livro */
.book-3d:hover .book-cover {
    transform: rotateY(-20deg);
}

.book-details {
    display: flex;
    flex-direction: column;
}

.book-details h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.book-details p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem !important;
}

.btn-download {
    background: var(--accent-blue);
    color: #05050a;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

.btn-download:hover {
    transform: translateY(-2px);
    background: #39e3ff;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    color: #05050a;
}

.extra-info-text {
    font-size: 0.9rem !important;
    color: rgba(226, 232, 240, 0.55) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ==========================================================================
   CONTATO - COMPONENTES
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 2rem;
    margin-top: 0.5rem;
}

.contact-info-panel h3, .contact-form-panel h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.75rem;
    color: var(--accent-orange);
    margin-top: 0.15rem;
}

.contact-item h4 {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.contact-item a {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

/* Formulário */
.contact-form-panel {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.4rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(5, 5, 10, 0.4);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(236, 110, 42, 0.2);
    background: rgba(5, 5, 10, 0.6);
}

.btn-submit {
    width: 100%;
    background: var(--accent-orange);
    color: #ffffff;
    justify-content: center;
    border-radius: 8px;
    padding: 0.75rem;
}

.btn-submit:hover {
    background: #f17f41;
}

/* Status e Sucesso do Formulário */
.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-status.show {
    opacity: 1;
    height: auto;
    margin-top: 1rem;
}

.form-status.error {
    color: #ff4a4a;
}

.form-status.success {
    color: var(--accent-blue);
}

.form-success-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.2rem 1.2rem;
    animation: formFadeIn 0.5s ease forwards;
}

.form-success-panel i {
    font-size: 3.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 10px var(--accent-blue-glow));
}

.form-success-panel h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.form-success-panel p {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* Efeito de Rotação para o Ícone de Carregamento (Spinner) */
.animate-spin {
    animation: formSpin 1s linear infinite;
    display: inline-block;
}

@keyframes formSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
#main-footer {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 2rem;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.55);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.footer-logo.casb-logo {
    height: 28px;
}

.footer-credits {
    text-align: center;
}

.footer-credits .realization {
    margin-top: 0.15rem;
}

.footer-credits strong {
    color: rgba(255,255,255,0.85);
}

.footer-photo-credit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.8rem;
}

.footer-photo-credit .photo-lbl {
    color: rgba(255,255,255,0.35);
    font-family: var(--font-title);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.footer-photo-credit .photo-author {
    color: var(--accent-orange);
    font-weight: 500;
}

/* ==========================================================================
   MEDIAS QUERIES E RESPONSIVIDADE
   ========================================================================== */

/* Telas Médias / Tablets */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Menu Mobile ativação */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Layout */
    .main-content {
        padding-top: 5.5rem;
        padding-bottom: 2.5rem;
    }
    
    .glass-card {
        padding: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-block {
        width: 70px;
    }
    
    .time-val {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .book-showcase {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .btn-download {
        align-self: center;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-photo-credit {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .scroll-container {
        padding-right: 0.5rem;
        margin-right: -0.5rem;
    }
    
    .tab-content h2 {
        font-size: 1.6rem;
    }
    
    .time-block {
        width: 60px;
    }
    
    .time-val {
        font-size: 1.2rem;
    }
    
    .time-lbl {
        font-size: 0.65rem;
    }
}
