:root {
    --primary-color: #341515;      /* Marrom escuro */
    --primary-light: #4a1f1f;     /* Marrom médio */
    --primary-dark: #2a1010;      /* Marrom mais escuro */
    --secondary-color: #fbbf24;     /* Dourado */
    --accent-color: #f59e0b;        /* Dourado mais escuro */
    --white-color: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #374151;
    --text-color: #1f2937;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.text-gold {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    border: none !important;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 21, 21, 0.3);
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(52, 21, 21, 0.9), rgba(74, 31, 31, 0.8)),
                url('../images/hero-bg.jpg') center/cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 21, 21, 0.8), rgba(74, 31, 31, 0.6));
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

/* Banner de Vagas Limitadas */
.limited-seats-banner {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite, fadeInUp 1s ease-out 0.3s both;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.limited-seats-banner i {
    font-size: 1.1rem;
    animation: flash 1.5s infinite;
}

/* Texto de Vagas Limitadas */
.limited-seats-text {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.limited-seats-text i {
    animation: flash 1.5s infinite;
}

/* Badge de Vagas Limitadas */
.limited-seats-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.limited-seats-badge i {
    animation: flash 1.5s infinite;
}

/* Alerta de Vagas Limitadas */
.limited-seats-alert {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse 2s infinite;
    border: 2px solid rgba(146, 64, 14, 0.3);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.limited-seats-alert i {
    animation: flash 1.5s infinite;
}

/* Banner de Vagas Limitadas no Footer */
.footer-limited-seats {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: 30px;
    display: inline-block;
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.footer-limited-seats i {
    animation: flash 1.5s infinite;
}

/* Aviso de Vagas Limitadas na Navbar */
.navbar-limited-seats {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.navbar-limited-seats i {
    animation: flash 1.5s infinite;
}

/* About Section */
#about {
    padding: 5rem 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Program Section */
.program-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--secondary-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.program-day {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-card ul {
    list-style: none;
    padding: 0;
}

.program-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.program-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.program-card li:last-child {
    border-bottom: none;
}

/* Speakers Section */
.speaker-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.speaker-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--secondary-color);
}

.speaker-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.speaker-description {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* Location Section */
.location-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-directions {
    list-style: none;
    padding: 0;
}

.location-directions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.location-directions li:last-child {
    border-bottom: none;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 15px;
}

/* Sponsors Section */
.sponsor-tier {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.sponsor-logo {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* CTA Section */        .cta-section {
    background: linear-gradient(135deg, var(--primary-color), #3151b9);
    color: white;
}

/* Botão CTA específico com destaque dourado */
.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s ease !important;
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), #d97706) !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4) !important;
}

/* Contact Section */
.contact-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hotéis e Parcerias Section Styles */
.hotel-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hotel-logo {
    max-height: 120px;
    object-fit: contain;
    padding: 10px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.hotel-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.hotel-discount .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
}

.hotel-period, .hotel-promocode {
    font-size: 0.95rem;
}

.promocode {
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 5px;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px dashed var(--secondary-color);
}

/* Novos estilos para os hotéis */
.badge.bg-warning {
    color: var(--dark-gray) !important;
    font-weight: 600;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.hotel-card .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hotel-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hotel-card .align-items-center {
    height: 100%;
}

/* Estilos para o mapa de hotéis */
.hotel-map-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hotel-map-card .map-container {
    border-radius: 10px;
    overflow: hidden;
}

.hotel-map-legend {
    font-size: 0.9rem;
    color: var(--dark-gray);
    padding: 0.5rem;
}

.hotel-map-legend i {
    margin-right: 5px;
}

/* Academic Papers Section */
.academic-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.academic-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.academic-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
}

.deadline-info {
    background: rgba(251, 191, 36, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.deadline-info .row > div {
    margin-bottom: 10px;
}

#papers {
    background: linear-gradient(135deg, #f8fafc, #e5e7eb);
}

#papers .section-title {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Academic Papers - Responsive adjustments */
@media (max-width: 768px) {
    .academic-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .academic-info-card .row {
        flex-direction: column-reverse;
    }
    
    .academic-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .deadline-info .row {
        flex-direction: column;
    }
    
    .deadline-info .col-md-6 {
        margin-bottom: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .limited-seats-banner {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.85rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .limited-seats-text {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .limited-seats-alert {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    
    .limited-seats-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .footer-limited-seats {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .navbar-limited-seats {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        align-items: center !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .sponsor-logos {
        gap: 1rem;
    }
    
    .sponsor-logo {
        height: 60px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .program-card,
    .speaker-card,
    .contact-item {
        margin-bottom: 2rem;
    }
}

/* Utility Classes */
.bg-light {
    background-color: var(--light-gray) !important;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Botão CTA Principal com melhor contraste */
.hero-section .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4);
}

/* Estilos para a introdução da seção de hotéis */
.hotels-intro {
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hotels-intro p {
    margin-bottom: 1rem;
}

.hotels-intro p.text-primary {
    color: var(--primary-color) !important;
    font-size: 1.05rem;
}
