/* =========================================
   VARIÁVEIS E CORES PREMIUM
========================================= */
:root {
    --primary-color: #059669;    
    --hover-color: #047857;
    --accent-gold: #c8a96a;      
    --dark-bg: #0f0f0f;          
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-dark); line-height: 1.6; }

/* =========================================
   CABEÇALHO (HEADER COMPLETO)
========================================= */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: var(--white); position: sticky; top: 0; z-index: 1000; transition: 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
header.header-scrolled { padding: 12px 5%; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--primary-color); line-height: 1; text-decoration: none;}
.logo span { display: block; font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }
nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: 0.3s; }
nav a:hover { color: var(--primary-color); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions i { font-size: 1.2rem; color: var(--text-dark); cursor: pointer; transition: 0.3s; }
.header-actions i:hover { color: var(--primary-color); }
.btn-aluno { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 20px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; }
.btn-aluno:hover { background: var(--primary-color); color: var(--white); }

/* =========================================
   HERO E IMPACTO
========================================= */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 60px 5%; background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%); min-height: 70vh; }
.hero-text { flex: 1; padding-right: 50px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-text p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 35px; }
.btn-cta { background: var(--primary-color); color: var(--white); padding: 16px 32px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2); transition: 0.3s; display: inline-block; }
.btn-cta:hover { transform: translateY(-3px); background: var(--hover-color); }
.hero-image { flex: 1; text-align: right; }
.hero-image img { width: 100%; max-width: 600px; border-radius: 30px; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }

.impacto { padding: 100px 5%; background: var(--primary-color); color: var(--white); }
.impacto-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.impacto-texto { flex: 1; }
.impacto-texto h2 { font-size: 2.8rem; margin-bottom: 25px; line-height: 1.2; }
.impacto-img { flex: 1; }
.impacto-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.lista-check li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; }

/* =========================================
   QUEM SOMOS (NOVO FORMATO) E MVV
========================================= */
.sobre { padding: 80px 5%; background: var(--white); }
.sobre-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.sobre h2 { font-size: 2.5rem; margin-bottom: 40px; font-weight: 800; }

.sobre-texto-formatado {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: justify;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-texto-formatado p {
    margin-bottom: 20px;
}

.sobre-texto-formatado .lead {
    font-size: 1.25rem;
    color: var(--dark-bg);
    font-weight: 600;
    text-align: center;
    margin-bottom: 35px;
}

.sobre-texto-formatado .highlight {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 40px;
}

.grid-mvv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-mvv { background: var(--bg-light); padding: 40px; border-radius: 20px; transition: 0.3s; border-top: 5px solid var(--accent-gold); text-align: center; }
.card-mvv:hover { transform: translateY(-10px); background: var(--white); box-shadow: var(--shadow-sm); }
.card-mvv i { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 20px; }
.card-mvv h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark-bg); }

/* =========================================
   CATEGORIAS (CARDS REDUZIDOS)
========================================= */
.secao-categorias { padding: 80px 5%; background: var(--bg-light); }
.titulo-modulo { text-align: center; font-size: 2.2rem; margin-bottom: 50px; font-weight: 800; }
.grid-categorias { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.card-categoria { position: relative; height: 160px; border-radius: 15px; overflow: hidden; cursor: pointer; }
.card-categoria img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.mask-categoria { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.mask-categoria h3 { color: #fff; font-size: 1.2rem; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.card-categoria:hover img { transform: scale(1.1); }
.card-categoria:hover .mask-categoria { background: rgba(5, 150, 105, 0.7); }

/* =========================================
   VITRINES DE CURSOS (NOVO LAYOUT)
========================================= */
.cursos { padding: 80px 5%; }
.grid-cursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.card-curso { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: 0.4s; display: flex; flex-direction: column; position: relative; }
.card-curso:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.img-curso { width: 100%; height: 180px; object-fit: cover; transition: 0.5s; }
.card-curso:hover .img-curso { transform: scale(1.05); }

.badge-promocao { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 8px; color: #fff; font-weight: 800; font-size: 0.7rem; z-index: 5; text-transform: uppercase; background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(4px); }

.info-curso { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.info-curso h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; color: var(--dark-bg); }
.info-curso p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.preco-container { margin-bottom: 15px; display: flex; flex-direction: column; }
.preco-original { text-decoration: line-through; color: #9ca3af; font-size: 0.8rem; }
.preco-final { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); }

.botoes-acao { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-saiba { padding: 10px; border-radius: 8px; text-decoration: none; font-size: 0.85rem; font-weight: 600; text-align: center; background: #f1f5f9; color: var(--text-dark); transition: 0.3s; }
.btn-saiba:hover { background: #e2e8f0; }
.btn-comprar { padding: 10px; border-radius: 8px; text-decoration: none; font-size: 0.85rem; font-weight: 700; text-align: center; background: var(--primary-color); color: #fff; transition: 0.3s; box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2); }
.btn-comprar:hover { background: var(--hover-color); transform: scale(1.02); }

/* =========================================
   DEPOIMENTOS
========================================= */
.depoimentos { padding: 80px 5%; background: var(--bg-light); }
.depoimentos h2 { text-align: center; font-size: 2.2rem; margin-bottom: 50px; font-weight: 800; color: var(--dark-bg); }
.grid-depoimentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.card-depoimento { background: var(--white); padding: 35px; border-radius: 20px; box-shadow: var(--shadow-sm); border-bottom: 5px solid var(--primary-color); transition: 0.3s; }
.card-depoimento:hover { transform: translateY(-5px); }
.card-depoimento p { font-size: 1.05rem; color: var(--text-light); font-style: italic; margin-bottom: 25px; }
.autor { display: flex; align-items: center; gap: 15px; border-top: 1px solid #e2e8f0; padding-top: 20px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.autor-info strong { display: block; font-size: 1.1rem; color: var(--dark-bg); }
.autor-info span { font-size: 0.85rem; color: var(--primary-color); font-weight: 600; }

/* =========================================
   RODAPÉ E EXTRAS
========================================= */
footer { background: var(--dark-bg); color: #9ca3af; padding: 80px 5% 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-logo { color: var(--white); font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.footer-links h4 { color: var(--white); margin-bottom: 25px; font-size: 1.1rem; }
.footer-links a { display: block; color: #9ca3af; text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary-color); }
.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 40px 0; }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.social-icons i { font-size: 1.5rem; margin-left: 20px; cursor: pointer; transition: 0.3s; }
.social-icons i:hover { color: var(--accent-gold); }

/* Botão WhatsApp Flutuante */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 9999; text-decoration: none; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe57; }

/* =========================================
   PÁGINA DO CURSO (curso.php)
========================================= */
.curso-hero { background: var(--dark-bg); color: #fff; padding: 60px 5%; text-align: left; }
.curso-hero-content { max-width: 1200px; margin: 0 auto; }
.curso-badge { display: inline-block; background: var(--primary-color); color: #fff; padding: 6px 14px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 20px; }
.curso-hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; line-height: 1.2; }
.curso-hero p { font-size: 1.1rem; color: #9ca3af; max-width: 800px; line-height: 1.6; }
.curso-main { padding: 60px 5%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.curso-conteudo { background: #fff; padding: 40px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; }
.curso-conteudo h2 { font-size: 1.8rem; color: var(--dark-bg); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #f1f5f9; }
.curso-descricao { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); white-space: pre-wrap; }
.curso-sidebar { background: #fff; padding: 30px; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid #e2e8f0; position: sticky; top: 100px; text-align: center; }
.curso-sidebar img { width: 100%; border-radius: 12px; margin-bottom: 25px; object-fit: cover; border: 1px solid #f1f5f9; }
.curso-preco-box { margin-bottom: 25px; }
.curso-preco-original { text-decoration: line-through; color: #9ca3af; font-size: 1.1rem; display: block; margin-bottom: 5px; }
.curso-preco-final { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); display: block; line-height: 1; }
.btn-comprar-grande { display: block; width: 100%; background: var(--primary-color); color: #fff; text-decoration: none; padding: 18px; border-radius: 10px; font-weight: 800; font-size: 1.2rem; transition: 0.3s; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); }
.btn-comprar-grande:hover { background: var(--hover-color); transform: translateY(-3px); }
.curso-garantia { margin-top: 20px; font-size: 0.9rem; color: #64748b; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }

/* =========================================
   PÁGINA CATÁLOGO COMPLETO (cursos.php)
========================================= */
.catalogo-container { max-width: 1200px; margin: 50px auto; padding: 0 5%; display: flex; gap: 40px; align-items: start; }
.sidebar-categorias { width: 280px; flex-shrink: 0; background: #ffffff; border-radius: 16px; padding: 25px 0; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: sticky; top: 100px; }
.sidebar-categorias h3 { padding: 0 25px 20px; margin-top: 0; color: #1e293b; border-bottom: 2px solid #f1f5f9; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.sidebar-categorias a { display: block; padding: 14px 25px; color: #64748b; text-decoration: none; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid #f1f5f9; transition: all 0.3s ease; }
.sidebar-categorias a:last-child { border-bottom: none; }
.sidebar-categorias a:hover { background: #f8fafc; color: #059669; padding-left: 30px; }
.sidebar-categorias a.ativo { background: #ecfdf5; color: #059669; border-left: 4px solid #059669; font-weight: 700; }
.conteudo-cursos { flex-grow: 1; background: #ffffff; padding: 30px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.conteudo-cursos h1 { font-size: 2rem; color: #1e293b; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #f1f5f9; }
.grid-catalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; }

/* =========================================
   RESPONSIVIDADE (CELULARES E TABLETS)
========================================= */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-text { padding-right: 0; margin-bottom: 40px; }
    header nav { display: none; }
    .impacto-container { flex-direction: column; text-align: center; }
    
    /* Telas internas */
    .curso-main { grid-template-columns: 1fr; }
    .catalogo-container { flex-direction: column; }
    .sidebar-categorias { width: 100%; position: relative; top: 0; }
}