/* ==========================================================================
   IAVE - SISTEMA DE MEMBROS (ESTILO APLICATIVO MOBILE & DESKTOP MAC DOCK)
   ========================================================================== */

/* ----------- :: IMPORTS & GOOGLE FONTS :: ----------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Gudea:wght@400;700&display=swap');

/* ----------- :: VARIÁVEIS DO TEMA IAVE :: ----------- */
:root {
    --iave-primary: #5EB344;
    --iave-primary-dark: #388E3C;
    --iave-primary-light: #edf7eb;
    --iave-primary-gradient: linear-gradient(135deg, #66bb46 0%, #388e3c 100%);
    --iave-accent-gold: #f59e0b;
    --iave-accent-gold-light: rgba(245, 158, 11, 0.12);
    --iave-dark: #1e293b;
    --iave-dark-soft: #334155;
    --iave-bg: #f4f7f5;
    --iave-card: #ffffff;
    --iave-text: #1e293b;
    --iave-text-muted: #64748b;
    --iave-border: #e2e8f0;
    --iave-danger: #ef4444;
    --iave-danger-light: rgba(239, 68, 68, 0.1);
    --iave-success: #10b981;
    --iave-radius: 20px;
    --iave-radius-sm: 14px;
    --iave-radius-pill: 50px;
    --iave-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --iave-shadow-lg: 0 20px 30px -10px rgba(94, 179, 68, 0.22);
    --iave-font-heading: 'Outfit', sans-serif;
    --iave-font-body: 'Inter', sans-serif;

    /* Compatibilidade com temas antigos */
    --primary: #5EB344;
    --secondary: #64748b;
    --border: #5EB344;
    --white: #ffffff;
    --gray: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
}

/* ----------- :: RESET & BASE :: ----------- */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--iave-font-body);
    background-color: var(--iave-bg);
    color: var(--iave-text);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================================================
   ESTILOS DA TELA DE LOGIN (PRESERVADA 100% CONFORME SOLICITADO)
   ========================================================================== */
body:has(.login) {
    perspective: 800px;
    background: linear-gradient(135deg, #8BC34A 0%, #eeeeee 100%);
    font-family: "Gudea", sans-serif;
}

.login,
.register {
    opacity: 1;
    top: 20px;
    -webkit-transition-timing-function: cubic-bezier(0.68, -0.25, 0.265, 0.85);
    transition-property: transform, opacity, box-shadow, top, left;
    transition-duration: 0.5s;
    transform-origin: 161px 100%;
    transform: rotateX(0deg);
    position: absolute;
    width: 240px;
    border-top: 2px solid #4CAF50;
    height: 300px;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    padding: 50px 40px 40px 40px;
    background: #35394a;
    background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    z-index: 10;
}

.register {
    display: none;
    height: 360px;
}

.login p,
.register p {
    color: #fff;
    font-size: 14px;
    text-align: left;
}

.validation {
    position: absolute;
    z-index: 1;
    right: 10px;
    top: 6px;
    opacity: 0;
}

.disclaimer {
    position: absolute;
    bottom: 20px;
    left: 35px;
    width: 250px;
}

.disclaimer p {
    color: #afb1be;
    font-size: 11px;
}

.login_title {
    color: #afb1be;
    height: 60px;
    text-align: left;
    font-size: 16px;
}

.login_title small {
    color: #e74c3c;
    font-size: 12px;
}

.login_fields {
    height: 208px;
    position: absolute;
    left: 0;
}

.login_fields .icon {
    position: absolute;
    z-index: 1;
    left: 36px;
    top: 8px;
    opacity: 0.5;
}

.login_fields input[type=password] {
    color: #DC6180 !important;
}

.login_fields input[type=text],
.login_fields input[type=email],
.login_fields input[type=password] {
    color: #afb1be;
    width: 190px;
    margin-top: -2px;
    background: #32364a;
    left: 0;
    padding: 10px 65px;
    border-top: 2px solid #393d52;
    border-bottom: 2px solid #393d52;
    border-right: none;
    border-left: none;
    outline: none;
    font-family: "Gudea", sans-serif;
    font-size: 16px;
    box-shadow: none;
}

.login_fields__user,
.login_fields__password {
    position: relative;
}

.login_fields__submit {
    position: relative;
    top: 35px;
    left: 0;
    width: 80%;
    right: 0;
    margin: auto;
    text-align: center;
}

.login_fields__submit .forgot {
    font-size: 14px;
    margin-top: 11px;
    color: #606479;
}

.login_fields__submit .forgot a {
    color: #fff;
    text-decoration: none;
}

.login_fields__submit input {
    border-radius: 50px;
    background: transparent;
    padding: 10px 50px;
    border: 2px solid #CDDC39;
    color: #CDDC39;
    text-transform: uppercase;
    font-size: 11px;
    transition-property: background, color;
    transition-duration: 0.2s;
}

.login_fields__submit input:focus {
    box-shadow: none;
    outline: none;
}

.login_fields__submit input:hover {
    color: white;
    background: #CDDC39;
    cursor: pointer;
}

.authent {
    display: none;
    background: #35394a;
    background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
    position: absolute;
    left: 0;
    right: 0px;
    margin: auto;
    width: 100px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px 70px;
    top: 200px;
    bottom: 0;
    height: 70px;
    opacity: 0;
    border-radius: 8px;
    z-index: 20;
}

.authent p {
    text-align: center;
    color: white;
}

.success {
    display: none;
    color: #d5d8e2;
}

.success h2 {
    color: #4CAF50;
}

.success p {
    font-size: 16px;
}

.testtwo {
    bottom: 20px !important;
}

.test {
    box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    top: -100px !important;
    transform: rotateX(70deg) scale(0.8) !important;
    opacity: 0.6 !important;
    filter: blur(1px);
}

#passAviso {
    display: block;
    text-align: center;
    margin: 10px 0 -27px;
    color: #e74d3d;
}

/* ==========================================================================
   NOVO DESIGN SYSTEM RESPONSIVO (MOBILE & DESKTOP PC)
   ========================================================================== */

/* Container Principal */
.app-screen {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--iave-bg);
    position: relative;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    transition: max-width 0.3s ease;
}

/* ----------- :: EXPANSÃO PADRÃO DESKTOP PC :: ----------- */
@media (min-width: 768px) {
    .app-screen {
        max-width: 1140px;
        width: 92%;
        padding-bottom: 120px;
        box-shadow: none;
        background: transparent;
    }

    .app-header {
        border-radius: 0 0 36px 36px !important;
        padding: 32px 40px !important;
        margin-bottom: 20px;
    }

    .app-profile-hero {
        gap: 22px !important;
    }

    .app-avatar-img {
        width: 84px !important;
        height: 84px !important;
    }

    .app-user-name {
        font-size: 1.7rem !important;
    }

    /* Grid de Atalhos em 4 Colunas no PC */
    .app-quick-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
        margin-bottom: 10px;
    }

    /* Layout de 2 Colunas Balanceadas para o Dashboard no PC */
    .app-desktop-split {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        align-items: start !important;
    }

    .app-desktop-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    /* Grids Multi-colunas para Leitura, Horários e Equipes no PC */
    .testamento-livros-grid,
    .horarios-desktop-grid,
    .equipe-desktop-grid,
    .dias-desktop-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
        gap: 16px !important;
    }
}

/* ----------- :: CABEÇALHO CURVO (MOCKUP STYLE) :: ----------- */
.app-header {
    background: var(--iave-primary-gradient);
    border-radius: 0 0 32px 32px;
    padding: 24px 20px 28px 20px;
    color: #ffffff;
    box-shadow: var(--iave-shadow-lg);
    position: relative;
    z-index: 10;
}

.app-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-logo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--iave-font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
}

.app-logo-badge img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-btn-icon:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: scale(1.05);
}

/* Perfil no Header */
.app-profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;
}

.app-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.app-avatar-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.app-avatar-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.app-user-info {
    flex: 1;
    min-width: 0;
}

.app-user-greeting {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.app-user-name {
    font-family: var(--iave-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.app-user-role {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
    backdrop-filter: blur(4px);
}

/* Mini Card Resumo no Header */
.app-header-strip {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--iave-radius-sm);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.app-strip-item {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.app-strip-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    transition: background 0.2s;
}

.app-strip-link:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* ----------- :: CORPO & GRID DE ATALHOS :: ----------- */
.app-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .app-body {
        padding: 0;
        gap: 20px;
    }
}

/* Título de Seção */
.app-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 2px 0;
}

.app-section-title {
    font-family: var(--iave-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--iave-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 16px;
    background: var(--iave-primary);
    border-radius: 4px;
}

.app-section-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--iave-primary-dark);
    text-decoration: none;
}

/* Grid de Atalhos Rápidos (Estilo Cartões do Mockup) */
.app-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.app-action-card {
    background: var(--iave-card);
    border-radius: var(--iave-radius);
    padding: 18px 16px;
    text-decoration: none;
    color: var(--iave-text);
    box-shadow: var(--iave-shadow);
    border: 1px solid var(--iave-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.app-action-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(94, 179, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.app-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--iave-primary);
}

.app-action-card:active {
    transform: scale(0.97);
}

.action-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--iave-primary-light);
    color: var(--iave-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.app-action-card:hover .action-card-icon {
    transform: scale(1.1);
}

.action-card-icon.gold {
    background: var(--iave-accent-gold-light);
    color: var(--iave-accent-gold);
}

.action-card-icon.blue {
    background: rgba(33, 150, 243, 0.12);
    color: #1976D2;
}

.action-card-icon.purple {
    background: rgba(156, 39, 176, 0.12);
    color: #7B1FA2;
}

.action-card-title {
    font-family: var(--iave-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: var(--iave-dark);
}

.action-card-desc {
    font-size: 0.75rem;
    color: var(--iave-text-muted);
    margin: 0;
}

.action-card-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 8px;
    background: var(--iave-primary-light);
    color: var(--iave-primary-dark);
}

/* ----------- :: CARDS DE CONTEÚDO (BRANCOS MODERNOS) :: ----------- */
.app-card {
    background: var(--iave-card);
    border-radius: var(--iave-radius);
    padding: 20px;
    box-shadow: var(--iave-shadow);
    border: 1px solid var(--iave-border);
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.app-card-title {
    font-family: var(--iave-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--iave-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-card-title i {
    color: var(--iave-primary);
    font-size: 18px;
}

/* Itens de Lista no Card */
.app-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
}

.app-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.app-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--iave-dark-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.app-info-content {
    flex: 1;
    min-width: 0;
}

.app-info-label {
    font-size: 0.72rem;
    color: var(--iave-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1px;
}

.app-info-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--iave-dark);
    word-break: break-word;
}

/* Card de Ministérios */
.mini-badge-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf9 100%);
    border: 1px solid #e3ede1;
    border-left: 4px solid var(--iave-primary);
    border-radius: var(--iave-radius-sm);
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-badge-card:last-child {
    margin-bottom: 0;
}

.mini-badge-name {
    font-family: var(--iave-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--iave-dark);
    margin: 0 0 2px 0;
}

.mini-badge-role {
    font-size: 0.8rem;
    color: var(--iave-text-muted);
    margin: 0;
}

.btn-mini-access {
    background: var(--iave-primary-light);
    color: var(--iave-primary-dark);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-mini-access:hover {
    background: var(--iave-primary);
    color: #ffffff;
}

/* Card de Dependentes */
.dep-badge-card {
    background: #ffffff;
    border: 1px solid var(--iave-border);
    border-radius: var(--iave-radius-sm);
    padding: 14px;
    margin-bottom: 10px;
}

.dep-badge-card:last-child {
    margin-bottom: 0;
}

.dep-name {
    font-family: var(--iave-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--iave-dark);
    margin: 0;
}

.dep-meta {
    font-size: 0.78rem;
    color: var(--iave-text-muted);
    margin: 2px 0 6px 0;
}

.dep-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--iave-dark-soft);
    margin-right: 4px;
    margin-top: 4px;
}

.dep-tag.obs {
    background: var(--iave-danger-light);
    color: var(--iave-danger);
    font-weight: 600;
}

.dep-tag.account {
    background: var(--iave-primary-light);
    color: var(--iave-primary-dark);
    font-weight: 600;
}

/* Botões do App */
.btn-app-primary {
    background: var(--iave-primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--iave-radius-pill);
    padding: 12px 24px;
    font-family: var(--iave-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(94, 179, 68, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-app-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(94, 179, 68, 0.45);
    color: #ffffff;
}

.btn-app-secondary {
    background: #ffffff;
    color: var(--iave-dark);
    border: 1px solid var(--iave-border);
    border-radius: var(--iave-radius-pill);
    padding: 12px 24px;
    font-family: var(--iave-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-app-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ----------- :: FORMULÁRIOS MODERNOS :: ----------- */
.app-form-group {
    margin-bottom: 16px;
}

.app-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--iave-dark-soft);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--iave-radius-sm);
    border: 1px solid var(--iave-border);
    background: #f8fafc;
    font-family: var(--iave-font-body);
    font-size: 0.92rem;
    color: var(--iave-dark);
    transition: all 0.2s ease;
    outline: none;
}

.app-input:focus {
    border-color: var(--iave-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(94, 179, 68, 0.15);
}

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

@media (max-width: 480px) {
    .app-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO INFERIOR ESTILO MAC DOCK
   ========================================================================== */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 8px 14px 8px;
    z-index: 1000;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.04);
}

.app-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 0;
    transition: all 0.2s ease;
    position: relative;
}

.app-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.app-nav-item.active {
    color: var(--iave-primary-dark);
}

.app-nav-item.active i {
    transform: scale(1.15);
    color: var(--iave-primary);
}

.app-nav-item.active::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 20px;
    height: 3px;
    background: var(--iave-primary);
    border-radius: 3px;
}

/* ----------- :: TRANSFORMAÇÃO EM MAC OS DOCK NO DESKTOP :: ----------- */
@media (min-width: 768px) {
    .app-bottom-nav {
        bottom: 22px;
        width: auto;
        min-width: 480px;
        max-width: 600px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.85);
        border-radius: 28px;
        padding: 8px 24px;
        box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.95);
        gap: 8px;
    }

    .app-nav-item {
        padding: 8px 16px;
        border-radius: 18px;
        transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .app-nav-item i {
        font-size: 26px;
        transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
    }

    .app-nav-item span {
        font-size: 0.74rem;
        margin-top: 2px;
        letter-spacing: 0.2px;
    }

    /* Efeito de Ampliação macOS Dock no Hover */
    .app-nav-item:hover {
        transform: translateY(-8px) scale(1.18);
        color: var(--iave-primary-dark);
        background: rgba(94, 179, 68, 0.08);
    }

    .app-nav-item:hover i {
        color: var(--iave-primary);
    }

    .app-nav-item.active {
        background: var(--iave-primary-light);
        color: var(--iave-primary-dark);
    }

    .app-nav-item.active::after {
        top: auto;
        bottom: 2px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--iave-primary);
    }
}

/* ----------- :: BOTÃO FLUTUANTE DE AJUDA (?) :: ----------- */
.app-fab-help {
    position: fixed;
    bottom: 74px;
    right: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--iave-primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(94, 179, 68, 0.45);
    cursor: pointer;
    z-index: 99;
    border: 3px solid #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

@media (min-width: 768px) {
    .app-fab-help {
        bottom: 26px;
        right: 28px;
        width: 50px;
        height: 50px;
    }
}

.app-fab-help span {
    font-family: var(--iave-font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.app-fab-help:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(94, 179, 68, 0.6);
}

.app-fab-help:active {
    transform: scale(0.95);
}

/* ----------- :: MODAL DE ONBOARDING (PRIMEIRO ACESSO) :: ----------- */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.onboarding-card {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.onboarding-overlay.active .onboarding-card {
    transform: translateY(0) scale(1);
}

.onboarding-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--iave-dark-soft);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.onboarding-close-btn:hover {
    background: rgba(0, 0, 0, 0.12);
}

.onboarding-header-illu {
    background: var(--iave-primary-gradient);
    padding: 35px 20px 25px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.onboarding-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 44px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: pulseIcon 3s infinite ease-in-out;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.onboarding-body {
    padding: 24px 24px 16px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.onboarding-tag {
    display: inline-block;
    background: var(--iave-primary-light);
    color: var(--iave-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.onboarding-title {
    font-family: var(--iave-font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--iave-dark);
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.onboarding-desc {
    font-size: 0.88rem;
    color: var(--iave-text-muted);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.onboarding-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.onboarding-dot.active {
    width: 24px;
    background: var(--iave-primary);
}

.onboarding-footer {
    padding: 16px 24px 24px 24px;
    display: flex;
    gap: 10px;
}

.btn-onboarding-skip {
    flex: 1;
    background: #f1f5f9;
    color: var(--iave-dark-soft);
    border: none;
    border-radius: var(--iave-radius-pill);
    padding: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-onboarding-skip:hover {
    background: #e2e8f0;
}

.btn-onboarding-next {
    flex: 2;
    background: var(--iave-primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--iave-radius-pill);
    padding: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(94, 179, 68, 0.35);
    transition: all 0.2s;
}

.btn-onboarding-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(94, 179, 68, 0.45);
}

/* ==========================================================================
   PLANO DE LEITURA BÍBLICA & RELÓGIO (RESPONSIVO)
   ========================================================================== */
.biblia-progress-card {
    background: var(--iave-primary-gradient);
    border-radius: var(--iave-radius);
    padding: 20px;
    color: #ffffff;
    box-shadow: var(--iave-shadow-lg);
    margin-bottom: 16px;
}

.biblia-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0 6px 0;
}

.biblia-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Botões de Capítulos do Plano */
.caps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-cap {
    background: #ffffff;
    color: var(--iave-dark);
    border: 1px solid var(--iave-border);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.btn-cap:hover {
    border-color: var(--iave-primary);
    transform: scale(1.05);
}

.btn-cap.cap-lido {
    background: var(--iave-primary);
    color: #ffffff;
    border-color: var(--iave-primary);
    box-shadow: 0 4px 10px rgba(94, 179, 68, 0.35);
}

.btn-cap:active {
    transform: scale(0.92);
}

.livro-container {
    background: #ffffff;
    border-radius: var(--iave-radius);
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: var(--iave-shadow);
    border: 1px solid var(--iave-border);
}

.livro-container h3 {
    font-family: var(--iave-font-heading);
    font-size: 1.1rem;
    color: var(--iave-dark);
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Navegação da Ordem do Plano */
.nav-ordem {
    display: flex;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 30px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .nav-ordem {
        max-width: 400px;
        margin: 0 auto 20px auto;
    }
}

.btn-ordem {
    flex: 1;
    background: transparent;
    color: var(--iave-text-muted);
    border: none;
    padding: 10px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-ordem.ativo {
    background: #ffffff;
    color: var(--iave-primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}