@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0A0514;
    --bg-darker: #05020B;
    --text-light: #ffffff;
    --text-soft: #A89DC2;
    --text-softer: #7A6F95;

    --grad-primary: linear-gradient(135deg, #7A42FF 0%, #D45CFF 100%);
    --grad-primary-hover: linear-gradient(135deg, #8B59FF 0%, #E073FF 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.0) 100%);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-high: rgba(255, 255, 255, 0.15);
    --border-highlight: rgba(122, 66, 255, 0.4);
    --bg-glass: rgba(255, 255, 255, 0.015);
    --bg-glass-heavy: rgba(25, 12, 45, 0.85);
    --glass-blur: blur(24px);

    --glow-primary: 0 0 60px rgba(122, 66, 255, 0.25);
    --shadow-premium: 0 12px 48px rgba(0, 0, 0, 0.6);

    --font-main: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 999px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #7A42FF;
    color: var(--text-light);
}

::-moz-selection {
    background: #7A42FF;
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.liquid-glass {
    background: var(--grad-surface);
    background-color: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.4s;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(122, 66, 255, 0.3);
}

.btn-primary:hover {
    background: var(--grad-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 66, 255, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
    border: 1px solid var(--border-glass-high);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* HEADER */
.header {
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.bg-glow-1 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: -1;
    width: 600px;
    height: 600px;
    background: rgba(122, 66, 255, 0.15);
    top: -200px;
    left: -200px;
}

.bg-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: -1;
    width: 500px;
    height: 500px;
    background: rgba(212, 92, 255, 0.15);
    top: 40%;
    right: -150px;
}

/* HERO SECTION - VIDEO BACKGROUND */
.hero {
    position: relative;
    z-index: 1;
    /* Cria o contexto isolado, nada escapa daqui para trás do body */
    padding-top: 180px;
    padding-bottom: 160px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Logo atrás de tudo na Hero */
    background: var(--bg-darker);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 1;
    /* Sem transparência interposta */
    z-index: 3;
}

.video-overlay {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    /* Garante que cubra bordas milimétricas */
    height: 104%;
    /* Vazamento proposital nas laterais do overlay */
    background:
        linear-gradient(to right, var(--bg-dark) 0%, rgba(10, 5, 20, 0.8) 45%, rgba(10, 5, 20, 0) 100%),
        linear-gradient(to bottom, rgba(10, 5, 20, 0) 0%, rgba(10, 5, 20, 0) 60%, var(--bg-dark) 95%, var(--bg-dark) 100%);
    box-shadow: inset 0 -60px 40px -10px var(--bg-dark);
    /* Máscara poderosa na base cancela a linha 100% */
    z-index: 4;
    /* Sobreposição de cor e fade por cima de tudo na div de fundo */
    pointer-events: none;
}

.hero .container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    text-align: left;
    width: 100%;
    max-width: 600px;
    /* Ainda menor e garantido na esquerda */
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 32px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-align: left;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* COUNTDOWN TIMER */
.countdown-wrapper {
    display: inline-flex;
    justify-content: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px 32px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.cd-item .val {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-light);
    text-shadow: var(--glow-primary);
}

.cd-item .lbl {
    font-size: 0.75rem;
    color: var(--text-soft);
    text-transform: uppercase;
    margin-top: 8px;
}

.cd-sep {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--border-glass-high);
    line-height: 1;
    transform: translateY(-4px);
}

/* ABOUT & IA & EXPERTISE SECTION */
.about {
    padding: 80px 0;
}

.about-card {
    padding: 64px 48px;
    text-align: center;
}

.about-card p {
    font-size: 1.25rem;
    color: var(--text-soft);
    margin-bottom: 24px;
}

/* EFEITO GLOW RESPONSIVO AO MOUSE */
.mouse-glow {
    position: relative;
    overflow: hidden;
    /* Mantém a luz contida nos limites da box */
}

.mouse-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* O gradiente desenha um círculo de 600px nas coordenadas passadas pelo JS */
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(122, 66, 255, 0.2),
            /* A cor principal do brilho (roxa) */
            transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.mouse-glow:hover::before {
    opacity: 1;
    /* Acende a luz apenas quando houver hover */
}

.mouse-glow>* {
    position: relative;
    z-index: 1;
    /* Garante que o texto fique por cima do brilho */
}

.ai-expertise {
    padding: 80px 0;
}

.ai-card {
    padding: 64px 48px;
    text-align: center;
    border-color: var(--border-highlight);
    background: radial-gradient(circle at center, rgba(122, 66, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
}

/* CAROUSEL CONTROLS */
.carousel-section {
    padding: 80px 0;
}

.carousel-header {
    margin-bottom: 48px;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(10, 5, 20, 0.5);
    border: 1px solid var(--border-glass-high);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow:hover {
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(122, 66, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

.scrollable-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Sangria estilo Netflix: alinha com container mas permite scroll até as bordas */
    padding: 32px max(24px, calc(50vw - 600px + 24px)) 64px max(24px, calc(50vw - 600px + 24px));
    scrollbar-width: none;
}

.scrollable-track::-webkit-scrollbar {
    display: none;
}

.scrollable-track>* {
    scroll-snap-align: center;
}

/* SPONSOR CSS INFINITE SCROLL */
.carousel-track-wrapper {
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    width: max-content;
    animation: scrollX 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollX {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FLIP CARDS 3D CONFIG */
.flip-card {
    background-color: transparent;
    width: 320px;
    height: 440px;
    perspective: 1200px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card:hover {
    transform: scale(1.04);
    z-index: 10;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

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

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* Netflix Style: Borderless */
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.flip-card-front {
    background-color: var(--bg-dark);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
}

.flip-card-front::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.person-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    z-index: 2;
}

.person-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
}

.person-role {
    font-size: 0.875rem;
    color: var(--text-softer);
    margin-top: 4px;
}

.flip-card-back {
    background-color: var(--bg-glass-heavy);
    color: white;
    transform: rotateY(180deg) translateZ(1px);
    /* Borderless back card shadow */
    box-shadow: 0 0 50px rgba(122, 66, 255, 0.3);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* Nome do palestrante: discreto, hierarquia secundária */
.flip-card-back h4 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-softer);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Primeira linha de tema: destaque principal */
.flip-card-back p.tema {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 16px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-content {
    width: 100%;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.scroll-content h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-light);
    flex-shrink: 0;
}

.scroll-content p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
    text-align: left;
}

/* Custom Scrollbar for Bio */
.scroll-content::-webkit-scrollbar {
    width: 4px;
}

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

.scroll-content::-webkit-scrollbar-thumb {
    background: var(--grad-primary);
    border-radius: 10px;
}

.flip-card-back p {
    font-size: 0.875rem;
    color: var(--text-soft);
    margin-bottom: 24px;
    line-height: 1.6;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass-high);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.linkedin-btn:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass-high);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* BENEFÍCIOS SECTION */
.benefits {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #D45CFF;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--text-soft);
    font-size: 1rem;
}

/* TICKETS */
.tickets {
    padding: 120px 0;
    position: relative;
}

.ticket-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 56px 48px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.ticket-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
}

.ticket-price {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 40px;
}

.progress-container {
    margin-bottom: 48px;
    text-align: left;
}

.progress-texts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-texts .highlight {
    color: #D45CFF;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--grad-primary);
    width: 0%;
    border-radius: var(--radius-full);
    transition: width 1.5s;
}

.ticket-checks {
    text-align: left;
    list-style: none;
    margin-bottom: 48px;
}

.ticket-checks li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-checks li:last-child {
    border-bottom: none;
}

.ticket-checks li::before {
    content: '✦';
    color: #D45CFF;
    font-size: 1.2rem;
}

.btn-ticket {
    width: 100%;
    font-size: 1.125rem;
    padding: 20px;
    border-radius: 12px;
}

/* REGISTRATION FORM STYLES */
.registration-form {
    text-align: left;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass-high);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

/* CUSTOM SELECT STYLES */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass-high);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-highlight);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--border-highlight);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.custom-select-trigger .arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--text-soft);
    border-bottom: 2px solid var(--text-soft);
    transform: rotate(-45deg);
    transition: transform 0.3s;
    margin-right: 5px;
}

.custom-select.open .custom-select-trigger .arrow {
    transform: rotate(135deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass-heavy);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-highlight);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    max-height: 300px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 14px 20px;
    color: var(--text-soft);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

/* THE REQUESTED PURPLE HOVER */
.custom-option:hover {
    background: var(--grad-primary);
    color: var(--text-light);
}

.custom-option.selected {
    background: rgba(122, 66, 255, 0.2);
    color: var(--text-light);
}

.registration-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-highlight);
    box-shadow: 0 0 15px rgba(122, 66, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* TOGGLE SWITCH */
.checkbox-group {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.toggle-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 65px;
    min-height: 26px;
    cursor: pointer;
    user-select: none;
    width: fit-content;
}

.toggle-label:hover .toggle-text {
    color: #D45CFF;
}

.toggle-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-slider {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    transition: 0.4s;
    border: 1px solid var(--border-glass);
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-soft);
    border-radius: 50%;
    transition: 0.4s;
}

.toggle-label input:checked + .toggle-slider {
    background: var(--grad-primary);
}

.toggle-label input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background: white;
}

.toggle-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* CONDITIONAL CONTAINERS */
.hidden {
    display: none !important;
}

.participation-container, .info-box, .form-group[id="workshop-group"] {
    margin-bottom: 32px;
    animation: fadeIn 0.4s ease-out;
}

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

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.radio-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-highlight);
}

.radio-item:hover span {
    color: #D45CFF;
}

.radio-item input {
    accent-color: #D45CFF;
    width: 18px;
    height: 18px;
}

.info-box {
    padding: 24px;
    background: rgba(122, 66, 255, 0.05);
    border: 1px solid rgba(122, 66, 255, 0.2);
    border-radius: var(--radius-sm);
    text-align: left;
}

.support-text {
    font-size: 0.875rem;
    color: var(--text-soft);
    margin-top: 8px;
    line-height: 1.5;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 40px 0;
}

/* PIX SECTION */
.ticket-promo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #FF8A00 0%, #FF2E00 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pix-container {
    padding: 32px;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    text-align: left;
}

.pix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

.pix-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #D45CFF;
    letter-spacing: 0.1em;
}

.pix-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
}

.pix-instruction {
    font-size: 0.875rem;
    color: var(--text-soft);
    margin-bottom: 16px;
}

.pix-key-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    transition: all 0.3s;
}

.pix-key-wrapper:hover {
    background: rgba(122, 66, 255, 0.05);
    border-color: #D45CFF;
}

.pix-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pix-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-softer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pix-key-wrapper code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.pix-account {
    font-size: 0.75rem;
    color: #D45CFF;
    font-weight: 600;
}

.btn-copy-ifood {
    background: var(--grad-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-copy-ifood:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(122, 66, 255, 0.4);
}

.btn-copy-ifood.success {
    background: #00C853;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.4);
}

.pix-warning {
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-softer);
    line-height: 1.4;
    text-align: center;
}

/* FILE UPLOAD */
.file-upload-wrapper {
    position: relative;
    height: 60px;
    cursor: pointer;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-dummy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--border-glass-high);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.file-upload-wrapper:hover .file-dummy {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-highlight);
}

.file-icon {
    font-size: 1.25rem;
}

.file-name {
    font-size: 0.875rem;
    color: var(--text-soft);
}

/* LOCAL INOVA */

/* LOCAL INOVA */
.location {
    padding: 100px 0;
    overflow: hidden;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.location-content {
    text-align: left;
}

.location-details {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.interaction-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.loc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-soft);
}

.loc-item strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
    font-size: 1.125rem;
}

.loc-icon {
    font-size: 1.5rem;
}

/* TILT CARD 3D */
.perspective-wrapper {
    perspective: 1200px;
    transform-style: preserve-3d;
    width: 100%;
    height: 450px;
    /* Garante limite firme para os cálculos do mouse no Javascript */
    cursor: pointer;
}

.tilt-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    border: none;
    box-shadow: none;
    will-change: transform;
    /* Hardware Acceleration */
}

.tilt-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 0px 48px rgba(122, 66, 255, 0.2));
    transition: filter 0.6s ease;
    will-change: transform;
    /* Hardware Acceleration for Shadow Map */
}

.perspective-wrapper:hover .tilt-card img {
    filter: drop-shadow(0 24px 64px rgba(212, 92, 255, 0.7));
    /* Passa agora o controle do hover para a caixa que não move */
}

/* PATROCINADORES LOGOS */
.sponsors {
    padding: 60px 0 120px;
}

.sponsors-tier {
    margin-bottom: 64px;
    text-align: center;
}

.sponsors-tier h3 {
    font-size: 1.25rem;
    color: var(--text-soft);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Cotas Hierarchy: Headers */
.sponsors-tier.master h3 {
    font-size: 1.75rem;
    color: var(--text-light);
    text-shadow: var(--glow-primary);
    letter-spacing: 0.1em;
}

.sponsors-tier.patrocinadores h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    opacity: 0.9;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    align-items: center;
}

/* Cotas Hierarchy: Logo Size & Prominence */
.sponsors-tier.master .logos-grid {
    margin-bottom: 80px;
}

@keyframes pulseMaster {
    0% { filter: drop-shadow(0 0px 30px rgba(122, 66, 255, 0.3)); transform: scale(1.05); }
    50% { filter: drop-shadow(0 0px 70px rgba(212, 92, 255, 0.9)); transform: scale(1.08); }
    100% { filter: drop-shadow(0 0px 30px rgba(122, 66, 255, 0.3)); transform: scale(1.05); }
}

.sponsors-tier.master .logo-item {
    opacity: 1;
    /* Master sempre colorido e visível com Glow Vivo infinito */
    animation: pulseMaster 4s infinite ease-in-out;
}

.sponsors-tier.master .logo-item:hover {
    animation-play-state: paused;
    transform: scale(1.12) !important;
    filter: drop-shadow(0 0px 90px rgba(212, 92, 255, 1));
}

.sponsors-tier.master .logo-item img {
    height: 160px;
}

/* Absolutamente gigante */

.sponsors-tier.patrocinadores .logo-item {
    opacity: 0.7;
    filter: grayscale(50%);
    /* Menos opaco, metade da cor */
}

.sponsors-tier.patrocinadores .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sponsors-tier.patrocinadores .logo-item img {
    height: 80px;
}

/* Médio/Grande */

.sponsors-tier.apoiadores .logo-item {
    opacity: 0.4;
    filter: grayscale(100%);
    /* Base da pirâmide (apagado) */
}

.sponsors-tier.apoiadores .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sponsors-tier.apoiadores .logo-item img {
    height: 40px;
}

/* Base */

/* Global Logo Transitions */
/* SPONSORS CTA */
.sponsors-cta {
    margin-top: 80px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
}

.sponsors-cta h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.sponsors-cta p {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 0px 30px rgba(37, 211, 102, 0.3);
    min-width: 240px;
    gap: 12px;
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp .icon {
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .sponsors-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 32px;
    }

    .sponsors-cta p {
        margin: 0 auto;
    }
}

/* MEMORIAL FORMANDOS */
.memorial {
    padding: 100px 0;
    background: var(--bg-darker);
}

.memorial-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.memorial-header p {
    color: var(--text-soft);
    font-size: 1.125rem;
}

/* INFLUENCERS ACCORDION */
.influencers {
    padding: 100px 0 20px;
    overflow: hidden;
}

.accordion-gallery {
    display: flex;
    width: 100%;
    height: 500px;
    gap: 8px;
    /* space between slices */
}

.gallery-item {
    position: relative;
    flex: 1;
    /* all shrink equally */
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover,
.gallery-item.active {
    flex: 8;
    /* Expand dramatically */
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: opacity 0.6s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-overlay,
.gallery-item.active .gallery-overlay {
    opacity: 0;
}

.gallery-item:hover img,
.gallery-item.active img {
    transform: scale(1.05);
    /* Slight zoom on image when active */
}

.gallery-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0s;
    pointer-events: none;
}

.gallery-item:hover .gallery-content,
.gallery-item.active .gallery-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.influencer-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(25, 12, 45, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass-high);
    width: max-content;
    max-width: 100%;
    border-radius: var(--radius-full);
}

.insta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    flex-shrink: 0;
}

.insta-icon svg {
    width: 20px;
    height: 20px;
}

.influencer-info h4 {
    font-size: 1rem;
    color: var(--text-light);
    white-space: nowrap;
    margin-bottom: 2px;
}

.influencer-info span {
    font-size: 0.875rem;
    color: var(--text-soft);
    white-space: nowrap;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question .icon {
    font-size: 1.25rem;
    color: var(--text-soft);
    transition: transform 0.3s, color 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
    padding: 0 24px;
    color: var(--text-soft);
}

.faq-item.active {
    border-color: var(--border-highlight);
    background: rgba(122, 66, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 1200px;
    padding: 0 24px 24px 24px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    color: #D45CFF;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 32px;
    background: var(--bg-darker);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo img {
    height: 50px;
    display: block;
}

.footer-logo p {
    color: var(--text-soft);
    margin-top: 12px;
    max-width: 300px;
}

.footer-realizacao p {
    font-weight: 600;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-softer);
    font-size: 0.875rem;
}

/* JS CLASSES */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 100px;
        text-align: center;
    }

    .hero .container {
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        text-align: center;
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .countdown-wrapper {
        justify-content: center;
        padding: 20px;
        gap: 16px;
    }

    .cd-item .val {
        font-size: 2rem;
    }

    .cd-sep {
        font-size: 2rem;
    }

    /* Accordion adjustments */
    .accordion-gallery {
        height: 700px;
        flex-direction: column;
    }

    .gallery-item:hover,
    .gallery-item.active {
        flex: 5;
    }

    .form-group .toggle-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    #workshop {
        width: 100%;
    }

    #workshop option {
        padding: 10px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content {
        text-align: center;
    }

    .location-content .section-title {
        text-align: center !important;
    }

    .location-details {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .perspective-wrapper {
        height: 350px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-logo p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    :root {
        --radius-md: 12px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .header {
        height: 70px;
    }

    .nav-content {
        height: 70px;
    }

    /* Instead of hiding, show a smaller button */
    .nav-content .btn {
        padding: 10px 16px;
        font-size: 0.75rem;
        letter-spacing: 0.02em;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-tag {
        padding: 6px 16px;
        font-size: 0.75rem;
        margin-bottom: 24px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .countdown-wrapper {
        gap: 12px;
        padding: 16px;
        width: 100%;
    }

    .cd-item {
        min-width: 45px;
    }

    .cd-item .val {
        font-size: 1.5rem;
    }

    .cd-sep {
        font-size: 1.5rem;
    }

    .cd-item .lbl {
        font-size: 0.65rem;
    }

    .about-card, .ai-card, .ticket-wrapper {
        padding: 32px 20px;
    }

    .about-card p, .ai-card p {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 30px 24px;
    }

    .scrollable-track {
        padding: 16px 20px 40px;
        gap: 16px;
    }

    .flip-card {
        width: 260px;
        height: 350px;
    }

    .ticket-price {
        font-size: 2.8rem;
    }

    .btn-ticket {
        padding: 16px;
    }

    .sponsors-tier.master .logo-item img {
        height: 100px;
    }

    .sponsors-tier.patrocinadores .logo-item img {
        height: 60px;
    }

    .logos-grid {
        gap: 32px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }

    .carousel-arrow {
        display: none;
    }

    .influencer-box {
        bottom: 16px;
        left: 16px;
        padding: 8px 12px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .countdown-wrapper {
        gap: 8px;
    }

    .cd-item {
        min-width: 40px;
    }

    .cd-sep {
        transform: translateY(-2px);
    }
}

/* Spinner de Carregamento para Botões */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

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