    .modal-event {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        animation: fadeIn 0.3s ease-out;
    }

    .modal-event.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-event-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .modal-event-content {
        position: relative;
        background: #ffffff;
        border-radius: 20px;
        width: 95%;
        max-width: 1100px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 2rem auto;
    }

    /* Header do Modal */
    .modal-event-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 2rem 2.5rem;
        border-bottom: 1px solid #e5e7eb;
        background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
        position: sticky;
        top: 0;
        z-index: 10;
        backdrop-filter: blur(10px);
    }

    .modal-event-header-content {
        flex: 1;
    }

    .modal-event-title {
        font-size: 2rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 1rem 0;
        line-height: 1.2;
    }

    .modal-event-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .modal-tag {
        display: inline-flex;
        align-items: center;
        padding: 0.375rem 0.875rem;
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        transition: all 0.2s;
    }

    .modal-tag-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .modal-tag-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
    }

    .modal-tag-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
    }

    .modal-event-close {
        background: #f3f4f6;
        border: none;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        color: #6b7280;
        font-size: 1.25rem;
        margin-left: 1rem;
    }

    .modal-event-close:hover {
        background: #e5e7eb;
        color: #111827;
        transform: rotate(90deg);
    }

    /* Carrossel Moderno */
    .modal-carousel-wrapper {
        margin: 0 2.5rem 2rem;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        background: #f9fafb;
    }

    .modal-carousel-container {
        position: relative;
        width: 100%;
        min-height: 250px;
        max-height: 700px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 30px;
    }

    .modal-carousel-track {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .modal-carousel-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        pointer-events: none;
    }

    .modal-carousel-slide.active {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.5s ease;
    }

    .modal-carousel-image {
        max-width: 95%;
        max-height: 280px;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        display: block;
    }

    .modal-carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        border: none;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
        color: #374151;
        font-size: 1.125rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    .modal-carousel-btn:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .modal-carousel-prev {
        left: 1rem;
    }

    .modal-carousel-next {
        right: 1rem;
    }

    .modal-carousel-dots {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.5rem;
        z-index: 5;
    }

    .modal-carousel-dot {
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s;
        padding: 0;
    }

    .modal-carousel-dot.active {
        background: white;
        width: 2rem;
        border-radius: 9999px;
    }

    /* Carrosséis Intermediários */
    .carousel {
        position: relative;
        width: 100%;
        /* height: 200px; */
        overflow: hidden;
        /* border-radius: 12px;
        background: #f9fafb; */
    }

    /* Classe para banners únicos (sem transição) */
    .carousel-single .carousel-item {
        transition: none !important;
        opacity: 0 !important;
    }

    .carousel-single .carousel-item:first-child {
        opacity: 1 !important;
    }

    .carousel-single .carousel-item.active {
        opacity: 1 !important;
    }

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

    .carousel-item {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        pointer-events: none;
    }

    .carousel-item.active {
        opacity: 1;
        pointer-events: auto;
    }

    .carousel-item img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .carousel-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    /* Seções do Modal */
    .modal-section {
        margin: 0 2.5rem 2rem;
    }

    .modal-section-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #e5e7eb;
    }

    .modal-section-icon {
        color: #6366f1;
        font-size: 1.25rem;
    }

    /* Galeria */
    .modal-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .modal-gallery-item {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        min-height: 200px;
        max-height: 500px;
        cursor: pointer;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .modal-gallery-image {
        max-width: 100%;
        max-height: 500px;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
        display: block;
    }

    .modal-gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
        color: white;
        font-size: 2rem;
        pointer-events: none;
    }

    .modal-gallery-item:hover .modal-gallery-overlay {
        pointer-events: auto;
    }

    .modal-gallery-item:hover .modal-gallery-image {
        transform: scale(1.05);
    }

    .modal-gallery-item:hover .modal-gallery-overlay {
        opacity: 1;
    }

    .modal-gallery-video {
        min-height: 200px;
        max-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-gallery-video-element {
        max-width: 100%;
        max-height: 500px;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    /* Grid Layout */
    .modal-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin: 0 2.5rem 2.5rem;
    }

    .modal-column {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Cards */
    .modal-card {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 1.5rem;
        transition: all 0.3s;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    }

    .modal-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .modal-card-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.25rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 1.25rem 0;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f3f4f6;
    }

    .modal-card-icon {
        color: #6366f1;
        font-size: 1.125rem;
    }

    .modal-card-content {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    /* Info Items */
    .modal-info-item {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

    .modal-info-icon-wrapper {
        flex-shrink: 0;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .modal-info-icon {
        font-size: 1rem;
    }

    .modal-info-content {
        flex: 1;
    }

    .modal-info-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin: 0 0 0.25rem 0;
    }

    .modal-info-value {
        font-size: 1rem;
        font-weight: 500;
        color: #111827;
        margin: 0 0 0.25rem 0;
        line-height: 1.5;
    }

    .modal-info-subtext {
        font-size: 0.875rem;
        color: #6b7280;
        margin: 0.25rem 0 0 0;
        line-height: 1.5;
    }

    /* Links */
    .modal-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #6366f1;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s;
        margin-top: 0.25rem;
    }

    .modal-link:hover {
        color: #4f46e5;
        text-decoration: underline;
    }

    .modal-link-break {
        word-break: break-all;
    }

    .modal-link-icon {
        font-size: 0.75rem;
    }

    .modal-link-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        margin-top: 0.5rem;
    }

    .modal-link-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(102, 126, 234, 0.4);
    }

    /* Badge */
    .modal-badge {
        display: inline-block;
        padding: 0.25rem 0.625rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-left: 0.5rem;
    }

    .modal-badge-success {
        background: #d1fae5;
        color: #065f46;
    }

    /* Additional Info */
    .modal-additional-info {
        color: #4b5563;
        line-height: 1.75;
        max-height: 200px;
        overflow-y: auto;
        padding: 1rem;
        background: #f9fafb;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }

    .modal-additional-info::-webkit-scrollbar {
        width: 6px;
    }

    .modal-additional-info::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 3px;
    }

    .modal-additional-info::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 3px;
    }

    .modal-additional-info::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }

    /* Image Modal */
    .image-modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease-out;
    }

    .image-modal-content {
        margin: auto;
        display: block;
        width: 90%;
        max-width: 1400px;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 12px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    .image-modal-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        color: #f1f1f1;
        font-size: 3rem;
        font-weight: bold;
        transition: 0.3s;
        cursor: pointer;
        z-index: 2001;
        background: rgba(0, 0, 0, 0.5);
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .image-modal-close:hover,
    .image-modal-close:focus {
        color: white;
        background: rgba(0, 0, 0, 0.7);
        transform: scale(1.1) rotate(90deg);
    }

    /* Animações */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .modal-event-content {
            width: 100%;
            max-height: 100vh;
            border-radius: 0;
            margin: 0;
        }

        .modal-event-header {
            padding: 1.5rem;
        }

        .modal-event-title {
            font-size: 1.5rem;
        }

        .modal-carousel-wrapper,
        .modal-section,
        .modal-grid {
            margin-left: 1.5rem;
            margin-right: 1.5rem;
        }

        .modal-carousel-container {
            min-height: 120px;
            max-height: 240px;
        }

        .modal-carousel-image {
            max-width: 90%;
            max-height: 220px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .modal-carousel-btn {
            width: 2.5rem;
            height: 2.5rem;
        }

        .modal-carousel-prev {
            left: 0.5rem;
        }

        .modal-carousel-next {
            right: 0.5rem;
        }

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

        .modal-gallery {
            grid-template-columns: 1fr;
        }

        .modal-gallery-item {
            min-height: 150px;
            max-height: 400px;
            padding: 0.75rem;
        }

        .modal-gallery-image {
            max-height: 400px;
        }

        .image-modal-content {
            width: 95%;
            max-height: 85vh;
        }

        .image-modal-close {
            top: 1rem;
            right: 1rem;
            font-size: 2rem;
            width: 2.5rem;
            height: 2.5rem;
        }
    }

    /* Toast Styles */
    #toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        max-width: 350px;
    }

    .toast {
        background: white;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        padding: 16px;
        display: flex;
        align-items: center;
        border-left: 4px solid;
        transform: translateX(400px);
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .toast.success {
        border-left-color: #10b981;
    }

    .toast.error {
        border-left-color: #ef4444;
    }

    .toast.info {
        border-left-color: #3b82f6;
    }

    .toast-icon {
        margin-right: 12px;
        font-size: 18px;
    }

    .toast.success .toast-icon {
        color: #10b981;
    }

    .toast.error .toast-icon {
        color: #ef4444;
    }

    .toast.info .toast-icon {
        color: #3b82f6;
    }

    .toast-content {
        flex: 1;
    }

    .toast-message {
        font-weight: 500;
        color: #374151;
        font-size: 14px;
    }

    .toast-close {
        margin-left: 12px;
        cursor: pointer;
        color: #9ca3af;
        font-size: 16px;
        transition: color 0.2s;
    }

    .toast-close:hover {
        color: #6b7280;
    }

    @media (max-width: 768px) {
        #toast-container {
            top: 10px;
            right: 10px;
            left: 10px;
            max-width: none;
        }

        .toast {
            transform: translateY(-100px);
        }

        .toast.show {
            transform: translateY(0);
        }
    }
</style>
