/* Reset básico e estilos globais */
html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-wrap: break-word;
    word-break: break-word;
    user-select: none; /* Prevents text selection globally */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

header, footer {
    width: 100%;
}

main {
    min-height: calc(100vh - 120px);
    display: block; /* Fundamental ser block para não quebrar o pin-spacer do GSAP */
    text-align: center;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Expande a largura especificamente para a tabela de programação no desktop */
@media (min-width: 1200px) {
    #programacao .container-large {
        max-width: 95%;
        padding: 0;
    }
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.full-width {
    width: 100%;
}

.dark-section {
    background-color: #1a1a1a !important; /* Força a cor escura */
}

.text-light {
    color: #f0f0f0 !important;
}

/* Classes para animação de scroll suave (Observer) */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILOS RESPONSIVOS PARA A HOME --- */
.hero-section {
    padding: 150px 20px 80px 20px;
    margin-bottom: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5; /* Fallback color */
    color: #222;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Garante centralização sem balanço */
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente com fade na saída inferior sincronizado com o fundo #f7f7f7 */
    background: linear-gradient(to bottom, rgba(247, 247, 247, 0.4) 0%, rgba(247, 247, 247, 0.6) 75%, #f7f7f7 100%);
    z-index: 1;
}

.hero-img {
    z-index: 10;
    position: relative;
}

/* Global Image and Link drag prevention */
img, a, i {
    user-drag: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}

/* Bubbles Animadas - Tema Maragogi */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2; /* under the hero image but above video/overlay */
}

.maragogi-bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(0, 162, 213, 0.2) 65%, rgba(0, 162, 213, 0.4) 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 242, 165, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.5);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.8) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50vh) scale(1.1) translateX(20px);
    }
    80% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) scale(1.5) translateX(-20px);
        opacity: 0;
    }
}

.hero-img {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 20px;
}

.section-padding {
    padding: 80px 20px;
}

.section-title-container {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 0 20px; /* Adicionado padding para o titulo nao colar nas bordas */
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    color: #333;
    margin: 0;
    font-weight: 700;
}

.section-title-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(135deg, #00A2D5, #00F2A5);
    margin: 15px auto 0;
    border-radius: 3px;
}

.about-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    padding: 0 20px; /* Adicionado padding lateral no container */
}

.about-flex-container.about-page {
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text.about-page {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text h3 {
    color: #00A2D5;
    margin-bottom: 30px; /* Aumentado para melhor respiro */
    font-size: 1.6rem;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.about-text.about-page p {
    text-align: center;
    margin-bottom: 30px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-link {
    color: #00A2D5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: #00F2A5;
}

.about-img-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.about-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0 80px 0;
}

.mosaic-item {
    height: 300px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mosaic-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 162, 213, 0.2);
}

@media (max-width: 768px) {
    .about-mosaic-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .mosaic-item {
        height: 250px;
    }
}

.responsive-text {
    font-size: 1.1rem;
}

.info-section {
    padding-top: 60px;
    margin-bottom: 60px;
    position: relative; /* Necessário para o botão voltar */
    padding-left: 20px;
    padding-right: 20px;
}

.info-section h2 {
    margin-bottom: 20px;
}

.info-section p {
    max-width: 800px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    text-align: center;
}

.info-section.last {
    margin-bottom: 120px;
}

/* --- BOTÃO VOLTAR --- */
.back-button-container {
    position: absolute;
    top: 60px;
    left: 20px;
}

.back-btn-container {
    margin-bottom: 50px;
    text-align: left;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #00A2D5;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 162, 213, 0.4);
}

.back-btn span {
    font-size: 1.4rem;
    line-height: 1;
}

.back-btn:hover {
    background-color: #00F2A5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 242, 165, 0.4);
    color: #222;
}

/* --- BOTÃO DE AÇÃO GERAL --- */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00A2D5, #0081ab);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 162, 213, 0.3);
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #00F2A5, #00c887);
    color: #000 !important;
    box-shadow: 0 15px 30px rgba(0, 242, 165, 0.4);
}

.action-btn i {
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: translateX(5px) rotate(15deg);
}

.back-link {
    text-decoration: none;
    color: #00A2D5;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #00F2A5;
}

/* --- GRID DE CARTÕES PARA WORKSHOPS E CHAMADAS --- */
/* CONFIGURACAO DESKTOP DA GRADE E DA SESSAO GERAL */
#chamadas {
    padding: 80px 0; /* Padding vertical, sem padding horizontal para o fundo dark ir ate a borda */
    width: 100vw;
    box-sizing: border-box;
}

#chamadas .container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forçado 3 colunas para o layout 3x2 (6 cards) */
    gap: 30px;
    width: 100%;
    justify-items: center;
}

/* Removido layout antigo de coluna única no mobile extremo em favor do scroll horizontal unificado */

.event-card {
    background: #2a2a2a; /* Fundo do card escuro */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Sombra mais forte para fundo escuro */
    text-decoration: none;
    color: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-user-drag: none;

    /* Largura Fixa para Desktop para evitar deformidades */
    width: 100%;
    max-width: 420px;
}

/* Tooltip Customizado (mensagem com delay de 1s) */
.event-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transition-delay: 1s; /* Espera 1s antes de aparecer */
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-card:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* EFEITO NEON AO PASSAR O MOUSE */
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(0, 242, 165, 0.5), 0 0 30px rgba(0, 162, 213, 0.3); /* Brilho neon */
    border-color: rgba(0, 242, 165, 0.8); /* Borda com cor vibrante */
    background: #222; /* Leve clareada no hover */
}

.event-card:hover .card-icon {
    box-shadow: 0 0 20px rgba(0, 242, 165, 0.6); /* Ícone também brilha */
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 162, 213, 0.15), rgba(0, 242, 165, 0.15)); /* Fundo sutil do ícone */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: #00A2D5;
    transition: box-shadow 0.3s ease; /* Transição para o brilho do ícone */
}

.card-icon i {
    font-size: 32px;
    background: -webkit-linear-gradient(135deg, #00A2D5, #00F2A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-icon.pesqbase {
    margin: 0 auto 30px auto;
    width: 100px;
    height: 100px;
}

.card-icon.pesqbase i {
    font-size: 40px;
}

.card-icon img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.card-title {
    font-size: 1.4rem;
    color: #f0f0f0; /* Título claro para fundo escuro */
    margin-bottom: 15px;
    font-weight: 700;
}

.card-desc {
    font-size: 1rem;
    color: #bbb;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 25px;
    text-align: center;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00A2D5;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1px solid rgba(0, 162, 213, 0.3);
    border-radius: 30px;
    background: rgba(0, 162, 213, 0.05);
}

.card-footer i {
    transition: transform 0.3s ease;
}

.event-card:hover .card-footer {
    background: #00A2D5;
    color: #fff;
    border-color: #00A2D5;
    box-shadow: 0 4px 15px rgba(0, 162, 213, 0.3);
}

.event-card:hover .card-footer i {
    transform: translateX(5px);
}

.card-action-icon {
    color: #00A2D5;
    opacity: 0; /* Começa invisível para dar um charme */
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Garante que fique no pé do cartão */
}

.event-card:hover .card-action-icon {
    opacity: 1;
    transform: translateX(0);
}

.page-section {
    padding-top: 150px;
    background-color: #f9fbfc;
    min-height: 100vh;
}

.page-title {
    font-size: clamp(2rem, 6vw, 3rem);
    color: #222;
}

.pesqbase-divider {
    width: 50px;
    height: 3px;
    background: #00A2D5;
    margin: 0 auto 30px auto;
}

.pesqbase-welcome {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.pesqbase-desc {
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.pesqbase-info {
    color: #777;
}

/* --- SEÇÃO PALESTRANTES --- */
.mt-20 {
    margin-top: 20px;
}

section#palestrantes {
    position: relative; /* Adicionado para posicionar os pseudo-elementos */
    overflow: hidden;
}

section#palestrantes::before,
section#palestrantes::after {
    content: '';
    position: absolute;
    top: 0;
    width: 450px; /* Largura da área de fade */
    height: 100%;
    z-index: 10;
    pointer-events: none; /* Permite que o mouse interaja com os cards por baixo */
}

section#palestrantes::before {
    left: 0;
    background: linear-gradient(to right, #00A2D5 0%, rgba(0, 162, 213, 0) 100%);
}

section#palestrantes::after {
    right: 0;
    background: linear-gradient(to left, #00F2A5 0%, rgba(0, 242, 165, 0) 100%);
}

.speakers-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 30px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.speakers-carousel-wrapper.dragging {
    cursor: grabbing;
    user-select: none;
}

.speakers-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Oculta scrollbar Chrome/Safari */
}

.speakers-carousel-wrapper:active {
    cursor: grabbing;
}

.speakers-track {
    display: flex;
    width: max-content;
    /* Removida a animação CSS. Agora é controlada por JS para permitir interação */
}

.speaker-card {
    width: 380px;
    margin: 0 15px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    perspective: 1000px;
    height: 650px; /* Increased height for desktop */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.speaker-card:hover .speaker-card-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.speaker-card.flipped .speaker-card-inner {
    transform: rotateY(180deg);
}

.speaker-card-front, .speaker-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    justify-content: space-between; /* Ensure content is spread out */
}

.speaker-card-back {
    background: linear-gradient(135deg, #00A2D5, #00F2A5);
    transform: rotateY(180deg);
}

.speaker-img {
    width: 100%;
    aspect-ratio: 1 / 1 !important; /* Forces square ratio */
    object-fit: cover;
    object-position: top;
    display: block;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.speaker-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.speaker-name {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.speaker-role {
    color: #00A2D5;
    font-size: 1rem;
    font-weight: 600;
}

.speaker-short-desc {
    color: #555;
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 15px;
    padding: 0 10px;
    text-align: center;
}

.speaker-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: transparent;
    color: #00A2D5;
    text-decoration: none;
    border: 2px solid #00A2D5;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 10px 20px 20px 20px; /* Consistently positive margin at bottom */
}

.speaker-action-btn:hover {
    background-color: #00A2D5;
    color: #ffffff;
}

.speaker-action-btn i {
    transition: transform 0.3s ease;
}

.speaker-action-btn:hover i {
    transform: translateX(5px);
}

/* --- SEÇÃO PROGRAMAÇÃO (NOVO ESTILO GRID) --- */
.schedule-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.schedule-tabs {
    display: flex;
    background-color: #e9ecef;
    border-radius: 50px;
    padding: 5px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #00A2D5, #00F2A5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 162, 213, 0.3);
}

.schedule-grid-wrapper {
    overflow-x: auto; /* Permite rolagem horizontal em telas pequenas */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.schedule-grid {
    display: none;
    grid-template-columns: 70px 3.5fr repeat(6, 1fr);
    grid-template-rows: [header] 60px [time-0800] 30px [time-0830] 30px [time-0900] 30px [time-0930] 30px [time-1000] 30px [time-1030] 30px [time-1100] 30px [time-1130] 30px [time-1200] 30px [time-1230] 30px [time-1300] 30px [time-1330] 30px [time-1400] 30px [time-1430] 30px [time-1500] 30px [time-1530] 30px [time-1600] 30px [time-1630] 30px [time-1700] 30px [time-1730] 30px [time-1800] 30px [time-1830] 30px [time-1900] 30px [time-1930] 30px [time-2000] 30px [time-2030] 30px;
    width: 100%;
    min-width: 1400px; /* Base para mobile/tablet scroll */
}

/* Em telas muito largas, removemos a limitação de 1500px para ocupar a tela */
@media (min-width: 1600px) {
    .schedule-grid {
        min-width: 100%;
        grid-template-columns: 70px 3fr repeat(6, 1fr);
    }
}

.schedule-grid.active {
    display: grid;
}

.grid-header {
    background-color: #f8f9fa;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 2;
}

.grid-header:first-child {
    position: sticky;
    left: 0;
    z-index: 11;
}

.time-slot {
    padding: 5px 10px;
    text-align: right;
    font-size: 0.8rem;
    color: #999;
    border-right: 1px solid #eee;
    border-bottom: 1px dotted #eee;
    grid-column: 1;
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 1;
}

.schedule-event {
    padding: 5px 8px;
    border-radius: 8px;
    margin: 2px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.2s ease;
}

.event-details-hint {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.schedule-event:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    z-index: 10;
}

.schedule-event:hover .event-details-hint {
    opacity: 1;
    transform: scale(1.1);
}

/* Tooltip para eventos da programação */
.schedule-event[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: normal;
    white-space: normal; /* Permite quebrar linha */
    width: max-content;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Seta do tooltip */
.schedule-event[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(30, 30, 30, 0.95) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

/* Desktop hover */
@media (hover: hover) {
    .schedule-event[data-tooltip]:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }

    .schedule-event[data-tooltip]:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }
}

/* Mobile click/focus */
.schedule-event[data-tooltip]:focus::after,
.schedule-event[data-tooltip]:active::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.schedule-event[data-tooltip]:focus::before,
.schedule-event[data-tooltip]:active::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.event-time {
    font-size: 0.7rem; /* Levemente menor para caber melhor */
    font-weight: bold;
    margin-bottom: 2px; /* Margem reduzida */
    opacity: 0.8;
}

.event-title {
    font-size: 0.85rem; /* Levemente menor */
    font-weight: bold;
    margin-bottom: 2px; /* Margem reduzida */
    line-height: 1.1; /* Linha mais justa */
}

.event-speaker {
    font-size: 0.75rem;
    line-height: 1.1;
    margin-bottom: 0;
}

.event-blue {
    background-color: #00A2D5;
}

.event-yellow {
    background-color: #FFC107;
    color: #333;
}

.event-red {
    background-color: #DC3545;
}

.event-green {
    background-color: #28A745;
}

.event-purple {
    background-color: #8884d8;
}

.event-teal {
    background-color: #20c997;
}

.event-pink {
    background-color: #e83e8c;
}

.event-break {
    background-color: #f0f0f0;
    color: #888;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ALERTA DE ROLAGEM MOBILE */
.scroll-hint-mobile {
    display: none;
    text-align: center;
    background: #e0f6fc;
    color: #00A2D5;
    padding: 12px 20px;
    border-radius: 50px;
    margin: 10px auto 25px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 162, 213, 0.15);
    border: 1px solid #b3ebf8;
}

.scroll-hint-mobile i {
    font-size: 1.1rem;
}

.horizontal-bounce {
    animation: horizontal-bounce 1.5s infinite;
    margin-left: 8px;
}

@keyframes horizontal-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* MEDIA QUERIES PARA TABLETS E MOBILES */
@media (max-width: 1200px) {
    /* Mostrar o hint apenas no mobile */
    .scroll-hint-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .speaker-card {
        width: 85vw; /* Largura fluida baseada na tela do mobile */
        max-width: 320px; /* Limite máximo que cabe em qq tela sem vazar */
    }

    .speaker-img {
        height: 250px; /* Altura da imagem ajustada para a largura mobile */
    }

    /* Desativa o fade do carrossel em mobile */
    section#palestrantes::before,
    section#palestrantes::after {
        display: none;
    }

    /* Tabelas de Programação responsivas nas bordas */
    #programacao {
        padding-left: 0;
        padding-right: 0;
    }

    #programacao .container-large {
        padding-left: 0;
        padding-right: 0;
    }

    .schedule-grid-wrapper {
        border-radius: 0;
    }

    .schedule-grid {
        grid-template-columns: 60px 4fr repeat(6, 1fr);
        min-width: 1300px; /* Expandido para que os 3 cards do Evento Principal no Dia 24/25 não fiquem esmagados */
        grid-template-rows: [header] 40px [time-0800] 30px [time-0830] 30px [time-0900] 30px [time-0930] 30px [time-1000] 30px [time-1030] 30px [time-1100] 30px [time-1130] 30px [time-1200] 30px [time-1230] 30px [time-1300] 30px [time-1330] 30px [time-1400] 30px [time-1430] 30px [time-1500] 30px [time-1530] 30px [time-1600] 30px [time-1630] 30px [time-1700] 30px [time-1730] 30px [time-1800] 30px [time-1830] 30px [time-1900] 30px [time-1930] 30px [time-2000] 30px [time-2030] 30px;
    }

    .grid-header {
        padding: 5px;
        font-size: 0.75rem;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .time-slot {
        padding: 5px 2px;
        font-size: 0.7rem;
        text-align: center;
    }
}

/* --- PINAGEM HORIZONTAL APENAS PARA TABLET (769px - 1200px) --- */
/* --- PINAGEM HORIZONTAL PARA QUALQUER TELA < 1200px (Mobile e Tablet) --- */
@media (max-width: 1200px) {
    #chamadas {
        padding: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
        background-color: #1a1a1a;
        overflow: hidden; /* Fundamental para evitar scroll nativo durante a pinagem */
    }

    #chamadas .container-large {
        padding: 0;
        width: 100vw;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        position: relative;
    }

    /* Título e Hint ficam fixos (estáticos) no topo do container pinado */
    #chamadas .section-title-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        padding-top: 80px;
        padding-bottom: 20px;
        background-color: #1a1a1a;
        z-index: 5;
        margin: 0;
    }

    #chamadas .scroll-hint-mobile {
        display: flex !important;
        position: absolute;
        top: 160px; /* Ajustado para ficar logo abaixo do título */
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        margin: 0;
        background: rgba(0, 162, 213, 0.1);
        border: 1px solid rgba(0, 162, 213, 0.3);
    }

    /* A pista que realmente corre na horizontal */
    #chamadas .cards-grid {
        display: flex;
        width: max-content;
        flex-wrap: nowrap;
        margin: 0;
        align-items: center;
        height: 100vh;
        padding-top: 220px; /* Aumentado para dar espaço total ao título e hint */
        gap: 0;
        overflow: visible; /* O overflow é controlado pelo parent #chamadas */
    }

    #chamadas .event-card {
        flex-shrink: 0;
        width: 320px;
        max-width: 85vw;
        height: 420px;
        margin-right: 30px;
        margin-left: 0;
    }
}

/* Removido layout de empilhamento vertical antigo */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 15px 60px 15px;
        min-height: 100dvh; /* Preencher a tela toda no mobile */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-padding {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-flex-container {
        gap: 30px;
        margin-bottom: 50px;
        flex-direction: column;
        padding: 0 15px;
    }

    .about-text, .about-img-container {
        min-width: 100% !important;
        flex: 100% !important;
    }

    .about-text h3 {
        font-size: 1.4rem !important;
        text-align: center;
    }

    .responsive-text {
        text-align: inherit; /* Permite que o alinhamento do HTML/Desktop prevaleça */
        font-size: 1.05rem;
    }

    .info-section {
        padding-top: 40px;
        margin-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .info-section h2 {
        font-size: 1.8rem;
    }

    .info-section p {
        padding: 0 10px;
    }

    .back-button-container {
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        margin-bottom: 30px;
    }


}

/* MEDIA QUERIES PARA PALESTRANTES */
@media (max-width: 768px) {
    .speaker-card {
        width: 300px;
        height: 520px;
    }

    .speaker-img {
        width: 100%;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        width: 280px;
        height: 500px;
    }

    .hero-section {
        padding-top: 100px;
        min-height: 50vh;
    }

    .about-img {
        height: 250px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .responsive-text {
        font-size: 1rem;
    }
}

/* MODAL DA PROGRAMAÇÃO */
.schedule-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}
.schedule-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.schedule-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.schedule-modal-overlay.active .schedule-modal-content {
    transform: translateY(0);
}

.schedule-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.schedule-modal-close:hover {
    color: #00A2D5;
}

#schedule-modal-title {
    margin-top: 0;
    color: #333;
    font-size: 1.6rem;
    padding-right: 20px;
    margin-bottom: 10px;
}

.schedule-modal-meta {
    color: #00A2D5;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 5px 0;
}
.schedule-modal-meta i {
    margin-right: 5px;
}

#schedule-modal-desc {
    margin-top: 20px;
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
}
/* --- ESTILOS PARA PÁGINAS DE DETALHES DE EVENTOS (CHAMADAS) --- */
.event-hero {
    padding: 120px 20px 60px;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.9)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: #fff;
    text-align: center;
}

.event-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 20px;
    background: -webkit-linear-gradient(135deg, #00A2D5, #00F2A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumb {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #00A2D5;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #00F2A5;
}

.event-section {
    padding: 80px 0;
    background: #fff;
}

.event-section.dark {
    background: #1a1a1a;
    color: #fff;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.topic-item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 15px;
    border-left: 4px solid #00A2D5;
    transition: transform 0.3s ease;
}

.dark .topic-item {
    background: #222;
    border-left-color: #00F2A5;
}

.topic-item:hover {
    transform: translateX(10px);
}

.topic-item h4 {
    color: #00A2D5;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.dark .topic-item h4 {
    color: #00F2A5;
}

.submission-box {
    background: linear-gradient(135deg, rgba(0, 162, 213, 0.1), rgba(0, 242, 165, 0.1));
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid rgba(0, 162, 213, 0.2);
    text-align: center;
}

.submission-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.empty-schedule-card {
    padding: 60px 20px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 20px;
    border: 2px dashed #ccc;
    color: #888;
    margin-top: 40px;
}

.empty-schedule-card p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.dark .empty-schedule-card {
    background: #252525;
    border-color: #444;
}

.empty-schedule-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* --- COMPONENTES PARA CONTEÚDO DETALHADO --- */
.committee-section {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 162, 213, 0.1);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.committee-item {
    padding: 15px;
    text-align: center;
}

.committee-item strong {
    display: block;
    color: #00A2D5;
    margin-bottom: 5px;
}

.committee-item span {
    font-size: 0.9rem;
    color: #888;
}

.trilhas-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.trilha-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #fdfdfd;
    border-radius: 10px;
    border-left: 5px solid #00A2D5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.dark .trilha-item {
    background: #222;
    border-left-color: #00F2A5;
}

.trilha-title {
    font-weight: 700;
}

.trilha-pages {
    font-size: 0.9rem;
    color: #00A2D5;
    font-weight: 600;
}

.bullet-list {
    text-align: left;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    gap: 40px;
    list-style-type: none;
    margin-top: 30px;
}

.bullet-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.bullet-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00A2D5;
    font-weight: bold;
}

@media (max-width: 768px) {
    .bullet-list {
        columns: 1;
    }
}

/* --- NOVOS COMPONENTES PARA REESTRUTURAÇÃO DE EVENTOS --- */
.info-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 162, 213, 0.1);
}

.dark .info-box {
    background: #222;
    border-color: rgba(0, 242, 165, 0.1);
}

.info-box h3 {
    color: #00A2D5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(0, 162, 213, 0.05), rgba(0, 242, 165, 0.05));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 162, 213, 0.1);
}

.benefit-card p {
    text-align: center;
}

.benefit-card i {
    font-size: 2.5rem;
    color: #00A2D5;
    margin-bottom: 15px;
}

.benefit-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.dark .benefit-card h4 {
    color: #fff;
}

/* Tabela de Ordem das Apresentações */
.presentation-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

.presentation-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.presentation-table th {
    background: #00A2D5;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.presentation-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.dark .presentation-table td {
    border-bottom-color: #333;
    color: #ddd;
}

.presentation-time {
    font-weight: 700;
    color: #00A2D5;
    white-space: nowrap;
}

.presentation-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 162, 213, 0.1);
    color: #00A2D5;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-dates {
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: center;
     margin-top: 40px;
}

.date-item {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    min-width: 250px;
    border-left: 5px solid #00F2A5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dark .date-item {
    background: #222;
}

.date-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00A2D5;
    margin-top: 5px;
}

/* --- CORREÇÕES DE CONTRASTE E VISIBILIDADE (DARK MODE) --- */
.event-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

/* Força texto claro em qualquer seção ou container dark */
.dark, .dark-section, .event-section.dark {
    color: #f0f0f0 !important;
}

.dark p, .dark-section p, .event-section.dark p,
.dark li, .dark-section li, .event-section.dark li,
.dark span, .dark-section span, .event-section.dark span {
    color: #eee !important;
}

.dark h1, .dark h2, .dark h3, .dark h4,
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 {
    color: #fff !important;
}

/* Correção específica para blocos de informação em fundo escuro */
.event-section.dark .info-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 162, 213, 0.2) !important;
}

.event-section.dark .info-box h3,
.event-section.dark .info-box p,
.event-section.dark .info-box li {
    color: #fff !important;
}

.event-section.dark .trilha-item {
    background: #252525 !important;
    border-left-color: #00F2A5 !important;
}

.event-section.dark .trilha-title {
    color: #fff !important;
}

/* Ajuste das listas com setas em modo dark */
.dark .bullet-list li::before {
    color: #00F2A5 !important;
}

/* Garantir que o texto do rodapé dos cards de evento não suma em fundo dark */
.dark .card-footer {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #00F2A5 !important;
}

/* Correção para a tabela de datas no modo dark */
.dark .date-item {
    background: #2a2a2a !important;
    border-left-color: #00F2A5 !important;
}

.dark .date-value {
    color: #00F2A5 !important;
}

/* Ajuste para o placeholder de agenda em modo dark */
.dark .empty-schedule-card {
    background: #222 !important;
    border-color: #444 !important;
    color: #aaa !important;
}

/* Correção para a seção de coordenação */
.dark .committee-section {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 162, 213, 0.3) !important;
}

.dark .committee-item strong {
    color: #00F2A5 !important;
}

/* Garantia de texto branco em todos os heróis de eventos */
.event-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.event-hero .responsive-text,
.event-hero p,
.event-hero .breadcrumb,
.event-hero .breadcrumb a {
    color: #ffffff !important;
    opacity: 0.9;
}

.event-hero .breadcrumb a:hover {
    color: #00F2A5 !important;
    opacity: 1;
}

/* --- BOTÃO VOLTAR NO HERO (GLASS) --- */
.hero-back-btn-container {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start;
}

.hero-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-back-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.hero-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00F2A5;
    color: #00F2A5 !important;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-back-btn:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .hero-back-btn-container {
        justify-content: center; /* Centralizado no mobile para melhor UI */
        margin-bottom: 20px;
    }
    
    .hero-back-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}

/* --- SEÇÃO REVELAR DESENVOLVEDOR (BOLHA) --- */
.dev-reveal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    perspective: 1000px;
}

/* --- ESTILOS FITA DESENVOLVEDOR (RIBBON) --- */
.dev-ribbon-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.dev-ribbon {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #00A2D5;
}

.dev-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 165, 0.1), transparent);
    animation: ribbonShimmer 5s infinite;
}

.dev-ribbon-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dev-ribbon h2 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.dev-ribbon p {
    color: #999;
    margin: 0;
    font-size: 0.95rem;
}

.btn-conhecer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #00A2D5, #00F2A5);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    z-index: 2;
}

.btn-conhecer:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(0, 242, 165, 0.4);
}

@keyframes ribbonShimmer {
    0% { left: -100%; }
    20%, 100% { left: 100%; }
}

@media (max-width: 768px) {
    .dev-ribbon {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 30px;
        border-left: none;
        border-top: 5px solid #00A2D5;
    }

    .dev-ribbon h2 {
        font-size: 1.3rem;
    }
}

/* --- ESTILOS PÁGINA DESENVOLVEDOR --- */
.dev-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a, #002b3d);
    text-align: center;
    padding: 100px 20px;
}

.dev-profile-label {
    background: rgba(0, 242, 165, 0.1);
    color: #00F2A5;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.dev-story-section {
    padding: 80px 20px;
    background: #fff;
}

.dev-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.dev-bio-text i {
    color: #00A2D5;
    font-size: 2rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dev-bubble-outer:hover {
        width: 100%;
        height: auto;
    }
}




.epic-dev-container {
    background: #050505;
    color: #ffffff;
    padding-top: 40px;
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;

}

.epic-glow-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(0, 162, 213, 0.15) 0%, rgba(0, 0, 0, 0) 60%),
                radial-gradient(circle at 80% 80%, rgba(0, 242, 165, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 0;
    pointer-events: none;
}

.epic-hero-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    min-height: auto;
    margin: 0 auto 60px auto;
    max-width: 1000px;
}

.epic-hero-left {
    display: flex;
    justify-content: center;
}

.epic-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    visibility: hidden;

}

.epic-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.orbital-ring {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    border: 1px dashed rgba(0, 242, 165, 0.4);
    border-radius: 60px;
    animation: rotateRing 20s linear infinite;
    z-index: 1;
}

.epic-image-glow {
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: 10%;
    background: #00A2D5;
    filter: blur(50px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes rotateRing {
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    to { transform: scale(1.1); opacity: 0.6; background: #00F2A5; }
}

.epic-hero-right {
    text-align: left;

    width: 100%;
    max-width: 800px;
    margin: 0;
}

.hero-text-mask {
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;

}

.epic-tag {
    display: inline-block;
    color: #00F2A5;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    visibility: hidden;
}

.epic-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 30%, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    visibility: hidden;
    text-align: left;
}

.epic-subtitle {
    color: #aaa;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 800px;
    visibility: hidden;
    text-align: left;
}

.epic-action-group {
    margin-top: 30px;
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
}

.epic-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.epic-btn-primary {
    background: #fff;
    color: #000;
}

.epic-btn-primary:hover {
    background: #00F2A5;
    box-shadow: 0 10px 30px rgba(0, 242, 165, 0.3);
}

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

.epic-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.epic-section-spacing {
    margin-top: 100px;
    position: relative;
    z-index: 2;
}

.epic-section-title {
    font-size: 2.5rem;
    color: #fff;
    visibility: hidden;
}

.epic-glass-panel, .epic-showcase-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    visibility: hidden;
    text-align: left;

    max-width: 1000px;
    margin: 0 auto;
}

.epic-showcase-panel {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 162, 213, 0.05), rgba(0, 242, 165, 0.05));
    border-color: rgba(0, 242, 165, 0.2);
}

.glass-icon-header {
    color: #00A2D5;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-title, .showcase-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.showcase-subtitle {
    color: #00F2A5;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-style: italic;
}

.glass-text, .showcase-desc {
    color: #bbb;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.showcase-badge {
    background: #00F2A5;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.showcase-tags span {
    background: rgba(255,255,255,0.05);
    color: #00A2D5;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 162, 213, 0.2);
}

.showcase-icon-large {
    font-size: 8rem;
    color: rgba(255,255,255,0.03);
    text-shadow: 0 0 50px rgba(0, 242, 165, 0.2);
    transition: all 0.5s ease;
}

.epic-showcase-panel:hover .showcase-icon-large {
    color: rgba(0, 242, 165, 0.1);
    transform: scale(1.1) rotate(15deg);
}



.tech-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    visibility: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
}

.tech-marquee-track {
    display: flex;
    width: fit-content;
    animation: scrollMarquee 40s linear infinite;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    margin: 0 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ccc;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tech-item i {
    font-size: 1.5rem;
    color: #00A2D5;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-5px);
}
.tech-item:hover i {
    color: #fff;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



.epic-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.epic-social-card {
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #888;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: hidden;
}

.social-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.epic-social-card i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.epic-social-card span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.epic-social-card::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.epic-social-card:hover { transform: translateY(-10px); }
.epic-social-card:hover i { transform: scale(1.2); }
.epic-social-card:hover::before { width: 300px; height: 300px; }



.epic-dev-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 100;
    opacity: 0.1;
    animation: globalGlitch 8s infinite linear;
}

@keyframes globalGlitch {
    0%, 95% { opacity: 0.1; transform: translateY(0); filter: contrast(100%); }
    96% { opacity: 0.3; transform: translateY(-5px); filter: contrast(200%) hue-rotate(90deg); }
    97% { opacity: 0.1; transform: translateY(5px); filter: invert(20%); }
    98% { opacity: 0.2; transform: translateY(-2px); filter: contrast(150%); }
    100% { opacity: 0.1; transform: translateY(0); }
}



.dev-scroll-indicator {
    text-align: center;
    margin: -20px auto 80px;
    opacity: 0.7;
    animation: bounceIndicator 2s infinite ease-in-out;
    position: relative;
    z-index: 5;
    visibility: hidden;
}
.scroll-mouse {
    display: block;
    width: 24px; height: 36px;
    border: 2px solid #00F2A5;
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
    background: rgba(0,0,0,0.5);
}
.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 6px;
    background: #00F2A5;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}
.scroll-text {
    font-size: 0.8rem;
    color: #00F2A5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}
@keyframes bounceIndicator {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}



.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 165, 0.6) 0%, rgba(0, 162, 213, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(40px);
}



.epic-social-card:hover {
    color: #fff;
    border-color: #fff;
}
.epic-social-card:hover::before {
    background: rgba(255, 255, 255, 0.05);

}

@media (max-width: 1024px) {
    .epic-image-wrapper { width: 250px; height: 250px; margin-bottom: 20px; }
    .epic-showcase-panel { grid-template-columns: 1fr; }
    .showcase-visual { display: none; }
    
    .epic-hero-section { flex-direction: column; gap: 30px; }
    


    .hero-text-mask { justify-content: flex-start; }
    .epic-hero-right { text-align: left; padding: 0 20px; }
}
