:root {
    --primary: #0075BE;      /* Azul do logo +Networking */
    --secondary: #FFB81C;    /* Amarelo/dourado corporativo */
    --dark: #003865;         /* Azul escuro */
    --light: #F5F7FA;        /* Cinza claro para backgrounds */
    --text-primary: #1a1a1a; /* Texto principal */
    --text-secondary: #666;  /* Texto secundário */
    --border: #E5E7EB;       /* Bordas subtis */
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 2s forwards;
}

.splash-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.splash-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.splash-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.9;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Poppins','Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #F5F7FA;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    line-height: 1.6;
}

.logo-container {
    text-align: center;
    padding: 40px 0 30px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 10px;
}

.evento-cover {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.evento-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 40, 71, 0.35);
}

.cover-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
}

.cover-content .evento-label {
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cover-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cover-content p {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.95;
    font-weight: 500;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

#results {
    flex: 1;
}

.search-wrapper {
    position: relative;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.search-wrapper input {
    width: 100%;
    padding: 16px 50px 16px 24px;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
    background: white;
    color: var(--text-primary);
	margin-bottom: 10px;
}

.search-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 117, 190, 0.1);
}

.search-wrapper input::placeholder {
    color: #999;
}

#clear-search {
    position: absolute;
    right: 25px;
    top: 23%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    display: none;
}

#results {
    display: grid;
    gap: 20px;
}

/* Cards - Design Profissional Estilo LinkedIn */
.card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.card-header {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(to bottom, #fafafa 0%, white 100%);
}

.card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.card-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #2563b5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    letter-spacing: 1px;
}

.card-title {
    flex: 1;
    min-width: 0;
}

.card-title h2 {
    color: #0a0a0a;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-empresa {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-empresa i {
    font-size: 1rem;
    opacity: 0.9;
}

.card-localidade {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-localidade::before {
    content: "📍";
    font-size: 0.9rem;
}

/* Container de actividades */
.actividades-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: #FAFBFC;
    border-bottom: 1px solid var(--border);
}

/* Badge individual de cada actividade */
.actividade-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--primary);
    transition: all 0.2s;
}

.actividade-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 117, 190, 0.25);
}

.actividade-badge i {
    font-size: 0.75rem;
}

/* Manter compatibilidade com código antigo */
.actividades-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--primary);
}

.actividades-badge i {
    font-size: 0.75rem;
}

.card-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 20px 24px;
    background: white;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.info-item.clickable {
    cursor: pointer;
}

.info-item.clickable:hover,
.info-item:has(a:hover) {
    background: #EFF6FF;
    border-color: var(--primary);
    transform: translateX(2px);
}

.info-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.info-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-item a:hover {
    color: var(--primary);
}

.info-item span {
    color: var(--text-primary);
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
}
    gap: 10px;
    padding: 10px;
    background: var(--light);
    border-radius: 8px;
    transition: all 0.3s;
}

.info-item.clickable {
    cursor: pointer;
}

.info-item.clickable:hover {
    background: #e8f1fa;
    transform: translateX(3px);
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.info-item a {
    color: var(--dark);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: auto;
    padding: 30px 0 20px 0;
}

.footer-credits {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.footer-credits a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credits a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.main-title {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}
    font-weight: 600;
}

/* Modal de Password */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.password-modal.active {
    display: flex;
}

.password-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.password-logo {
    margin-bottom: 20px;
}

.password-logo img {
    width: 100px;
    height: 100px;
}

.password-modal-content h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.password-modal-content p {
    color: #666;
    margin-bottom: 20px;
}

#passwordForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#passwordInput {
    padding: 15px 20px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

#passwordInput:focus {
    box-shadow: 0 0 15px rgba(26, 77, 143, 0.3);
}

.password-error {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    padding: 10px;
    background: #ffe6e6;
    border-radius: 5px;
}

.btn-password {
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-password:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.btn-password:active {
    transform: scale(0.98);
}

.btn-eventos {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-eventos:hover {
    background: var(--primary);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    
    .cover-content h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 15px;
        padding: 15px;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .search-wrapper input {
        font-size: 1.3rem;
        padding: 15px 40px 15px 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .card-title h2 {
        font-size: 1.2rem;
    }
    
    .card-empresa {
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .actividades-container {
        justify-content: center;
    }
    
    .actividade-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .card-info {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 1.4rem;
    }
}

/* Botão QR Code nos Cards */
.card-actions {
    padding: 16px 24px 20px 24px;
    text-align: center;
    background: white;
    border-top: 1px solid var(--border);
}

.btn-qrcode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 117, 190, 0.2);
}

.btn-qrcode:hover {
    background: #005A9C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 117, 190, 0.3);
}

.btn-qrcode i {
    font-size: 1rem;
}

/* Modal QR Code */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.qrcode-modal.active {
    display: flex;
}

.qrcode-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qrcode-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s;
}

.qrcode-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.qrcode-modal-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.qrcode-instrucoes {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
}

.qrcode-container canvas,
.qrcode-container img {
    border-radius: 10px;
}

.btn-download-vcard {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-download-vcard:hover {
    background: #2563b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.4);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
}
