* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-navy: #050810;
    --color-ink: #0a0e14;
    --color-bg: #080c12;
    --color-surface: #0d1117;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);
    --color-offwhite: #f0f2f5;
    --color-linen: #e8e6d9;
    --color-gold: #d4a853;
    --color-gold-aged: #b59e7a;
    --color-gray: #6e7681;
    --color-taupe: #8b949e;
    --color-green: #3fb950;
    --color-blue: #58a6ff;
    --color-neon: #00e89c;
    --color-text: #e6edf3;
    --color-text-light: #f0f2f5;
    --color-text-muted: #8b949e;

    --font-primary: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
}

/* Fundo estilo Terminal X: grid sutil (sem branco) – acima do canvas */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.103) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.082) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(211, 168, 83, 0.08), transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 232, 156, 0.04), transparent 50%);
    pointer-events: none;
}

#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;

}

/* Conteúdo acima do canvas – main na frente do canvas */
.page-main,
main {
    position: relative;
    z-index: 50 !important;
}

/* Header sempre acima do main para os links clicáveis */
header.fixed,
header.header-fixed-top {
    z-index: 100 !important;
}

/* ========== HEADER (minimal, estilo Terminal X) ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
    background: rgba(5, 8, 16, 0.95);
    border-bottom-color: var(--color-border-hover);
}
.header-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.header-logo span {
    color: var(--color-gold);
    text-transform: lowercase;
    font-weight: 500;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.header-nav a:hover {
    color: var(--color-gold);
}
.header-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border-hover);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-text);
}

/* ========== MAIN: layout vertical (landing) ========== */
.page-main {
    display: block;
    width: 100%;
    padding-top: 0;
}

.section {
    width: 100%;
    min-height: 100vh;
    padding: 5rem 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.section-hero {
    min-height: 100vh;
    padding-top: 6rem;
}
.section-alt {
    background: rgba(0, 0, 0, 0.2);
}
.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.section-inner.centered {
    text-align: center;
}

/* Hero - landing */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 0.75rem 1.75rem;
    color: var(--color-ink);
    background: var(--color-gold);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.hero-scroll:hover {
    background: #e0b85c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.35);
}

/* Orbs decorativos (quando seção entra em view) */
.section::before,
.section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
}
.section.is-active::before {
    opacity: 1;
    width: min(80vw, 500px);
    height: min(80vw, 500px);
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(211, 175, 55, 0.06) 0%, transparent 65%);
    animation: orbFloat 12s ease-in-out infinite;
}
.section.is-active::after {
    opacity: 1;
    width: min(60vw, 350px);
    height: min(60vw, 350px);
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 232, 156, 0.03) 0%, transparent 65%);
    animation: orbFloat 14s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, -4%) scale(1.05); }
}

.section-label {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.6875rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    display: block;
    font-weight: 600;
}
.section .section-label {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-out-expo) 0.1s, transform 0.5s var(--ease-out-expo) 0.1s;
}
.section.is-active .section-label {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--color-text);
}
.section .section-title {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-out-expo) 0.2s, transform 0.5s var(--ease-out-expo) 0.2s;
}
.section.is-active .section-title {
    opacity: 1;
    transform: translateY(0);
}

.title-gold {
    color: var(--color-gold);
}

.large-text {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}
.section .large-text,
.section .centered-copy {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease-out-expo) 0.35s, transform 0.5s var(--ease-out-expo) 0.35s;
}
.section.is-active .large-text,
.section.is-active .centered-copy {
    opacity: 1;
    transform: translateY(0);
}
.section .closing-copy {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease-out-expo) 0.5s, transform 0.5s var(--ease-out-expo) 0.5s;
}
.section.is-active .closing-copy {
    opacity: 1;
    transform: translateY(0);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.section .content-grid,
.section .pillars-rows,
.section .differential-layout,
.section .tracks-container-horizontal,
.section .members-showcase {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease-out-expo) 0.3s, transform 0.55s var(--ease-out-expo) 0.3s;
}
.section.is-active .content-grid,
.section.is-active .pillars-rows,
.section.is-active .differential-layout,
.section.is-active .tracks-container-horizontal,
.section.is-active .members-showcase {
    opacity: 1;
    transform: translateY(0);
}

.stacked-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}

.insight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.25rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.insight-card:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.04);
}
.section .insight-card,
.section .sponsor-box,
.section .track-item,
.section .pillar-row {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}
.section.is-active .insight-card:nth-child(1) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.section.is-active .insight-card:nth-child(2) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.section.is-active .insight-card:nth-child(3) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.section.is-active .sponsor-box:nth-child(1) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.section.is-active .sponsor-box:nth-child(2) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.section.is-active .sponsor-box:nth-child(3) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }
.section.is-active .sponsor-box:nth-child(4) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }
.section.is-active .track-item:nth-child(1) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.section.is-active .track-item:nth-child(2) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.section.is-active .track-item:nth-child(3) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.section.is-active .track-item:nth-child(4) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.section.is-active .pillar-row:nth-child(1) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.section.is-active .pillar-row:nth-child(2) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.section.is-active .pillar-row:nth-child(3) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.section .visual-card {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.section.is-active .visual-card { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.section .member-stat,
.section .category-badge {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.section.is-active .category-badge:nth-child(1) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.section.is-active .category-badge:nth-child(2) { transition-delay: 0.42s; opacity: 1; transform: translateY(0); }
.section.is-active .category-badge:nth-child(3) { transition-delay: 0.49s; opacity: 1; transform: translateY(0); }
.section.is-active .category-badge:nth-child(4) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
.section.is-active .category-badge:nth-child(5) { transition-delay: 0.63s; opacity: 1; transform: translateY(0); }
.section.is-active .category-badge:nth-child(6) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.section.is-active .member-stat:nth-child(1) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.section.is-active .member-stat:nth-child(2) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.section.is-active .member-stat:nth-child(3) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

.insight-card strong {
    display: block;
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.1;
}

.insight-card span {
    color: #e6d28f;
    font-size: 0.88rem;
}

.hero-panel {
    text-align: center;
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
    position: relative;
}
.hero-panel::after {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 2px;
    opacity: 0.7;
    animation: heroLinePulse 2.5s ease-in-out infinite;
}
@keyframes heroLinePulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scaleX(1.2); }
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: var(--color-offwhite);
    margin-bottom: 1rem;
}
.section-hero .hero-brand,
.section-hero .hero-title,
.section-hero .hero-subtitle,
.section-hero .hero-links,
.section-hero .hero-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.section-hero.is-active .hero-brand { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.section-hero.is-active .hero-title { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.section-hero.is-active .hero-subtitle { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.section-hero.is-active .hero-links { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.section-hero.is-active .hero-scroll { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

.hero-brand span {
    color: var(--color-gold);
    text-transform: lowercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--color-text);
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    font-weight: 400;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    border: 1px solid var(--color-border-hover);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hero-links a:hover {
    color: var(--color-gold);
    border-color: rgba(212, 168, 83, 0.5);
    background: rgba(212, 168, 83, 0.06);
}

.pillars-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pillar-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.pillar-row:hover {
    border-color: var(--color-border-hover);
}

.pillar-row-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    border-right: 1px solid var(--color-border);
}

.pillar-row-title.head {
    border-right-color: rgba(88, 166, 255, 0.4);
}

.pillar-row-title.heart {
    border-right-color: rgba(212, 168, 83, 0.5);
}

.pillar-row-title.body {
    border-right-color: rgba(63, 185, 80, 0.4);
}

.pillar-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 0.75rem;
    padding: 1.2rem;
    align-items: center;
}

.pillar-chips span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    padding: 0.5rem 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.pillar-chips span:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.sponsors-grid .content-left .large-text {
    margin-bottom: 1rem;
}

.sponsor-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sponsor-box {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.sponsor-box:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.visual-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.25s ease;
}
.visual-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
}

.visual-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-neon);
    margin-bottom: 0.8rem;
}

.principle-text {
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--color-gold);
    font-weight: 700;
}

.purpose-list {
    list-style: none;
}

.purpose-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.purpose-list li::before {
    content: "✓";
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

.centered {
    text-align: center;
}

.centered-copy {
    max-width: 780px;
    margin: 0 auto 1.2rem;
}

.differential-layout {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    gap: 1rem;
    align-items: center;
    margin: 1.4rem 0;
}

.orbit-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.orbit-column span {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.orbit-column span:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.center-orbit {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.center-orbit:hover {
    border-color: rgba(212, 168, 83, 0.4);
    color: var(--color-gold);
}

.closing-copy {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    font-family: var(--font-display);
}

.tracks-container-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.track-item {
    border-left: 3px solid var(--color-gold);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border-radius: 0 12px 12px 0;
    border: 1px solid var(--color-border);
    border-left-width: 3px;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.track-item:hover {
    border-color: var(--color-border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.track-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.track-item p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.45;
}

.members-showcase {
    text-align: center;
}

.member-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-badge {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    min-width: 110px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.category-badge:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.members-stats-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.member-stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.25s ease;
}
.member-stat:hover {
    border-color: rgba(212, 168, 83, 0.35);
}

.stat-value {
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.stat-desc {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.section-intro-centered {
    margin-bottom: 1.3rem;
}

.section-indicator {
    position: fixed;
    top: 1.1rem;
    right: 1.4rem;
    z-index: 20;
    background: rgba(0, 18, 32, 0.78);
    border: 1px solid rgba(211, 175, 55, 0.34);
    color: #d8d4c5;
    border-radius: 30px;
    padding: 0.4rem 0.9rem;
    font-family: var(--font-display);
}

.current-section {
    color: var(--color-gold);
    font-size: 1.3rem;
}

.logo-intro {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s step-end;
}

.logo-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Espaço com proporção fixa para o logo – evita achatamento pelo layout */
.logo-img-wrap {
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-intro-img {
    width: 400px;
    /* height: 300px; */
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0;
    animation: logoIntroIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-intro-title {
    color: var(--color-text);
    font-family: var(--font-display);
    margin-top: 1rem;
    font-size: 2rem;
    letter-spacing: -0.02em;
    font-weight: 600;
    opacity: 0;
    animation: titleFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

.logo-intro.fade-up {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.5s;
}

@keyframes logoIntroIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.02) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoGrow {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .content-grid,
    .differential-layout {
        grid-template-columns: 1fr;
    }

    .pillar-row {
        grid-template-columns: 1fr;
    }

    .members-stats-horizontal,
    .tracks-container-horizontal,
    .sponsor-cards {
        grid-template-columns: 1fr;
    }

    .center-orbit {
        width: 190px;
        height: 190px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem 3rem;
    }
    .section-hero {
        padding-top: 5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(280px, 85vw);
        background: rgba(11, 16, 24, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem;
        gap: 0;
        border-left: 1px solid rgba(255,255,255,0.08);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .header-nav.is-open {
        transform: translateX(0);
    }
    .header-nav a {
        padding: 0.75rem 0;
        font-size: 1rem;
    }
    .header-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========== RESPONSIVIDADE: celulares, tablets, desktop ========== */

/* Header fixo (index): logo e ícones adaptáveis */
header.fixed img[alt="Luminia Club"],
.header-logo-img {
    max-width: 60px;
    height: auto;
    display: block;
}

/* Áreas clicáveis mínimas para touch (44px recomendado) */
header.fixed a[aria-label] {
    min-width: 44px;
    min-height: 44px;
}

/* Links das redes sociais: garantir clique no <a> e abrir em nova aba */
.header-social-link {
    position: relative;
    z-index: 1;
    cursor: pointer;
}
.header-social-link iconify-icon {
    pointer-events: none;
}

/* Hero: logo central responsivo */
.logo-intro-img {
    max-width: min(320px, 92vw);
    width: 100%;
    height: auto;
}

/* Seções: evitar overflow horizontal */
main section {
    overflow-x: hidden;
}

/* Primeiro slide (hero): mais margem em cima e em baixo; conteúdo não sobrepõe o ícone Deslize */
.hero-content-wrap {
    padding-bottom: 4.5rem;
}
.hero-scroll-hint {
    z-index: 5;
}
.hero-last-p {
    margin-bottom: 0 !important;
}
@media (min-width: 769px) {
    .hero-section {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
        box-sizing: border-box;
    }
    .hero-content-wrap {
        padding-bottom: 5.5rem;
    }
}
@media (min-width: 1025px) {
    .hero-section {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    .hero-content-wrap {
        padding-bottom: 6rem;
    }
}

/* Slide 1: mais espaço entre logo e primeira linha; caixa do título mais larga = 3 linhas */
.hero-section .hero-logo-wrap {
    margin-bottom: 1.25rem;
}
@media (min-width: 1441px) {
    .hero-section .hero-logo-wrap {
        margin-bottom: 1.75rem !important;
    }
}
@media (min-width: 1280px) {
    .hero-section .hero-content-inner {
        max-width: 85rem !important;
    }
    .hero-section .hero-title-box {
        max-width: 78rem !important;
    }
}

/* Slide 2 (Manifesto): primeira frase com destaque dourado (estilo seleção) */
.manifesto-first-phrase {
    background: rgba(211, 175, 55, 0.28);
    color: #f2f1eb;
    padding: 0.15em 0.25em;
    border-radius: 3px;
}

/* Evitar overflow de texto em pills e cards */
section span.text-sm,
section span.text-base,
section .font-thin {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Em tablets e celulares: uma tela por seção para deslize curto; snap mais suave no celular */
@media (max-width: 1024px) {
    main section {
        min-height: 100vh;
        height: 100vh;
    }
}
@media (max-width: 768px) {
    main {
        scroll-snap-type: y proximity;
    }
    main section {
        scroll-snap-stop: normal;
    }
}

/* ——— Celulares (até 480px) ——— */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 1rem 2.5rem;
    }
    .section-hero {
        padding-top: 5rem;
    }
    .section-inner {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .content-grid {
        gap: var(--space-md);
    }
    .pillar-row {
        grid-template-columns: 1fr;
    }
    .pillar-row-title {
        min-height: 80px;
        font-size: 1.1rem;
    }
    .pillar-chips {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }
    .insight-card {
        padding: 1rem;
    }
    .logo-intro-img {
        max-width: 85vw;
    }
    .center-orbit {
        width: 140px;
        height: 140px;
        font-size: 0.875rem;
    }
}

/* Slide 3 (Dados e Propósito): celular – altura conforme conteúdo, scroll contínuo no main */
@media (max-width: 768px) {
    .section-slide-3 {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        min-height: 100vh !important;
        height: auto !important;
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        scroll-snap-align: start !important;
    }
    .section-slide-3 .section-slide-3-grid,
    .section-slide-3 .grid {
        gap: 0.75rem !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .section-slide-3 .slide-3-boxes {
        margin-top: 0.25rem !important;
    }
    .section-slide-3 .slide-3-title {
        margin-bottom: 0.5rem !important;
    }
    .section-slide-3 .slide-3-para {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    .section-slide-3 .slide-3-stats {
        padding: 0.75rem 1rem !important;
        gap: 0.65rem !important;
    }
}

@media (min-width: 769px) {
    .section-slide-3 {
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Slide 4 (Nossos Pilares): celular – caber em uma tela, cards bem compactos */
@media (max-width: 768px) {
    .section-slide-4 {
        justify-content: center !important;
        padding-top: 3.5rem !important;
        padding-bottom: 1rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    .section-slide-4 .section-slide-4-header {
        margin-bottom: 0.4rem !important;
        gap: 0.35rem !important;
    }
    .section-slide-4 .section-slide-4-header h2 {
        font-size: 1.1rem !important;
    }
    .section-slide-4 .section-slide-4-header iconify-icon {
        font-size: 1.1rem !important;
    }
    .section-slide-4 .section-slide-4-grid {
        gap: 0.35rem !important;
    }
    .section-slide-4 .section-slide-4-card {
        padding: 0.45rem 0.5rem !important;
        gap: 0.2rem !important;
    }
    .section-slide-4 .section-slide-4-card-header {
        margin-bottom: 0.2rem !important;
        gap: 0.3rem !important;
    }
    .section-slide-4 .section-slide-4-card-header .w-12 {
        width: 1.5rem !important;
        height: 1.5rem !important;
        min-width: 1.5rem !important;
        min-height: 1.5rem !important;
    }
    .section-slide-4 .section-slide-4-card-header iconify-icon {
        font-size: 0.75rem !important;
    }
    .section-slide-4 .section-slide-4-card h3 {
        font-size: 0.95rem !important;
    }
    .section-slide-4 .section-slide-4-card .flex.flex-col.gap-3 {
        gap: 0.15rem !important;
    }
    .section-slide-4 .section-slide-4-card .relative.z-10 .rounded-xl {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.7rem !important;
    }
}

@media (min-width: 769px) {
    .section-slide-4 {
        overflow: visible;
    }
}

/* Slide 5 (O Diferencial): celular – caber em uma tela, layout bem compacto */
@media (max-width: 768px) {
    .section-slide-5 {
        justify-content: center !important;
        align-items: center !important;
        padding-top: 3.5rem !important;
        padding-bottom: 1rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    .section-slide-5 .section-slide-5-inner {
        gap: 0.4rem !important;
    }
    .section-slide-5 .section-slide-5-header {
        gap: 0.15rem !important;
    }
    .section-slide-5 .section-slide-5-header span {
        font-size: 0.65rem !important;
    }
    .section-slide-5 .section-slide-5-header h2 {
        font-size: 1.05rem !important;
    }
    .section-slide-5 .section-slide-5-header p {
        font-size: 0.75rem !important;
    }
    .section-slide-5 .section-slide-5-diagram {
        gap: 0.25rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .section-slide-5 .section-slide-5-diagram .w-40 {
        width: 6rem !important;
        height: 6rem !important;
    }
    .section-slide-5 .section-slide-5-diagram .w-32 {
        width: 4.5rem !important;
        height: 4.5rem !important;
    }
    .section-slide-5 .section-slide-5-diagram .w-24 {
        width: 3rem !important;
        height: 3rem !important;
    }
    .section-slide-5 .section-slide-5-diagram .w-24 span {
        font-size: 0.5rem !important;
    }
    .section-slide-5 .section-slide-5-diagram .w-24 .text-sm {
        font-size: 0.6rem !important;
    }
    .section-slide-5 .section-slide-5-diagram .py-6 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    .section-slide-5 .section-slide-5-col {
        gap: 0.2rem !important;
    }
    .section-slide-5 .section-slide-5-col .rounded-full {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.65rem !important;
    }
    .section-slide-5 .section-slide-5-col .w-8 {
        width: 1.25rem !important;
        height: 1.25rem !important;
        min-width: 1.25rem !important;
        min-height: 1.25rem !important;
    }
    .section-slide-5 .section-slide-5-col .w-8 iconify-icon {
        font-size: 0.6rem !important;
    }
    .section-slide-5 .section-slide-5-footer {
        margin-top: 0.25rem !important;
    }
    .section-slide-5 .section-slide-5-footer p {
        font-size: 0.75rem !important;
    }
}

@media (min-width: 769px) {
    .section-slide-5 {
        overflow: visible;
    }
}

/* Slide 6 (Parceiros): celular – caber em uma tela, layout bem compacto */
@media (max-width: 768px) {
    .section-slide-6 {
        justify-content: center !important;
        padding-top: 3.5rem !important;
        padding-bottom: 1rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    .section-slide-6 .section-slide-6-inner {
        gap: 0.4rem !important;
    }
    .section-slide-6 .section-slide-6-left {
        gap: 0.3rem !important;
    }
    .section-slide-6 .section-slide-6-header span {
        font-size: 0.6rem !important;
    }
    .section-slide-6 .section-slide-6-header h2 {
        font-size: 1.05rem !important;
        margin-bottom: 0.25rem !important;
    }
    .section-slide-6 .section-slide-6-header p {
        font-size: 0.7rem !important;
    }
    .section-slide-6 .section-slide-6-grid {
        gap: 0.3rem !important;
    }
    .section-slide-6 .section-slide-6-grid > div {
        padding: 0.35rem 0.45rem !important;
    }
    .section-slide-6 .section-slide-6-grid p {
        font-size: 0.65rem !important;
    }
    .section-slide-6 .section-slide-6-card {
        padding: 0.4rem 0.5rem !important;
        gap: 0.25rem !important;
    }
    .section-slide-6 .section-slide-6-card h3 {
        font-size: 0.85rem !important;
        gap: 0.25rem !important;
    }
    .section-slide-6 .section-slide-6-card h3 iconify-icon {
        font-size: 0.85rem !important;
    }
    .section-slide-6 .section-slide-6-card .relative p {
        font-size: 0.7rem !important;
        padding-left: 0.75rem !important;
    }
    .section-slide-6 .section-slide-6-card .relative .w-1 {
        width: 2px !important;
    }
    .section-slide-6 .section-slide-6-list {
        gap: 0.15rem !important;
        margin-top: 0.15rem !important;
    }
    .section-slide-6 .section-slide-6-list li {
        gap: 0.35rem !important;
    }
    .section-slide-6 .section-slide-6-list li span {
        font-size: 0.65rem !important;
    }
    .section-slide-6 .section-slide-6-list iconify-icon {
        font-size: 0.9rem !important;
    }
}

/* Slide 7 (Tracks): celular – conteúdo no topo, scroll, tamanho legível */
@media (max-width: 768px) {
    .section-slide-7 {
        justify-content: flex-start !important;
        padding-top: 4.75rem !important;
        padding-bottom: 1.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    .section-slide-7 .section-slide-7-inner {
        gap: 1.25rem !important;
    }
    .section-slide-7 .section-slide-7-header h2 {
        font-size: 1.6rem !important;
    }
    .section-slide-7 .section-slide-7-grid {
        gap: 1rem 1rem !important;
    }
    .section-slide-7 .section-slide-7-item {
        padding-left: 1.5rem !important;
    }
    .section-slide-7 .section-slide-7-item h3 {
        font-size: 1.35rem !important;
        margin-bottom: 0.5rem !important;
    }
    .section-slide-7 .section-slide-7-item p {
        font-size: 0.9375rem !important;
        line-height: 1.45 !important;
    }
}

/* Slide 8 (Quem faz parte): celular – conteúdo no topo, scroll, tamanho legível */
@media (max-width: 768px) {
    .section-slide-8 {
        justify-content: flex-start !important;
        padding-top: 4.75rem !important;
        padding-bottom: 1.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    .section-slide-8 .section-slide-8-inner {
        gap: 1rem !important;
    }
    .section-slide-8 .section-slide-8-header h2 {
        font-size: 1.6rem !important;
    }
    .section-slide-8 .section-slide-8-pills {
        gap: 0.5rem !important;
    }
    .section-slide-8 .section-slide-8-pills > div {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.875rem !important;
    }
    .section-slide-8 .section-slide-8-cards-wrap {
        gap: 0.75rem !important;
    }
    .section-slide-8 .section-slide-8-grid {
        gap: 0.75rem !important;
    }
    .section-slide-8 .section-slide-8-card {
        padding: 1rem 0.75rem !important;
    }
    .section-slide-8 .section-slide-8-card .text-5xl {
        font-size: 2.5rem !important;
    }
    .section-slide-8 .section-slide-8-card .text-base {
        font-size: 0.875rem !important;
    }
}

@media (min-width: 769px) {
    .section-slide-6,
    .section-slide-7,
    .section-slide-8 {
        overflow: visible;
    }
}

/* Slide 6: alinhar o quadrado Princípio-chave ao meio dos quatro quadrados */
@media (min-width: 1024px) {
    .section-slide-6-inner {
        align-items: start !important;
    }
    .section-slide-6-right.slide-6-right-align {
        margin-top: 9rem !important;
    }
}

/* Header: logo menor em celular */
@media (max-width: 480px) {
    header.fixed img[alt="Luminia Club"],
    .header-logo-img {
        max-width: 36px;
    }
    header.fixed {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* ——— Celular landscape / tablet portrait (481px–768px) ——— */
@media (min-width: 481px) and (max-width: 768px) {
    .section {
        padding: 3.5rem 1.25rem 3.5rem;
    }
    .section-inner {
        max-width: 100%;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .sponsor-cards {
        grid-template-columns: 1fr;
    }
    .center-orbit {
        width: 160px;
        height: 160px;
    }
}

/* ——— Tablet (769px–1024px) ——— */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 4rem 2rem 4rem;
    }
    .section-inner {
        max-width: 100%;
    }
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    .differential-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .center-orbit {
        width: 180px;
        height: 180px;
    }
    .members-stats-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ——— Notebook (1025px–1440px): escala reduzida para não ficar “tudo grande” ——— */
@media (min-width: 1025px) and (max-width: 1440px) {
    main section {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    /* Primeira tela (Hero): logo menor, conteúdo mais largo = texto em menos linhas */
    .hero-section .hero-content-inner,
    main > section:first-of-type .max-w-5xl {
        max-width: 75rem !important; /* ~1200px: container mais largo */
    }
    .hero-section .max-w-4xl,
    main > section:first-of-type .max-w-4xl {
        max-width: 100% !important; /* h1 usa toda a largura do container */
    }
    .hero-section .max-w-3xl,
    main > section:first-of-type .max-w-3xl {
        max-width: 70rem !important; /* subtítulo mais largo */
    }
    .hero-section .logo-intro-img,
    main > section:first-of-type .logo-intro-img {
        max-width: 200px !important;
        height: auto;
    }
    .hero-section .hero-logo-wrap {
        margin-bottom: 0.75rem !important;
    }
    .hero-section h1 {
        margin-bottom: 0.75rem !important;
    }
    .hero-section .reveal.delay-200 {
        margin-bottom: 0.5rem !important;
    }
    .hero-section .reveal.delay-300 {
        margin-bottom: 0 !important;
    }
    /* Hero: logo e títulos nas demais seções (fallback) */
    main section .logo-intro-img {
        max-width: min(280px, 55vw) !important;
    }
    main section h1 {
        font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important;
        margin-bottom: 1.25rem !important;
    }
    main section h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    }
    main section h3 {
        font-size: 1.25rem !important;
    }
    /* Textos grandes do hero e seções */
    main section .text-3xl { font-size: 1.35rem !important; }
    main section .text-2xl { font-size: 1.2rem !important; }
    main section .text-xl { font-size: 1.05rem !important; }
    main section .text-lg { font-size: 0.95rem !important; }
    /* Ícones de seção menores */
    main section .text-4xl,
    main section iconify-icon.text-4xl { font-size: 1.5rem !important; }
    main section .text-3xl { font-size: 1.25rem !important; }
    /* Gaps entre blocos */
    main section .gap-12 { gap: 2rem !important; }
    main section .gap-8 { gap: 1.5rem !important; }
    main section .gap-6 { gap: 1.25rem !important; }
    main section .mb-16,
    main section .md\:mb-16 { margin-bottom: 1.5rem !important; }
    main section .mb-12 { margin-bottom: 1.5rem !important; }
    main section .mb-8 { margin-bottom: 1.25rem !important; }
    main section .mb-6 { margin-bottom: 1rem !important; }
    main section .space-y-6 > * + * { margin-top: 1rem !important; }
    /* Cards dos pilares: menos padding */
    main section .p-8 { padding: 1.25rem !important; }
    main section .mb-8 .flex.items-center { margin-bottom: 1.25rem !important; }
    /* Números grandes (61%, 56%, etc.) */
    main section .text-5xl { font-size: 2rem !important; }
    main section .text-6xl { font-size: 2.25rem !important; }
    main section .text-7xl { font-size: 2.5rem !important; }
    /* Diagrama “O Diferencial”: menos espaço */
    main section .lg\:gap-16 { gap: 2rem !important; }
    main section .py-4 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    /* Container máximos um pouco menores (exceto hero que fica mais largo) */
    main .hero-section .hero-content-inner { max-width: 75rem !important; }
    main .max-w-5xl:not(.hero-content-inner) { max-width: 56rem !important; }
    main .max-w-6xl { max-width: 64rem !important; }
    main .max-w-7xl { max-width: 72rem !important; }
    /* Header: logo um pouco menor no notebook */
    header.fixed .header-logo-img {
        max-width: 48px !important;
    }
}

/* ——— Desktop médio e grande (1025px+) ——— */
@media (min-width: 1025px) {
    .section-inner {
        max-width: 1200px;
    }
}

/* Garantir que imagens e canvas não quebrem o layout */
img {
    max-width: 100%;
    height: auto;
}

#waveCanvas {
    max-width: 100vw;
}
