/* =============================================
   VARIÁVEIS & RESET
   ============================================= */
:root {
    /* Brand colors */
    --primary-color: #1368a8;       /* Blue — cor principal */
    --secondary-color: #af8056;     /* Warm brown */
    --accent-cyan: #1368a8;         /* Vibrant blue */
    --accent-pink: #af8056;         /* Warm brown */
    --gold-color: #F9A825;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    --gradient-dark: linear-gradient(160deg, #0a1220 0%, #0d2d4a 50%, #5c3520 100%);

    /* Light section backgrounds */
    --bg-white: #fdfaf7;            /* Warm white */
    --bg-light: #f5f0eb;            /* Warm light */
    --bg-light-2: #ede8e2;

    /* Dark section backgrounds */
    --bg-darkest: #0a1220;
    --bg-dark: #0d1e35;
    --bg-mid: #1368a8;
    --bg-purple: #5c3520;

    /* Cards */
    --card-bg: #ffffff;
    --card-border: rgba(19, 104, 168, 0.2);
    --card-shadow: 0 2px 16px rgba(13, 45, 74, 0.08);
    --card-shadow-hover: 0 8px 32px rgba(13, 45, 74, 0.15);

    /* Text — light sections */
    --text-heading: #0d2d4a;
    --text-body: #3d5a7c;
    --text-muted: #7986a8;

    /* Text — dark sections */
    --text-primary: #ffffff;
    --text-secondary: #c8d0e8;
    --text-light: #8892b0;

    /* Legacy */
    --text-dark: #0d2d4a;
    --text-mid: #3d5a7c;
    --white: #ffffff;
    --accent-color: rgba(19, 104, 168, 0.08);

    /* Feedback */
    --error: #e53935;
    --success: #2e7d32;

    /* Layout */
    --navbar-height: 68px;
    --shadow-sm: 0 2px 8px rgba(13,45,74,0.08);
    --shadow-md: 0 4px 20px rgba(13,45,74,0.12);
    --shadow-lg: 0 8px 40px rgba(13,45,74,0.18);
    --shadow-cyan: 0 0 20px rgba(19, 104, 168, 0.25);
    --radius: 10px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 24px);
    background-color: #0a1220; /* evita fundo branco no overscroll (topo e fundo) */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3, h4 { line-height: 1.3; }

/* =============================================
   ANIMAÇÕES
   ============================================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}

.animate-fade-in  { animation: fadeInDown 0.7s ease both; }
.animate-slide-up { animation: slideUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    height: var(--navbar-height);
}

.navbar.scrolled {
    background: rgba(10, 18, 32, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(175,128,86,0.22), 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    max-width: 1400px;
    width: 92%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
    height: 38px; width: 38px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(19, 104, 168, 0.4);
    transition: box-shadow var(--transition), transform var(--transition);
}
.nav-logo-img:hover { transform: scale(1.05); }

.logo-event {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
    color: var(--accent-cyan);
    background: rgba(19, 104, 168, 0.1);
}

.nav-cta {
    background: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    color: var(--white) !important;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: 0 2px 14px rgba(19, 104, 168, 0.3);
    margin-left: 8px;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(19, 104, 168, 0.5);
    filter: brightness(1.1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO — DARK
   ============================================= */
.hero {
    position: relative;
    background: linear-gradient(160deg, #0a1220 0%, #0d2d4a 30%, #1368a8 65%, #7a4a2a 100%);
    color: var(--white);
    padding: var(--navbar-height) 0 0;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='80'%3E%3Cpath d='M0 40 Q150 15 300 40 Q450 65 600 40' fill='none' stroke='rgba(19,104,168,0.14)' stroke-width='1.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='80'%3E%3Cpath d='M0 40 Q150 65 300 40 Q450 15 600 40' fill='none' stroke='rgba(175,128,86,0.11)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 600px 80px, 600px 80px;
    background-position: 0 0, 0 40px;
    pointer-events: none;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.shape-1 {
    width: 620px; height: 620px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(19,104,168,0.2) 0%, transparent 70%);
}
.shape-2 {
    width: 440px; height: 440px;
    bottom: 80px; left: -100px;
    background: radial-gradient(circle, rgba(175,128,86,0.2) 0%, transparent 70%);
    animation-delay: 3s;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    gap: 20px;
}

.hero-tag {
    display: inline-block;
    background: rgba(19, 104, 168, 0.15);
    border: 1px solid rgba(19, 104, 168, 0.4);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-logo-img {
    max-width: min(700px, 90vw);
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(19, 104, 168, 0.45));
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    letter-spacing: 0.3px;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 104, 168, 0.1);
    border: 1px solid rgba(175, 128, 86, 0.45);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.detail-item svg { color: #af8056; }

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: 0 4px 20px rgba(19, 104, 168, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(19, 104, 168, 0.55);
    filter: brightness(1.1);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    border: 2px solid rgba(175, 128, 86, 0.5);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
    background: rgba(175, 128, 86, 0.15);
    border-color: rgba(175, 128, 86, 0.85);
    transform: translateY(-3px);
}

.hero-wave {
    position: relative;
    margin-top: auto;
    line-height: 0;
    z-index: 1;
}
.hero-wave svg { display: block; width: 100%; height: 100px; }

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.particle {
    position: absolute;
    color: rgba(19, 104, 168, 0.15);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    animation: floatParticle linear infinite;
    user-select: none;
}
@keyframes floatParticle {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section-padding { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    color: var(--text-heading);
}
.section-header .lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Section tag — light sections */
.section-tag {
    display: inline-block;
    background: rgba(175, 128, 86, 0.1);
    color: #af8056;
    border: 1px solid rgba(175, 128, 86, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Section tag — dark sections */
.tag-light {
    background: rgba(255,255,255,0.12);
    color: var(--accent-cyan);
    border-color: rgba(19, 104, 168, 0.35);
}

.section-header-light h2 { color: var(--white); }
.section-header-light .lead { color: rgba(255,255,255,0.65); }

.text-white { color: var(--white) !important; }
.text-white-70 { color: rgba(255,255,255,0.7); }

/* Light section backgrounds */
.bg-light { background-color: var(--bg-light); }

/* Dark section (Why Sponsor) */
.bg-dark-green {
    background: linear-gradient(160deg, #0a1220 0%, #0d2d4a 45%, #5c3520 100%);
}

/* =============================================
   ABOUT SECTION — LIGHT
   ============================================= */
.about {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='120'%3E%3Cpath d='M0 60 C200 20 400 100 600 60 C700 40 750 50 800 60' fill='none' stroke='rgba(19,104,168,0.07)' stroke-width='1.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='120'%3E%3Cpath d='M0 60 C200 100 400 20 600 60 C700 80 750 70 800 60' fill='none' stroke='rgba(175,128,86,0.07)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 800px 120px, 800px 120px;
    background-position: 0 0, 0 60px;
    pointer-events: none;
    z-index: 0;
}
.about .container { position: relative; z-index: 1; }

/* About text block */
.about-text {
    max-width: 780px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.about-text p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-text p:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-heading);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--card-bg);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--accent-pink);
    border-top: 1px solid #e8eaf6;
    border-right: 1px solid #e8eaf6;
    border-bottom: 1px solid #e8eaf6;
    transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.info-icon {
    width: 52px; height: 52px;
    background: rgba(19, 104, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #1368a8;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}
.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   WHY SPONSOR — DARK (contraste)
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: rgba(19, 104, 168, 0.07);
    border: 1px solid rgba(19, 104, 168, 0.2);
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.stat-item:hover {
    background: rgba(19, 104, 168, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(19, 104, 168, 0.25);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    text-shadow: 0 0 20px rgba(19, 104, 168, 0.5);
}
.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    vertical-align: super;
    opacity: 0.7;
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 500;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(19, 104, 168, 0.18);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.benefit-card:hover {
    background: rgba(19, 104, 168, 0.1);
    transform: translateY(-4px);
    border-color: rgba(19, 104, 168, 0.45);
}

.benefit-icon { font-size: 2rem; margin-bottom: 14px; }

.benefit-card h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.benefit-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   WHY SPONSOR — Two-column layout
   ============================================= */
.why-sponsor-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: center;
    margin-top: 8px;
}

/* =============================================
   PHOTO SLIDER — Left column
   ============================================= */
.why-slider-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-slider {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(19, 104, 168, 0.05);
    border: 1px solid rgba(19, 104, 168, 0.22);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(19, 104, 168, 0.12);
    cursor: pointer;
    /* Force GPU layer for the whole slider */
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
    /* Promote to own compositor layer */
    will-change: transform;
    backface-visibility: hidden;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
    /* Prevent sub-pixel rendering issues */
    transform: translateZ(0);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* No scale on hover — avoids paint during slide transition */
    will-change: auto;
    backface-visibility: hidden;
}

/* Removed hover scale on img to avoid jank during transitions */

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 15, 26, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.why-slider:hover .slide-overlay {
    opacity: 1;
}

.slide-tag {
    display: inline-block;
    background: rgba(19, 104, 168, 0.2);
    border: 1px solid rgba(19, 104, 168, 0.45);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Slider navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 21, 37, 0.75);
    border: 1px solid rgba(19, 104, 168, 0.35);
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    backdrop-filter: blur(4px);
    opacity: 0;
}

.why-slider:hover .slider-btn {
    opacity: 1;
}

.slider-prev-btn { left: 14px; }
.slider-next-btn { right: 14px; }

.slider-btn:hover {
    background: rgba(19, 104, 168, 0.3);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition), width var(--transition);
}

.slider-dot.active {
    background: var(--accent-cyan);
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(19, 104, 168, 0.65);
}

.slider-caption {
    font-size: 0.82rem;
    text-align: center;
    letter-spacing: 0.3px;
    margin: 0;
}

/* =============================================
   BENEFIT CARDS — Right column (vertical)
   ============================================= */
.why-benefits-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-card-v {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(19, 104, 168, 0.16);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: background var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.benefit-card-v:hover {
    background: rgba(19, 104, 168, 0.1);
    transform: translateX(6px);
    border-color: rgba(19, 104, 168, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.benefit-icon-v {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text-v h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.benefit-text-v p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 15, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(6px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox #lightboxImg {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.lightbox-close:hover {
    background: rgba(19, 104, 168, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 2.2rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.lightbox-nav:hover {
    background: rgba(19, 104, 168, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* =============================================
   TIERS — LIGHT
   ============================================= */
.sponsors {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.sponsors::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='150'%3E%3Cpath d='M0 75 C250 30 500 120 750 75 C875 52 937 60 1000 75' fill='none' stroke='rgba(175,128,86,0.08)' stroke-width='2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='150'%3E%3Cpath d='M0 75 C250 120 500 30 750 75 C875 98 937 90 1000 75' fill='none' stroke='rgba(19,104,168,0.07)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 1000px 150px, 1000px 150px;
    background-position: 0 0, 0 75px;
    pointer-events: none;
    z-index: 0;
}
.sponsors .container { position: relative; z-index: 1; }

.tiers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

/* Each row is a flex container */
.tiers-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* All cards same width: 25% of container minus gaps */
.tiers-row > .tier-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
}

.tier-card {
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid #e0e4f0;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    /* Align button to bottom regardless of content length */
    display: flex;
    flex-direction: column;
}
.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.tier-logistic { border-top: 4px solid #78909C; }
.tier-entry    { border-top: 4px solid #90A4AE; }
.tier-bronze   { border-top: 4px solid #CD7F32; }
.tier-silver   { border-top: 4px solid #9E9E9E; }
.tier-gold     { border-top: 4px solid var(--gold-color); }

.tier-platinum {
    border: 1px solid rgba(175, 128, 86, 0.35);
    border-top: 4px solid #af8056;
    box-shadow: 0 4px 24px rgba(175, 128, 86, 0.15);
    background: linear-gradient(to bottom, rgba(175,128,86,0.04) 0%, #ffffff 28%);
}
.tier-platinum:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(175, 128, 86, 0.25), 0 4px 20px rgba(19, 104, 168, 0.12);
    border-color: rgba(175, 128, 86, 0.6);
}

.tier-price {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.tier-price-platinum { color: var(--accent-cyan); }

.tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.tier-badge-limited {
    background: var(--gold-color);
    color: #1a1000;
}

.tier-icon { font-size: 1.8rem; margin-bottom: 8px; }

.tier-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-heading);
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.tier-features {
    list-style: none;
    margin-bottom: 16px;
    /* Push button to bottom */
    flex: 1;
}
.tier-features li {
    padding: 5px 0;
    font-size: 0.88rem;
    color: var(--text-body);
    border-bottom: 1px solid #f0f2fa;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tier-features li::before {
    content: '✓';
    color: #1368a8;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.tier-features li:last-child { border-bottom: none; }

.tier-btn {
    display: block;
    text-align: center;
    padding: 11px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.tier-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.tier-btn-platinum {
    background: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    color: var(--white) !important;
    border: none;
}
.tier-btn-platinum:hover {
    background: linear-gradient(135deg, #1a7ac4 0%, #c4956a 100%);
    border: none;
    filter: brightness(1.08);
}

/* =============================================
   FORM — LIGHT
   ============================================= */
.form-wrapper {
    background: var(--card-bg);
    border: 1px solid rgba(175, 128, 86, 0.2);
    border-top: 3px solid transparent;
    background-image: linear-gradient(var(--card-bg), var(--card-bg)), linear-gradient(135deg, #1368a8, #af8056);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 48px 44px;
    border-radius: var(--radius);
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--card-shadow-hover);
    scroll-margin-top: calc(var(--navbar-height) + 24px);
}

.form-header {
    margin-bottom: 32px;
    text-align: center;
}
.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}
.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 20px; }

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-body);
}

.required { color: var(--error); }

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d0d5e8;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    color: var(--text-heading);
    background: #fafbff;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(19, 104, 168, 0.12);
}

input.invalid, select.invalid, textarea.invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.field-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 18px;
}

textarea { resize: vertical; min-height: 110px; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.btn-submit:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(19, 104, 168, 0.35);
}
.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner-icon { animation: spin 0.8s linear infinite; }

/* Consent checkbox */
.form-group-consent {
    margin-bottom: 20px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--primary-color);
    cursor: pointer;
    border: 1.5px solid #d0d5e8;
    border-radius: 4px;
}

.consent-label input[type="checkbox"].invalid {
    outline: 2px solid var(--error);
    outline-offset: 2px;
    box-shadow: none;
}

.status-message {
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 6px;
    display: none;
}
.status-message.success {
    display: block;
    color: var(--success);
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}
.status-message.error {
    display: block;
    color: var(--error);
    background: #ffebee;
    border: 1px solid #ef9a9a;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #1368a8 0%, #af8056 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(19, 104, 168, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition), transform var(--transition), filter var(--transition);
    z-index: 999;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover {
    filter: brightness(1.15);
    transform: translateY(-3px);
}

/* =============================================
   FOOTER — DARK
   ============================================= */
footer {
    background: linear-gradient(160deg, #0a1220 0%, #0d1e35 60%, #3d1f0a 100%);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    border-top: 1px solid rgba(175, 128, 86, 0.22);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding: 56px 0 40px;
}

.footer-logo {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1368a8, #af8056);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer-brand p {
    line-height: 1.7;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent-cyan); }

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--accent-cyan); }
.footer-contact-link svg { flex-shrink: 0; }

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.2);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --navbar-height: 60px; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: rgba(8, 14, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        border-bottom: 1px solid rgba(0,212,255,0.15);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
        z-index: 999;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        color: rgba(255,255,255,0.85) !important;
        padding: 12px 16px;
        border-radius: 6px;
        font-size: 1rem;
    }
    .nav-link:hover {
        background: rgba(0, 212, 255, 0.1);
        color: var(--accent-cyan) !important;
    }
    .nav-cta {
        display: block;
        text-align: center;
        padding: 12px 16px;
        margin-top: 8px;
        margin-left: 0;
        border-radius: 6px;
        font-size: 1rem;
    }

    /* Hero mobile */
    .hero { min-height: 100svh; }
    .hero-particles { display: none; } /* esconde partículas no mobile para performance */
    .hero-wave svg { height: 60px; }
    .hero-content { padding: 32px 16px 24px; gap: 14px; }
    .hero-logo-img { max-width: min(400px, 88vw); }
    .hero .subtitle { font-size: 1rem; }
    .event-details { flex-direction: column; align-items: center; gap: 10px; }
    .detail-item { font-size: 0.88rem; padding: 8px 16px; width: 100%; max-width: 280px; justify-content: center; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 15px 24px;
        touch-action: manipulation;
    }

    /* Sections */
    .section-padding { padding: 56px 0; }
    .section-header { margin-bottom: 36px; }
    .info-grid { grid-template-columns: 1fr; }

    /* Tiers — tablet: 2 per row */
    .tiers-row { flex-wrap: wrap; }
    .tiers-row > .tier-card { flex: 0 0 calc(50% - 10px); }

    /* Form */
    .form-wrapper { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }

    /* Why Sponsor two-column layout */
    .why-sponsor-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .benefit-card-v:hover { transform: translateX(0) translateY(-3px); }

    .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .hero-content { padding: 24px 12px 20px; gap: 12px; }
    .hero-logo-img { max-width: min(300px, 92vw); }
    .hero .subtitle { font-size: 0.95rem; }
    .detail-item { font-size: 0.82rem; padding: 7px 14px; max-width: 240px; }
    .btn-primary, .btn-secondary { max-width: 260px; font-size: 0.95rem; }
    .stat-number { font-size: 2.4rem; }
    .section-header h2 { font-size: 1.6rem; }
    .form-wrapper { padding: 24px 16px; }

    /* Tiers — mobile: 1 column */
    .tiers-row > .tier-card { flex: 0 0 100%; }
}

/* =============================================
   EDIÇÕES ANTERIORES — GALLERY
   ============================================= */
.previous-editions {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--bg-darkest);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--card-shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--white);
}

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

.gallery-overlay svg {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    color: var(--accent-cyan);
    transform: scale(0.8);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 11, 26, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(90vw, 1000px);
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 212, 255, 0.15);
    display: block;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-counter {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(233, 30, 140, 0.25);
    border-color: rgba(233, 30, 140, 0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    z-index: 10;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-nav:hover {
    background: rgba(0, 212, 255, 0.18);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
}

/* Gallery responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

/* Detail link - for clickable location icons */
.detail-link {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), transform var(--transition);
}
.detail-link:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}