/* ==========================================================================
   DEVOCIONAL: PAZ PARA O CORAÇÃO CANSADO - DESIGN SYSTEM
   ========================================================================== */

/* 1. RESET E DEFINIÇÕES BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

:root {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-handwritten: 'Lora', Georgia, serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* TEMA DIURNO (Cream Linen) */
.theme-light {
    --bg-primary: #FAF6F0;
    --bg-secondary: #F3ECE2;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(212, 163, 115, 0.25);
    --text-primary: #2D2A26;
    --text-secondary: #5C554E;
    --text-muted: #8A817C;
    
    --accent-green: #8F9779;
    --accent-green-light: rgba(143, 151, 121, 0.15);
    --accent-gold: #D4A373;
    --accent-gold-light: rgba(212, 163, 115, 0.12);
    --accent-rose: #E29578;
    --accent-rose-light: rgba(226, 149, 120, 0.15);
    
    --shadow-soft: 0 10px 40px -10px rgba(143, 151, 121, 0.12);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
    
    --orb-color-1: rgba(243, 236, 226, 0.8);
    --orb-color-2: rgba(226, 149, 120, 0.2);
}

/* TEMA NOTURNO (Starry Night) */
.theme-dark {
    --bg-primary: #0E121F;
    --bg-secondary: #141B2D;
    --card-bg: rgba(22, 28, 45, 0.75);
    --card-border: rgba(143, 151, 121, 0.18);
    --text-primary: #EAECEF;
    --text-secondary: #A0A5B5;
    --text-muted: #6C7284;
    
    --accent-green: #A3B18A;
    --accent-green-light: rgba(163, 177, 138, 0.2);
    --accent-gold: #E6C594;
    --accent-gold-light: rgba(230, 197, 148, 0.15);
    --accent-rose: #E29578;
    --accent-rose-light: rgba(226, 149, 120, 0.2);
    
    --shadow-soft: 0 15px 50px -15px rgba(0, 0, 0, 0.5);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    
    --orb-color-1: rgba(28, 25, 54, 0.8);
    --orb-color-2: rgba(143, 151, 121, 0.08);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. EFEITOS DE FUNDO ETÉREOS */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: var(--orb-color-1);
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background-color: var(--orb-color-2);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 8%) scale(1.1); }
}

/* 3. ESTRUTURA PRINCIPAL E CONTAINER */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* GLASSMORPHISM UTILITY */
.glassmorphic {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

/* CABEÇALHO */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
}

.header-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

.header-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BOTÕES GERAIS */
.btn-icon {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--card-bg);
}

.btn-icon:hover {
    background: var(--bg-secondary);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-icon-accent {
    background: var(--accent-green-light);
    border: 1px solid rgba(143, 151, 121, 0.3);
    color: var(--accent-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-icon-accent:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.btn-icon-special {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-rose));
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 22px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-icon-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* TOAST/ALERT */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent-green);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(143, 151, 121, 0.3);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* 4. BARRA DE PROGRESSO */
.progress-bar-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. CONTROLES DE ÁUDIO */
.audio-control-panel {
    position: relative;
}

.audio-dropdown {
    position: absolute;
    top: 54px;
    right: 0;
    width: 240px;
    padding: 16px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.audio-control-panel:hover .audio-dropdown,
.audio-control-panel:focus-within .audio-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.audio-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.audio-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.audio-track-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-track-btn:hover {
    background: var(--bg-secondary);
}

.audio-track-btn.active {
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-color: rgba(143, 151, 121, 0.2);
}

.volume-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.volume-slider-wrapper input[type="range"] {
    flex: 1;
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
}

/* 6. LAYOUT WRAPPER */
.content-wrapper {
    display: flex;
    gap: 24px;
    flex: 1;
    margin-bottom: 24px;
    position: relative;
}

/* BARRA LATERAL (Sidebar) */
.days-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 80vh;
    position: sticky;
    top: 24px;
}

.sidebar-header h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-primary);
}

.mobile-only-btn {
    display: none;
}

.days-nav {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom Scrollbar para Sidebar */
.days-nav::-webkit-scrollbar {
    width: 4px;
}
.days-nav::-webkit-scrollbar-track {
    background: transparent;
}
.days-nav::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 2px;
}

.days-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-day-btn {
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    padding: 12px 14px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-family: var(--font-sans);
}

.nav-day-btn:hover {
    background: var(--bg-secondary);
}

.nav-day-btn.active {
    background: var(--card-bg);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.08);
}

.day-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 6px;
}

.nav-day-btn.active .day-number {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

.day-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-day-btn.active .day-title {
    color: var(--text-primary);
    font-weight: 600;
}

.completion-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-day-btn.completed .completion-icon {
    color: var(--accent-green);
    font-weight: 900;
}

.sidebar-footer {
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
    text-align: center;
}

.sidebar-inspiration {
    font-family: var(--font-handwritten);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FLOATING MENU BOTÃO PARA MOBILE */
.floating-menu-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    background: var(--accent-gold);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* 7. CONTEÚDO PRINCIPAL (Main Content) */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* SEÇÃO DA CAPA (Cover Section) */
.cover-section {
    display: none;
    width: 100%;
}

.cover-section.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.cover-card {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 520px;
}

.cover-image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.cover-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.cover-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    font-weight: 700;
}

.cover-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.cover-desc {
    font-family: var(--font-handwritten);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cover-instructions {
    font-size: 0.85rem;
    background: var(--bg-secondary);
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-gold);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-rose));
    color: white;
    border: none;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.3);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.4);
}

/* SEÇÃO DE DIAS DEVOCIONAIS */
.day-section {
    display: none;
}

.day-section.active {
    display: block;
    animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.day-card {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

/* Imagens do Leitor */
.day-image-wrapper {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

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

/* Canvas de Arte Abstrata Alternativa (Para dias limitados) */
.abstract-art-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    background-size: 200% 200% !important;
    animation: gradientMove 15s infinite alternate ease-in-out;
}

.abstract-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.abstract-svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    animation: pulseIcon 4s infinite ease-in-out;
}

.abstract-caption {
    font-family: var(--font-handwritten);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.abstract-art-canvas::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, transparent 20%, var(--bg-primary) 120%);
    opacity: 0.4;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Conteúdo de Texto e Formulários */
.day-content {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.day-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.day-badge {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.day-content .day-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: normal;
    overflow: visible;
}

/* Cartão do Versículo */
.scripture-card {
    background: var(--accent-gold-light);
    border-left: 4px solid var(--accent-gold);
    padding: 24px 30px;
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.08;
    color: var(--accent-gold);
}

.scripture-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.scripture-citation {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
}

.btn-copy-scripture {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(212, 163, 115, 0.3);
    color: var(--accent-gold);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-scripture:hover {
    background: var(--accent-gold);
    color: white;
}

/* Reflexão */
.reflection-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.reflection-body h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 8px;
}

.highlight-text {
    font-family: var(--font-handwritten);
    font-style: italic;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-rose);
    text-align: center;
    padding: 8px;
    margin-top: 8px;
}

/* Diário / Blocos de Input */
.journal-block {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px dashed var(--card-border);
}

.journal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-green);
}

.journal-header i {
    font-size: 1.15rem;
}

.journal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}

.journal-instruction {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.journal-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.input-number {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--accent-green);
    font-size: 1.1rem;
}

.journal-input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-handwritten);
    font-style: italic;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--shadow-inset);
}

.journal-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px var(--accent-green-light);
}

.journal-textarea {
    width: 100%;
    min-height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-handwritten);
    font-style: italic;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    box-shadow: var(--shadow-inset);
}

.journal-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px var(--accent-green-light);
}

/* Cartão de Oração */
.prayer-card {
    background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
    border: 1px solid rgba(226, 149, 120, 0.2);
    border-radius: var(--border-radius-md);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.prayer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-rose));
    border-radius: 3px 3px 0 0;
}

.prayer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-rose);
}

.prayer-header i {
    font-size: 1.15rem;
}

.prayer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.prayer-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-amen {
    align-self: center;
    background: var(--card-bg);
    border: 1px solid var(--accent-rose-light);
    color: var(--accent-rose);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-amen:hover, .btn-amen.active {
    background: var(--accent-rose);
    color: white;
    border-color: var(--accent-rose);
    box-shadow: 0 4px 12px rgba(226, 149, 120, 0.25);
    transform: scale(1.05);
}

.btn-amen i {
    transition: transform 0.3s ease;
}

.btn-amen.active i {
    transform: scale(1.2);
    font-weight: 900;
}

/* NAVEGAÇÃO DE DIAS INTERNOS */
.day-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 24px;
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-accent {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(143, 151, 121, 0.2);
}

.btn-accent:hover {
    background: #7a8264;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(143, 151, 121, 0.3);
}

/* 8. RODAPÉ (Footer) */
.app-footer {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--text-muted);
}

.app-footer p {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-subtext {
    font-size: 0.75rem;
}

/* 9. ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   10. MOTOR DE IMPRESSÃO / DIAGRAMAÇÃO DO PDF (@media print)
   ========================================================================== */
.print-layout {
    display: none;
}

@media print {
    /* Ocultar elementos desnecessários na impressão */
    .no-print,
    .app-header,
    .progress-bar-container,
    .days-sidebar,
    .floating-menu-btn,
    .day-navigation,
    .app-footer,
    .glow-bg,
    .toast,
    .day-section,
    .cover-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: #111111 !important;
        font-family: Georgia, serif !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .print-layout {
        display: block !important;
        width: 100% !important;
    }
    
    /* Configurações de Página A4 */
    @page {
        size: A4;
        margin: 20mm;
    }
    
    .print-page {
        page-break-after: always;
        position: relative;
        min-height: 250mm;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    
    /* CAPA DO LIVRO IMPRESSO */
    .print-cover {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 40mm;
    }
    
    .print-decor {
        width: 60px;
        height: 4px;
        background: #D4A373;
        margin-bottom: 15mm;
    }
    
    .print-cover h1 {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 32pt;
        color: #2D2A26;
        margin-bottom: 5mm;
        line-height: 1.2;
    }
    
    .print-cover h3 {
        font-family: Georgia, serif;
        font-style: italic;
        font-size: 14pt;
        color: #5C554E;
        font-weight: normal;
        margin-bottom: 20mm;
    }
    
    .print-divider {
        width: 120px;
        height: 1px;
        background: #D4A373;
        margin: 10mm 0;
    }
    
    .print-author {
        font-family: Georgia, serif;
        font-size: 12pt;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #8A817C;
        margin-bottom: 30mm;
    }
    
    .print-meta-fields {
        width: 80%;
        margin: 0 auto;
        text-align: left;
        font-size: 11pt;
        color: #5C554E;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .field-line {
        margin-bottom: 5px;
    }
    
    .print-cover-footer {
        position: absolute;
        bottom: 10mm;
        font-size: 9pt;
        color: #8A817C;
        font-style: italic;
    }
    
    /* PÁGINAS DIÁRIAS DO E-BOOK */
    .print-day-page {
        padding-top: 10mm;
        page-break-after: always;
    }
    
    .print-day-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        border-bottom: 2px solid #D4A373;
        padding-bottom: 3mm;
        margin-bottom: 8mm;
    }
    
    .print-day-num {
        font-size: 14pt;
        font-weight: bold;
        color: #D4A373;
        text-transform: uppercase;
    }
    
    .print-day-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 20pt;
        color: #2D2A26;
        text-align: right;
    }
    
    /* Versículo Impresso */
    .print-scripture {
        background: #FDFBF7 !important;
        border-left: 3px solid #D4A373 !important;
        padding: 5mm 6mm !important;
        margin-bottom: 8mm !important;
        font-style: italic !important;
        font-size: 11.5pt !important;
        line-height: 1.5 !important;
    }
    
    .print-citation {
        display: block;
        margin-top: 2mm;
        font-weight: bold;
        font-size: 9.5pt;
        color: #D4A373;
        text-transform: uppercase;
    }
    
    /* Reflexão Impressa */
    .print-reflection {
        margin-bottom: 8mm;
    }
    
    .print-reflection h3 {
        font-size: 13pt;
        border-bottom: 1px solid #EAECEF;
        padding-bottom: 1mm;
        margin-bottom: 3mm;
        color: #2D2A26;
    }
    
    .print-reflection p {
        margin-bottom: 3mm;
        text-align: justify;
    }
    
    /* Bloco do Diário Impresso (Anotações do Usuário) */
    .print-journal-section {
        margin-bottom: 8mm;
        background: #FAF8F5;
        border: 1px solid #ECE9E4;
        padding: 5mm;
        border-radius: 4px;
    }
    
    .print-journal-title {
        font-weight: bold;
        color: #8F9779;
        font-size: 11pt;
        margin-bottom: 3mm;
        text-transform: uppercase;
        border-bottom: 1px dashed #ECE9E4;
        padding-bottom: 1.5mm;
    }
    
    .print-journal-instruction {
        font-size: 10pt;
        color: #5C554E;
        margin-bottom: 4mm;
        font-style: italic;
    }
    
    .print-user-response {
        font-family: Georgia, serif;
        font-style: italic;
        font-size: 11pt;
        color: #2b2b2b;
        white-space: pre-wrap;
        line-height: 1.6;
        min-height: 20mm;
        padding: 2mm 3mm;
        border-left: 2px solid #8F9779;
        background: white;
    }
    
    /* Oração Impressa */
    .print-prayer {
        border: 1px solid #E29578;
        padding: 5mm;
        margin-bottom: 8mm;
        border-radius: 4px;
        background: #FFFDFB;
    }
    
    .print-prayer h3 {
        color: #E29578;
        font-size: 11pt;
        text-transform: uppercase;
        margin-bottom: 2mm;
    }
    
    .print-prayer-text {
        font-style: italic;
        line-height: 1.6;
        color: #5C554E;
    }
    
    .print-prayer-text p {
        margin-bottom: 1.5mm;
    }
    
    /* Rodapé da Página Impressa */
    .print-page-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        font-size: 8.5pt;
        color: #8A817C;
        border-top: 1px solid #EAECEF;
        padding-top: 2mm;
    }
}

/* ==========================================================================
   11. SUPORTE A RESPONSIVIDADE (Celulares e Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
    .cover-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .cover-image-container {
        height: 250px;
    }
    
    .cover-info {
        padding: 32px;
    }
    
    .days-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        z-index: 500;
        border-radius: 0;
        box-shadow: 20px 0 50px rgba(0,0,0,0.15);
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .days-sidebar.open {
        left: 0;
    }
    
    .mobile-only-btn {
        display: flex;
        background: transparent;
        border: none;
        color: var(--text-secondary);
        font-size: 1.25rem;
        cursor: pointer;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .floating-menu-btn {
        display: flex;
    }
    
    .content-wrapper {
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 16px 0;
    }
    
    .header-title {
        font-size: 1.2rem;
    }
    
    .btn-icon-special .btn-text {
        display: none;
    }
    
    .btn-icon-special {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .day-content {
        padding: 24px 20px;
        gap: 24px;
    }
    
    .day-image-wrapper {
        height: 240px;
    }
    
    .day-content .day-title {
        font-size: 1.5rem;
    }
    
    .scripture-card {
        padding: 16px 20px;
    }
    
    .scripture-text {
        font-size: 1.1rem;
    }
    
    .journal-block, .prayer-card {
        padding: 20px;
    }
    
    .cover-info {
        padding: 24px 16px;
    }
    
    .cover-title {
        font-size: 1.85rem;
    }
}
