/* ================= CORE STYLES & VARIABLES ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #060B1E;          /* Super dark blue base */
    --bg-alt: #030611;           /* Super dark blue contrast */
    --bg-card: rgba(12, 23, 61, 0.45); /* Semi-transparent dashboard sidebar glassbg */
    --bg-card-hover: rgba(12, 23, 61, 0.75);
    
    --primary: #FF5E00;          /* Electric Neon Orange */
    --primary-hover: #E05300;
    --primary-rgb: 255, 94, 0;
    --brand-orange: var(--primary);
    
    --secondary: #2563EB;        /* Vivid Electric Cobalt Blue */
    --secondary-hover: #1D4ED8;
    --secondary-rgb: 37, 99, 235;
    
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;       /* Clean muted slate gray */
    --text-description: #94A3B8;
    --text-blue: #60A5FA;        /* Neon light blue */
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 94, 0, 0.3);
    --border-card: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background-image: 
        linear-gradient(180deg, #0C173D 0%, var(--bg-main) 600px, var(--bg-main) 100%),
        radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.08) 0px, transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px;
    color: var(--text-light);
    line-height: 1.72;
    letter-spacing: -0.005em;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    color: white;
    letter-spacing: -0.02em; /* Tight letter spacing for premium UI */
}

/* ================= GRID & GENERAL LAYOUT ================= */
.container {
    max-width: 1280px; /* max-w-7xl mx-auto */
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .container { padding: 0 32px; }
}
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================= COMPONENTES E BOTOES ================= */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 14px;
    border: none;
}

.btn-primary {
    background-color: var(--primary); /* Laranja Neon */
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
}

.btn-secondary {
    background-color: var(--secondary); /* Azul Cobalto */
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.45);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: white;
    transform: translateY(-2px);
}

.btn-primary svg, .btn-secondary svg, .btn-outline svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover svg, .btn-secondary:hover svg, .btn-outline:hover svg {
    transform: translateX(6px);
}

.btn-primary:active, .btn-secondary:active, .btn-outline:active {
    transform: translateY(0) scale(0.97);
}

/* Badges / Tags */
.badge-outline {
    display: inline-block;
    background-color: rgba(96, 165, 250, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--text-blue);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Scroll indicator bounce */
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-down-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-blue);
    transition: all 0.3s;
    animation: bounce-down 2.2s infinite ease-in-out;
}

.scroll-down-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(3, 6, 17, 0.85) 0%, rgba(3, 6, 17, 0.3) 100%); /* Subtle vertical gradient vignette */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Extremely thin and delicate border line */
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Very soft shadow drop */
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(3, 6, 17, 0.94); /* Solid glassmorphic navy when scrolled to mask content */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.logo {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo span {
    color: var(--primary);
    font-weight: 500;
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

/* Active Nav State - Scroll Spy Indicator */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.8);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: white;
}

.nav-links a.active {
    color: white;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.login-link {
    font-size: 14px;
    font-weight: bold;
    color: white;
    transition: color 0.3s;
}

.login-link:hover {
    color: var(--primary);
}

/* Morphing hamburger toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: -2px;
    left: 2px;
}

.menu-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: -2px;
    left: 2px;
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid var(--border-color);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 1000;
}

@media (max-width: 992px) {
    .nav-links, .nav-actions .btn-primary, .nav-actions .login-link {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* ================= HEROBANNER ROTATOR ================= */
.hero {
    position: relative;
    padding: 140px 0 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 90vh;
    background-color: transparent; /* Transparent to reveal the body's top gradient */
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 94, 0, 0.08) 0%, transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px;
}

@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px 0;
        min-height: auto;
    }
}

/* 2-Column Grid Wrapper */
.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-grid-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 64px;
    }
}

/* Left Column: Vertical Logo and Buttons */
.hero-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-brand-col {
        align-items: flex-start;
        text-align: left;
    }
}

.hero-brand-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 35px rgba(255, 94, 0, 0.15)) drop-shadow(0 0 15px rgba(37, 99, 235, 0.1));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-brand-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .hero-brand-logo {
        max-width: 300px;
        margin-bottom: 24px;
    }
}

.hero-brand-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 420px;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-brand-actions {
        justify-content: flex-start;
    }
}

.hero-brand-actions .btn-primary,
.hero-brand-actions .btn-outline {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 16px 20px;
    font-size: 14.5px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .hero-brand-actions {
        flex-direction: column;
        max-width: 280px;
    }
}

/* Right Column: Rotating Slider Card */
.hero-slider-col {
    width: 100%;
    position: relative;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-col:hover {
    border-color: rgba(255, 94, 0, 0.2);
    box-shadow: 0 30px 70px -10px rgba(255, 94, 0, 0.08), 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    height: 32rem; /* Fixed height to prevent layout shifts */
    width: 100%;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-slider {
        height: 28rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 26rem;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: flex-end;
    padding: 48px;
    box-sizing: border-box;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .hero-slide {
        padding: 24px;
    }
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.hero-slide.active .hero-bg-image {
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 30, 0) 0%, rgba(6, 11, 30, 0.4) 40%, rgba(6, 11, 30, 0.95) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
}

.hero-slide-content h3 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 16px;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.015em;
}

.hero-slide-content p {
    font-size: 14.5px;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .hero-slide-content h3 {
        font-size: 1.45rem;
        margin-top: 12px;
        margin-bottom: 10px;
    }
    .hero-slide-content p {
        font-size: 13.5px;
        line-height: 1.6;
    }
}

/* Indicators in top right corner of the slider card */
.hero-indicators {
    position: absolute;
    top: 32px;
    right: 32px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

@media (max-width: 640px) {
    .hero-indicators {
        top: 24px;
        right: 24px;
    }
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

@keyframes breathe-slow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(40px, -20px) scale(1.15);
        opacity: 0.85;
    }
}

@keyframes breathe-reverse {
    0%, 100% {
        transform: translate(0, 0) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
        opacity: 0.55;
    }
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.glow-primary { 
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.28) 0%, rgba(var(--secondary-rgb), 0.08) 45%, transparent 70%); 
    width: 700px; 
    height: 700px; 
    top: -20%; 
    right: -10%; 
    animation: breathe-slow 15s infinite ease-in-out;
}

.glow-orange-spot { 
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.35) 0%, rgba(var(--primary-rgb), 0.1) 45%, transparent 70%); 
    width: 600px; 
    height: 600px; 
    bottom: -20%; 
    left: -10%; 
    animation: breathe-reverse 18s infinite ease-in-out;
}

/* ================= SECTIONS COMMON STYLE ================= */
.section {
    padding: 80px 0;
    position: relative;
    background-color: var(--bg-main);
    scroll-margin-top: 100px;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.section-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    z-index: 2;
    position: relative;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: white;
}

.section-header h2 span {
    color: var(--primary); /* Laranja */
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

/* ================= PREMIUM SOBRE NÓS SECTION ================= */

/* Staggered Grid Layout */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* Staggered offset removed for alignment */

@media (max-width: 991px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Premium Glassmorphism Card */
.about-pillar-card-v2 {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-pillar-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--card-glow-rgb), 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.about-pillar-card-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--card-glow-rgb), 0.8), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pillar-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--card-glow-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--card-glow-rgb), 0.1);
}

.about-pillar-card-v2:hover::before {
    opacity: 1;
}

.about-pillar-card-v2:hover::after {
    transform: scaleX(1);
}

/* Inherit offset on hover removed for alignment */

.pillar-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(var(--card-glow-rgb), 0.1);
    border: 1px solid rgba(var(--card-glow-rgb), 0.2);
    color: rgb(var(--card-glow-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pillar-card-v2:hover .pillar-icon-wrapper {
    transform: scale(1.1);
    background: rgba(var(--card-glow-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--card-glow-rgb), 0.3);
}

.about-pillar-card-v2 h3 {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.about-pillar-card-v2 p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: rgb(var(--card-glow-rgb));
    margin-top: auto;
}

.pillar-link svg {
    transition: transform 0.3s;
}

.about-pillar-card-v2:hover .pillar-link svg {
    transform: translateX(4px);
}

/* Compact Pill Badges (re-introduced) */
.pillar-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.pillar-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.about-pillar-card-v2:hover .pillar-badge-item {
    border-color: rgba(var(--card-glow-rgb), 0.2);
    background: rgba(var(--card-glow-rgb), 0.05);
}

.pillar-badge-item:hover {
    transform: translateX(4px);
    border-color: rgba(var(--card-glow-rgb), 0.5) !important;
    color: white;
}

.pillar-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--card-glow-rgb));
}

/* Stats Panel Upgrades */
.stats-panel {
    background: transparent;
    box-shadow: none;
    border: none;
}

.stat-number.orange-text {
    text-shadow: 0 0 20px rgba(255, 94, 0, 0.4);
}

.stat-number.yellow-text {
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.stat-number.blue-text {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.stat-number.green-text {
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}


/* ================= MODULE CARD (QUICKMODULES) ================= */
.module-card {
    background: transparent;
    border: 1px solid var(--module-border);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}


.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--module-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 0 0 20px var(--module-glow);
}

.module-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.module-card:hover h3 {
    color: var(--module-accent);
    transform: translateX(4px);
}

.module-card .text-muted {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

.module-card .icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: var(--icon-bg);
    color: var(--module-accent);
    border: 1px solid var(--module-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-card:hover .icon-container {
    transform: scale(1.12);
    background: var(--module-accent);
    color: white;
    border-color: var(--module-accent);
    box-shadow: 0 4px 15px var(--module-border);
}

.module-card .stat-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--stat-bg);
    color: var(--module-accent);
    border: 1px solid var(--module-border);
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-card:hover .stat-badge {
    background: var(--module-accent);
    color: white;
    border-color: var(--module-accent);
}

/* ================= APOIO AO EMPREENDEDORISMO ================= */
.apoio-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apoio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--secondary-rgb), 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.apoio-card:nth-child(2)::before {
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.15), transparent 60%);
}

.apoio-card:nth-child(3)::before {
    background: radial-gradient(circle at top right, rgba(52, 211, 153, 0.15), transparent 60%); /* Green glow for Incubação */
}

.apoio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--secondary-rgb), 0.8), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.apoio-card:nth-child(2)::after {
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.8), transparent);
}

.apoio-card:nth-child(3)::after {
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.8), transparent);
}

.apoio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--secondary-rgb), 0.1);
}

.apoio-card:nth-child(2):hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--primary-rgb), 0.1);
}

.apoio-card:nth-child(3):hover {
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(52, 211, 153, 0.1);
}

.apoio-card:hover::before {
    opacity: 1;
}

.apoio-card:hover::after {
    transform: scaleX(1);
}

.apoio-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.apoio-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--text-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apoio-card:hover .apoio-icon {
    transform: scale(1.1);
    background: rgba(var(--secondary-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--secondary-rgb), 0.3);
}

.apoio-card:nth-child(2) .apoio-icon {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.apoio-card:nth-child(2):hover .apoio-icon {
    background: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.apoio-card:nth-child(3) .apoio-icon {
    background: rgba(52, 211, 153, 0.1);
    color: #34D399; /* Green */
    border-color: rgba(52, 211, 153, 0.2);
}

.apoio-card:nth-child(3):hover .apoio-icon {
    background: rgba(52, 211, 153, 0.2);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}

.apoio-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.apoio-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 28px;
    flex-grow: 1;
}

.apoio-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.apoio-card:nth-child(2) .apoio-link {
    color: var(--primary);
}

.apoio-card:nth-child(3) .apoio-link {
    color: #34D399;
}

.apoio-link svg {
    transition: transform 0.3s;
}

.apoio-card:hover .apoio-link svg {
    transform: translateX(4px);
}

/* ================= ECOSSISTEMA MAKER ================= */
.maker-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.maker-card img {
    position: relative;
    width: 100%;
    height: 180px;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.8s ease;
    border-top-left-radius: 27px;
    border-top-right-radius: 27px;
}

.maker-card:hover img {
    transform: scale(1.06);
}

.maker-overlay {
    display: none;
}

.maker-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.maker-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.maker-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.maker-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.15);
}

.maker-card:hover .btn-link {
    color: white;
    border-bottom-color: var(--primary);
}

.maker-card:hover .btn-link svg {
    transform: translateX(4px);
    color: var(--primary);
}

.maker-card .btn-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.maker-card .btn-link:hover {
    color: white;
    border-bottom-color: var(--primary);
}

.maker-card .btn-link svg {
    transition: transform 0.3s ease;
}

.maker-card .btn-link:hover svg {
    transform: translateX(4px);
    color: var(--primary);
}

/* ================= PARCERIAS & MENTORES ================= */
.partners-slider {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll-partners 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    transition: opacity 0.3s, color 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    color: white;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mentors-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 48px auto 0 auto;
    padding: 0 70px;
}

@media (max-width: 768px) {
    .mentors-carousel-wrapper {
        padding: 0;
    }
}

.mentors-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    padding: 10px 0;
    margin: -10px 0;
}

.mentors-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

/* Responsividade de colunas por view */
:root {
    --mentor-cards-per-view: 4;
}

@media (max-width: 992px) {
    :root {
        --mentor-cards-per-view: 3;
    }
}

@media (max-width: 768px) {
    :root {
        --mentor-cards-per-view: 2;
    }
}

@media (max-width: 480px) {
    :root {
        --mentor-cards-per-view: 1;
    }
}

.mentor-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc((100% - (var(--mentor-cards-per-view) - 1) * 24px) / var(--mentor-cards-per-view));
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .mentors-slider-container .slider-arrow {
        display: none;
    }
}

/* Centralizar card único de mentor em telas ≤480px via padding no viewport */
@media (max-width: 480px) {
    .mentors-viewport {
        padding: 10px 24px;
    }
}

.mentor-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.mentor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.mentor-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.mentor-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

.mentor-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.05);
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    margin: 0 auto 16px auto;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mentor-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.mentor-role {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 16px;
    flex-grow: 1;
}

.mentor-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.mentor-linkedin:hover {
    background: rgba(255, 94, 0, 0.1);
    border-color: rgba(255, 94, 0, 0.4);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 0, 0.1);
}

/* ================= DEPOIMENTOS ================= */
.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonial-slide-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    flex: 0 0 100%;
    position: relative;
    box-sizing: border-box;
}

.testimonial-slide-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.15);
}

.quote-icon {
    font-size: 72px;
    line-height: 1;
    color: rgba(255, 94, 0, 0.1);
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: serif;
    pointer-events: none;
}

.testimonial-quote {
    font-size: 14.5px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-meta {
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
    z-index: 1;
}

.testimonial-meta strong {
    color: white;
    display: inline-block;
    margin-right: 4px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-dot.active {
    width: 24px;
    background: var(--primary);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 94, 0, 0.1);
    border-color: rgba(255, 94, 0, 0.4);
    color: var(--primary);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 94, 0, 0.1);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .testimonial-slider-container {
        padding: 0 44px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .testimonial-slide-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    
    .testimonial-slide-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
    
    .testimonial-quote {
        font-size: 13.5px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .testimonial-meta {
        font-size: 13px;
        padding-top: 12px;
    }
}

/* ================= PORTFOLIO & EMPRESAS ================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-slider-container {
    position: relative;
    padding: 0 70px;
    margin-top: 40px;
}

.portfolio-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    margin: -10px 0;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    flex-wrap: nowrap;
    gap: 24px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: 440px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 0 0 calc((100% - 3 * 24px) / 4);
    min-width: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-logo-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px 10px;
    height: 138px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    opacity: 1;
    filter: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-logo-container.cover-bg {
    padding: 0 !important;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-card:hover .portfolio-logo-container {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.portfolio-logo {
    max-height: 118px;
    max-width: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(1);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-logo.logo-cover {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
}

.portfolio-card:hover .portfolio-logo {
    transform: scale(1.04);
}

.portfolio-logo-container.placeholder-logo {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px dashed #cbd5e1;
}

.placeholder-logo-text {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    max-width: 160px !important;
    text-align: center;
}

.portfolio-dates {
    font-size: 11.5px !important;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 12px;
    line-height: 1.4 !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
}

.portfolio-no-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: auto;
}

.portfolio-progress-container {
    width: 280px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin: 40px auto 0 auto;
    position: relative;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.portfolio-progress-container:active {
    cursor: grabbing;
}

.portfolio-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--brand-orange);
    border-radius: 999px;
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0%;
}

.portfolio-track.dragging,
.portfolio-progress-bar.dragging {
    transition: none !important;
}

@media (max-width: 1024px) {
    .portfolio-card {
        flex: 0 0 calc((100% - 2 * 24px) / 3);
    }
}

@media (max-width: 768px) {
    .portfolio-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .portfolio-slider-container {
        padding: 0 10px;
    }
    .portfolio-slider-container .slider-arrow {
        display: none;
    }
    .portfolio-card {
        flex: 0 0 100%;
    }
    .portfolio-track {
        gap: 16px;
    }
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(var(--secondary-rgb), 0.15);
}

.portfolio-card.incubated:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15);
}

.portfolio-card.ideation:hover {
    border-color: #FACC15;
    box-shadow: 0 10px 20px rgba(234, 179, 8, 0.15);
}

.portfolio-card.pre-incubated:hover {
    border-color: #C084FC;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.15);
}

.portfolio-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.portfolio-tag {
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.portfolio-tag.graduated {
    background: rgba(37, 99, 235, 0.1);
    color: var(--text-blue);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.portfolio-tag.incubated {
    background: rgba(255, 94, 0, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 94, 0, 0.3);
}

.portfolio-tag.ideation {
    background: rgba(234, 179, 8, 0.1);
    color: #FACC15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.portfolio-tag.pre-incubated {
    background: rgba(168, 85, 247, 0.1);
    color: #C084FC;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.portfolio-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: white;
    margin: 20px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 36px;
    line-height: 18px;
}

.portfolio-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    height: 105px;
}

.portfolio-card a {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.portfolio-card.incubated a {
    color: var(--brand-orange);
}

.portfolio-card.ideation a {
    color: #FACC15;
}

.portfolio-card.pre-incubated a {
    color: #C084FC;
}

/* ================= CTA CADASTRO ================= */
.cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta p {
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.65;
    margin-bottom: 36px;
}

/* ================= CONTATO FORM ================= */
.contact-section {
    background-color: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.12); /* Orange accent bg */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.contact-detail-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary); /* Vibrant Orange inputs labels */
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group select option {
    background-color: #0c173d;
    color: white;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
}

/* Success Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #10B981;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ================= INTERACTIVE POPUP MODALS ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: rgba(12, 23, 61, 0.75); /* Semi-transparent cobalt blue for frosted glass modal */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    padding: 40px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
    color: var(--text-light);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

.modal-header {
    margin-bottom: 24px;
    padding-right: 40px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.modal-header p {
    color: var(--text-blue);
    font-size: 14px;
    margin-top: 6px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-section-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-list-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-list-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 94, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-list-item strong {
    color: var(--text-blue);
    display: block;
    margin-bottom: 4px;
}

.modal-list-item p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

.modal-list-item.highlighted {
    background: rgba(255, 94, 0, 0.06);
    border-color: rgba(255, 94, 0, 0.4);
}

.modal-list-item.highlighted:hover {
    background: rgba(255, 94, 0, 0.1);
    border-color: rgba(255, 94, 0, 0.6);
}

.modal-flex-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.modal-cta-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

@media (max-width: 576px) {
    .modal-cta-row {
        flex-direction: column;
        gap: 8px;
    }
}


/* Premium Modal Item overrides */
.premium-modal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.premium-modal-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(4px);
}

.modal-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.modal-item-text {
    flex-grow: 1;
}

.modal-item-text strong {
    display: block;
    font-size: 16px;
    color: white;
    margin-bottom: 6px;
}

.modal-item-text p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Custom details for podcast popup modal */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .modal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================= FLOATING SCROLL-TO-TOP BUTTON ================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Offset to the left to avoid conflict with standard right buttons */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 11, 30, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-3px);
}

/* ================= FOOTER ================= */
footer {
    background-color: #02060D;
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-grid-2col {
    grid-template-columns: 1.5fr 1fr;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid-2col {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

/* ================= INTERACTIVE PLATFORM PREVIEW ================= */
/* ================= AUTH MODAL SIDEBAR STYLE ================= */
.auth-modal-layout {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .auth-modal-layout {
        grid-template-columns: 1fr 1.2fr;
    }
}

.auth-modal-sidebar {
    background: #090e1a;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

@media (max-width: 639px) {
    .auth-modal-sidebar {
        display: none; /* Hide sidebar on mobile for focus */
    }
}

.auth-sidebar-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 20px rgba(255, 94, 0, 0.1));
}

.auth-modal-sidebar h4 {
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.auth-modal-sidebar p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 260px;
}

.auth-sidebar-footer {
    position: absolute;
    bottom: 24px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
}

.auth-modal-form {
    padding: 48px 36px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (max-width: 480px) {
    .auth-modal-form {
        padding: 36px 20px;
    }
}

/* ================= REFINED SOBRE NÓS ELEMENTS & METRICS PANEL ================= */
.about-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.04);
}

/* Compact Awards/Certifications Pill Badges */
.about-compact-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.compact-award-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    cursor: help;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.compact-award-item:hover {
    background: rgba(255, 94, 0, 0.08);
    border-color: rgba(255, 94, 0, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.1);
}

.compact-award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.compact-award-item:hover .compact-award-icon {
    transform: scale(1.15);
}

/* Stats metrics panel layout matching attached reference */
.stats-panel {
    background: transparent;
    position: relative;
    overflow: visible;
}

.stats-panel::after {
    display: none;
}

.stats-panel-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .stats-panel-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.stats-header-info h4 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 0 6px 0;
    letter-spacing: -0.015em;
}

.stats-header-info p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin: 0;
}

.stats-header-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .stats-header-logo {
        align-items: flex-end;
    }
}

.stats-logo-main {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stats-logo-sub {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: flex;
    gap: 4px;
}

.stats-logo-sub span:first-child {
    color: var(--primary); /* de inovação */
}

.stats-logo-sub span:last-child {
    color: #94a3b8; /* | Inatel Startups */
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 640px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 190px;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.stat-number.orange-text {
    color: var(--primary);
}

.stat-number.yellow-text {
    color: #FBBF24;
}

.stat-number.blue-text {
    color: #38BDF8;
}

.stat-number.green-text {
    color: #34D399;
}

.stat-description {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .about-image-wrapper {
        min-height: 280px;
    }
}

/* ================= MOBILE-FIRST & UX HEURISTIC OPTIMIZATIONS ================= */

/* Close button inside Mobile Navigation Drawer */
.mobile-nav .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: 300;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    line-height: 1;
}

.mobile-nav .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5);
}

/* Touch targets expansion (Fitts's Law / Accessibility) */
.hero-dot {
    position: relative;
}
.hero-dot::after {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    cursor: pointer;
}

.menu-toggle {
    padding: 12px;
    margin: -12px;
    z-index: 1002;
}

/* Responsive Overrides (max-width: 768px) */
@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-header h2 {
        font-size: 1.75rem; /* ~28px instead of 36px */
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 14.5px;
        line-height: 1.6;
    }
    
    .about-pillars-grid {
        gap: 20px;
    }
    
    /* Reposition scroll top button to the right for thumb accessibility */
    .scroll-top-btn {
        right: 20px;
        left: auto;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Responsive Overrides (max-width: 640px) */
@media (max-width: 640px) {
    .modal-content {
        padding: 28px 20px;
        border-radius: 20px;
    }
    
    .testimonial-display-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    /* Calendar Mockup inside Platform Preview Screen */
    .cal-layout-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cal-agenda {
        margin-top: 4px;
    }
}

/* Responsive Overrides (max-width: 575px) { */
@media (max-width: 575px) {
    .hero-brand-actions {
        max-width: 320px;
        width: 100%;
    }
    
    }

/* ==========================================================================
   EVENTS PAGE (NETFLIX STYLE)
   ========================================================================== */

/* Hero Banner Netflix Style */
.events-hero {
    position: relative;
    padding: 420px 0 100px 0; /* Cinematic top and bottom padding for high-end visual spacing */
    min-height: 85vh; /* Expanded from 80vh to 85vh for a majestic, premium layout */
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0C173D 0%, var(--bg-main) 100%); /* Smooth transition from dashboard blue to page base */
    overflow: hidden;
}

.events-hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.events-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.events-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.events-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 0;
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-hero-slide.active .events-hero-bg {
    transform: scale(1.05);
}

/* Gradients for Netflix-like fade */
.events-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(90deg, var(--bg-main) 20%, rgba(6, 11, 30, 0.8) 45%, rgba(6, 11, 30, 0) 80%),
        linear-gradient(0deg, var(--bg-main) 5%, rgba(6, 11, 30, 0) 60%);
}

.events-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.events-hero-content {
    max-width: 580px;
    text-align: left;
}

.events-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 94, 0, 0.15);
    border: 1px solid rgba(255, 94, 0, 0.3);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0; /* Zeroed out to allow precise container padding alignment */
    margin-bottom: 20px;
}

.events-hero-title {
    font-size: 3.5rem; /* Expanded from 2.8rem to match the larger, more spacious hero display */
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    color: white;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.events-hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.events-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-blue);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.events-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.events-hero-meta-item svg {
    color: var(--primary);
}

.events-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.events-hero-actions .btn-primary,
.events-hero-actions .btn-outline {
    padding: 12px 28px;
    font-size: 13.5px;
}

.events-hero-actions .btn-outline-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
}

.events-hero-actions .btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Indicators */
.events-hero-indicators {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.events-hero-dot {
    position: relative;
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-hero-dot::after {
    content: '';
    position: absolute;
    inset: -14px -6px;
}

.events-hero-dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

/* Search and Filters Bar - Optimized spacing and transitions */
.events-search-section {
    background: var(--bg-main); /* Solid background to mask body grid/dot textures behind search bar */
    position: relative;
    z-index: 10;
}

.events-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 16px 0; /* Added another 2px of top space (16px total) above the search box and right pills */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Container-bounded, very soft divider line */
    gap: 20px;
    flex-wrap: wrap;
}

.events-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.events-search-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 11px 20px 11px 44px;
    color: white;
    font-size: 13.5px;
    width: 300px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.15);
}

.events-search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.events-pill {
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-pill:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.events-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

/* Netflix Rows Container - Optimized top spacing for a tighter layout grid */
.events-rows-section {
    padding: 36px 0 48px 0; /* Increased top padding for breathing room above the title */
}

.events-row-container {
    position: relative;
    margin-bottom: 24px; /* Tightened gap between carousels for authentic Netflix feel */
}

.events-row-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-row-title span {
    color: var(--primary);
}

.events-row-track-wrapper {
    position: relative;
}

/* Hidden scrollbar, flex container */
.events-row-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 4px 24px 4px;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.events-row-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Navigation Arrows (Netflix style) */
.events-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    padding: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0.45;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.events-arrow.left svg {
    transform: translateX(-1.5px);
}

.events-arrow.right svg {
    transform: translateX(1.5px);
}

.events-arrow.left {
    left: -60px;
}

.events-arrow.right {
    right: -60px;
}

@media (max-width: 1400px) {
    .events-arrow.left {
        left: -20px;
    }
    .events-arrow.right {
        right: -20px;
    }
}

.events-row-track-wrapper:hover .events-arrow {
    opacity: 0.85;
}

.events-arrow:hover {
    opacity: 1 !important;
    background: rgba(255, 94, 0, 0.9);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    transform: translateY(-50%) scale(1.1);
}

.events-arrow.disabled {
    opacity: 0 !important;
    pointer-events: none;
}

/* Netflix Event Card */
.event-netflix-card {
    flex: 0 0 290px;
    width: 290px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid var(--border-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    will-change: transform, box-shadow;
}

.event-netflix-card:hover {
    transform: scale(1.06) translateY(-4px);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 
        0 16px 36px rgba(0, 0, 0, 0.5), 
        0 0 0 1px rgba(255, 94, 0, 0.2),
        0 0 20px rgba(var(--primary-rgb), 0.08);
}

.event-card-img-wrapper {
    height: 150px;
    position: relative;
    overflow: hidden;
    background: #090e1a;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-netflix-card:hover .event-card-img {
    transform: scale(1.05);
}

.event-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.event-card-badge.past {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.event-card-format-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(6, 11, 30, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-blue);
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.event-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 11, 30, 0.95) 0%, transparent 60%);
    z-index: 1;
}

.event-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-date {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: white;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px; /* Fixed height for clean grid layout alignment */
}

.event-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.event-card-mentors {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.event-card-action {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s;
}

.event-netflix-card:hover .event-card-action {
    gap: 8px;
}

/* No results state */
.events-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(30, 41, 59, 0.2);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    margin: 20px 0;
}

.events-empty-state svg {
    margin-bottom: 12px;
    color: var(--primary);
}

/* ================= Responsive Overrides Events ================= */
@media (max-width: 991px) {
    .events-hero-title {
        font-size: 2.2rem;
    }
    
    .events-search-input {
        width: 100%;
    }
    
    .events-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .events-arrow {
        display: none !important;
    }
    
    .events-row-track {
        padding: 8px 0 16px 0;
        gap: 14px;
    }
    
    .event-netflix-card {
        flex: 0 0 250px;
        width: 250px;
    }
    
    .event-card-img-wrapper {
        height: 130px;
    }
    
    .events-hero {
        padding-top: 280px; /* Expanded top padding on tablet/mobile to prevent navbar overlap */
        min-height: 580px; /* Increased from 520px to 580px */
        padding-bottom: 40px;
    }
    
    .events-hero-overlay {
        background: 
            linear-gradient(180deg, rgba(6, 11, 30, 0.85) 0%, rgba(6, 11, 30, 0.4) 30%, var(--bg-main) 95%);
    }
    
    .events-hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .events-hero-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .events-hero-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .events-hero-indicators {
        bottom: 24px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .events-hero {
        min-height: 460px;
    }
    
    .events-hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .events-hero-badge {
        margin: 0 auto 12px auto;
    }
    
    .events-hero-desc {
        display: none;
    }
    
    .events-hero-meta {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .events-hero-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Reconnection Grid Card Click Indicator Arrow */
.card-arrow-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--module-accent);
    opacity: 0.35;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-card:hover .card-arrow-indicator {
    opacity: 1;
    color: var(--module-accent);
    transform: translate(2px, -2px);
    filter: drop-shadow(0 0 4px var(--module-accent));
}

/* Navbar Image Logo styles */
.navbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-logo-link:hover .navbar-logo-img {
    transform: scale(1.04);
}

/* ================= PAGE DE TRANSMISSÃO (/evento.html) ================= */
.cinema-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.video-player-container {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.live-chat-panel {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: stretch;
}

.tabs-container {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

/* Video Player Wrapper */
.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Live Badge with Pulse */
.live-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Emoji Reactions on Video Overlay */
.video-reactions-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* Reaction Trigger Bar */
.reactions-trigger-bar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(6, 11, 30, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 99px;
    display: flex;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.reaction-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.reaction-btn:hover {
    transform: scale(1.3) translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.reaction-btn:active {
    transform: scale(0.95);
}

/* Floating Emoji Animation */
.floating-emoji {
    position: absolute;
    bottom: 50px;
    font-size: 28px;
    pointer-events: none;
    z-index: 6;
    animation: emojiFloatUp 2s ease-out forwards;
    left: var(--start-left);
}

@keyframes emojiFloatUp {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2) rotate(var(--random-rot));
    }
    100% {
        transform: translateY(-250px) scale(0.6) rotate(calc(var(--random-rot) * 2.5));
        opacity: 0;
    }
}

/* Live Chat Container */
.live-chat-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h4 {
    font-size: 15px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header h4 span {
    color: var(--primary);
}

.chat-users-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Chat Message Feed */
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: chatMessageFadeIn 0.3s ease-out forwards;
}

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

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.chat-msg-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-username {
    font-size: 13px;
    font-weight: 800;
    color: white;
}

.chat-username.moderator {
    color: var(--primary);
}

.chat-time {
    font-size: 10px;
    color: var(--text-muted);
}

.chat-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    word-break: break-word;
}

/* Chat Input Form */
.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(6, 11, 30, 0.4);
}

.chat-input-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 11px 18px;
    color: white;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.15);
}

.chat-send-btn {
    background: var(--primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* ================= TABS PANEL BELOW VIDEO ================= */
.tabs-container {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tabs-nav {
    display: flex;
    background: rgba(6, 11, 30, 0.3);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 700;
    padding: 18px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: white;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
    border-radius: 99px;
}

.tabs-content {
    padding: 24px;
}

.tab-pane {
    display: none;
    animation: tabFadeIn 0.3s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

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

/* Speakers grid inside tab */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.3s ease;
}

.speaker-card:hover {
    border-color: rgba(255, 94, 0, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.speaker-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.speaker-card:hover .speaker-avatar {
    border-color: var(--primary);
    transform: scale(1.03);
}

.speaker-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.speaker-name {
    font-size: 14px;
    font-weight: 800;
    color: white;
}

.speaker-role {
    font-size: 12px;
    color: var(--text-muted);
}

.speaker-linkedin {
    color: var(--text-blue);
    font-size: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    margin-top: 4px;
}

.speaker-linkedin:hover {
    text-decoration: underline;
}

/* Materials Downloads inside tab */
.materials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.material-item:hover {
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.material-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.material-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.1);
    color: var(--text-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.material-title {
    font-size: 14px;
    font-weight: 800;
    color: white;
}

.material-size {
    font-size: 11px;
    color: var(--text-muted);
}

.material-download-btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
}

/* ================= Responsive Overrides for Transmission Page ================= */
@media (max-width: 991px) {
    .cinema-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .video-player-container {
        order: 1;
    }
    
    .live-chat-panel {
        order: 2;
        height: 450px;
    }
    
    .tabs-container {
        order: 3;
    }
}

@media (max-width: 480px) {
    .tabs-content {
        padding: 16px;
    }
    
    .tab-btn {
        padding: 14px 10px;
        font-size: 12.5px;
    }
    
    .material-item {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .material-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .live-badge {
        top: 12px;
        left: 12px;
        padding: 4px 8px;
        font-size: 8px;
    }
    
    .reactions-trigger-bar {
        bottom: 12px;
        right: 12px;
        padding: 4px 6px;
        gap: 4px;
    }
    
    .reaction-btn {
        font-size: 16px;
        width: 38px;
        height: 38px;
    }
}

/* ================= PAGE DE INSCRIÇÃO (/inscricao.html) ================= */
.registration-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr; /* Golden ratio columns (65% / 35%) for ergonomic line length */
    gap: 56px; /* Enhanced separation to avoid visual collision */
    margin-top: 24px;
    align-items: start;
}

.registration-details {
    display: flex;
    flex-direction: column;
}

.registration-hero-info {
    display: flex;
    flex-direction: column;
}

.registration-body-info {
    display: flex;
    flex-direction: column;
}

/* Tablet / Intermediate desktop viewport adaptation */
@media (min-width: 992px) and (max-width: 1199px) {
    .registration-grid {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 36px;
    }
}

@media (max-width: 991px) {
    .registration-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    
    .registration-details {
        display: contents;
    }
    
    .registration-hero-info {
        order: 1;
    }
    
    .registration-body-info {
        order: 2; /* Details first on mobile */
    }
    
    .registration-action-column {
        order: 3; /* Form at the bottom of the narrative flow */
    }
}

.registration-badge {
    align-self: start;
    display: inline-flex;
    background: rgba(96, 165, 250, 0.1);
    color: var(--text-blue);
    border: 1px solid rgba(96, 165, 250, 0.2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.registration-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: white;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .registration-title {
        font-size: 24px;
    }
}

.registration-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.reg-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.reg-meta-item svg {
    color: var(--primary);
}

.reg-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    margin-bottom: 24px;
}

.reg-section {
    margin-bottom: 40px;
}

.reg-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.reg-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-value-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.reg-value-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #10B981;
    font-weight: 900;
    font-size: 15px;
}

.reg-mentors-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.registration-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 36px; /* Optimized padding for desktop flow */
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    position: sticky;
    top: 110px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.registration-card:hover {
    border-color: rgba(255, 94, 0, 0.25);
    box-shadow: 0 20px 64px rgba(255, 94, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .registration-card {
        padding: 28px; /* Slightly compacted padding on medium screens */
    }
}

@media (max-width: 991px) {
    .registration-card {
        position: static;
        padding: 24px;
    }
}

.registration-card .card-title {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.registration-card .card-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Event Banner - Mobile-First 16:9 responsive layout */
.registration-banner-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.registration-banner-wrapper:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 94, 0, 0.35); /* Inatel Startups primary orange hue */
    box-shadow: 0 16px 44px rgba(255, 94, 0, 0.08);
}

.registration-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.registration-banner-wrapper:hover .registration-banner-img {
    transform: scale(1.04);
}

.registration-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(6, 11, 30, 0.95) 0%, rgba(6, 11, 30, 0) 100%);
    pointer-events: none;
}

/* Mobile Anchor Button styles */
.registration-mobile-anchor-btn {
    display: none;
    text-decoration: none;
}

@media (max-width: 991px) {
    .registration-mobile-anchor-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, var(--primary) 0%, #ff7a29 100%);
        color: white;
        font-weight: 700;
        font-size: 14.5px;
        padding: 14px 24px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(255, 94, 0, 0.3);
        margin: 8px 0 20px 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .registration-mobile-anchor-btn:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(255, 94, 0, 0.2);
    }
}

/* Hub Concept Cards styles */
.hub-concept-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.hub-concept-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* ==========================================================================
   MOBILE-FIRST UX HEURISTIC REFINEMENTS — HOME PAGE
   Análise e ajustes de proporções, alinhamentos, simetrias e acessibilidade
   Foco: mobile-first, Fitts's Law, ritmo vertical, consistência de gaps
   ========================================================================== */

/* 1. PORTFOLIO FILTERS — wrap em mobile para evitar overflow horizontal
   Heurística: Consistência & Prevenção de Erros */
.portfolio-filters {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 0 4px;
}

/* Aumentar área de toque dos filtros para ≥44px (Fitts's Law / WCAG 2.5.5) */
.filter-btn {
    padding: 12px 22px;
    min-height: 44px;
}

/* 2. CTA FINAL — tipografia responsiva e botões com wrap
   Heurística: Estética Minimalista / Proporção */
@media (max-width: 768px) {
    .cta {
        padding: 72px 0;
    }
    .cta h2 {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .cta p {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .cta-content > div {
        flex-wrap: wrap;
        gap: 12px !important;
        justify-content: center;
    }
    .cta-content > div a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta h2 {
        font-size: 1.6rem;
    }
}

/* 3. MODULE CARDS — padding reduzido em mobile para respirar melhor
   Heurística: Estética Minimalista / Proporção */
@media (max-width: 639px) {
    .module-card {
        padding: 22px 20px;
    }
}

/* 4. HARMONIZAÇÃO DE GAPS DAS GRIDS — grid-3 e grid-4 alinhados
   Heurística: Consistência e Padrões */
@media (max-width: 639px) {
    .grid-3 {
        gap: 20px;
    }
    .grid-4 {
        gap: 16px;
    }
}

/* 5. SECTION PADDING EXTRA-SMALL — respiro em telas ≤480px
   Heurística: Estética Minimalista */
@media (max-width: 480px) {
    .section {
        padding: 52px 0;
    }
    .section-header {
        margin-bottom: 28px;
    }
    .section-header h2 {
        font-size: 1.55rem;
    }
}

/* 6. MAKER CARDS — imagem com altura proporcional em mobile
   Heurística: Proporção Visual */
@media (max-width: 639px) {
    .maker-card img {
        height: 160px;
    }
    .maker-card {
        min-height: 360px;
    }
    .maker-content {
        padding: 20px;
    }
}

/* 7. HERO BRAND ACTIONS — botões empilhados e centrados abaixo de 400px
   Heurística: Flexibilidade e Eficiência de Uso */
@media (max-width: 400px) {
    .hero-brand-actions {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        gap: 10px;
    }
    .hero-brand-actions a,
    .hero-brand-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* 8. SECTION HEADER — max-width do parágrafo em mobile para melhor leitura
   Heurística: Legibilidade / Estética */
@media (max-width: 639px) {
    .section-header p {
        max-width: 100%;
        font-size: 14px;
        padding: 0 4px;
    }
}

/* 9. PORTFOLIO SLIDER — padding lateral mínimo em telas muito pequenas
   Heurística: Consistência e Padrões */
@media (max-width: 400px) {
    .portfolio-slider-container {
        padding: 0 4px;
    }
}

/* 10. ABOUT PILLAR CARDS — padding reduzido em mobile
    Heurística: Proporção Visual */
@media (max-width: 639px) {
    .about-pillar-card-v2 {
        padding: 28px 20px;
        border-radius: 20px;
    }
}

/* Specialized per-logo styling for high-precision zoom and backgrounds */
.portfolio-logo-container.dark-bg {
    background: #090d16 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.portfolio-logo.logo-zoom-xl {
    transform: scale(1.38) !important;
    max-height: 105px !important;
    max-width: 95% !important;
}

.portfolio-card:hover .portfolio-logo.logo-zoom-xl {
    transform: scale(1.52) !important;
}

.portfolio-logo.logo-zoom-md {
    transform: scale(1.18) !important;
    max-height: 98px !important;
    max-width: 92% !important;
}

.portfolio-card:hover .portfolio-logo.logo-zoom-md {
    transform: scale(1.28) !important;
}

/* ================= PORTFOLIO CARD REFINEMENTS (DESIGN HARMONY & VERTICAL RHYTHM) ================= */
.portfolio-track {
    align-items: stretch;
}

.portfolio-card {
    padding: 20px 20px 16px 20px !important;
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
}

.portfolio-header {
    gap: 10px !important;
    margin-bottom: 16px !important;
}

.portfolio-logo-container {
    margin-bottom: 0 !important;
    height: 126px !important;
}

.portfolio-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.portfolio-card h4 {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

.portfolio-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.25;
    margin: 0 0 18px 0;
}

.portfolio-location svg {
    color: var(--primary);
    flex-shrink: 0;
    transform: translateY(-0.5px);
}

.portfolio-card.ideation .portfolio-location svg {
    color: #FACC15;
}

.portfolio-card.pre-incubated .portfolio-location svg {
    color: #C084FC;
}

.portfolio-card.graduated .portfolio-location svg {
    color: var(--text-blue);
}

.portfolio-card p {
    display: -webkit-box !important;
    -webkit-line-clamp: 10 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: auto !important;
    font-size: 13px !important;
    line-height: 1.54 !important;
    color: rgba(226, 232, 240, 0.82) !important;
    margin: 0 0 14px 0 !important;
    font-weight: 400;
}

.portfolio-card p.portfolio-dates {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: var(--text-muted) !important;
    margin-top: 2px !important;
    margin-bottom: 12px !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

/* Unified Footer Row — exact same height, border, and vertical center on every card */
.portfolio-links-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    min-height: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    width: 100%;
}

.portfolio-links-row a.portfolio-link-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 5px !important;
    font-size: 12.25px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    height: 22px;
    margin: 0 !important;
    padding: 0;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-links-row a.portfolio-link-item span {
    display: inline-block;
    line-height: 1;
}

.portfolio-links-row a.portfolio-link-item .link-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-links-row a.portfolio-link-item .linkedin-icon {
    flex-shrink: 0;
    opacity: 0.9;
    transform: translateY(-0.5px);
}

.portfolio-links-row a.portfolio-link-item:hover .link-arrow-icon {
    transform: translateX(3px);
}

/* When both Site and LinkedIn exist, give LinkedIn a subtle secondary pill/tone so they don't clash */
.portfolio-links-row.dual-links a.secondary-link {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    padding: 4px 10px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.portfolio-links-row.dual-links a.secondary-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.portfolio-links-row .portfolio-no-link {
    display: inline-flex;
    align-items: center;
    height: 22px;
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.55);
    margin: 0 !important;
}
