* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-header img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-header h1 {
    font-size: 24px;
    color: #667eea;
    font-weight: 600;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding: 60px;
}

.hero-content h2 {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image {
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 20px 20px 0;
    min-height: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Button */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 2px solid #667eea;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

footer p {
    color: #666;
    margin: 10px 0;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 18px;
    width: 90%;
    max-width: 620px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid #e8ebff;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 32px;
}

.event-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    background: #f8f9ff;
    padding: 25px;
    border-radius: 10px;
}

.info-item h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: #555;
    font-size: 16px;
}

.event-description {
    margin-bottom: 30px;
}

.event-description h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 20px;
}

.event-description p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn[disabled]:hover {
    transform: none;
    box-shadow: none;
}

/* Formulário de Inscrição */
.registration-form {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    padding: 28px;
    border-radius: 14px;
    margin: 24px 0 30px;
    border: 1px solid #dfe6ff;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), 0 6px 20px rgba(102,126,234,0.08);
}

.registration-form h3 {
    color: #667eea;
    margin-bottom: 18px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.suggestions-form {
    margin-top: 30px;
}

.form-group label {
    color: #334155;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    font-family: inherit;
    background: #ffffff;
    color: #111827;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.16);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-actions {
    display: flex;
    gap: 25px 50px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 140px;
}

.form-actions .btn-secondary {
    flex: 1;
    min-width: 140px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-image {
        border-radius: 20px;
        padding: 20px;
        min-height: 300px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo-header h1 {
        font-size: 18px;
    }

    .modal-content {
        width: 90%;
        padding: 25px;
        margin: 20% auto;
    }

    .event-info {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .container {
        padding: 30px 15px;
    }
}
