/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --labc-blue: #1e40af;
    --labc-green: #059669;
    --primary: #1e40af;
    --primary-glow: #3b82f6;
    --secondary: #f1f5f9;
    --accent: #059669;
    --muted: #64748b;
    --muted-foreground: #64748b;
    --background: #fafafa;
    --card: #ffffff;
    --border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #059669 0%, #1e40af 100%);
    --shadow-elegant: 0 10px 30px -10px rgba(30, 64, 175, 0.3);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--labc-blue);
    margin: 0;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--labc-green);
    margin: 0;
}

.nav {
    display: flex;
    gap: 32px;
}

/* Desktop menu container */
.menu {
    display: flex;
    flex-direction: row;
    background: transparent;
    position: static;
    width: auto;
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Toggle button (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}
@media (min-width: 769px) {
    .nav .menu {
        display: flex;
        gap: 28px; /* espaço entre links no desktop */
        align-items: center;
    }
}

.nav-link:hover {
    color: var(--labc-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--labc-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button {
    background: var(--labc-green);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 72px;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* coloca texto à esquerda e imagem à direita */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* bloco de texto */
.hero-text {
    flex: 1;
    text-align: left;
}

/* título */
.hero-title {
    font-size: clamp(4rem, 7vw, 5.5rem);
    font-weight: 900;

    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* descrição */
.hero-description {
    font-size: 1.8rem;
    margin-bottom: 32px;
    max-width: 600px;
    opacity: 0.9;
}

/* imagem */
.hero-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

/* mobile: empilha */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        max-width: 90%;
        margin-top: 24px;
    }
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--labc-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-cta {
    background: white;
    color: var(--labc-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Main Content */
.main-content {
    padding: 64px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: 2fr 1fr;
    }

    /* Professors and Students */
    .professors-section,
    .students-section {
        grid-column: 1 / -1;
    }

    .professors-description,
    .students-description {
        font-size: 16px;
        color: var(--muted-foreground);
        margin-bottom: 32px;
        line-height: 1.6;
    }

    .professors-grid,
    .students-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 40px;
        margin-top: 32px;
    }
}

/* Bento Cards */
.bento-card {
    background: var(--card);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon {
    background: var(--labc-blue);
}

.schedule-icon {
    background: var(--labc-green);
}

.professors-icon,
.students-icon {
    background: var(--labc-blue);
}

.icon {
    width: 20px;
    height: 20px;
    color: white;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--labc-blue);
    margin: 0;
}

/* Course Content */
.course-info {
    margin-bottom: 32px;
}

.course-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--labc-blue);
    margin-bottom: 16px;
}

.course-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.course-duration,
.course-format,
.course-level {
    background: var(--labc-green);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.course-format {
    background: var(--labc-blue);
}

.course-level {
    background: var(--muted);
}

/* Modules */
.modules {
    margin-bottom: 32px;
}

.module {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.module:hover {
    border-color: var(--labc-blue);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.module-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--labc-blue);
    margin: 0;
}

.module-duration {
    background: var(--labc-green);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.module-topics {
    list-style: none;
}

.module-topics li {
    padding: 4px 0;
    color: var(--muted-foreground);
    position: relative;
    padding-left: 16px;
}

.module-topics li::before {
    content: '•';
    color: var(--labc-green);
    position: absolute;
    left: 0;
}

/* Benefits */
.benefits-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--labc-blue);
    margin-bottom: 16px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--secondary);
    transition: var(--transition-smooth);
}

.benefit:hover {
    background: var(--labc-green);
    color: white;
    transform: translateY(-1px);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--labc-green);
}

.benefit:hover .benefit-icon {
    color: white;
}

/* Schedule */
.schedule-info {
    margin-bottom: 24px;
}

.schedule-dates {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.date-item {
    text-align: center;
}

.date-label {
    display: block;
    font-size: 14px;
    gap: 40px;
    margin-bottom: 4px;
}

.date-value {
    display: block;
    gap: 32px;
    font-weight: 600;
    color: var(--labc-blue);
}

.schedule-classes {
    gap: 40px;
}

.class-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid;
}

.class-item.presencial {
    background: rgba(30, 64, 175, 0.05);
    border-left-color: var(--labc-blue);
}

.class-item.online {
    background: rgba(5, 150, 105, 0.05);
    border-left-color: var(--labc-green);
}

.class-day {
    font-weight: 600;
    color: var(--labc-blue);
}

.class-details {
    text-align: right;
}

.class-time {
    font-weight: 500;
    color: var(--labc-blue);
}

.class-type {
    font-size: 14px;
    color: var(--muted-foreground);
}

.schedule-location {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--labc-blue);
}

.location-icon {
    width: 16px;
    height: 16px;
    color: var(--labc-green);
}

.location-address {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Professors */
.professors-description {
    color: var(--muted-foreground);
    margin-bottom: 32px;
    font-size: 16px;
}

.professors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.professor-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

.professor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--labc-blue);
}

.professor-photo-container {
    position: relative;
    margin-bottom: 16px;
}

.professor-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1/1;
    margin: 0 auto;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.professor-card:hover .professor-photo {
    transform: scale(1.05);
}

.professor-rating-badge {
    position: absolute;
    top: -4px;
    right: calc(50% - 52px);
    background: #fbbf24;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.professor-rating-badge svg {
    width: 12px;
    height: 12px;
    color: white;
    fill: white;
}

.student-badge {
    background: var(--labc-blue);
}

.student-company {
    color: var(--muted-foreground);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.professor-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--labc-blue);
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.professor-card:hover .professor-name {
    color: var(--primary);
}

.professor-title {
    color: var(--labc-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.professor-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--muted-foreground);
    font-size: 14px;
    margin-bottom: 12px;
}

.professor-location svg {
    width: 12px;
    height: 12px;
    color: var(--labc-green);
}

.professor-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.professor-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.professor-rating svg {
    width: 12px;
    height: 12px;
    color: #fbbf24;
    fill: #fbbf24;
}

.professor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.specialty-tag {
    background: rgba(5, 150, 105, 0.1);
    color: var(--labc-green);
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.specialty-more {
    background: var(--secondary);
    color: var(--muted-foreground);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* CTA Section */
.cta-card {
    background: var(--gradient-accent);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
    justify-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        justify-items: center;
    }
}

.footer-brand {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-top: 16px;
    margin-bottom: 16px;
}

.footer-logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--labc-blue);
    margin: 0;
}

.footer-logo-subtitle {
    font-size: 14px;
    color: var(--labc-green);
    margin: 0;
}

.footer-description {
    color: var(--muted-foreground);
    max-width: 384px;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--labc-blue);
    margin-bottom: 16px;
}

.footer-contact-info {
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--labc-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fade-in 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fade-in 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-professor-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-professor-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.modal-professor-name {
    font-size: 20px;
    color: var(--labc-blue);
    margin: 0;
}

.modal-professor-title {
    font-size: 16px;
    color: var(--labc-green);
    font-weight: 500;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--secondary);
    color: var(--labc-blue);
}

.modal-body {
    padding: 24px;
}

.professor-bio {
    color: var(--muted-foreground);
    margin-bottom: 24px;
    line-height: 1.6;
}

.professor-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-foreground);
    font-size: 14px;
    margin-bottom: 24px;
}

.professor-section {
    margin-bottom: 24px;
}

.professor-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--labc-blue);
    margin-bottom: 12px;
}

.professor-section-title svg {
    width: 16px;
    height: 16px;
}

.specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-badge {
    background: rgba(5, 150, 105, 0.1);
    color: var(--labc-green);
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.education-list,
.experience-list,
.professor-details-list {
    list-style: none;
}

.professor-specialties-section,
.professor-education-section,
.professor-experience-section,
.professor-projects-section {
    margin-bottom: 24px;
}

.professor-specialties-section h4,
.professor-education-section h4,
.professor-experience-section h4,
.professor-projects-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--labc-blue);
    margin-bottom: 12px;
}

.professor-specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.education-list li,
.experience-list li,
.professor-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted-foreground);
}

.education-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--labc-green);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.experience-list li::before,
.professor-details-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--labc-blue);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professor-photo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    /* show toggle; hide nav until active */
    .menu-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: calc(60px + 30px);
        right: 0;
        background: white;
        flex-direction: column;
        width: 220px;
        padding: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        z-index: 1100;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .nav.active { display: flex; }
    .nav .menu { flex-direction: column; gap: 8px; }

    .header-content {
        justify-content: space-between;
    }

    .hero {
        padding: 72px 0;
    }

    .main-content {
        padding: 48px 0;
    }

    .bento-card {
        padding: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .course-title {
        font-size: 20px;
    }

    .cta-title {
        font-size: 32px;
    }

    .professors-grid {
        grid-template-columns: 1fr;
        gap: 40px; /* mais espaçamento entre cards no mobile */
    }

    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .modal-header,
    .modal-body {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    img[alt="Contato"] { height: 35px !important; }
}

/* Avoid body scroll when mobile menu is open */
body.no-scroll { overflow: hidden; }

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .bento-grid {
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .schedule-dates {
        flex-direction: column;
        gap: 16px;
    }

    .class-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}