* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
    background: #fff5f8;
    color: #333;
    min-height: 100vh;
}

header {
   background: linear-gradient(135deg, #d63384, #f472b6);
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

#titulo-trimestre {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

#data-trimestre {
    font-size: 1rem;
    opacity: .9;
}

#data-hoje {
    margin-top: 10px;
    font-size: .95rem;
    opacity: .9;
}

.data-dia {
    display: block;
    font-size: 0.95rem;
    color: #d63384;
    font-weight: 600;
    margin-bottom: 8px;
}
.menu-dias {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    flex-wrap: wrap;
}

.btn-dia {
    background: white;
    color: #c2185b;
    border: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: .3s;
}

.btn-dia:hover {
    transform: translateY(-2px);
}

.btn-dia.ativo {
    background: #d63384;
    color: white;
}

.conteudo-licao {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.capa-container {
    margin-bottom: 20px;
}

#capa-licao {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.card-licao {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}
#titulo-do-dia {
    color: #d63384;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#texto-do-dia p {
    font-size: 1.35rem;
    line-height: 2.1;
    margin-bottom: 18px;
    text-align: justify;
}

blockquote {
    background: #f8fafc;
    border-left: 5px solid #d63384;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
}

/* Deixa os títulos internos da própria lição bonitos */
#texto-do-dia h2, #texto-do-dia h3 {
    color: #c2185b;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Estilo da caixinha onde a mamãe vai responder */
.area-resposta {
    margin-top: 35px;
    background: #fafafa;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
}

.area-resposta textarea {
    width: 100%;
    min-height: 180px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 1.2rem;
    resize: vertical;
}

.area-resposta button,
.btn-salvar {
    width: 100%;
    background: linear-gradient(135deg, #ec4899, #d63384);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.area-resposta button:hover,
.btn-salvar:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
}

.rodape {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: .9rem;
}


.mensagem-sucesso {
    margin-top: 12px;
    padding: 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

/* Botão da Bíblia no Cabeçalho */
.btn-biblia {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 10px auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-biblia:hover {
    background: white;
    color: #d63384;
}

/* Janela Modal da Bíblia (Tela Cheia) */
.modal-biblia {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999; /* Fica por cima de tudo */
    display: flex;
    flex-direction: column;
}

.conteudo-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.topo-modal {
    background: #d63384;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* O site da bíblia vai rodar aqui dentro */
#iframe-biblia {
    width: 100%;
    flex-grow: 1;
    border: none;
}
