@font-face {
    font-family: 'Neue Machina';
    src: url('/fonts/NeueMachina-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Machina';
    src: url('/fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Machina';
    src: url('/fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --primary: #2b3c5e; 
    --navbar-scrolled: #111827; 
    --accent-yellow: #f59e0b; 
    --accent-yellow-hover: #d97706; 
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Neue Machina', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--primary);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    background: rgba(15, 23, 42, 0.1); 
}

nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: height 0.3s ease;
}

nav.scrolled .logo img { height: 42px; }

.menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.menu-item-dropdown {
    position: relative;
}

.menu-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-link:hover { color: var(--accent-yellow); }

.menu-dropdown-trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    appearance: none;
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: 0.75rem 0;
    margin: 0;
    list-style: none;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.menu-item-dropdown.is-open .menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-dropdown-link {
    display: block;
    padding: 0.75rem 1.1rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.menu-dropdown-link:hover {
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.04);
}

.btn-cta {
    background: var(--accent-yellow);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.32);
    z-index: 1200;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 42px rgba(37, 211, 102, 0.4);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background-image: url('/images/backHero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-content {
    padding: 8rem 2rem 8rem 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-white);
}

.hero-top-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-hero-top { height: 50px; }

.convida {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.hero-main-branding {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.brand-hero-main {
    max-width: 80%;
    height: auto;
}

.hero-description {
    max-width: 550px;
    margin-bottom: 3rem;
}

.desc-main {
    font-size: 1.35rem;
    line-height: 1.6;
}

.desc-small {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.btn-cta-hero {
    background: var(--accent-yellow);
    color: #0b1120;
    padding: 0.8rem 2.5rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero-decoration {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.map-hero-right {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p strong {
    font-weight: 800;
    color: var(--primary);
}

/* About Decor */
.about-decor {
    position: absolute;
    border-radius: 4px;
    z-index: 1;
    animation: float-sq 6s ease-in-out infinite;
}

@keyframes float-sq {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.decor-sq-1 { width: 45px; height: 45px; background: #0b1120; top: 15%; left: 2%; }
.decor-sq-2 { width: 60px; height: 60px; border: 3px solid #94a3b8; top: 5%; left: 20%; animation-delay: 1.5s; }
.decor-sq-3 { width: 40px; height: 40px; background: #f59e0b; bottom: -20px; left: 10%; animation-delay: 3s; }
.decor-sq-4 { width: 55px; height: 55px; background: #1e293b; top: -20px; right: 35%; opacity: 0.8; animation-delay: 0.5s; }

/* --- IMPACT SECTION --- */
.impact-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
}

.impact-card {
    background-color: var(--primary);
    border-radius: 20px;
    padding: 5rem 3rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    position: relative;
}

.impact-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.impact-item {
    padding: 0 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-item:last-child { border-right: none; }

.impact-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.impact-label {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.impact-footer {
    padding-top: 3rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.impact-footer p { font-size: 1.3rem; font-weight: 300; }
.impact-footer strong { color: var(--accent-yellow); font-weight: 800; }

.impact-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 7s ease-in-out infinite;
}

.decor-sq-top-left { width: 35px; height: 35px; background: #1e293b; border: 2px solid rgba(255,255,255,0.2); top: -17px; left: 20px; }
.decor-sq-top-center { width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.3); top: -15px; left: 50%; transform: translateX(-50%); animation-delay: 2s; }

/* --- PARTICIPANTS SECTION --- */
.participants-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
    text-align: center;
}

.participants-title {
    font-size: 2.8rem;
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.2;
}

.participants-intro { max-width: 800px; margin: 0 auto 4rem; }
.participants-intro p { font-size: 1.1rem; line-height: 1.8; color: #475569; margin-bottom: 2rem; font-weight: 300; text-align: justify; }

.participants-heading { font-size: 1.8rem; font-weight: 800; margin-bottom: 2.5rem; }

.participants-image { max-width: 1100px; margin: 0 auto 3rem; }
.participants-image img { width: 100%; border-radius: 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.15); }

.participants-list { max-width: 900px; margin: 0 auto 4rem; }
.participants-list p { font-size: 1.05rem; line-height: 1.8; color: #475569; font-weight: 300; text-align: justify; }

.participants-summary { max-width: 800px; margin: 0 auto; padding-top: 3rem; border-top: 1px solid #e2e8f0; }
.participants-summary p { font-size: 1.2rem; font-weight: 300; color: var(--primary); }
.participants-summary strong { font-weight: 800; }

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 1200px) {
    .about-decor { display: none; }
    .hero-content { padding-left: 4rem; }
}

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: right 0.4s ease;
        gap: 1.75rem;
    }
    
    .menu.active { right: 0; }
    .menu-toggle { display: flex; }

    .menu-item-dropdown {
        width: 100%;
        text-align: center;
    }

    .menu-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        margin-top: 0.9rem;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    .menu-item-dropdown.is-open .menu-dropdown {
        transform: none;
    }
    
    .hero-grid { grid-template-columns: 1fr; }
    .hero-decoration { display: none; }
    .hero-content { padding: 6rem 2rem; text-align: center; align-items: center; }
    .hero-top-brand { justify-content: center; }
    .hero-main-branding { justify-content: center; }
    .brand-hero-main { max-width: 100%; }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .impact-item { border-right: none; }
    .impact-title { font-size: 2rem; }

    .participants-title { font-size: 2rem; padding: 0 1rem; }
    .participants-heading { font-size: 1.5rem; margin-bottom: 2rem; }
    .participants-section { padding: 40px 1rem; }
    .participants-intro { margin-bottom: 2.5rem; }
    .participants-image { margin-bottom: 2rem; }
    .participants-summary { padding-top: 2rem; }
}

@media (max-width: 640px) {
    .impact-grid { grid-template-columns: 1fr; }
    .participants-title { font-size: 1.6rem; line-height: 1.3; }
    .participants-heading { font-size: 1.3rem; }
    .participants-intro p { font-size: 1rem; line-height: 1.6; }
    .participants-summary p { font-size: 1.1rem; }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: var(--accent-yellow);
    background-image: radial-gradient(rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    max-width: 1100px;
    margin: 0 auto 3.5rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.25);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Utilities */
.text-center { text-align: center !important; }

.video-title {
    font-size: 4.6rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.1;
}

.video-actions {
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.video-actions .btn-cta-hero {
    background: var(--primary);
    color: #ffffff;
    padding: 1.5rem 6rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.video-actions .btn-cta-hero:hover {
    background: #000000;
    transform: scale(1.05);
}

/* Video Section Decors */
.video-decor {
    position: absolute;
    background-color: var(--primary);
    border-radius: 4px;
    animation: float-sq 8s ease-in-out infinite;
    z-index: 1;
}

.decor-v1 { width: 40px; height: 40px; top: 10%; left: 5%; animation-delay: 0s; }
.decor-v2 { width: 50px; height: 50px; border: 3px solid var(--primary); background: transparent !important; top: 5%; left: 15%; animation-delay: 2s; }
.decor-v3 { width: 30px; height: 30px; top: 15%; right: 40%; animation-delay: 4s; }
.decor-v4 { width: 60px; height: 60px; bottom: 10%; right: 5%; animation-delay: 1s; }
.decor-v5 { width: 25px; height: 25px; bottom: 20%; left: 10%; animation-delay: 3s; }

/* Policy Section */
.policy-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.policy-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    max-width: 900px;
    margin: 0 auto 5rem;
    line-height: 1.1;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-column p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 2rem;
    font-weight: 300;
    text-align: justify;
}

.policy-column p strong {
    font-weight: 800;
    color: var(--primary);
}

/* Policy Decor */
.policy-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 9s ease-in-out infinite;
    z-index: 1;
}

.decor-p1 { width: 45px; height: 45px; background: #e5e7eb; border: 2px solid #cbd5e1; top: 10%; left: 2%; }
.decor-p2 { width: 35px; height: 35px; background: var(--accent-yellow); top: 5%; right: 25%; animation-delay: 2s; }
.decor-p3 { width: 50px; height: 50px; border: 2px solid var(--accent-yellow); top: 20%; right: 5%; animation-delay: 4s; }
.decor-p4 { width: 40px; height: 40px; background: var(--accent-yellow); bottom: 10%; left: 5%; animation-delay: 1.5s; }

/* Podcast Section */
.podcast-section {
    padding: 110px 0;
    background-color: var(--accent-yellow);
    background-image: radial-gradient(rgba(0,0,0,0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

.podcast-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
}

.podcast-image img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.podcast-title {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.podcast-headline {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.podcast-subheadline {
    font-size: 1.95rem;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 2.4rem;
}

.podcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #003f73;
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    border-radius: 999px;
    padding: 1rem 2rem;
    min-width: 320px;
}

.podcast-btn-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-yellow);
}

/* Carta de Brasília Section */
.carta-section {
    padding: 120px 0;
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255,255,255,0.03) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.carta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.carta-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
}

.carta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.carta-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    text-align: justify;
}

.carta-text p strong {
    font-weight: 800;
    color: var(--accent-yellow);
}

/* Carta Decor */
.carta-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 10s ease-in-out infinite;
    z-index: 1;
}

.decor-c1 { width: 50px; height: 50px; border: 2px solid rgba(255,255,255,0.1); top: 10%; left: 5%; }
.decor-c2 { width: 40px; height: 40px; background: var(--accent-yellow); top: 5%; right: 10%; animation-delay: 2s; }
.decor-c3 { width: 60px; height: 60px; border: 2px solid var(--accent-yellow); bottom: 10%; left: 10%; animation-delay: 4s; }
.decor-c4 { width: 30px; height: 30px; background: rgba(255,255,255,0.1); bottom: 5%; right: 5%; animation-delay: 3s; }

/* Expo Section */
.expo-section {
    padding: 120px 0;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.expo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.expo-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.expo-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.expo-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: justify;
}

.expo-text p strong {
    font-weight: 800;
    color: var(--primary);
}

.expo-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0.5rem;
}

.expo-list li {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.expo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
}

/* Expo Decor */
.expo-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 8s ease-in-out infinite;
    z-index: 10;
}

.decor-e1 { width: 45px; height: 45px; background: var(--primary); top: 10%; left: 5%; }
.decor-e2 { width: 35px; height: 35px; border: 2px solid var(--primary); top: 5%; right: 20%; animation-delay: 2s; }
.decor-e3 { width: 50px; height: 50px; background: var(--accent-yellow); bottom: 15%; left: 3%; animation-delay: 4s; }
.decor-e4 { width: 25px; height: 25px; border: 2px solid var(--accent-yellow); bottom: 5%; left: 15%; animation-delay: 1s; }
.decor-e5 { width: 40px; height: 40px; background: var(--primary); top: 15%; right: 5%; animation-delay: 3s; }

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: right 0.4s ease;
    }
    
    .menu.active { right: 0; }
    .menu-toggle { display: flex; }

    .btn-cta {
        margin: 2rem auto 0;
        width: fit-content;
        min-width: 260px;
        max-width: 100%;
        display: block;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        line-height: 1.3;
        border-radius: 12px; /* Less curve to allow wrapping better */
    }
    
    .hero-grid { grid-template-columns: 1fr; }
    .hero-decoration { display: none; }
    .hero-content { padding: 6rem 2rem; text-align: center; align-items: center; }
    .hero-top-brand { justify-content: center; }
    .hero-main-branding { justify-content: center; }
    .brand-hero-main { max-width: 100%; }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .impact-item { border-right: none; }
    .impact-title { font-size: 2rem; }

    /* Policy Mobile */
    .policy-title { font-size: 2rem; margin-bottom: 3rem; text-align: center; }
    .policy-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .policy-section { padding: 60px 1.5rem; }

    /* Podcast Mobile */
    .podcast-section { padding: 60px 1.5rem; }
    .podcast-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .podcast-image { order: -1; }
    .podcast-title { font-size: 2.2rem; margin-bottom: 0.8rem; }
    .podcast-headline { font-size: 1.65rem; }
    .podcast-subheadline { font-size: 1.4rem; margin-bottom: 1.6rem; }
    .podcast-btn { min-width: 0; width: 100%; justify-content: center; }

    /* Carta Mobile */
    .carta-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .carta-title { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
    .carta-section { padding: 60px 1.5rem; }
    .carta-image { order: -1; } /* Image always on top for mobile */

    /* Expo Mobile */
    .expo-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .expo-title { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
    .expo-section { padding: 60px 1.5rem; }
    .expo-image { order: -1; }
    .expo-list { text-align: left; display: inline-block; }

    /* Participants Mobile */
    .participants-title { font-size: 2rem; padding: 0 1rem; }
    .participants-heading { font-size: 1.5rem; margin-bottom: 2rem; }
    .participants-section { padding: 40px 1rem; }
}

@media (max-width: 640px) {
    .impact-grid { grid-template-columns: 1fr; }
    .policy-title { font-size: 1.8rem; }
    .podcast-title { font-size: 1.8rem; }
    .podcast-headline { font-size: 1.35rem; }
    .podcast-subheadline { font-size: 1.2rem; }
    .podcast-btn { font-size: 1rem; }
    .carta-title { font-size: 1.8rem; }
    .expo-title { font-size: 1.8rem; }
    .participants-title { font-size: 1.6rem; line-height: 1.3; }
}

/* Delegations Section */
.delegations-section {
    padding: 100px 0;
    background-color: var(--accent-yellow);
    background-image: radial-gradient(rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.delegations-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.delegations-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.intro-column p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--primary);
    font-weight: 300;
    text-align: justify;
}

.delegations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.delegation-item {
    flex: 0 0 16%; /* More logos per row (approx 6-7) */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.delegation-logo-wrapper {
    width: 160px;
    height: 160px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.delegation-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.delegation-item:hover .delegation-logo-wrapper {
    transform: translateY(-10px) scale(1.05);
}

.delegation-label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 320px; /* Increased again to force 2-line flow after container expansion */
}

/* Delegations Decor */
.delegations-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 8s ease-in-out infinite;
    z-index: 1;
}

.decor-d1 { width: 45px; height: 45px; background: var(--primary); top: 10%; left: 5%; }
.decor-d2 { width: 35px; height: 35px; border: 2px solid var(--primary); top: 5%; right: 15%; animation-delay: 2s; }
.decor-d3 { width: 60px; height: 60px; background: rgba(0,0,0,0.1); bottom: 10%; left: 10%; animation-delay: 4s; }
.decor-d4 { width: 30px; height: 30px; border: 2px solid var(--primary); bottom: 5%; right: 5%; animation-delay: 3s; }
.decor-d5 { width: 40px; height: 40px; background: var(--primary); top: 15%; right: 10%; animation-delay: 1.5s; }

@media (max-width: 1024px) {
    .delegations-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 1.5rem; }
    .delegations-intro-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .delegations-title { font-size: 2.5rem; }
    .delegation-logo-wrapper { width: 120px; height: 120px; }
}

@media (max-width: 640px) {
    .delegations-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .delegations-title { font-size: 2rem; }
    .delegation-logo-wrapper { width: 100px; height: 100px; }
    .delegation-label { font-size: 0.75rem; }
}

/* Next Edition Section */
.next-edition-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.next-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.next-description {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.next-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 2rem;
    font-weight: 300;
    text-align: justify;
}

.next-description p strong {
    font-weight: 800;
    color: var(--primary);
}

.next-image-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.next-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

/* Next Decor */
.next-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 12s ease-in-out infinite;
    z-index: 1;
}

.decor-n1 { width: 40px; height: 40px; border: 2px solid var(--accent-yellow); top: 10%; left: 10%; }
.decor-n2 { width: 30px; height: 30px; background: var(--accent-yellow); top: 5%; right: 15%; animation-delay: 2s; }
.decor-n3 { width: 50px; height: 50px; border: 2px solid rgba(0,0,0,0.1); bottom: 10%; left: 5%; animation-delay: 4s; }
.decor-n4 { width: 35px; height: 35px; background: var(--primary); bottom: 20%; right: 10%; animation-delay: 1.5s; }

/* Instituto Section */
.instituto-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.instituto-header {
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.instituto-label {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.instituto-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 3rem;
}

.instituto-intro p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    font-weight: 300;
    text-align: justify;
}

.instituto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto 6rem;
}

.instituto-column h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.instituto-list {
    list-style: none;
    padding-left: 0;
}

.instituto-list li {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1.8rem;
    font-weight: 300;
}

.instituto-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.instituto-image-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.instituto-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

/* Instituto Decor */
.instituto-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 10s ease-in-out infinite;
    z-index: 1;
}

.decor-i1 { width: 45px; height: 45px; border: 2px solid var(--accent-yellow); top: 15%; left: 5%; }
.decor-i2 { width: 35px; height: 35px; background: var(--accent-yellow); top: 5%; right: 5%; animation-delay: 2s; }
.decor-i3 { width: 50px; height: 50px; border: 2px solid rgba(0,0,0,0.1); bottom: 10%; right: 10%; animation-delay: 4s; }

@media (max-width: 1024px) {
    .instituto-logo { max-width: 300px; }
    .instituto-label { font-size: 1.1rem; }
    .instituto-intro p { font-size: 1.1rem; }
    .instituto-grid { grid-template-columns: 1fr; gap: 4rem; padding: 0 1.5rem; }
    .instituto-column h3 { font-size: 1.6rem; }
    .instituto-list li { font-size: 1.05rem; }
    .instituto-section { padding: 60px 1.5rem; }
}

/* Footer Section */
.main-footer {
    padding: 100px 0 40px;
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8rem;
    margin-bottom: 6rem;
}

.footer-label {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
    color: #ffffff;
}

.footer-sublabel {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.agency-logo, .realization-logo {
    max-width: 250px;
    margin-bottom: 2.5rem;
}

.agency-logo img, .realization-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.corporate-details p, .contact-item {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 4px; /* Subtle increase from 0px for better breathing room */
    font-weight: 300;
    opacity: 0.8;
}

.detail-label {
    font-weight: 800;
    color: #ffffff;
    opacity: 1;
}

/* Institutional Support Section */
.institutional-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.simple-support-section,
.sponsorship-section {
    padding: 20px 0 60px;
    background-color: #f8fafc;
}

.tier-sponsorship-section {
    padding: 100px 0;
    background-color: #0f172a;
    background-image: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.tier-sponsorship-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill-opacity='0.03' fill='%23ffffff' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.tier-group {
    margin-bottom: 5rem;
    text-align: center;
}

.tier-label-container {
    margin-bottom: 2.5rem;
}

.tier-label {
    background-color: #f59e0b;
    color: #000;
    padding: 0.5rem 2.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.tier-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-logo-item img {
    max-height: 80px;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-logo-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) invert(0);
}

/* Specific Tier Layouts */
.apresenta-grid .tier-logo-item img {
    max-height: 120px;
    max-width: 300px;
}

.diamante-grid { gap: 2.5rem; }
.diamante-grid .tier-logo-item img { max-height: 50px; max-width: 140px; }

.rubi-grid .tier-logo-item img { 
    max-height: 90px; 
    max-width: 200px;
    filter: none !important; /* Keep Rubi logos colored by default */
}

.ouro-grid .tier-logo-item img { max-height: 80px; max-width: 180px; }

.prata-grid { gap: 2rem; }
.prata-grid .tier-logo-item img { max-height: 50px; max-width: 130px; }

.bronze-grid, .expositor-grid { gap: 1.5rem; }
.bronze-grid .tier-logo-item img, 
.expositor-grid .tier-logo-item img { 
    max-height: 40px; 
    max-width: 110px; 
}

.institutional-highlight {
    margin-top: 3rem;
}

.highlight-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

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

.institutional-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.institutional-logo-item {
    width: calc(16.66% - 3rem);
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.institutional-logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.institutional-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .institutional-logo-item { width: calc(25% - 3rem); }
}

@media (max-width: 768px) {
    .institutional-logo-item { width: calc(33.33% - 2rem); gap: 2rem; }
    .institutional-grid { gap: 2rem; padding: 0 1rem; }
}

@media (max-width: 480px) {
    .institutional-logo-item { width: calc(50% - 1.5rem); }
}

.realization-name {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-section {
    margin-bottom: 3rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

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

.social-link:hover {
    background: var(--accent-yellow);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Footer Decor */
.footer-decor {
    position: absolute;
    border-radius: 4px;
    animation: float-sq 10s ease-in-out infinite;
    z-index: 1;
}

.decor-f1 { width: 50px; height: 50px; background: var(--accent-yellow); bottom: 10%; left: 5%; }
.decor-f2 { width: 40px; height: 40px; border: 2px solid #ffffff; bottom: 5%; left: 15%; animation-delay: 2s; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .social-icons { justify-content: center; }
    .agency-logo, .realization-logo { margin: 0 auto 2.5rem; }
    .main-footer { padding: 80px 1.5rem 40px; }
}

body.menu-open { overflow: hidden; }

/* 
==========================================================================
   MOBILE REFINEMENT (IMPECCABLE RESPONSIVENESS)
========================================================================== 
*/

@media (max-width: 768px) {
    /* Global Spacing */
    section {
        padding: 60px 0 !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Global Typography */
    .section-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .highlight-title {
        font-size: 1.8rem !important;
    }

    /* Hero Refinement */
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.15rem !important;
    }

    .hero-cta-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    /* Participants Section */
    .participants-list {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .participants-closing {
        font-size: 1.1rem !important;
    }

    /* Institutional Support / Sponsorship Grids */
    .institutional-grid, 
    .tier-logos-grid {
        gap: 1.5rem !important;
        margin-top: 2rem !important;
        padding: 0 10px;
    }

    .institutional-logo-item {
        width: calc(45% - 1.5rem) !important; /* Adjusted for better 2-column flow */
        min-width: 80px !important;
    }

    .institutional-logo-item img {
        max-height: 40px !important;
    }

    /* Tiered Sponsorship Refinement */
    .tier-sponsorship-section {
        padding: 60px 0 40px !important;
    }

    .tier-group {
        margin-bottom: 3.5rem !important;
    }

    .tier-label {
        font-size: 0.75rem !important;
        padding: 0.4rem 1.5rem !important;
    }

    .tier-logo-item img {
        max-height: 45px !important;
        max-width: 100px !important;
    }

    .apresenta-grid .tier-logo-item img {
        max-height: 80px !important;
        max-width: 180px !important;
    }

    /* Instituto Section */
    .instituto-logo {
        max-width: 220px !important;
        margin-bottom: 2rem !important;
    }

    .instituto-grid {
        gap: 2.5rem !important;
        margin-bottom: 3rem !important;
    }

    .instituto-image-wrapper img {
        border-radius: 15px !important;
    }

    /* Footer Refinement */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
        text-align: center;
    }

    .agency-logo, .realization-logo {
        margin: 0 auto 1.5rem !important;
        max-width: 180px !important;
    }

    .corporate-details p {
        margin-bottom: 8px;
    }

    .footer-social-links {
        justify-content: center !important;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .highlight-title {
        font-size: 1.5rem !important;
    }

    .institutional-logo-item {
        width: calc(50% - 1.5rem) !important;
    }
}
