body.login-bg {
    background: #f0f4f8 !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: center;
    border: 1px solid #f1f5f9;
}
.logo-login {
    width: 90px;
    margin-bottom: 1.2rem;
}
h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    color: #334155;
    outline: none;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="password"]:focus {
    border-color: #3b82f6;
}
button[type="submit"] {
    width: 100%;
    padding: 0.8rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
button[type="submit"]:hover {
    background: #2563eb;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}
.erro-login {
    color: #fff;
    background: #ef4444;
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.98rem;
}
@media (max-width: 500px) {
    .login-container {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 95vw;
    }
    .logo-login {
        width: 70px;
    }
}
/* --- HOME PAGE --- */
body.home-bg {
    background: #f0f4f8 !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.header-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem 0.5rem 2rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(148, 163, 184, 0.1);
    border-bottom: 1px solid #f1f5f9;
}
.logo-home {
    width: 60px;
}
.user-info {
    color: #64748b;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.logout-btn {
    background: #fff;
    color: #ef4444;
    border: 1px solid #fee2e2;
    padding: 0.4rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.logout-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}
.main-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 70vh;
    padding: 2.5rem 1rem 1rem 1rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #f1f5f9;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.15);
    border-color: #cbd5e1;
}
.card h3 {
    margin: 0 0 0.7rem 0;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
}
.card p {
    color: #64748b;
    font-size: 1.05rem;
}
.admin-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.admin-card:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
@media (max-width: 700px) {
    .main-cards {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .header-home {
        flex-direction: column;
        gap: 0.7rem;
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    .logo-home {
        width: 45px;
    }
    .card-grid {
        gap: 1rem;
    }
    .card {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}
/* --- CADASTRO USUÁRIO --- */
.main-cadastro {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 70vh;
    padding: 2.5rem 1rem 1rem 1rem;
}
.cadastro-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(10,35,66,0.10);
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}
.form-cadastro input,
.form-cadastro select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #274690;
    border-radius: 8px;
    font-size: 1rem;
    background: #f4f8fb;
    color: #0a2342;
    display: block;
}
@media (max-width: 700px) {
    .form-cadastro input,
    .form-cadastro select {
        font-size: 0.98rem;
        padding: 0.7rem;
    }
}
.form-cadastro button[type="submit"] {
    width: 100%;
    padding: 0.8rem;
    background: #274690;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.form-cadastro button[type="submit"]:hover {
    background: #142850;
}
.sucesso {
    color: #fff;
    background: #27ae60;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.erro {
    color: #fff;
    background: #c0392b;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
}
@media (max-width: 700px) {
    .main-cadastro {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .cadastro-container {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        max-width: 95vw;
    }
}
/* --- AULAS --- */
.main-aulas {
    padding: 2.5rem 1rem 1rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.titulo-aulas {
    color: #111827;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}
.aulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.aula-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    padding: 1.2rem 1rem 1.5rem 1rem;
    text-align: center;
    color: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.aula-card h3 {
    color: #111827;
    margin: 0.7rem 0 0.3rem 0;
    font-size: 1.15rem;
    font-weight: 600;
}
.aula-card p {
    color: #4b5563;
    font-size: 1rem;
}
@media (max-width: 700px) {
    .main-aulas {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .aulas-grid {
        gap: 1rem;
    }
    .aula-card {
        padding: 0.7rem 0.2rem 1rem 0.2rem;
    }
}
/* --- DOCUMENTOS --- */
.main-documentos {
    padding: 2.5rem 1rem 1rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.material-apoio-header {
    text-align: center;
    margin-bottom: 3rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.material-apoio-title {
    color: #111827;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.material-apoio-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

.documento-secao {
    margin-bottom: 3rem;
}

.documento-secao-title {
    color: #111827;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.documento-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.documento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.15);
}

/* E-book Card */
.ebook-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ebook-image {
    flex-shrink: 0;
}

.capa-livro {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.2);
}

.ebook-info {
    flex: 1;
    text-align: center;
}

.ebook-title {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Fórmula Card */
 .formula-content {
     display: flex;
     align-items: center;
     gap: 2rem;
 }
 
 .formula-image {
     flex-shrink: 0;
 }
 
 .capa-formula {
     width: 120px;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 4px 15px rgba(148, 163, 184, 0.2);
 }
 
 .formula-info {
     flex: 1;
     text-align: center;
 }
 
.formula-title {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Botão Download */
.btn-download {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.btn-download:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}

@media (max-width: 768px) {
    .main-documentos {
        padding: 1.5rem 0.5rem;
    }
    
    .material-apoio-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .material-apoio-title {
        font-size: 1.8rem;
    }
    
    .documento-card {
        padding: 1.5rem;
    }
    
    .ebook-content,
     .formula-content {
         flex-direction: column;
         text-align: center;
         gap: 1.5rem;
     }
     
     .capa-livro,
     .capa-formula {
         width: 100px;
     }
    
    .documento-secao-title {
        font-size: 1.5rem;
    }
    
    .ebook-title,
    .formula-title {
        font-size: 1.1rem;
    }
}
/* --- INFO (Comece por Aqui) --- */
.main-info {
    padding: 2.5rem 1rem 1rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.titulo-info {
    color: #111827;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.info-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    padding: 1.2rem 1rem 1.5rem 1rem;
    text-align: center;
    color: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.info-card h3 {
    color: #111827;
    margin: 0.7rem 0 0.3rem 0;
    font-size: 1.15rem;
    font-weight: 600;
}
.info-card p {
    color: #4b5563;
    font-size: 1rem;
}
@media (max-width: 700px) {
    .main-info {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .info-cards-grid {
        gap: 1rem;
    }
    .info-card {
        padding: 0.7rem 0.2rem 1rem 0.2rem;
    }
} 
/* --- LOGIN MODERNO --- */
body.login-bg-modern {
    background: #f3f4f6 !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container-modern {
    background: #ffffff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(15,23,42,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e2e8f0;
}
.login-container-modern h1 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.login-container-modern h3 {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
}
.login-container-modern form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.5rem;
}
.login-container-modern label {
    color: #475569;
    text-align: left;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 500;
}
.login-container-modern input[type="password"] {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1.08rem;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.login-container-modern input[type="password"]:focus {
    border: 1.5px solid #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.login-container-modern button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.2rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.login-container-modern button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.frase-inspiradora {
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 1.8rem;
    margin-bottom: 0.5rem;
}
.frase-inspiradora .autor {
    display: block;
    color: #475569;
    font-size: 0.98rem;
    margin-top: 0.3rem;
    font-style: italic;
}
@media (max-width: 500px) {
    .login-container-modern {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 95vw;
    }
    .login-container-modern h1 {
        font-size: 2rem;
    }
} 
/* --- AULAS MODERNO --- */
.titulo-aulas-modern {
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 1.5rem 0 0.2rem 0;
    text-align: center;
}
.subtitulo-aulas {
    color: #334155;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.desc-aulas {
    color: #64748b;
    text-align: center;
    margin-bottom: 2.2rem;
    font-size: 1.1rem;
}
.voltar-link {
    color: #64748b;
    text-decoration: none;
    font-size: 1.1rem;
    margin-left: 1.2rem;
    margin-top: 1.2rem;
    display: inline-block;
    font-weight: 500;
}
.voltar-link:hover {
    color: #1e293b;
    text-decoration: underline;
}
.main-aulas-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem 1rem;
}
.aulas-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
    margin-top: 2.5rem;
}
.aula-card-modern {
    background: #ffffff;
    color: #334155;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    padding: 28px 22px 18px 22px;
    margin: 0 10px 30px 10px;
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s;
    border: 1px solid #f1f5f9;
}
.aula-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.15);
    border-color: #e2e8f0;
}
.aula-card-modern h4 {
    color: #1e293b;
    font-weight: 700;
    margin: 18px 0 8px 0;
}
.aula-card-modern p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 18px;
}
.aula-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.duracao {
    color: #3b82f6;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}
.btn-assistir {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.btn-assistir:hover {
    background: #2563eb;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}
.home-card-icon-better svg {
    filter: none;
}
@media (max-width: 700px) {
    .aulas-cards-grid {
        gap: 1.1rem;
    }
    .aula-card-modern {
        min-width: 90vw;
        max-width: 100vw;
        padding: 18px 8px 14px 8px;
        margin: 0 0 18px 0;
    }
} 
/* --- AULA DETALHE --- */
.main-aula-detalhe {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem 2rem 1rem;
}
.aula-detalhe-container {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.aula-detalhe-img {
    flex: 0 0 320px;
    max-width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    background: #ffffff;
}
.aula-detalhe-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.aula-detalhe-info {
    flex: 1;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-content: center;
}
.aula-detalhe-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}
.aula-detalhe-info .duracao {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.aula-detalhe-info p {
    color: #475569;
    font-size: 1.08rem;
    margin: 0;
}
.aula-detalhe-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.aula-detalhe-video iframe {
    width: 100%;
    min-height: 380px;
    border: none;
    display: block;
}
@media (max-width: 900px) {
    .aula-detalhe-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .aula-detalhe-img {
        max-width: 100%;
    }
    .aula-detalhe-img img {
        height: 180px;
    }
}
@media (max-width: 600px) {
    .main-aula-detalhe {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .aula-detalhe-video iframe {
        min-height: 200px;
    }
    .aula-detalhe-info h2 {
        font-size: 1.3rem;
    }
} 
/* --- AULA VÍDEO ÚNICO --- */
body.aula-video-bg {
    background: #f0f4f8 !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.header-slim-title {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex: 1;
    line-height: 1.2;
}
.header-slim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 2rem;
}
.voltar-link-slim {
    color: #64748b;
    text-decoration: none;
    font-size: 1.08rem;
    margin-left: 0;
    font-weight: 500;
    padding: 0.3rem 0.9rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.voltar-link-slim:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.main-video-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2.5rem 1rem 1rem 1rem;
}
.video-only-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f1f5f9;
}
.video-only-container iframe {
    width: 100%;
    min-height: 420px;
    border: none;
    display: block;
}
@media (max-width: 900px) {
    .video-only-container {
        max-width: 100vw;
    }
    .video-only-container iframe {
        min-height: 220px;
    }
    .voltar-link-slim {
        margin-left: 0.7rem;
    }
}
@media (max-width: 600px) {
    .header-slim-title {
        font-size: 1rem;
    }
    .header-slim {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }
}
/* --- Ajuste input login moderno --- */
.login-container-modern input[type="password"] {
    box-sizing: border-box;
    max-width: 100%;
} 
.header-slim-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex: 1;
}
.logo-slim {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}
@media (max-width: 600px) {
    .logo-slim {
        width: 28px;
        height: 28px;
    }
    .header-slim-center {
        gap: 0.4rem;
    }
} 
.logo-login-discreto {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.4rem auto;
    opacity: 0.95;
} 
/* --- NOVA PALETA PASTEL E LAYOUT AREJADO --- */
body, .home-bg, .login-bg-modern, .aula-video-bg {
    background: #f0f4f8 !important; /* Cool gray/blue tone */
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #334155;
}
.header-central {
    width: 100%;
    background: #ffffff;
    padding: 2.2rem 0 1.2rem 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-bottom: 1px solid #e2e8f0;
}
.header-central-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.logo-central {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.7rem;
    opacity: 1;
}
.header-central-title {
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    text-align: center;
    letter-spacing: -0.01em;
}
.header-central-sub {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0;
    text-align: center;
}
.voltar-btn-central, .logout-btn-central {
    position: absolute;
    top: 1.2rem;
    left: 2rem;
    background: none;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    z-index: 2;
}
.logout-btn-central {
    left: auto;
    right: 2rem;
    color: #ef4444;
    border-color: #fee2e2;
    background: #fef2f2;
}
.voltar-btn-central:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}
.logout-btn-central:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}
.main-home-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}
.bemvindo-title {
    text-align: center !important;
    margin: 0 auto 0.5rem auto !important;
    width: 100%;
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #1e293b;
}
.bemvindo-sub {
    text-align: center !important;
    margin: 0 auto 2.5rem auto !important;
    width: 100%;
    display: block;
}
.bemvindo-centralizado {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2.5rem;
}
.home-cards-2x2 {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}
.home-cards-row {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    width: 100%;
    justify-content: center;
}
.home-card-better {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.7rem 1.7rem 1.7rem;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s;
    position: relative;
    min-height: 260px;
    max-width: 340px;
    width: 100%;
}
.home-card-better:hover:not(.home-card-disabled) {
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.15);
    border: 1px solid #cbd5e1;
    transform: translateY(-4px);
    z-index: 1;
}
.home-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
}
.home-card-icon-better {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: #3b82f6;
    background: #eff6ff;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.home-card-better h3 {
    color: #1e293b;
    font-size: 1.22rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    text-align: center;
}
.home-card-better p {
    color: #64748b;
    font-size: 1.05rem;
    margin: 0 0 1.1rem 0;
    text-align: center;
}
.home-card-badge {
    display: inline-block;
    background: #eff6ff;
    color: #4f46e5;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
    margin-top: auto;
}
.home-card-badge-breve {
    background: #f1f5f9;
    color: #94a3b8;
    box-shadow: none;
}
.home-footer {
    width: 100%;
    margin-top: 2.5rem;
    padding: 2.2rem 0 1.2rem 0;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}
.frase-inspiradora-home {
    color: #94a3b8;
    font-size: 1.08rem;
}
.frase-inspiradora-home .autor {
    display: block;
    color: #64748b;
    font-size: 0.98rem;
    margin-top: 0.3rem;
}
}
@media (max-width: 900px) {
    .home-cards-2x2 {
        max-width: 98vw;
        gap: 1.3rem;
    }
    .home-cards-row {
        gap: 1.3rem;
    }
}
@media (max-width: 700px) {
    .main-home-modern {
        padding: 1.2rem 0.2rem 0 0.2rem;
    }
    .bemvindo-title, .bemvindo-sub {
        text-align: center;
    }
    .home-cards-row {
        flex-direction: column;
        gap: 1.1rem;
        align-items: stretch;
    }
    .home-cards-2x2 {
        gap: 1.1rem;
    }
    .home-card-better {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: 180px;
        max-width: 95vw;
    }
    .home-card-icon-better {
        font-size: 1.7rem;
        width: 38px;
        height: 38px;
        margin-bottom: 0.7rem;
    }
}
.admin-link-cadastro {
    width: 100%;
    text-align: center !important;
    margin-bottom: 1.5rem;
}
.admin-link-cadastro a {
    color: #3b82f6;
    background: #eff6ff;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s;
    border: 1px solid #dbeafe;
}
.admin-link-cadastro a:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
} 
.aula-img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    margin-bottom: 0.7rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
.aula-img-wrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 14px 14px 0 0;
    display: block;
}

.thumb-placeholder {
    color: #64748b;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    padding: 1rem;
}
@media (max-width: 700px) {
    .aula-img-wrap img {
        height: auto;
        min-height: 80px;
    }
}

/* Estilos para Exercícios Espirituais */
.main-exercicios {
    background: #f0f4f8;
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.header-exercicios {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
    padding: 2rem 0;
}

.header-exercicios .logo {
    width: 80px;
    margin-bottom: 1rem;
}

.header-exercicios h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1e293b;
}

.header-exercicios .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
}

.exercicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.exercicio-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.exercicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.15);
    border-color: #cbd5e1;
}

.card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.25);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
}

.card-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
}

.card-content p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-content li {
    color: #64748b;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-exercicio {
    display: block;
    width: fit-content;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-exercicio:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.back-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-back {
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(148, 163, 184, 0.1);
}

.btn-back:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
}

@media (max-width: 768px) {
    .header-exercicios h1 {
        font-size: 2rem;
    }
    
    .exercicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .main-exercicios {
        padding: 1rem;
    }
}

/* Estilos para páginas individuais dos exercícios */
.exercicio-bg {
    background: #f0f4f8;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 1rem;
}

.exercicio-container {
    max-width: 800px;
    margin: 0 auto;
}

.exercicio-header {
    text-align: center;
    color: #1e293b;
    margin-bottom: 2rem;
}

.exercicio-header .logo {
    width: 60px;
    margin-bottom: 1rem;
}

.exercicio-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1e293b;
    text-shadow: none;
}

.exercicio-subtitle {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 400;
    margin: 0;
    opacity: 1;
}

.exercicio-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.step h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.step p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.oracao {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    font-style: italic;
    line-height: 1.8;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
}

.exercicio-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
    gap: 1rem;
}

.btn-nav {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #6c757d;
    color: white;
    max-width: 120px;
    flex: 0 0 auto;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-nav:disabled {
    background: #495057;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-nav:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #274690 0%, #3a4ba8 100%) !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a4ba8 0%, #274690 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 131, 253, 0.4);
}

.exercicio-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exercicio-footer .btn-back {
    background: linear-gradient(135deg, #274690 0%, #3a4ba8 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.exercicio-footer .btn-back:hover {
    background: linear-gradient(135deg, #3a4ba8 0%, #274690 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 70, 144, 0.4);
    text-decoration: none;
    color: white;
}

.btn-final-exercicio {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 1rem 0.5rem;
}

.btn-final-exercicio:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

@media (max-width: 768px) {
    .exercicio-header h1 {
        font-size: 1.8rem;
    }
    
    .exercicio-content {
        padding: 1.5rem;
    }
    
    .exercicio-navigation {
        flex-direction: column;
    }
    
    .btn-nav {
        width: 100%;
    }
}

/* ===== LANDING PAGE STYLES ===== */
.landing-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
}

/* Navigation Bar */
.landing-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
}

.btn-login {
    background: linear-gradient(135deg, #7c83fd 0%, #4f46e5 100%);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(124, 131, 253, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Hero Header - Logo centralizado */
.hero-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-header::after {
    display: none; /* Remove a transição de luz lateral */
}



.hero-logo-center {
    max-width: 600px;
    margin: 0 auto;
}

.logo-hero-main {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(124, 131, 253, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.logo-hero-main:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(124, 131, 253, 0.5));
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    color: #1e293b;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

.hero-subtitle-main {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
    color: #475569;
    line-height: 1.4;
    opacity: 1;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

/* Elementos geométricos interativos */
.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.3) 30%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: starTwinkle 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.1);
}

/* Estrelas de diferentes tamanhos */
.shape-1 {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.shape-2 {
    width: 6px;
    height: 6px;
    top: 20%;
    right: 10%;
    animation-delay: -1s;
    animation-duration: 4s;
}

.shape-3 {
    width: 4px;
    height: 4px;
    bottom: 30%;
    left: 15%;
    animation-delay: -2s;
    animation-duration: 3.5s;
}

.shape-4 {
    width: 10px;
    height: 10px;
    top: 60%;
    right: 5%;
    animation-delay: -0.5s;
    animation-duration: 5s;
}

.shape-5 {
    width: 5px;
    height: 5px;
    top: 40%;
    left: 50%;
    animation-delay: -1.5s;
    animation-duration: 3.2s;
}

.shape-6 {
    width: 7px;
    height: 7px;
    bottom: 10%;
    right: 30%;
    animation-delay: -2.5s;
    animation-duration: 4.5s;
}

.shape-7 {
    width: 9px;
    height: 9px;
    top: 5%;
    left: 70%;
    animation-delay: -1.2s;
    animation-duration: 3.8s;
}

.shape-8 {
    width: 6px;
    height: 6px;
    bottom: 50%;
    left: 80%;
    animation-delay: -2.2s;
    animation-duration: 4.2s;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Partículas flutuantes */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
    border-radius: 50%;
    animation: starDrift 25s linear infinite;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.6);
}

.particle-1 {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle-2 {
    left: 25%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.particle-3 {
    left: 50%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.particle-4 {
    left: 70%;
    animation-delay: -15s;
    animation-duration: 16s;
}

.particle-5 {
    left: 85%;
    animation-delay: -8s;
    animation-duration: 24s;
}

.particle-6 {
    left: 35%;
    animation-delay: -12s;
    animation-duration: 19s;
}

@keyframes starDrift {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
        transform: translateY(95vh) translateX(10px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) translateX(-5px) scale(1.1);
    }
    95% {
        opacity: 0.6;
        transform: translateY(5vh) translateX(15px) scale(0.8);
    }
    100% {
        transform: translateY(-10vh) translateX(0px) scale(0);
        opacity: 0;
    }
}

/* Responsividade para elementos geométricos */
@media (max-width: 768px) {
    /* Manter o geometric-background visível para mostrar as estrelas */
    .geometric-background {
        display: block;
    }
    
    /* Estrelas mais visíveis no mobile */
    .floating-shape {
        width: 5px !important;
        height: 5px !important;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.5), 0 0 16px rgba(59, 130, 246, 0.3), 0 0 24px rgba(59, 130, 246, 0.1);
        animation-duration: 2s !important; /* Animação mais rápida para chamar atenção */
    }
    
    .particles-container .particle {
        width: 3px;
        height: 3px;
        box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
    }
    
    .hero-title-main {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle-main {
        font-size: 1.2rem;
    }
    
    .logo-hero-main {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    /* Manter partículas visíveis mas menores */
    .particles-container .particle {
        width: 1.5px;
        height: 1.5px;
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
    }
    
    .hero-header {
        padding: 2rem 1rem 1.5rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle-main {
        font-size: 1rem;
    }
    
    .logo-hero-main {
        width: 100px;
        height: 100px;
    }
}

/* Melhorias de performance e interatividade */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .particle {
        animation: none;
    }
    
    .geometric-background,
    .particles-container {
        display: none;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-content {
    color: #274690;
}

.hero-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-hero {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 1rem 0;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    opacity: 0.9;
    line-height: 1.6;
    color: #5a6b8a;
}

.hero-quote {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 4px solid #7c83fd;
    box-shadow: 0 4px 15px rgba(39, 70, 144, 0.1);
    backdrop-filter: blur(10px);
}

.hero-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #274690;
}

.hero-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    color: #5a6b8a;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-whatsapp-primary {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* Hero Visual */
.hero-image {
    position: relative;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(39, 70, 144, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(39, 70, 144, 0.1);
    animation: float 6s ease-in-out infinite;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 131, 253, 0.1), transparent);
    transition: left 0.6s ease;
}

.floating-card:hover::before {
    left: 100%;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 70, 144, 0.25);
    border-color: rgba(124, 131, 253, 0.3);
}

.floating-card:nth-child(1) {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 120px;
    right: 20px;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20px;
    left: 50px;
    animation-delay: 4s;
}

.floating-card h3 {
    color: #274690;
    margin: 0 0 0.8rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.floating-card p {
    color: #5a6b8a;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    color: #274690;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.quote-box {
    background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 4px solid #7c83fd;
}

.quote-box blockquote {
    margin: 0;
    font-style: italic;
    color: #274690;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-box cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #555;
}

.platform-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-screen {
    background: #274690;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(39, 70, 144, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
}

.preview-header {
    height: 40px;
    background: linear-gradient(90deg, #7c83fd, #a78bfa);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-card {
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.preview-card:nth-child(2) {
    animation-delay: 0.5s;
}

.preview-card:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23274690" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(39, 70, 144, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #274690, #7c83fd, #274690);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 131, 253, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 70, 144, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(124, 131, 253, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #274690 0%, #7c83fd 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(39, 70, 144, 0.2);
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    z-index: 1;
}

.feature-icon::after {
    content: attr(data-icon);
    position: relative;
    z-index: 2;
    font-size: 2rem;
    background: linear-gradient(135deg, #274690 0%, #7c83fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(39, 70, 144, 0.3);
}

.feature-card h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.feature-card p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
}

.feature-quote {
    background: linear-gradient(135deg, rgba(39, 70, 144, 0.05) 0%, rgba(124, 131, 253, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 16px;
    font-style: italic;
    color: #274690;
    font-size: 1rem;
    border: 1px solid rgba(39, 70, 144, 0.1);
    position: relative;
    font-weight: 500;
    line-height: 1.6;
}

.feature-quote::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 2rem;
    color: #7c83fd;
    background: #ffffff;
    padding: 0 8px;
    font-family: serif;
}

/* Responsive Design for Features */
@media (max-width: 768px) {
    .features-section {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon::after {
        font-size: 1.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-quote {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .feature-quote::before {
        font-size: 1.5rem;
        top: -6px;
        left: 12px;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 2rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon::after {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(39, 70, 144, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #7c83fd;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-card cite {
    color: #274690;
    font-weight: 600;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1a2e 0%, #16213e 25%, #1a2b4a 50%, #274690 75%, #2d5aa0 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Starry Background Elements for CTA Section */
.sacred-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sacred-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: ctaStarTwinkle 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.2);
}

.sacred-shape-1 {
    width: 6px;
    height: 6px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.sacred-shape-2 {
    width: 4px;
    height: 4px;
    top: 25%;
    right: 12%;
    animation-delay: -2s;
}

.sacred-shape-3 {
    width: 8px;
    height: 8px;
    bottom: 20%;
    left: 15%;
    animation-delay: -4s;
}

.sacred-shape-4 {
    width: 5px;
    height: 5px;
    top: 60%;
    right: 8%;
    animation-delay: -1s;
}

.sacred-shape-5 {
    width: 7px;
    height: 7px;
    top: 10%;
    right: 40%;
    animation-delay: -3s;
}

.sacred-shape-6 {
    width: 6px;
    height: 6px;
    bottom: 15%;
    right: 25%;
    animation-delay: -5s;
}

@keyframes ctaStarTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-quote {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 600px;
    border-left: 4px solid rgba(255,255,255,0.3);
}

.cta-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-whatsapp-large {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    margin-bottom: 1rem;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.cta-info {
    margin-top: 1rem;
}

.cta-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Sobre o Autor */
.author-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.author-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23274690" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.author-image {
    text-align: center;
    position: sticky;
    top: 100px;
}

.author-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 6px solid #274690;
    box-shadow: 0 20px 40px rgba(39, 70, 144, 0.2);
    transition: all 0.3s ease;
    image-rendering: auto;
    -webkit-image-rendering: auto;
    -moz-image-rendering: auto;
    -o-image-rendering: auto;
    image-rendering: smooth;
    -webkit-filter: none;
    filter: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.author-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(39, 70, 144, 0.3);
}

.author-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 400;
}

.author-text p:last-child {
    margin-bottom: 0;
}

.author-text p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #274690;
}

@media (max-width: 768px) {
    .author-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .author-image {
        position: static;
    }
    
    .author-photo {
        width: 200px;
        height: 200px;
    }
    
    .author-text {
        padding: 30px 20px;
    }
    
    .author-text p {
        text-align: left;
    }
}

/* Footer */
.footer {
    background: #0a2342;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-footer {
    width: 60px;
    height: 60px;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo p {
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-quote {
    text-align: right;
}

.footer-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-quote small {
    opacity: 0.7;
}

.footer-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    /* Ajustes para o título principal da landing page */
    .hero-title-main {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle-main {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-quote {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Ocultar elementos sagrados em dispositivos móveis */
    .sacred-background {
        display: block; /* Manter visível para mostrar estrelas da CTA */
    }
    
    /* Estrelas otimizadas para mobile */
    .floating-shape {
        width: 5px !important;
        height: 5px !important;
        box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.3);
        animation-duration: 2.5s !important;
    }
    
    .sacred-shape {
        width: 4px !important;
        height: 4px !important;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 255, 255, 0.5);
        animation-duration: 3s !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    /* Ajustes específicos para dispositivos muito pequenos */
    .hero-title-main {
        font-size: 2.2rem;
        letter-spacing: 1px;
        line-height: 1.1;
    }
    
    .hero-subtitle-main {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-header {
        padding: 2rem 1rem 1.5rem;
    }
    
    .logo-hero-main {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .btn-whatsapp-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-whatsapp-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    /* Ocultar partículas em dispositivos muito pequenos */
    .particles-container {
        display: none;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .sacred-shape,
    .particle {
        animation: none;
    }
    
    /* Manter backgrounds visíveis mesmo com movimento reduzido */
    .geometric-background,
    .sacred-background {
        display: block;
    }
}

/* ===== MENSAGEM DE AGUARDE STYLES ===== */
.mensagem-aguarde {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #f1f5f9;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.mensagem-aguarde::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mensagem-conteudo {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 2rem;
    max-width: 500px;
}

.mensagem-conteudo h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mensagem-conteudo p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.loading-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #4fd1c5, #7c83fd);
    border-radius: 50%;
    animation: loadingPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(79, 209, 197, 0.5);
}

.loading-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes loadingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsividade para mensagem de aguarde */
@media (max-width: 768px) {
    .mensagem-conteudo {
        padding: 1.5rem;
    }
    
    .mensagem-conteudo h2 {
        font-size: 1.5rem;
    }
    
    .mensagem-conteudo p {
        font-size: 1rem;
    }
}

/* ===== FIM LANDING PAGE STYLES ===== */
.main-modulos {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem 1rem;
}
.modulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.4rem;
    width: 100%;
    margin: 2rem auto 3rem auto;
}
.modulo-card {
    max-width: none;
    min-height: 240px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}
.modulo-card .home-card-icon-better {
    width: 72px;
    height: 72px;
    font-size: 2.2rem;
}
@media (max-width: 700px) {
    .main-modulos {
        padding: 1.2rem 0.5rem 2rem 0.5rem;
        max-width: 95vw;
    }
    .modulos-grid {
        gap: 1.2rem;
        grid-template-columns: 1fr;
    }
    .modulo-card {
        min-height: 220px;
        padding: 1.5rem 1rem 1rem 1rem;
    }
}

/* --- UPLOAD PROGRESS BAR --- */
.progress-container {
    width: 100%;
    background-color: #1e293b;
    border-radius: 8px;
    margin-top: 15px;
    display: none; /* Oculto por padrão */
    overflow: hidden;
    border: 1px solid #334155;
}

.progress-bar {
    width: 0%;
    height: 20px;
    background-color: #3b82f6;
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    transition: width 0.3s ease;
    animation: progress-stripe 1s linear infinite;
}

@keyframes progress-stripe {
    0% { background-position: 1rem 0; }
    100% { background-position: 0 0; }
}

.upload-status-text {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #cbd5e1;
    text-align: center;
}

/* --- CADASTRO DE USUÁRIO --- */
.main-cadastro {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 150px);
    align-items: flex-start;
}

.cadastro-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    width: 100%;
    max-width: 500px;
    border: 1px solid #e5e7eb;
}

.cadastro-container h2 {
    color: #111827;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.form-cadastro {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-cadastro input,
.form-cadastro select {
    width: 100%;
    padding: 0.9rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.form-cadastro input:focus,
.form-cadastro select:focus {
    border-color: #3b82f6;
}

.form-cadastro button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.form-cadastro button:hover {
    background: #1d4ed8;
}

.sucesso {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #34d399;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.erro {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #f87171;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 
   ==========================================================================
   LESSON MANAGEMENT STYLES (Scoped)
   ========================================================================== 
*/

.lesson-mgr-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 120px);
}

.lesson-mgr-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .lesson-mgr-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Cards --- */
.lesson-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.lesson-card h3 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Forms --- */
.lesson-form-group {
    margin-bottom: 1.2rem;
}

.lesson-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
}

.lesson-form-group input[type="text"],
.lesson-form-group input[type="file"],
.lesson-form-group select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #111827;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.lesson-form-group input:focus,
.lesson-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #1f2937;
    color: #ffffff;
}

.lesson-form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.lesson-btn {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.lesson-btn-primary {
    background: #3b82f6;
    color: white;
}
.lesson-btn-primary:hover { background: #2563eb; }

.lesson-btn-success {
    background: #10b981;
    color: white;
}
.lesson-btn-success:hover { background: #059669; }

/* --- Module List --- */
.lesson-module-tree {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lesson-module-item {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 10px;
    overflow: hidden;
}

.lesson-module-header {
    background: #1f2937;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
}

.lesson-module-title {
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lesson-module-title small {
    color: #6b7280;
    font-weight: 400;
}

.lesson-module-content {
    padding: 1rem;
}

.lesson-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.lesson-file-item:hover {
    border-color: #374151;
    background: rgba(255,255,255,0.05);
}

.lesson-file-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #d1d5db;
}

.lesson-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}
.lesson-badge-ok { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.lesson-badge-warn { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.lesson-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 4px;
}
.lesson-btn-icon:hover { opacity: 1; transform: scale(1.1); }

/* Progress Bar */
.lesson-progress-container {
    margin-top: 1rem;
    background: #374151;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    display: none;
}
.lesson-progress-bar {
    height: 100%;
    background: #3b82f6;
    width: 0%;
    transition: width 0.3s;
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.lesson-status-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
}

/* 
   ==========================================================================
   ADMIN BUTTONS HOME (MODERN)
   ========================================================================== 
*/
.admin-links-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.6);
    border-radius: 24px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.admin-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #9ca3af;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #374151;
    letter-spacing: 0.5px;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.admin-link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.admin-link-btn:hover::after {
    transform: translateX(100%);
}

.admin-link-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(39, 70, 144, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    border-color: #60a5fa;
}

.admin-link-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ícones via CSS */
.admin-link-btn[href*="cadastro"]::before {
    content: "👤";
    margin-right: 12px;
    font-size: 1.2rem;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.admin-link-btn[href*="upload"]::before {
    content: "🎬";
    margin-right: 12px;
    font-size: 1.2rem;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.admin-link-btn:hover::before {
    filter: grayscale(0%);
}
