@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&family=Mona+Sans:wght@400;600;700;800;900&display=swap');

:root {
    /* === LIQUID INK / GITHUB FOUNDATION === */
    --bg-dark-1: #01050b;
    --bg-dark-2: #0d1117;
    --bg-dark-3: #0d1117;
    --bg-section-alt: #01050b;

    /* === BRAND COLORS (Liquid Ink) === */
    --primary: #238636;
    --primary-glow: rgba(35, 134, 54, 0.35);
    --secondary: #1f6feb;
    --secondary-glow: rgba(31, 111, 235, 0.3);
    --accent: #8957e5;
    --accent-glow: rgba(137, 87, 229, 0.2);

    /* === TEXT === */
    --text: #f0f6fc;
    --text-muted: #8b949e;
    --text-soft: rgba(240, 246, 252, 0.6);
    --white: #ffffff;
    --border: #30363d;

    /* === GLASS & COMPONENTS === */
    --glass: rgba(13, 17, 23, 0.6); /* adapted for card_bg #0d1117 */
    --glass-border: #30363d;
    --glass-hover: rgba(13, 17, 23, 0.9);

    /* === SHADOWS & FX === */
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.75); /* #000000bf approximated to 0.75 */
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.9);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

}

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

body {
    background: var(--bg-dark-1);
    color: var(--text);
    font-family: 'Inter Tight', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern.png') repeat;
    opacity: 0.015;
    pointer-events: none;
    z-index: 1000;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
    font-family: 'Mona Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text);
}

/* === GLASSMORPHISM DARK === */
.premium-glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--glass-hover);
    box-shadow: var(--shadow-premium);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ========================================
   HEADER — Transparent → Glass on Scroll
   ======================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    height: 120px;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 4%;
    justify-content: space-between;
    transition: var(--transition);
}

header.scrolled {
    height: 80px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-img {
    height: 82px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 55px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.1;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--white);
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-account {
    background: var(--accent);
    color: #000000;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: var(--transition);
}

.btn-account:hover {
    transform: scale(1.05);
}

/* ========================================
   HERO SECTION — Full Viewport Immersive
   ======================================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero.jpg') center/cover no-repeat;
    transform: scale(1.1);
    transition: transform 10s ease-out;
    z-index: -1;
}

/* Dark gradient overlay — valoriza a imagem */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.1) 35%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(10, 10, 10, 1) 100%
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
}

.hero .edition {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #c997ff;
    margin-bottom: 20px;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(5, 8, 14, 0.55);
    border: 1px solid rgba(201, 151, 255, 0.28);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    text-shadow: 0 0 18px rgba(162, 89, 255, 0.55);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease forwards;
}

.page-hero > div > span:first-child {
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(5, 8, 14, 0.55);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
    text-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--text-soft);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    animation: fadeInUp 1s 0.4s ease forwards;
    opacity: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-round {
    width: 160px;
    height: 160px;
    border-radius: 10px; width: auto; height: auto; padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 0 40px var(--accent-glow);
    margin: 0 auto;
    animation: fadeIn 1.5s 0.6s ease forwards;
    opacity: 0;
}

.btn-round:hover {
    transform: scale(1.1) rotate(5deg);
    background: #ffffff;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
}

.btn-primary-mini {
    padding: 15px 40px;
    border-radius: 6px;
    background: var(--accent);
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-mini:hover {
    transform: scale(1.05);
}

/* ========================================
   VALUES BAR — Integrated Dark
   ======================================== */
.values-bar {
    padding: 25px 0;
    background: transparent;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.values-bar span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   MANIFESTO
   ======================================== */
.manifesto {
    padding: 160px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.manifesto-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--white);
}

.manifesto-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.9;
}

.manifesto-text strong {
    color: var(--accent);
}

/* ========================================
   PREMIUM CARDS
   ======================================== */
.card-grid {
    padding: 80px 4%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.premium-card {
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.premium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-card:hover img {
    transform: scale(1.08);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.card-content h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-container {
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CONVIDADOS / GUESTS
   ======================================== */
.guest-card {
    transition: var(--transition);
}

.guest-card img {
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.guest-card:hover img {
    transform: scale(1.1);
}

.guest-card h4 {
    font-family: 'Mona Sans', sans-serif;
    margin-top: 15px;
    letter-spacing: 1px;
    color: var(--white);
}

/* ========================================
   Z-PATTERN BLOCKS
   ======================================== */
.z-block {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.z-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.z-block h3 {
    font-family: 'Mona Sans', sans-serif;
    line-height: 1.1;
    color: var(--white);
}

.z-block img {
    transition: transform 1.5s ease-out;
}

.z-block:hover img {
    transform: scale(1.05);
}

/* ========================================
   PARTNERS
   ======================================== */
.parceiros div {
    transition: var(--transition);
}

.parceiros div:hover {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    transform: translateY(-5px);
}

/* ========================================
   CAROUSEL SYSTEM
   ======================================== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 4%;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 400px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.carousel-item.portrait {
    width: 300px;
    height: 500px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 10px;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 60px 4%;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-media {
    aspect-ratio: 9 / 16;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 22px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.testimonial-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ========================================
   FUNDING SPOTLIGHT
   ======================================== */
.funding-spotlight {
    padding: 140px 4%;
    background:
        radial-gradient(circle at 18% 20%, rgba(162, 89, 255, 0.1), transparent 30%),
        linear-gradient(180deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 100%);
}

.funding-spotlight-card {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: 38px;
    align-items: stretch;
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.funding-spotlight-visual {
    min-height: 540px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.funding-spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.funding-spotlight-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.5) 100%);
}

.funding-spotlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 8px 10px 0;
}

.funding-spotlight-kicker {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(5, 8, 14, 0.55);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.funding-spotlight-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(2.8rem, 5vw, 4.3rem);
    line-height: 0.98;
}

.funding-spotlight-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.06rem;
    line-height: 1.85;
    max-width: 58ch;
}

.funding-spotlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 28px;
}

.funding-spotlight-pills span {
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.funding-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.funding-spotlight-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.funding-spotlight-link:hover {
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    position: relative;
    padding: 110px 4% 50px;
    background:
        radial-gradient(circle at 12% 0%, rgba(162, 89, 255, 0.18), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(0, 128, 47, 0.12), transparent 24%),
        linear-gradient(180deg, #06080d 0%, #090d14 100%);
    color: var(--text);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
    opacity: 0.45;
    pointer-events: none;
}

.footer-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(160px, 0.8fr)) minmax(220px, 1fr);
    gap: 40px;
    padding: 44px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.footer-brand {
    text-align: left;
    padding-right: 18px;
}

.footer-logo {
    max-width: 220px !important;
    margin-bottom: 18px !important;
    display: block;
}

.footer-kicker {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.footer-copy {
    margin: 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.8;
}

.footer-column h5 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-links a,
.footer-meta a {
    color: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-meta a:hover {
    color: var(--white);
}

.footer-cta p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    box-shadow: 0 20px 45px var(--accent-glow);
    transition: var(--transition);
}

.footer-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
    padding: 28px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* ========================================
   Z-BLOCK EVEN/ODD BACKGROUNDS
   ======================================== */
.z-block:nth-child(even) {
    background: transparent !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    nav { display: none; }
    nav.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(0,0,0,0.95); padding: 30px 0 40px; border-bottom: 1px solid var(--glass-border); backdrop-filter: blur(20px); animation: fadeIn 0.3s ease; }
    nav.open ul { flex-direction: column; align-items: center; gap: 25px; }
    nav.open a { font-size: 1rem; }
    .hamburger { display: block !important; }
    
    .hero h1 {
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
    text-shadow: 0 0 50px rgba(0,0,0,0.8);
}
    .z-block { flex-direction: column !important; }
    .z-block div { width: 100% !important; padding: 50px 6% !important; flex: none !important; }
    .z-block div:first-child { height: 400px !important; }
    .stats-row { grid-template-columns: 1fr !important; gap: 40px; margin: 80px 4% !important; padding: 40px !important; }
    .manifesto { grid-template-columns: 1fr; padding: 80px 6%; gap: 50px; }
    .manifesto-text p { font-size: 1.05rem; }
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px 20px !important; }
}

@media (max-width: 768px) {
    /* Typographic & Spacing Restructuration */
    section { padding: 80px 0 !important; }
    .hero h1 {
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
    text-shadow: 0 0 50px rgba(0,0,0,0.8);
}
    .hero .tagline { font-size: 1.1rem; padding: 0 5%; }
    
    h2 { font-size: 2.5rem !important; padding: 0 4%; }
    h3 { font-size: 2rem !important; }

    /* Values bar */
    .values-bar { flex-wrap: wrap; gap: 15px; padding: 25px 4%; text-align: center; justify-content: center; overflow: visible; }
    .values-bar span { font-size: 0.6rem; letter-spacing: 2px; }

    /* Fix Carousel width overflow */
    .carousel-item { width: 85vw !important; max-width: 320px; }
    .carousel-item.portrait { width: 80vw !important; max-width: 280px; height: 400px; }
    .carousel-container { padding: 20px 4%; }
    
    /* Stats row */
    .stats-row div h3 { font-size: 2.8rem !important; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 6%; }

    .funding-spotlight {
        padding: 90px 4%;
    }

    .funding-spotlight-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .funding-spotlight-visual {
        min-height: 360px;
    }

    .funding-spotlight-copy {
        padding: 0;
    }

    /* Parceiros & Realização */
    .parceiros { padding: 60px 4% !important; }
    .parceiros div[style*="display: flex"] { gap: 20px !important; margin-bottom: 40px !important; }
    .parceiros div[style*="background: #fff"] { width: 95px !important; height: 95px !important; padding: 10px !important; }
    .parceiros img { max-height: 55px !important; height: auto !important; width: auto !important; max-width: 85% !important; }

    /* Footer */
    .site-footer { padding: 80px 6% 40px !important; }
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px 20px !important; padding: 30px !important; }
    .footer-brand { text-align: center; grid-column: span 2; padding-right: 0; }
    .footer-logo { max-width: 150px !important; margin: 0 auto 20px auto !important; }
    .footer-copy { margin: 0 auto; }
    .footer-cta { grid-column: span 2; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; justify-content: center; }
    .footer-meta { justify-content: center; gap: 16px; }

    /* OVERRIDES GLOBAIS PARA INLINE CSS (Quebrando estouradores de tela em Sub-Páginas) */
    h1[style*="font-size: 4rem"] {
        font-size: 2.5rem !important;
    }
    
    section[style*="padding: 160px"] {
        padding: 120px 4% 60px !important;
    }

    section[style*="padding: 60px 0"], section[style*="padding: 40px"] {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
    
    /* Quebrando flex inline que não enrola no mobile */
    div[style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    
    /* Ajuste fino na Programacao e Cards (time row + content wrapper) */
    .premium-glass[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        gap: 15px !important;
    }
    
    /* Para o dia dos filtros na Programacao */
    .day-tab {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }
    
    .premium-glass > div[style*="min-width: 80px"],
    .premium-glass > div[style*="min-width: 100px"] {
        min-width: auto !important;
        font-size: 1.2rem !important;
    }
    
    .activity-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    /* Ajuste fino no Z-Blocks (Experiências) */
    .z-block {
        flex-direction: column !important;
        background: rgba(255,255,255,0.02) !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }
    
    .z-block > div[style*="overflow: hidden"] {
        width: 100% !important;
        height: 300px !important;
    }
    
    .z-block > div[style*="padding: 80px"] {
        padding: 30px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Grids espremidos (Formacoes / Financiamento / Loja) */
    div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }

    /* Solução limpa para barra de rolagem fantasma do Glow 120vw */
    .ambient-glow {
        max-width: 100vw !important;
        overflow: hidden !important;
    }
}

@media (max-width: 560px) {
    .funding-spotlight {
        padding: 80px 4%;
    }

    .funding-spotlight-card {
        padding: 18px;
    }

    .funding-spotlight-visual {
        min-height: 300px;
    }

    .funding-spotlight-copy h2 {
        font-size: 2.35rem;
    }

    .funding-spotlight-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .funding-spotlight-kicker,
    .funding-spotlight-link {
        align-self: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
    }

    .footer-brand,
    .footer-cta {
        grid-column: span 1;
    }
}
