/* Seção de Cursos */
.courses-section {
    background: #f6f8fa; /* reforça o fundo suave */
}
.courses-type {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.courses-group {
    flex: 1 1 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px 25px 25px 25px;
    margin-bottom: 30px;
}

/* Faz o primeiro grupo (Médio Integrado) ocupar toda a largura e ficar acima do segundo */
.courses-type .courses-group:first-child {
    flex: 1 1 100%;
    max-width: 100%;
}

/* Faz com que os dois cards do primeiro grupo ocupem toda a largura disponível (50% cada) */
.courses-type .courses-group:first-child .courses-grid {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
}
.courses-type .courses-group:first-child .course-card {
    flex: 1 1 calc(50% - 12.5px);
    max-width: none;
}

/* Em telas pequenas, empilhar os cards novamente */
@media (max-width: 768px) {
    .courses-type .courses-group:first-child .courses-grid { flex-wrap: wrap; }
    .courses-type .courses-group:first-child .course-card { flex: 1 1 100%; max-width: 100%; }
}

/* Aplica o mesmo comportamento ao segundo grupo (Subsequente): cards com 50% cada em telas grandes */
.courses-type .courses-group:nth-child(2) .courses-grid {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
}
.courses-type .courses-group:nth-child(2) .course-card {
    flex: 1 1 calc(50% - 12.5px);
    max-width: none;
}

/* Em telas pequenas, empilhar os cards do segundo grupo */
@media (max-width: 768px) {
    .courses-type .courses-group:first-child .courses-grid { flex-wrap: wrap; }
    .courses-type .courses-group:first-child .course-card { flex: 1 1 100%; max-width: 100%; }
    .courses-type .courses-group:nth-child(2) .courses-grid { flex-wrap: wrap; }
    .courses-type .courses-group:nth-child(2) .course-card { flex: 1 1 100%; max-width: 100%; }
}

.courses-group h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 6px solid #f87171; /* vermelho minimalista */
    padding-left: 12px;
}
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.course-card {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(37,99,235,0.07);
    padding: 25px 20px;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 300px;
    transition: all 0.3s ease;
    text-align: center;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.13);
}

/* EAD - Ofertas: cards em linha (3 colunas desktop, 2 tablet, 1 mobile) */
.ead-courses-list .courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
}
.ead-courses-list .course-card {
    flex: 1 1 calc(33.333% - 16.66px);
    max-width: calc(33.333% - 16.66px);
}
@media (max-width: 1024px) {
    .ead-courses-list .course-card { flex: 1 1 calc(50% - 12.5px); max-width: calc(50% - 12.5px); }
}
@media (max-width: 768px) {
    .ead-courses-list .course-card { flex: 1 1 100%; max-width: 100%; }
}

.course-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 70%, #22c55e 30%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px auto;
    border: none;
}
.course-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}
.course-card p {
    color: #6b7280;
    font-size: 0.98rem;
    line-height: 1.6;
}
/* Link/CTA dentro do card de curso */
.course-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 14px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}
.course-link:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}
/* Seção de Notícias */
.news-section {
    background: #f6f8fa; /* cor de fundo suave para diferenciar das demais */
}
/* Evento / Galeria reutilizável (aplicado também à seção de notícias) */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(0,0,0,0.12); }
.event-main { width: 100%; height: 220px; object-fit: cover; display: block; }
.event-caption { padding: 14px 16px; font-weight: 600; color: #1f2937; }
.event-gallery { display: none; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 12px; }
.event-thumb { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; display: block; cursor: pointer; }
.event-thumb:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

/* Photo modal / lightbox (copied from desenvolvimento_sistemas.css to work globally) */
.photo-modal { position: fixed; inset: 0; z-index: 12000; display: flex; align-items: center; justify-content: center; }
.photo-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.photo-modal-content { position: relative; z-index: 12001; max-width: 1100px; width: 95%; background: transparent; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.photo-modal-body { width: 100%; background: #000; display:flex; align-items:center; justify-content:center; position: relative; }
.photo-modal-img { max-width: 100%; max-height: 80vh; object-fit: contain; display:block; margin: 0 auto; }
.photo-modal-close, .photo-modal-prev, .photo-modal-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.06); border: none; color: white; font-size: 1.6rem; padding: 12px; border-radius: 8px; cursor: pointer; }
.photo-modal-close { top: 16px; right: 16px; transform: none; }
.photo-modal-prev { left: 12px; }
.photo-modal-next { right: 12px; }
.photo-modal-controls { display: flex; justify-content: center; gap: 8px; padding: 10px 0 16px 0; }
.photo-modal-dot { width: 10px; height: 10px; border-radius: 50%; background: #ffffff33; }
.photo-modal-dot.active { background: #ffffff; }
.photo-modal-caption { color: #ffffff; text-align: center; font-weight: 600; padding: 8px 16px 12px 16px; background: rgba(0,0,0,0.35); width: 100%; }

@media (max-width: 1024px) { .events-grid { grid-template-columns: repeat(2, 1fr); } .event-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .events-grid { grid-template-columns: 1fr; } .event-gallery { grid-template-columns: repeat(2, 1fr); } }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.news-card {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.18); /* sombra mais destacada */
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37,99,235,0.13);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}
.news-info p {
    color: #6b7280;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.news-date {
    background: #2563eb;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    align-self: flex-end;
    border: none;
}
/* Responsividade para novas seções */
@media (max-width: 1024px) {
    .courses-type {
        flex-direction: column;
        gap: 30px;
    }
    .courses-group {
        margin-bottom: 20px;
    }
    .courses-grid {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .courses-type {
        flex-direction: column;
        gap: 20px;
    }
    .courses-group {
        padding: 20px 10px;
    }
    .courses-grid {
        flex-direction: column;
        gap: 15px;
    }
    .course-card {
        min-width: 100%;
        max-width: 100%;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-card img {
        height: 140px;
    }
}
/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Espaçamento superior para compensar o cabeçalho fixo */
    padding-top: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho e Navegação */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid #facc15; /* amarelo minimalista */
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.logo-img {
    width: 100px;
    height: 70px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
    background: #fff;
    margin-right: 32px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: -5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.nav-menu li,
.dropdown-menu li,
.dropdown-submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

.nav-link::after,
.nav-link::before {
    display: none !important;
    content: none !important;
}

.login-btn {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.login-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px #faee8233; /* vermelho suave */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.logo-gov-pe {
    width: 150px;
    height: auto;
    margin-left: 32px;
    vertical-align: middle;
}

.nav-item.nav-logo-gov {
    display: flex;
    align-items: center;
    margin-left: 0;
}

/* Carrossel Principal */
.hero-carousel {
    position: relative;
    height: 100vh;
    margin-top: -100px; /* compensa o padding-top:100px do body para que não haja espaço entre o header fixo e o carrossel */
    overflow: hidden;
} 

/* Página EAD - hero simples e centralizado */
.courses-ead-hero .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 0;
}
.courses-ead-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1f2937;
}
.courses-ead-hero p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .courses-ead-hero .container { padding: 44px 0; }
    .courses-ead-hero h1 { font-size: 1.8rem; }
}

/* Aplica o mesmo estilo centralizado para heros que usam a classe genérica do curso */
.curso-hero-dev-sis .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 0;
}
.curso-hero-dev-sis h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
}
.curso-hero-dev-sis p {
    color: #6b7280;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Fundo e contraste para hero genérico do curso (aplicável a várias páginas) */
.curso-hero-dev-sis {
    /* gradiente escuro que funciona bem com texto claro */
    background: linear-gradient(135deg, #0b1220 0%, #16202b 60%);
    color: #ffffff;
    padding: 100px 0; /* reduzido para ficar mais compacto */
}
.curso-hero-dev-sis h1 { color: #ffffff; font-size: 1.8rem; }
.curso-hero-dev-sis p { color: #cbd5e1; font-size: 1.02rem; }

/* Ajustes para botões dentro do hero para garantir contraste */
.curso-hero-dev-sis .cta-button-dev-sis {
    background: #22c55e; /* verde esmeralda */
    color: #052018 !important; /* texto escuro sobre botão claro (conforme identidade) */
    box-shadow: 0 6px 18px rgba(34,197,94,0.18);
}
.curso-hero-dev-sis .cta-button-sec-admin {
    border-color: rgba(255,255,255,0.18);
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .curso-hero-dev-sis { padding: 60px 0; }
    .curso-hero-dev-sis .container { padding: 28px 0; }
}

/* Hero da página EAD (index) - combina com os heros dos cursos */
.courses-ead-hero {
    background: linear-gradient(135deg, #0b1220 0%, #16202b 60%);
    color: #ffffff;
    padding: 60px 0; /* reduzido para evitar espaço extra abaixo do cabeçalho fixo */
    text-align: center;
}
.courses-ead-hero h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
}
.courses-ead-hero p {
    color: #cbd5e1;
    font-size: 1.02rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .courses-ead-hero { padding: 60px 0; }
    .courses-ead-hero .container { padding: 28px 0; }
    .courses-ead-hero h1 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .curso-hero-dev-sis .container { padding: 44px 0; }
    .curso-hero-dev-sis h1 { font-size: 1.6rem; }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* overlay neutro que melhora contraste do texto sem colorir a imagem */
    background-image: 
        radial-gradient(circle at 50% 45%, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.0) 80%),
        linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.5) 100%);
    background-blend-mode: overlay, normal;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.slide-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 0.6px rgba(0,0,0,0.45);
}

.slide-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
    -webkit-text-stroke: 0.3px rgba(0,0,0,0.35);
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #2563eb;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Controles do Carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 4;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #facc15; /* amarelo minimalista */
    box-shadow: 0 0 0 2px #22c55e33; /* verde suave */
}

/* Seções Gerais */
section {
    padding: 80px 0;
    background: #f6f8fa; /* cor de fundo bem suave para todas as seções */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Seção Sobre */
.about-section {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.about-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.about-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.about-info p {
    color: #6b7280;
    line-height: 1.7;
}

.about-stats {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* Seção de Depoimentos */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2px;
}

/* Seção de Vídeos */
.videos-section {
    background: #f8fafc;
}

.videos-grid {
    display: grid;
    /* Layout: main video large on the left, two smaller stacked on the right */
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 600px;
}

.main-video {
    grid-row: 1 / 3;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.main-video .video-thumbnail {
    height: 400px;
}

.video-card:not(.main-video) .video-thumbnail {
    height: 200px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: #2563eb;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.video-info p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.video-duration {
    background: #e5e7eb;
    color: #4b5563;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Seção de Contato */
.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.contact-details p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Seção do Mapa */

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px 16px 0 0;
}

/* Rodapé */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer-logo-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: -5px;
}

.footer-logo-text p {
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #d1d5db;
}

.footer-contact i {
    width: 20px;
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #facc15;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* MENU CASCATA DE CURSOS */
.nav-cursos {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,0.13);
    border-radius: 8px;
    min-width: 200px;
    z-index: 100;
    padding: 10px 0;
}

.nav-cursos:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    position: relative;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.dropdown-link:hover {
    background: #f6f8fa;
}

.dropdown-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,0.13);
    border-radius: 8px;
    min-width: 200px;
    z-index: 101;
    padding: 10px 0;
}

.dropdown-item:hover .dropdown-submenu {
    display: block;
}

.dropdown-submenu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-submenu li a:hover {
    background: #f6f8fa;
    color: #2563eb;
}

/* Responsividade */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .main-video {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        position: fixed;
        left: -100%;
        top: 80px;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .slide-text h2 {
        font-size: 2.5rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .main-video {
        grid-column: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .carousel-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Estados de hover e foco melhorados */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #2563eb;
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

/* Melhorias de acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Estados de foco para acessibilidade */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Transições suaves para todos os elementos interativos */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ajuste do padding-top em telas menores quando o cabeçalho ocupa menos altura */
@media (max-width: 768px) {
    body { padding-top: 88px; }
    .hero-carousel { margin-top: -88px; }
}

