/* DeepMind-Inspired Theme for EveSystem */

:root {
    --bg-main: #0c0c0c;
    --bg-card: #18181b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: #27272a;
    --nav-height: 80px;
    --card-border-radius: 24px;
    
    /* Card gradient overlays */
    --grad-kids: radial-gradient(circle at 50% 0%, rgba(236,72,153,0.15) 0%, rgba(0,0,0,0) 70%), 
                 linear-gradient(135deg, #1e1b4b 0%, #1e1e24 100%);
    --grad-basic: radial-gradient(circle at 100% 100%, rgba(56,189,248,0.2) 0%, rgba(0,0,0,0) 60%),
                  linear-gradient(to bottom right, #082f49 0%, #18181b 100%);
    --grad-inter: radial-gradient(circle at 0% 50%, rgba(16,185,129,0.15) 0%, rgba(0,0,0,0) 60%),
                  linear-gradient(45deg, #064e3b 0%, #111827 100%);
    --grad-adv: radial-gradient(circle at 50% 100%, rgba(139,92,246,0.2) 0%, rgba(0,0,0,0) 70%),
                linear-gradient(180deg, #18181b 0%, #2e1065 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-left .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-center {
    display: flex;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.nav-center a:hover {
    opacity: 0.7;
}

.nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

/* Main Content */
.main-content {
    padding-top: var(--nav-height);
}

.hero-viewport {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    transition: color 0.3s;
    z-index: 10;
}

.scroll-indicator:hover {
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

.hero-intro {
    padding: 0 40px;
    margin-bottom: 40px;
}

.hero-intro h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Cards Section */
.cards-section {
    padding: 0 40px 80px 40px;
    position: relative;
    overflow: hidden;
}

.cards-section::-webkit-scrollbar {
    display: none;
}

.cards-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}

.cards-container::-webkit-scrollbar {
    display: none;
}

.cards-container > .dm-card {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

/* Individual Cards */
.dm-card {
    position: relative;
    width: 320px;
    height: 480px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    background-color: var(--bg-card);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.dm-card:hover {
    transform: translateY(-8px);
}

.card-content {
    position: relative;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.btn-card {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.btn-card:hover {
    background: rgba(255,255,255,0.2);
}

.btn-card-primary {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.btn-card-primary:hover {
    background: rgba(255,255,255,0.1);
}

/* Card Backgrounds */
.dm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.card-kids::before {
    background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.75)),
                url('assets/curso-kids.jpeg') center/cover no-repeat;
}
.card-basic::before {
    background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.75)),
                url('assets/lideranca-estrategica.jpeg') center/cover no-repeat;
}
.card-intermediary::before {
    background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.75)),
                url('assets/curso-n8n.jpeg') center/cover no-repeat;
}
.card-advanced::before {
    background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.75)),
                url('assets/rede-computadores.jpeg') center/cover no-repeat;
}
/* Animation Overlay for Cards (Simulating moving particles) */
.card-bg-animation {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* Bottom Hero / About */
.bottom-hero {
    padding: 60px 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 260px;
    flex-shrink: 0;
    position: relative;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(90deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bottom-hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.bottom-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
}

/* Bento Grid Ecosystem */
.bento-ecosystem {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 16px;
}

.bento-item {
    background: var(--bg-card);
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s, border-color 0.3s;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.bento-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.certificacao-bg {
    background: radial-gradient(circle at top right, rgba(255,215,0,0.1) 0%, transparent 70%);
}

.wireframe-grid {
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.bento-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.text-left-flex {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.text-center {
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.bento-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 16px;
}

.text-left-flex .bento-icon {
    font-size: 4rem;
    margin-bottom: 0;
    color: #FFD700;
    opacity: 0.8;
}

.bento-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.huge-text {
    font-size: clamp(1.6rem, 4vw, 3.5rem) !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 4px 0;
    line-height: 1.1;
    overflow-wrap: break-word;
    hyphens: none;
}

/* Grid Spans */
.bento-certificacao {
    grid-column: span 2;
}

.bento-mentoria {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-infra {
    grid-column: span 1;
}

.bento-projetos {
    grid-column: span 3;
}

/* Dedicated Location Section */
.location-section {
    padding: 0 40px 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.location-container {
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.location-info {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.location-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.info-block {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-block i {
    font-size: 1.5rem;
    color: #ec4899;
    margin-top: 4px;
}

.info-block h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 500;
}

.info-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.inline-btn {
    display: inline-block;
    margin-top: 12px;
}

.location-map {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.dark-map {
    filter: invert(90%) hue-rotate(180deg) sepia(20%) brightness(80%) contrast(110%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.email-contact {
    color: #fff !important;
    margin-top: 12px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: none;
    line-height: 1.4;
}
.form-message.error {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.3);
    display: block;
}
.form-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: block;
}

/* --- NEW FEATURES CSS --- */
/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links {
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
    margin-top: 0;
}

.contact-details i {
    color: #a1a1aa;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-form-wrapper {
    flex: 1;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,0.3);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
}

.form-group select option {
    background-color: var(--bg-card);
    color: #fff;
}

.submit-btn {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 80px 40px 40px 40px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand-col {
    flex: 2;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-links-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.footer-links-col a, .footer-links-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-col a:hover {
    color: #fff;
}

.footer-links-col p i {
    width: 16px;
    text-align: center;
}

.socials {
    display: flex;
    gap: 16px;
}

.socials i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.socials a:hover i {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.policy-placeholder {
    color: #52525b; /* Darker text to indicate it's not a link yet */
    cursor: help;
}

/* =============================================
   RESPONSIVE - Desktop Half / Small Laptops
   ============================================= */
@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }
    .desktop-only {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .bottom-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .bento-certificacao { grid-column: span 2; }
    .bento-mentoria { grid-column: span 1; grid-row: span 1; }
    .bento-infra { grid-column: span 1; }
    .bento-projetos { grid-column: span 2; }
    .bento-mapa { grid-column: span 2; min-height: 350px; }
    .text-left-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .text-left-flex .bento-icon {
        font-size: 2.5rem;
    }
    .bento-item {
        padding: 24px;
    }
    .bento-item h3 {
        font-size: 1.1rem;
    }
    .bento-item p {
        font-size: 0.85rem;
    }
    .dm-card {
        width: 300px;
        height: 460px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* =============================================
   RESPONSIVE - Tablets
   ============================================= */
@media (max-width: 768px) {
    .hero-intro h1 {
        font-size: 1.8rem;
    }
    .hero-intro p {
        font-size: 0.95rem;
    }
    .hero-intro, .bottom-hero, .bento-ecosystem {
        padding-left: 20px;
        padding-right: 20px;
    }
    .profile-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .profile-image {
        width: 200px;
    }
    .watermark-text {
        font-size: 25vw;
    }
    .bento-ecosystem {
        padding: 60px 20px;
    }
    .bento-container {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }
    .bento-certificacao,
    .bento-mentoria,
    .bento-infra,
    .bento-projetos,
    .bento-mapa {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-mapa {
        min-height: 380px;
        padding: 0;
    }
    .bento-glass-panel {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 16px;
        max-width: none;
    }
    .huge-text {
        font-size: 2.5rem !important;
    }
    .contact-container, .location-container {
        flex-direction: column;
        gap: 0;
    }
    .contact-info, .location-info {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 30px 20px;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .location-map {
        min-height: 300px;
    }
    .cards-section {
        padding: 0 20px 60px 20px;
    }
    .dm-card {
        width: 280px;
        height: 420px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .carousel-btn-left { left: 4px; }
    .carousel-btn-right { right: 4px; }
    .footer {
        padding: 40px 20px 30px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* =============================================
   RESPONSIVE - Mobile
   ============================================= */
@media (max-width: 480px) {
    .navbar {
        padding: 0 12px;
    }
    .nav-left .logo span {
        display: none;
    }
    .nav-right {
        gap: 6px;
    }
    .nav-right .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .hero-intro {
        padding: 0 16px;
    }
    .hero-intro h1 {
        font-size: 1.5rem;
    }
    .hero-viewport {
        padding-bottom: 40px;
    }
    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 10px;
    }
    .profile-block {
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }
    .profile-image {
        width: 160px;
    }
    .bottom-hero {
        padding: 40px 16px;
    }
    .bottom-hero h2 {
        font-size: 1.5rem;
    }
    .bottom-hero p {
        font-size: 0.95rem;
    }
    .cards-section {
        padding: 0 12px 40px 12px;
    }
    .dm-card {
        width: 260px;
        height: 400px;
    }
    .cards-container {
        gap: 12px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    .carousel-btn-left { left: 0; }
    .carousel-btn-right { right: 0; }
    .bento-ecosystem {
        padding: 40px 12px;
    }
    .bento-container {
        gap: 12px;
    }
    .bento-item {
        padding: 20px;
    }
    .bento-mapa {
        min-height: 300px;
    }
    .huge-text {
        font-size: 2rem !important;
    }
    .contact-section, .location-section {
        padding: 40px 12px;
    }
    .contact-info,
    .location-info,
    .contact-form-wrapper {
        padding: 24px 16px;
    }
    .footer {
        padding: 30px 16px 20px 16px;
    }
}

/* Modal Styles (Split Layout) */
.course-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.course-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.course-modal.course-modal-split {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--card-border-radius);
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.course-modal-overlay.active .course-modal {
    transform: translateY(0);
}

.course-modal-image-col {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.course-modal-image-col::after {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(to right, rgba(24,24,27,0) 0%, rgba(24,24,27,1) 100%);
}

.course-modal-content-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(24,24,27,1);
}

.course-modal-close {
    position: absolute;
    top: 24px; right: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.course-modal-close:hover {
    color: #fff;
    background: rgba(236,72,153,0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

.course-modal-header-new {
    padding: 40px 40px 20px 40px;
}

.modal-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.course-modal-header-new h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.2;
}

.course-modal-header-new p {
    color: #d4d4d8;
    font-size: 1.1rem;
}

.course-modal-body-new {
    padding: 0 40px;
    flex-grow: 1;
    overflow-y: auto;
}

.course-modal-body-new::-webkit-scrollbar {
    width: 6px;
}
.course-modal-body-new::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

#modalDescription {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #a1a1aa;
    margin-bottom: 32px;
}

.course-modal-body-new h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #fff;
}

#modalTopics {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.course-modal-footer-new {
    padding: 24px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
}

.modal-nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.modal-action-buttons {
    display: flex;
    gap: 16px;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.btn-ghost:hover {
    color: #fff;
}

.btn-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236,72,153,0.3);
}

@media (max-width: 768px) {
    .course-modal.course-modal-split {
        flex-direction: column;
        height: 90vh;
        overflow-y: auto;
    }
    
    .course-modal-image-col {
        min-height: 250px;
        flex: none;
    }
    
    .course-modal-image-col::after {
        background: linear-gradient(to bottom, rgba(24,24,27,0) 0%, rgba(24,24,27,1) 100%);
    }

    .course-modal-header-new, .course-modal-body-new, .course-modal-footer-new {
        padding: 24px 20px;
    }

    .course-modal-footer-new {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .modal-action-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

