/* --- OSSEOINTEGRATION 2027 | Premium Blue Design System --- */
:root {
    /* Cores Clean */
    --bg-body: #FFFFFF;
    --bg-light-blue: #F4F9FD;
    --bg-card: #FFFFFF;
    
    --text-primary: #1E293B; 
    --text-secondary: #475569;
    
    --brand-blue: #018cdd; 
    --brand-blue-hover: #0177bd;
    --brand-light: #e5f4fc;
    
    --border-color: #E2E8F0;
    
    --shadow-soft: 0 10px 30px rgba(1, 140, 221, 0.08);
    --shadow-hover: 0 15px 40px rgba(1, 140, 221, 0.15);
    
    --header-height: 100px;
    --header-scrolled: 80px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-white { background-color: var(--bg-body) !important; }
.bg-light-blue { background-color: var(--bg-light-blue) !important; }
.bg-blue { background-color: var(--brand-blue) !important; }
.text-blue { color: var(--brand-blue) !important; }
.text-white { color: #FFFFFF !important; }
.nowrap-text { white-space: nowrap !important; word-break: keep-all; }

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; color: var(--text-primary); font-weight: 600; line-height: 1.2; }
h2.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; border-radius: 8px; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: clamp(80px, 8vw, 120px) 0; position: relative; } 
.center { text-align: center; }
.full-width { width: 100%; }

.section-tag { display: inline-block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand-blue); font-weight: 700; margin-bottom: 20px; }
.section-subtitle { max-width: 700px; margin: 0 0 40px; font-size: 1.1rem; }
.center .section-subtitle { margin: 0 auto 40px; }

/* --- Botões --- */
.btn { padding: 16px 32px; border-radius: 6px; font-weight: 500; font-size: 1rem; letter-spacing: 0.05em; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); border: 1px solid transparent; text-transform: uppercase;}
.btn i { font-size: 1.1rem; }
.btn-primary { background: var(--brand-blue); color: #FFFFFF; font-weight: 600;}
.btn-primary:hover:not(:disabled) { background: var(--brand-blue-hover); transform: translateY(-3px); box-shadow: var(--shadow-hover); color: #FFFFFF;}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; background-color: #94a3b8; border-color: #94a3b8; }

.btn-outline { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-outline:hover { background: var(--brand-light); transform: translateY(-3px); }

.btn-outline-white { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }


/* --- Header & Logo --- */
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); z-index: 1000; background: var(--brand-blue); border-bottom: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.header.scrolled { height: var(--header-scrolled); box-shadow: var(--shadow-hover); background: rgba(1, 140, 221, 0.98); backdrop-filter: blur(10px); }

.header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; height: 100%; }
.header-logo { height: 65px; width: auto; max-width: 250px; object-fit: contain; transition: height 0.4s ease;}
.header.scrolled .header-logo { height: 50px; }

.nav { margin-left: auto; margin-right: 0; }
.nav-list { display: flex; gap: 32px; align-items: center;}
.nav-link { font-weight: 500; color: #FFFFFF; opacity: 0.85; padding: 8px 0; position: relative; font-size: 0.95rem; letter-spacing: 0.02em; transition: var(--transition); white-space: nowrap;}
.nav-link:hover, .nav-link.active { opacity: 1; color: #FFFFFF;}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #FFFFFF; transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: none; }


/* --- HERO SECTION --- */
.hero { 
    min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-height); position: relative; overflow: hidden; 
    background: url('https://movimentoeconomico.com.br/wp-content/uploads/2025/10/roda-gigante-.jpg') center/cover no-repeat; 
    background-color: var(--brand-blue);
    background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) {
    .hero { background-attachment: scroll; }
}

.hero-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); 
    z-index: 1; 
}
.hero-layout { display: flex; justify-content: flex-start; align-items: center; width: 100%;}
.hero-content { position: relative; z-index: 2; text-align: left; max-width: 800px; }

.hero-badges { display: flex; justify-content: flex-start; gap: 16px; margin-bottom: 32px; flex-wrap: wrap;}
.badge { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; color: #FFFFFF; display: flex; align-items: center; gap: 8px; font-weight: 500; backdrop-filter: blur(2px);}

.hero-title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; color: #FFFFFF; text-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.hero-title span { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--brand-blue); text-underline-offset: 8px;}
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255,255,255,0.9); margin-bottom: 48px; font-weight: 400; line-height: 1.6; max-width: 700px; text-shadow: 0 2px 10px rgba(0,0,0,0.3);}
.hero-buttons { display: flex; justify-content: flex-start; gap: 16px; flex-wrap: wrap; }


/* --- SOBRE O EVENTO --- */
.about-grid, .location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; }
.about-text strong { color: var(--text-primary); font-weight: 600; }
.about-features { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.about-features li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--text-primary); font-weight: 500;}

.manifesto-quote { font-family: 'Outfit'; font-size: 1.3rem; color: var(--brand-blue); font-style: italic; border-left: 3px solid var(--brand-blue); padding-left: 20px; margin-top: 40px; }

.image-premium-wrapper { position: relative; z-index: 1; }
.image-premium-wrapper img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-soft); position: relative; z-index: 2; }
.accent-box { position: absolute; bottom: -20px; left: -20px; width: 60%; height: 60%; border: 3px solid var(--brand-light); border-radius: 12px; z-index: 0; background: var(--brand-light); }
.accent-right { left: auto; right: -20px; top: -20px; bottom: auto;}


/* --- GALERIA EDIÇÃO 2025 E VÍDEO (PERFORMANCE E CONTROLES AVANÇADOS) --- */
.gallery-2025-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    grid-auto-rows: 180px; 
    gap: 12px; 
    margin-top: 40px; 
    content-visibility: auto; 
    contain-intrinsic-size: 800px;
}
.gallery-2025-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-card); box-shadow: var(--shadow-soft); transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; will-change: transform;}
.gallery-2025-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; border-radius: 0; }
.gallery-2025-item:hover { box-shadow: var(--shadow-hover); border-color: var(--brand-blue); z-index: 2; transform: translateY(-5px);}
.gallery-2025-item:hover img { transform: scale(1.1); }
.gallery-2025-item:hover .zoom-overlay { opacity: 1; }
.gallery-2025-item:hover .zoom-overlay i { transform: scale(1); }

/* SISTEMA DO VÍDEO EM DESTAQUE E CONTROLES */
.video-item { 
    grid-row: span 2; 
    grid-column: span 1; 
    cursor: default;
    border: 2px solid var(--brand-blue);
    padding: 2px;
    background: var(--brand-light);
}
.video-item:hover { transform: none; box-shadow: var(--shadow-hover); }

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 40px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-wrapper:hover .custom-video-controls,
.video-wrapper:focus-within .custom-video-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.control-btn:hover {
    background: #fff;
    color: var(--brand-blue);
    transform: scale(1.1);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.3s;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}


/* --- ESTADO AGUARDE (COMING SOON) --- */
.coming-soon-box { background: var(--bg-body); border: 2px dashed var(--border-color); border-radius: 12px; padding: 60px 24px; text-align: center; max-width: 600px; margin: 0 auto; transition: var(--transition); box-shadow: var(--shadow-soft);}
.coming-soon-box:hover { border-color: var(--brand-blue); border-style: solid; box-shadow: var(--shadow-hover); transform: translateY(-5px);}
.coming-soon-box i { font-size: 3.5rem; color: var(--brand-blue); margin-bottom: 24px; opacity: 0.8;}
.coming-soon-box h3 { font-size: 1.8rem; margin-bottom: 12px; color: var(--text-primary);}
.coming-soon-box p { font-size: 1.1rem; color: var(--text-secondary);}


/* --- COMISSÃO ORGANIZADORA --- */
.committee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; }
.committee-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 32px; text-align: center; transition: var(--transition); box-shadow: var(--shadow-soft); }
.committee-card:hover { transform: translateY(-10px); border-color: var(--brand-blue); box-shadow: var(--shadow-hover);}
.committee-img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 24px; overflow: hidden; border: 4px solid var(--brand-light); padding: 4px; background: var(--bg-body);}
.committee-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.committee-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.committee-info p { font-size: 0.95rem; color: var(--brand-blue); font-weight: 500;}

.manifesto-box { background: var(--bg-body); border: 1px solid var(--border-color); padding: 48px; border-radius: 12px; position: relative; text-align: center; width: 100%; margin: 0 auto; box-shadow: var(--shadow-soft);}
.manifesto-icon { font-size: 3rem; opacity: 0.1; position: absolute; top: 30px; left: 50%; transform: translateX(-50%); }
.manifesto-title { font-size: 1.8rem; margin-bottom: 24px; position: relative; z-index: 2;}
.manifesto-content { position: relative; z-index: 2; font-size: 1.05rem; max-width: 900px; margin: 0 auto;}
.manifesto-content p { margin-bottom: 16px; }
.manifesto-content strong { color: var(--brand-blue); font-weight: 600; font-size: 1.15rem; display: block; margin-top: 32px;}


/* --- LOCALIZAÇÃO --- */
.btn-location-spacing { margin-top: 40px; }


/* --- PALESTRANTES --- */
.speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.speaker-card { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--border-color); background: var(--bg-body); transition: var(--transition); cursor: pointer; box-shadow: var(--shadow-soft);}
.speaker-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.speaker-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,140,221,0.95) 0%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; opacity: 0; transition: var(--transition);}
.speaker-overlay h4 { font-size: 1.2rem; color: #FFFFFF; margin-bottom: 4px; }
.speaker-overlay p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.8); }
.speaker-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--brand-blue); }
.speaker-card:hover .speaker-img { transform: scale(1.05); }
.speaker-card:hover .speaker-overlay { opacity: 1; }


/* --- PROGRAMAÇÃO CIENTÍFICA --- */
.schedule-container { width: 100%; max-width: 1200px; margin: 0 auto; }
.schedule-tabs { display: flex; flex-wrap: nowrap; justify-content: center; gap: 20px; margin-bottom: 40px; }
.tab-btn { flex: 1; max-width: 350px; background: #FFFFFF; border: 2px solid var(--border-color); border-radius: 12px; padding: 24px; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-soft); }
.tab-btn:hover { border-color: var(--brand-blue); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tab-btn.active { background: var(--brand-blue); border-color: var(--brand-blue); box-shadow: 0 10px 25px rgba(1, 140, 221, 0.35); transform: translateY(-4px); }
.tab-btn .tab-icon { font-size: 1.5rem; color: var(--brand-blue); transition: var(--transition); }
.tab-btn.active .tab-icon { color: #FFFFFF; }
.tab-btn .tab-date { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text-primary); transition: var(--transition); }
.tab-btn.active .tab-date { color: #FFFFFF; }
.tab-btn .tab-day { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: var(--transition); }
.tab-btn.active .tab-day { color: rgba(255, 255, 255, 0.9); }

.schedule-content { display: flow-root; }
.tab-pane { display: none; animation: fadeIn 0.4s ease-out forwards; }
.tab-pane.active { display: block; }


/* --- HOTEL GRID COM LIGHTBOX --- */
.hotel-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; margin-bottom: 40px;}
.hotel-img-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); transition: var(--transition); background: var(--bg-card);}
.hotel-img-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; border-radius: 0;}
.hotel-main { grid-column: span 2; grid-row: span 2; }
.hotel-sec { grid-column: span 1; grid-row: span 1; }
.hotel-wide { grid-column: span 2; grid-row: span 1; }

.zoom-overlay { position: absolute; inset: 0; background: rgba(1, 140, 221, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); backdrop-filter: blur(2px);}
.zoom-overlay i { color: #FFF; font-size: 2.5rem; transform: scale(0.5); transition: var(--transition); }
.hotel-img-item:hover { box-shadow: var(--shadow-hover); border-color: var(--brand-blue); }
.hotel-img-item:hover img { transform: scale(1.05); }
.hotel-img-item:hover .zoom-overlay { opacity: 1; }
.hotel-img-item:hover .zoom-overlay i { transform: scale(1); }

.hotel-features-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 32px; background: var(--bg-light-blue); border-radius: 12px; border: 1px solid var(--border-color);}
.loc-feat { display: flex; gap: 16px; align-items: flex-start; flex: 1; min-width: 250px;}
.loc-feat i { font-size: 2rem; color: var(--brand-blue); background: var(--brand-light); padding: 12px; border-radius: 8px; }
.loc-feat h5 { font-size: 1.1rem; margin-bottom: 4px; color: var(--text-primary);}
.loc-feat span { font-size: 0.95rem; color: var(--text-secondary);}

/* LIGHTBOX NATIVO E VÍDEO */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; backdrop-filter: blur(5px);}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-content { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(0.95); transition: transform 0.4s ease; }
.lightbox-content video { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(0.95); transition: transform 0.4s ease; }
.lightbox-overlay.active .lightbox-content img,
.lightbox-overlay.active .lightbox-content video { transform: scale(1); }

.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; transition: all 0.3s; z-index: 10001; }
.lightbox-close { top: 30px; right: 30px; width: 48px; height: 48px; font-size: 1.5rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 60px; height: 60px; font-size: 2rem; }
.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--brand-blue); color: #FFF; border-color: var(--brand-blue); transform: scale(1.1); }
.lightbox-nav.prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-nav.next:hover { transform: translateY(-50%) scale(1.1); }


/* --- INSCRIÇÕES E MODAL DE REEMBOLSO --- */
.tickets-grid { display: flex; justify-content: center; }
.ticket-card { background: var(--bg-card); border: 2px solid var(--brand-light); border-radius: 12px; padding: 40px; max-width: 500px; width: 100%; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition);}
.ticket-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-hover); transform: translateY(-5px);}
.lote-badge { display: inline-block; background: var(--brand-light); color: var(--brand-blue); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; border: 1px solid rgba(1,140,221,0.1);}
.ticket-header h3 { font-size: 1.8rem; margin-bottom: 12px; color: var(--text-primary);}
.ticket-header p { font-size: 0.95rem; margin-bottom: 32px; color: var(--text-secondary);}

/* DESIGN DOS LOTES PREMIUM */
.lotes-container { text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.lote-row { display: flex; flex-direction: column; padding: 16px 20px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-body); transition: var(--transition); }
.lote-row:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-soft); }
.lote-row.active { border-color: var(--brand-blue); background: var(--brand-light); box-shadow: var(--shadow-soft); transform: scale(1.02); }
.lote-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.lote-name { font-weight: 700; color: var(--text-primary); font-family: 'Outfit'; font-size: 1.1rem; }
.lote-price { font-weight: 700; color: var(--brand-blue); font-size: 1.25rem; }
.lote-date { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.lote-date i { color: var(--brand-blue); font-size: 0.9rem; }

.ticket-features { text-align: left; margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.ticket-features li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-primary); font-weight: 500;}

/* MODAL DE POLÍTICAS */
.policy-modal-overlay { position: fixed; inset: 0; background: rgba(1, 140, 221, 0.4); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); backdrop-filter: blur(10px);}
.policy-modal-overlay.active { opacity: 1; pointer-events: all; }
.policy-modal-box { background: #FFFFFF; max-width: 650px; width: 90%; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.25); transform: translateY(30px) scale(0.95); transition: var(--transition); overflow: hidden; position: relative; border: 1px solid var(--border-color);}
.policy-modal-overlay.active .policy-modal-box { transform: translateY(0) scale(1); }
.policy-modal-header { background: var(--brand-light); padding: 24px 32px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center;}
.policy-modal-header h3 { font-size: 1.3rem; color: var(--brand-blue); margin: 0; display: flex; align-items: center; gap: 10px;}
.policy-modal-close { background: none; border: none; font-size: 1.5rem; color: var(--text-secondary); cursor: pointer; transition: color 0.3s;}
.policy-modal-close:hover { color: #ef4444; }
.policy-modal-body { padding: 32px; max-height: 70vh; overflow-y: auto;}
.policy-modal-body p { margin-bottom: 16px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6;}
.policy-modal-body ul { margin-left: 20px; margin-bottom: 24px; list-style-type: disc;}
.policy-modal-body li { margin-bottom: 8px; font-size: 0.95rem;}
.policy-modal-footer { padding: 24px 32px; background: #F8FAFC; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end;}


/* --- PATROCINADORES --- */
.sponsors-wrapper { display: flex; flex-direction: column; gap: 48px; text-align: center; }
.sponsor-tier h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 24px; }
.sponsor-logos { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.s-logo { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); transition: var(--transition);}
.s-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0;}
.s-logo:hover { border-color: var(--brand-blue); transform: scale(1.05); box-shadow: var(--shadow-hover);}
.tier-gold .s-logo { width: 300px; height: 120px; border-width: 2px; }
.tier-silver .s-logo { width: 220px; height: 100px; }
.tier-bronze .s-logo { width: 180px; height: 80px; }


/* --- FOOTER AZUL INSTITUCIONAL --- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--brand-blue); background: var(--brand-blue);}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-logo { max-height: 60px; width: auto; margin: 0 0 16px; margin-left: 0; filter: brightness(0) invert(1); align-self: flex-start; }
.footer-desc { margin: 16px 0; max-width: 320px; font-size: 0.95rem; color: rgba(255,255,255,0.8); text-align: left; }
.footer-address { font-size: 0.95rem; color: #FFFFFF; font-weight: 500; display: flex; flex-direction: column; gap: 10px; }
.footer-address-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.footer-address i { color: rgba(255,255,255,0.8); width: 16px; text-align: center; flex-shrink: 0; }
.footer-contact h4, .footer-social h4 { color: #FFFFFF; font-size: 1.1rem; margin-bottom: 24px; }
.secretaria-info { margin-bottom: 16px;}
.secretaria-logo { max-height: 50px; width: auto; margin-bottom: 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2);}
.contact-list { display: flex; flex-direction: column; gap: 12px;}
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.8);}
.contact-list a { color: #FFFFFF; font-weight: 500;}
.contact-list a:hover { color: var(--brand-light); text-decoration: underline; text-underline-offset: 4px;}
.social-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 6px; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.2); transition: var(--transition); color: #FFFFFF; font-weight: 500;}
.social-btn:hover { background: #FFFFFF; color: var(--brand-blue); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 24px; }

/* RODAPÉ E CRÉDITOS */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; text-align: left; color: rgba(255,255,255,0.8); flex-wrap: wrap; gap: 16px;}
.dev-link { color: #FFFFFF; font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;}
.dev-link:hover { color: var(--brand-light); text-decoration: none;}

.nl-badge {
    display: none; !important;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, #142b34, #0e1e25);
    color: #f4f9f9;
    border-radius: 999px;
    padding: 9px 14px 9px 11px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: border-color .2s ease;
}



/* --- ANIMAÇÕES --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.active-anim { opacity: 1; transform: translate(0) scale(1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 769px) {
    .delay-100 { transition-delay: 0.1s; }
    .delay-200 { transition-delay: 0.2s; }
    .delay-300 { transition-delay: 0.3s; }
    .delay-400 { transition-delay: 0.4s; }
}


/* --- RESPONSIVIDADE MOBILE / TABLET --- */
@media (max-width: 1024px) {
    .header-container { padding: 0 16px; }
    .nav-list { gap: 16px; }
    .nav-link { font-size: 0.85rem; }
    .header-logo { max-width: 180px; }
    
    .gallery-2025-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .committee-grid { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
    .speakers-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hotel-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .hotel-main { grid-column: span 2; grid-row: span 2; }
    .hotel-wide { grid-column: span 2; grid-row: span 1; }
    
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; text-align: center; }
    .footer-logo { margin: 0 auto 16px; align-self: center; }
    .footer-desc { margin-left: auto; margin-right: auto; text-align: center; }
    .footer-address { align-items: center; }
    .contact-list, .secretaria-info { align-items: center; }
}

@media (max-width: 768px) {
    .header-container { justify-content: space-between; }
    .header-logo { height: 50px; }
    
    .header-actions { display: flex; }
    .mobile-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; z-index: 1001;}
    .bar { width: 24px; height: 2px; background: #FFFFFF; transition: var(--transition); border-radius: 2px; }

    .nav { margin: 0; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--brand-blue); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 999; }
    .nav.open { opacity: 1; pointer-events: all; }
    .nav-list { flex-direction: column; text-align: center; gap: 32px; }
    .nav-link { font-size: 1.5rem; color: #FFFFFF;}

    .hero { background-attachment: scroll; } 
    .hero-layout { justify-content: center; }
    .hero-content { text-align: center; }
    .hero-badges { justify-content: center; }
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }

    .about-grid, .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual, .location-image { order: -1; }
    
    /* VÍDEO E GRID MOBILE */
    .gallery-2025-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .video-item { grid-column: span 1; grid-row: span 2; }
    
    /* Controles sempre visíveis em telas menores */
    .custom-video-controls { opacity: 1; padding: 30px 12px 12px; }

    .speakers-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    
    .hotel-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px;}
    .hotel-main, .hotel-sec, .hotel-wide { grid-column: span 1; grid-row: span 1;}
    
    .schedule-tabs { flex-direction: column; gap: 12px; margin-bottom: 32px;}
    .tab-btn { max-width: 100%; padding: 16px; flex-direction: row; justify-content: flex-start; text-align: left; }
    .tab-btn .tab-icon { margin-right: 12px; font-size: 1.8rem;}
    .tab-btn .tab-date { font-size: 1.2rem; }
    
    .schedule-row { grid-template-columns: 1fr; gap: 16px; padding: 24px; border-left: 4px solid var(--brand-blue); border-bottom: 1px solid var(--border-color);}
    .schedule-row.header { display: none; } 
    .col-time { border-bottom: 1px dashed var(--border-color); padding-bottom: 12px; width: 100%; justify-content: flex-start; background: transparent; padding-left: 0;}
    
    .manifesto-box { padding: 32px 24px; }
    
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; gap: 12px;}
}