/* HSMU - Official Style v3.0 - Purple Palette */
:root {
    /* Paleta Black + White + Purple */
    --hsmu-dark: #FFFFFF;          /* Background principal - Branco */
    --hsmu-dark-lighter: #F8F9FA;  /* Background secundário - Off-white */
    --hsmu-dark-card: #FFFFFF;     /* Card background - Branco */
    --hsmu-purple: #3a2468;        /* Roxo escuro - hover */
    --hsmu-vibrant: #492f80;       /* Purple - destaque principal */
    --hsmu-lilac: #7a5bbd;         /* Roxo claro - destaque suave */
    
    /* Mapeamento para variáveis existentes (compatibilidade) */
    --hsmu-cyan: #492f80;          /* Purple */
    --hsmu-cyan-dark: #3a2468;     /* Purple escuro */
    --hsmu-cyan-light: #7a5bbd;    /* Purple claro */
    
    --hsmu-text: #000000;          /* Preto - texto principal */
    --hsmu-text-gray: #555555;     /* Cinza - texto secundário */
    --white: #FFFFFF;
    --bg-dark: #FFFFFF;
    --border-dark: #E0E0E0;
    --shadow-dark: 0 4px 30px rgba(73, 47, 128, 0.12);
    --radius-lg: 20px;
    --radius-md: 12px;
    
    /* Mantém compatibilidade */
    --uam-green: #492f80;
    --uam-green-dark: #3a2468;
    --uam-green-light: #7a5bbd;
}

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

body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: var(--hsmu-text);
    background-color: var(--hsmu-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: 80px;
    background: #000000;
    border-bottom: 1px solid #222222;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.navbar-logo img {
    height: 30px!important;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1001;
}

.navbar-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.navbar-nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: #FFFFFF;
    opacity: 0.8;
}

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

.nav-icon {
    font-size: 18px;
    color: var(--hsmu-text);
    text-decoration: none;
    display: none;
}

.btn-primary {
    background: var(--hsmu-cyan);
    color: #FFFFFF;
    padding: 12px 28px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #492f80;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #FFFFFF;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 40px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    background: transparent;
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 30px;
    }
}

.mesh-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: #000000; /* Fundo base para garantir que não fique branco */
}

/* Base dark background */
.mesh-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, #1a1a2e 0%, #000000 100%);
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    will-change: transform;
}

.blob-1 {
    width: 420px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(73, 47, 128, 0.6) 0%, rgba(73, 47, 128, 0.2) 50%, transparent 70%);
    top: 20%;
    left: -5%;
    animation: drift1 12s ease-in-out infinite;
}

.blob-2 {
    width: 560px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201, 167, 255, 0.5) 0%, rgba(201, 167, 255, 0.2) 45%, transparent 70%);
    top: 5%;
    left: 20%;
    animation: drift2 15s ease-in-out infinite;
}

.blob-3 {
    width: 500px;
    height: 380px;
    background: radial-gradient(ellipse, rgba(73, 47, 128, 0.4) 0%, rgba(73, 47, 128, 0.1) 50%, transparent 70%);
    top: 30%;
    left: 45%;
    animation: drift3 18s ease-in-out infinite;
}

.blob-4 {
    width: 380px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(201, 167, 255, 0.4) 0%, rgba(201, 167, 255, 0.1) 50%, transparent 70%);
    top: 15%;
    right: -5%;
    animation: drift4 14s ease-in-out infinite;
}

.blob-5 {
    width: 300px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(73, 47, 128, 0.3) 0%, rgba(73, 47, 128, 0.1) 50%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: drift5 20s ease-in-out infinite;
}

/* Subtle noise overlay for texture */
.noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Keyframes */
@keyframes drift1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.1); }
    66%  { transform: translate(-30px, 50px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift2 {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-50px, 30px) scale(1.05); }
    50%  { transform: translate(40px, -60px) scale(1.12); }
    75%  { transform: translate(20px, 40px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift3 {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(-70px, -30px) scale(1.08); }
    70%  { transform: translate(50px, 60px) scale(0.92); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift4 {
    0%   { transform: translate(0, 0) scale(1); }
    35%  { transform: translate(-80px, 40px) scale(1.15); }
    65%  { transform: translate(30px, -50px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift5 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(90px, -60px) scale(1.2); }
    100% { transform: translate(0, 0) scale(1); }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 30px;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-brand {
    margin-top: 60px;
    margin-bottom: 24px;
}

.hero-logo-main {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 500px;
    text-align: left;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-brand {
        margin-top: 40px;
        margin-bottom: 20px;
        text-align: left;
    }
    .hero-logo-main {
        height: 28px;
    }
    .hero-title {
        font-size: 20px;
        text-align: left;
        margin: 0 0 30px;
        max-width: 100%;
    }
}

.hero-overlay-image {
    max-width: 1500px;
    width: 130%;
    height: auto;
    display: block;
    margin-top: 153px;
    margin-left: -80px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-content .highlight {
    color: var(--hsmu-cyan-light);
}

.hero-content p {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.btn-outline {
    background: transparent;
    border: none;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--hsmu-cyan);
    color: #FFFFFF;
}

/* Hero Form Card */
.hero-form-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    border: 1px solid #EEEEEE;
    margin-top: 40px;
}

.hero-form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 32px;
    line-height: 1.3;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hsmu-primary);
    font-size: 18px;
    z-index: 1;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #FFFFFF;
    color: #000000;
}

.form-group select {
    cursor: pointer;
    color: #555555;
    appearance: none;
    padding-right: 40px;
}

.form-group select:valid {
    color: #000000;
}

.form-group select option {
    color: #000000;
    background: #FFFFFF;
    padding: 12px;
    font-size: 14px;
}

.form-group select optgroup {
    font-weight: 700;
    color: var(--hsmu-cyan);
    font-size: 13px;
    padding: 8px 0;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--hsmu-cyan);
}

.form-group:has(select)::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--hsmu-cyan);
    font-size: 12px;
}

.btn-submit {
    width: 100%;
    background: #000000;
    color: #FFFFFF;
    padding: 18px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-top: 8px;
}

.btn-submit:hover {
    background: #492f80;
    color: #FFFFFF;
}

.form-privacy {
    font-size: 12px;
    color: #555555;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--hsmu-cyan);
    text-decoration: underline;
}

.success-message {
    display: none;
    color: var(--hsmu-primary);
    text-align: center;
    margin-top: 16px;
    font-weight: 700;
}

/* Featured Courses */
.featured-courses {
    padding: 100px 0;
    background: var(--hsmu-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
}

.link-all {
    color: var(--hsmu-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--hsmu-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
    border-color: var(--hsmu-cyan);
}

.course-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.course-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-type {
    font-size: 11px;
    font-weight: 700;
    color: var(--hsmu-lilac);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
    line-height: 1.4;
}

.course-modalities {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
}

.course-modalities span {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--hsmu-lilac);
    text-transform: uppercase;
}

.btn-details {
    margin-top: 20px;
    background: var(--hsmu-cyan);
    color: #FFFFFF;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-details:hover {
    background: var(--hsmu-cyan-dark);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* Methodology */
.methodology {
    padding: 100px 0;
    background: var(--hsmu-dark-lighter);
}

.methodology-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.methodology-intro h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000000;
}

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

.modality-card {
    background: var(--hsmu-dark-card);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-dark);
}

.modality-card.ead {
    background: var(--hsmu-purple);
    color: var(--white);
    border-color: var(--hsmu-purple);
}

.mod-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.mod-content p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.mod-content ul {
    list-style: none;
    margin-bottom: 40px;
}

.mod-content li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.mod-content li i {
    color: var(--hsmu-cyan-light);
}

.ead li i {
    color: var(--white);
}

.btn-text {
    text-decoration: none;
    font-weight: 700;
    color: var(--hsmu-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ead .btn-text {
    color: var(--white);
}

/* Types */
.types-section {
    padding: 100px 0;
}

.types-header {
    text-align: center;
    margin-bottom: 64px;
}

.types-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000000;
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.type-box {
    padding: 48px;
    background: var(--hsmu-dark-lighter);
    border-radius: 24px;
    text-align: center;
}

.type-box i {
    font-size: 48px;
    color: var(--hsmu-cyan);
    margin-bottom: 24px;
}

.type-box h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.type-box p {
    font-size: 16px;
    color: var(--hsmu-text-gray);
    margin-bottom: 32px;
}

.type-box .btn-text {
    justify-content: center;
}

/* Ecossistema */
.ecossistema {
    padding: 80px 0;
    background: var(--hsmu-dark);
    border-top: 1px solid var(--border-dark);
    text-align: center;
}

.ecos-logo {
    height: 110px;
    margin-bottom: 24px;
}

.ecos-header h2 {
    font-size: 32px;
    font-weight: 1000;
    margin-bottom: 16px;
    color: #000000;
}

.ecos-header p {
    color: var(--hsmu-text-gray);
    margin-bottom: 48px;
}

.ecos-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-logo {
    font-size: 18px;
    font-weight: 700;
    color: #D2D2D7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--hsmu-dark-lighter);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000000;
}

.cta-form p {
    font-size: 18px;
    margin-bottom: 32px;
    font-weight: 600;
}

.btn-primary.large {
    padding: 20px 48px;
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: transparent; /* Removido fundo sólido para mostrar o mesh */
    border-top: 1px solid #222222;
    position: relative;
    overflow: hidden;
}

.footer .mesh-container {
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer .footer-logo {
    filter: brightness(0) invert(1);
}

.footer .social-icons a {
    display: none;
}

.footer .footer-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
}

.footer .footer-links a:hover { color: var(--hsmu-cyan); }

.footer .footer-bottom p {
    color: #FFFFFF;
    opacity: 0.7;
}

.footer .social-icons {
    display: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 36px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--hsmu-dark-lighter);
    color: var(--hsmu-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--hsmu-cyan);
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.footer-links a {
    text-decoration: none;
    color: var(--hsmu-text-gray);
    font-weight: 600;
    font-size: 14px;
}

.back-to-top {
    margin-left: auto;
    color: var(--hsmu-cyan) !important;
}

.footer-bottom {
    font-size: 12px;
    color: var(--hsmu-text-gray);
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
    position: relative;
    z-index: 2;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(14, 11, 43, 0.85);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    background-color: var(--hsmu-dark-card);
    margin: auto;
    padding: 0;
    border: 1px solid var(--border-dark);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@keyframes slideUp {
    from { transform: translateY(30px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

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

.close-modal:hover {
    background: var(--hsmu-cyan);
    transform: rotate(90deg);
}

.modal-body {
    padding: 48px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--hsmu-purple) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--hsmu-purple);
    border-radius: 10px;
}

.modal-header {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(91, 45, 139, 0.3);
    padding-bottom: 24px;
}

.modal-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--hsmu-dark);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #000000;
}

.modal-meta {
    display: flex;
    gap: 24px;
    color: var(--hsmu-lilac);
    font-weight: 600;
    font-size: 14px;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-meta i {
    color: var(--hsmu-cyan);
    font-size: 16px;
}

.modal-description h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--hsmu-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-description p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 40px;
}

.modal-description ul {
    list-style: none;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-description li {
    position: relative;
    padding-left: 32px;
    color: #000000;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

.modal-description li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hsmu-cyan);
    font-size: 18px;
}

.modal-footer {
    text-align: center;
    padding: 0 48px 48px;
    background: transparent;
    border-top: none;
}

.modal-footer .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background: #492f80;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(73, 47, 128, 0.4);
}

.modal-footer p {
    font-size: 13px;
    color: var(--hsmu-text-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    .modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }
    .modal-body {
        padding: 32px 24px;
    }
    .modal-header h2 { font-size: 24px; }
    .modal-description ul { grid-template-columns: 1fr; gap: 12px; }
    .modal-meta { flex-direction: column; gap: 12px; }
    .modal-footer { padding: 24px; }
    .close-modal { top: 16px; right: 16px; }
}

/* Courses Page Styles */
/* Page Courses Styles */
.page-header {
    padding: 140px 0 60px;
    background: transparent;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.courses-filter {
    padding: 60px 0;
    background: #FFFFFF;
    z-index: 100;
    border-bottom: 1px solid #EEEEEE;
}

.search-box-large {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid var(--hsmu-primary);
    border-radius: 12px;
    padding: 8px 8px 8px 24px;
    transition: all 0.3s ease;
}

.search-box-large:focus-within {
    box-shadow: 0 10px 30px rgba(73, 47, 128, 0.15);
}

.search-box-large i {
    color: var(--hsmu-primary);
    font-size: 22px;
    margin-right: 15px;
}

.search-box-large input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
    padding: 15px 0;
    background: transparent;
    color: #000000;
    font-family: inherit;
    font-weight: 500;
}

.search-box-large input::placeholder {
    color: #AAAAAA;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 40px;
}

.filter-tab {
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333;
}

.filter-tab:hover {
    border-color: var(--hsmu-primary);
    color: var(--hsmu-primary);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #492f80;
    border-color: #492f80;
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(73, 47, 128, 0.2);
}

.filter-tab .count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.filter-tab.active .count {
    background: rgba(255,255,255,0.2);
}

.results-count {
    text-align: center;
    font-size: 15px;
    color: #777777;
    font-weight: 500;
    margin-top: 20px;
}

.all-courses {
    padding: 80px 0;
    background: #F9F9F9;
}

.courses-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.course-card-full {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.course-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--hsmu-cyan);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.course-badge.mba { background: #FFD700; color: var(--hsmu-dark); }
.course-badge.gestao { background: var(--hsmu-cyan-light); color: var(--white); }
.course-badge.direito { background: #8B4513; color: var(--white); }
.course-badge.tech { background: #4A90E2; color: var(--white); }
.course-badge.marketing { background: #FF6B6B; color: var(--white); }
.course-badge.saude { background: #10B981; color: var(--white); }
.course-badge.educacao { background: #F59E0B; color: var(--white); }
.course-badge.design { background: #8B5CF6; color: var(--white); }
.course-badge.engenharia { background: #6B7280; color: var(--white); }

.course-partner {
    font-size: 12px;
    font-weight: 700;
    color: var(--hsmu-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-card-full h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
    line-height: 1.3;
    min-height: 52px;
}

.course-desc {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555555;
    font-weight: 600;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    color: var(--hsmu-cyan);
}

.btn-course {
    background: var(--hsmu-cyan);
    color: #FFFFFF;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: auto;
}

.btn-course:hover {
    background: var(--hsmu-cyan-dark);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 64px;
    color: var(--border-dark);
    margin-bottom: 24px;
}

.no-results h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 32px;
}

.courses-cta-section {
    padding: 80px 0;
    background: var(--hsmu-dark-lighter);
}

.cta-box {
    background: var(--hsmu-dark-card);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-dark);
    border: 1px solid var(--border-dark);
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000000;
}

.cta-box p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-container {
        padding: 0 20px;
    }
    .navbar-actions .btn-primary {
        display: none;
    }
    .hero-container, .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-overlay-image {
        max-width: 700px;
        margin: 60px auto 0;
    }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-form-card { margin: 0 auto; }
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
    .courses-grid-full { grid-template-columns: 1fr 1fr; }
    .modality-cards, .types-grid { grid-template-columns: 1fr; }
    /* Mobile Menu */
    .navbar-nav {
        display: none;
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-dark);
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        z-index: 999;
    }

    .navbar-nav.active { display: block; }
    .navbar-nav .nav-list { flex-direction: column; gap: 0; padding: 12px 0; }
    .navbar-nav .nav-list li { border-bottom: 1px solid rgba(124, 58, 237, 0.1); }
    .navbar-nav .nav-list li:last-child { border-bottom: none; }
    .navbar-nav .nav-list a { display: block; padding: 16px 24px; font-size: 15px; color: #000000; }
    .navbar-nav .nav-list a:hover { background: rgba(73, 47, 128, 0.07); padding-left: 32px; }

    .navbar-toggle { display: block; }
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 768px) {
    .navbar {
        display: block;
    }
    .navbar-container { padding: 0 20px; }
    .navbar-logo img { height: 25px!important; }
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    .hero-brand, .hero-logo-main { display: none; }
    .hero-content { text-align: center; }
    .hero-title { font-size: 28px; text-align: center; margin: 0 auto 24px; max-width: 100%; }
    .hero-container {
        gap: 30px;
        padding: 0 16px;
    }
    .hero-overlay-image {
        max-width: 90%;
        margin: 0 auto;
        width: auto;
    }
    .hero-form-card {
        padding: 24px;
        margin: 0 auto;
        max-width: 100%;
    }
    .courses-grid { grid-template-columns: 1fr 1fr; }
    .courses-grid-full { grid-template-columns: 1fr 1fr; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { flex-direction: column; align-items: center; text-align: center; }
    .back-to-top { margin-left: 0; }
    .page-header h1 { font-size: 32px; }
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 24px; }
    .filter-tabs { flex-direction: column; }
    .filter-tab { justify-content: center; }
}

@media (max-width: 480px) {
    .courses-grid, .courses-grid-full { grid-template-columns: 1fr; }
    .hero-title { font-size: 24px; }
}



