/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --bg-color: #050505;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --accent-purple: #8A2BE2;
    --accent-gradient: linear-gradient(90deg, #6a0dad 0%, #0056ff 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.15);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

html, body { overflow-x: hidden; width: 100%; max-width: 100%; }
body { background-color: var(--bg-color); color: var(--text-white); font-family: var(--font-body); font-size: 18px; line-height: 1.5; }
a { text-decoration: none; color: white; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; }
h2 { font-size: 3rem; line-height: 1; margin-bottom: 2rem; color: #fff; }
p { color: var(--text-gray); font-size: 1.05rem; margin-bottom: 1.5rem; text-align: justify; }
.btn { background: var(--accent-gradient); color: white; padding: 14px 35px; border-radius: 50px; font-weight: 700; letter-spacing: 1px; display: inline-block; border: none; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-family: var(--font-display); font-size: 0.85rem; }
.btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(106, 13, 173, 0.5); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.4); padding: 12px 30px; border-radius: 50px; color: #fff; text-transform: uppercase; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 1px; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --- HERO SECTION --- */
header.hero-section {
    display: flex;
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-left-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-img {
    width: 170%; 
    height: auto;
    max-width: none;
    transform: translateX(-35%) translateY(0); 
    mix-blend-mode: screen;
}

.hero-right-content {
    margin-left: auto;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    padding: 60px 60px 140px 0;
    z-index: 10;
    position: relative;
}

nav.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 550px; /* Limita para não dispersar em telas grandes */
    margin-bottom: 12vh; 
}

.logo { width: 300px; max-width: 60%; display: block; }
.date { 
    font-family: var(--font-display); 
    font-weight: 700; 
    letter-spacing: 6px; /* Mesma cadência do label TECH */
    font-size: 1.1rem; 
    color: #fff;
    opacity: 0.8;
}
.hero-label { letter-spacing: 6px; margin-bottom: 15px; font-size: 1.1rem; font-weight: 600; color: #ccc; }
h1 { font-size: 6.5rem; line-height: 0.9; color: #fff; text-shadow: 0 0 30px rgba(0,0,0,0.8); margin: 0; }

.partners-bar { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1240px; height: 110px; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; z-index: 20; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 20px; box-sizing: border-box; }
.partners-container { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; }
.partner-item { flex: 1; text-align: center; padding: 10px 0; position: relative; border-right: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: center; align-items: center; height: 60px; }
.partner-item:last-child { border-right: none; }
.partner-item img { max-height: 35px; max-width: 80%; width: auto; object-fit: contain; transition: 0.3s; opacity: 0.9; }
.partner-item img:hover { opacity: 1; transform: scale(1.05); }

/* --- PROPOSTA DE VALOR --- */
.values-section { padding: 100px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; overflow: hidden; }
.values-text-container { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 2; }
.manifesto-label { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 4px; color: #888; margin-bottom: 15px; display: block; text-transform: uppercase; }
.values-text-container h2 { font-size: 3.5rem; margin-bottom: 40px; line-height: 1; }
.value-item { margin-bottom: 30px; }
.pill-title { display: inline-block; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 6px 18px; font-family: var(--font-display); font-size: 0.8rem; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.2); }
.values-text-container p { margin-bottom: 0; color: #b0b0b0; line-height: 1.6; font-size: 1rem; text-align: left; }

.values-img-box { position: relative; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 40px rgba(138, 43, 226, 0.1); z-index: 2; overflow: visible; }
.values-img-box img.main-img { width: 100%; height: 650px; display: block; border-radius: 8px; position: relative; object-fit: cover; }

.values-bg-deco { 
    position: absolute; 
    top: 70%; 
    right: -60%; 
    transform: translateY(-50%) rotate(-30deg);
    width: 100%; 
    height: auto; 
    z-index: 0; 
    opacity: 0.9; 
    mix-blend-mode: screen; 
    pointer-events: none; 
}
.values-bg-deco img { width: 100%; height: auto; display: block; }

/* --- BANNER CENTRAL --- */
.full-banner { margin: 60px auto 40px; position: relative; z-index: 2; text-align: center; width: 100%; padding: 0 20px; }
.full-banner img { width: 100%; max-width: 1240px; height: 400px; object-fit: cover; object-position: top; margin: 0 auto; display: block; border-radius: 12px; mask-image: linear-gradient(to bottom, transparent, black 5%, black 90%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 90%, transparent); }

/* ==================================================================
    WRAPPER LATERAL + PILARES
    ================================================================== */
.side-layout-wrapper { position: relative; width: 100%; padding-bottom: 60px; }
.side-spiral-bg { position: absolute; top: 0; left: -20%; width: 70%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; mix-blend-mode: screen; }

/* --- PILARES: CENTRALIZADO --- */
.pillars-section { padding: 60px 0 40px 0; position: relative; z-index: 2; text-align: center; }
.pillars-content-wrapper { margin: 0 auto; width: 100%; max-width: 1200px; text-align: left; }
.label-small { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 3px; color: #888; margin-bottom: 10px; display: block; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 30px; width: 100%; }
.pillar-card { background: rgba(10, 10, 15, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 25px; border-radius: 16px; transition: 0.3s; text-align: left; }
.pillar-card:hover, .pillar-card.active { border-color: #8A2BE2; background: rgba(138, 43, 226, 0.15); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.pillar-card h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.pillar-card h4::before { content: '→'; color: #888; font-weight: 300; }
.pillar-card p { font-size: 0.9rem; color: #aaa; line-height: 1.5; margin: 0; text-align: left; }
.btn-purple-gradient { background: linear-gradient(90deg, #7b2cbf 0%, #4361ee 100%); border: none; padding: 15px 40px; border-radius: 50px; color: white; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; }

/* --- SPEAKERS --- */
.speakers-section { padding: 80px 0; position: relative; z-index: 2; }
.speakers-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.speakers-nav { display: flex; gap: 15px; }
.nav-arrow { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.nav-arrow.active { background: #7b2cbf; border-color: #7b2cbf; }
.speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.speaker-card { background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; overflow: hidden; position: relative; text-align: left; transition: 0.3s; height: 450px; display: flex; flex-direction: column; }
.speaker-card:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-5px); }
.speaker-img-container { width: 100%; height: 320px; position: relative; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(circle at center bottom, rgba(60, 20, 120, 0.5) 0%, transparent 70%); }
.speaker-img { max-height: 100%; width: auto; max-width: 95%; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5)); }
.speaker-info { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.3); flex-grow: 1; }
.speaker-text h3 { font-size: 1rem; margin-bottom: 3px; color: #fff; }
.speaker-text span { font-size: 0.75rem; color: #999; display: block; text-transform: uppercase; font-family: var(--font-display); }
.linkedin-btn { border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 5px 12px; font-size: 0.7rem; color: #ccc; text-decoration: none; transition: 0.3s; display: flex; align-items: center; }
.linkedin-btn:hover { background: #fff; color: #000; }

/* --- CRONOGRAMA --- */
.schedule-section { padding: 80px 0; position: relative; overflow: hidden; }
.schedule-deco-bg { position: absolute; right: -45%; top: 50%; transform: translateY(-50%); width: 70%; height: 120%; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.8; }
.schedule-deco-bg img { width: 100%; height: 100%; object-fit: contain; transform: rotate(90deg); }
.schedule-list { position: relative; z-index: 2; margin-top: 40px; border-top: none; }
.schedule-item { display: flex; align-items: center; padding: 20px 30px; border-radius: 50px; margin-bottom: 15px; transition: 0.3s; background: linear-gradient(90deg, #0a0a0a 20%, rgba(10,10,10,0.85) 60%, rgba(20,20,20,0.1) 100%); border: 1px solid transparent; position: relative; overflow: hidden; }
.schedule-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50px; pointer-events: none; z-index: -1; }
.schedule-item.active-glow { border: 1px solid #0056ff; box-shadow: 0 0 20px rgba(0, 86, 255, 0.15); }
.schedule-item:hover { transform: translateX(5px); background: linear-gradient(90deg, #111 20%, rgba(20,20,20,0.9) 60%, rgba(30,30,30,0.2) 100%); }
.time { font-family: var(--font-display); font-weight: 700; color: #fff; width: 140px; font-size: 0.9rem; letter-spacing: 1px; }
.separator { width: 1px; height: 20px; background: #444; margin: 0 25px; }
.event-details { font-weight: 500; font-size: 1rem; color: #ccc; flex-grow: 1; }
.arrow { font-family: monospace; font-size: 1.2rem; color: #fff; opacity: 0.7; }
.schedule-item.footer-item { padding: 30px; align-items: flex-start; }
.schedule-item.footer-item .time { margin-top: 5px; }
.schedule-item.footer-item .separator { height: 40px; margin-top: 5px; }
.event-content-col { display: flex; flex-direction: column; gap: 10px; }
.speaker-name { font-family: var(--font-display); color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- EXPERIÊNCIA --- */
.experience-section { padding: 100px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.exp-text-container { display: flex; flex-direction: column; align-items: flex-start; }
.label-pill-title { display: inline-block; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 8px 25px; font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.05); }
.exp-text-container h2 { font-size: 3.5rem; margin-bottom: 40px; line-height: 1; }
.exp-content-block { margin-bottom: 40px; }
.exp-content-block h4 { font-size: 1.2rem; color: #fff; margin-bottom: 15px; font-family: var(--font-display); }
.exp-content-block p { font-size: 1rem; line-height: 1.6; color: #ccc; margin-bottom: 0; }
.exp-img-container { border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
.exp-img-container img { width: 100%; height: 400px; display: block; filter: brightness(0.9); }

/* --- FOOTER & FORM --- */
.footer-section { position: relative; padding: 20px 0 0; text-align: center; }
.footer-top-area { position: relative; padding: 20px 0 60px; overflow: hidden; }
.footer-form-wrapper { max-width: 800px; margin: 0 auto; position: relative; z-index: 10; transition: opacity 0.5s ease; }
.footer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.full-width { grid-column: span 2; }

/* Layout Desktop: Captcha e Botão Lado a Lado */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

#success-message { display: none; padding: 60px 20px; text-align: center; animation: fadeInSuccess 0.8s ease forwards; }
.success-icon { width: 80px; height: 80px; background: var(--accent-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; font-size: 40px; box-shadow: 0 0 30px rgba(138, 43, 226, 0.5); color: white; }
#success-message h3 { font-size: 2rem; margin-bottom: 15px; color: #fff; font-family: var(--font-display); }
#success-message p { text-align: center; color: var(--text-gray); font-size: 1.1rem; }

@keyframes fadeInSuccess { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.btn-submit-purple { background: #8A2BE2; color: white; border: none; padding: 15px 50px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; height: 78px; display: flex; align-items: center; justify-content: center; min-width: 200px; }
.btn-submit-purple:hover { background: #6a0dad; box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); }
.btn-submit-purple.loading { pointer-events: none; color: transparent !important; position: relative; }
.btn-submit-purple.loading::after { content: ""; position: absolute; width: 20px; height: 20px; top: 50%; left: 50%; margin: -10px 0 0 -10px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spinButton 0.8s linear infinite; }
@keyframes spinButton { to { transform: rotate(360deg); } }

input.form-control { width: 100%; padding: 15px 20px; background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; color: white; font-family: var(--font-body); font-size: 1rem; outline: none; transition: 0.3s; }
input.form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
input.form-control:focus { border-color: var(--accent-purple); background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }

.footer-bg-shape { position: absolute; top: 380px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1500px; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.8; }
.footer-bg-shape img { width: 100%; height: auto; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.15); margin: 0 auto; width: 100%; max-width: 1240px; position: relative; z-index: 25; }

.credits-container { background-color: #050505; position: relative; z-index: 20; padding: 50px 0 60px; }
.contact-info { margin-bottom: 20px; font-size: 0.9rem; color: #aaa; display: flex; flex-direction: column; align-items: center; }
.contact-info div { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; width: 100%; }
.address-row { align-items: flex-start; justify-content: center; }
.address-row span { margin-top: 4px; }
.address-text { text-align: center; }

/* --- RECAPTCHA --- */
.captcha-container { display: flex; justify-content: flex-start; }

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 992px) {
    .form-footer { flex-direction: column; align-items: center; text-align: center; }
    .captcha-container { justify-content: center; }
    header.hero-section { flex-direction: column; height: auto; padding-bottom: 50px; display: block; }
    .hero-left-image { position: relative; width: 100%; height: 400px; }
    .hero-bg-img { width: 120%; transform: translateX(-10%); object-fit: contain; }
    .hero-right-content { width: 100%; padding: 20px; text-align: center; margin-top: -50px; }
    nav.hero-nav { flex-direction: column; gap: 20px; margin-bottom: 40px; }
    h1 { font-size: 3.5rem; line-height: 1; }
    h2 { font-size: 2.1rem; line-height: 1.1; }
    .values-text-container h2, .exp-text-container h2 { font-size: 2.2rem; line-height: 1.1; }
    
    .full-banner { margin: 10px auto 0; padding: 0; }
    .full-banner img { max-height: none; object-fit: contain; width: 100%; border-radius: 0; mask-image: none; -webkit-mask-image: none; }
    
    .values-section, .experience-section, .pillars-grid, .footer-form-grid { grid-template-columns: 1fr; gap: 30px; }
    .values-text-container, .exp-text-container, .pillars-content-wrapper { align-items: center; text-align: center; width: 100%; }
    .values-text-container h2, .exp-text-container h2, .pillars-content-wrapper h2, .schedule-section h2 { text-align: center; margin-left: auto; margin-right: auto; }
    .speakers-section h2 { text-align: center; margin-left: auto; margin-right: auto; max-width: 250px; line-height: 1.1; }
    .values-text-container p, .exp-content-block p, .pillar-card p { text-align: center; }
    
    .pillar-card { text-align: center; width: 100%; margin: 0 auto; box-sizing: border-box; }
    .pillars-grid { padding: 0 10px; }
    .pillars-section { padding: 0; }
    .pillar-card h4 { justify-content: center; }

    .speakers-section { padding: 30px 0 10px 0; }
    .speakers-grid { grid-template-columns: 1fr; padding: 0 15px; gap: 25px; }
    .speaker-card { width: 100%; margin: 0 auto; }
    .speaker-img-container { height: 350px; }
    .speakers-header { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
    .speakers-nav { display: none; }
    
    .schedule-section { padding: 10px 0; }
    .experience-section { padding: 20px 0; }
    .schedule-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
    .separator, .arrow { display: none; }
    .time { width: 100%; margin-bottom: 5px; color: var(--accent-purple); }

    .footer-section, .footer-top-area { padding-top: 20px; }
    .btn-submit-purple { width: 100%; float: none; margin-top: 15px; height: 60px; }
    
    .contact-info { width: 100%; align-items: center; }
    .contact-info div { flex-direction: row; align-items: center; justify-content: center; gap: 8px; width: 100%; }
    .address-row { flex-direction: row !important; align-items: flex-start !important; }
    .address-text { text-align: center; }
    
    .footer-bg-shape { top: auto; bottom: -100px; opacity: 0.6; }
    .footer-top-area { padding-bottom: 0; }

    .side-spiral-bg { display: block; opacity: 0.3; left: -40%; width: 150%; top: 0; height: 100%; object-fit: contain; }
    .schedule-deco-bg { opacity: 0.4; right: -60%; top: 60%; width: 130%; height: 80%; }
    .schedule-deco-bg img { transform: rotate(90deg); }
}