/* ==========================================================================
   Leia a Palavra — Dia da Bíblia 2025
   Estilo moderno, inspirado no modelo anterior
   ========================================================================== */

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

:root {
    --bg: #0b1220;
    --card: #0e1626;
    --ink: #eaf2ff;
    --ink-2: #b9c6de;
    --ink-mute: #8c9ab4;
    --line: #1e2a40;

    --highlight: #f59e0b;
    --highlight-soft: #fff7e6;

    --radius: 14px;
    --shadow: 0 10px 28px rgba(0,0,0,.25);
}

/* ===== BODY ===== */
body {
    background: linear-gradient(180deg, #0b1220, #0b1220 80%, #0e1626);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(1.5) blur(12px);
    background: rgba(11, 18, 32, 0.75);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.brand-name strong {
    font-size: 1rem;
    display: block;
}
.brand-name small {
    font-size: .78rem;
    color: var(--ink-mute);
}

/* ===== HERO ===== */
.hero {
    padding: 60px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
}
@media(max-width: 940px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.eyebrow {
    color: var(--highlight);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.hero-text h1 {
    margin: 0;
    line-height: 1.2;
    font-size: clamp(26px, 3.4vw, 42px);
}

.hero-text small {
    font-size: 1rem;
    color: var(--ink-2);
}

.lead {
    margin-top: 12px;
    font-size: 1.05rem;
    max-width: 46ch;
    color: var(--ink-2);
}

/* ===== HERO BUTTONS ===== */
.cta-line {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter .18s;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(180deg, var(--highlight), #d88a09);
    color: #1b1204;
    box-shadow: 0 10px 24px rgba(245,158,11,.25);
}
.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--ink);
}
.btn-ghost:hover {
    filter: brightness(1.1);
}

/* ===== HERO VIDEO CARD ===== */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-ratio {
    position: relative;
    padding-top: 56%;
}
.video-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.card-body {
    padding: 14px;
}
.card-body p {
    color: var(--ink-2);
}

/* ===== HERO WAVE ===== */
.hero-wave {
    display: block;
    width: 100%;
    height: 60px;
    margin-top: 40px;
}
.hero-wave path {
    fill: rgba(255,255,255,.05);
}

/* ===== SECTION ===== */
.section {
    padding: 50px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media(max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.title {
    margin-top: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
}

/* ===== CHECKLIST ===== */
.checklist {
    padding-left: 18px;
}
.checklist li {
    margin: 6px 0;
    color: var(--ink-2);
}

/* ===== PANEL ===== */
.panel {
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    background: rgba(255,255,255,.03);
    margin-top: 40px;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media(max-width: 700px) {
    .footer-grid {
        display: block;
        text-align: center;
    }
}

/* ===== TEXT COLORS ===== */
.muted {
    color: var(--ink-mute);
}

/* ===== GRID DE CAPÍTULOS ===== */
.cap-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.cap-card {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: block;
    transition: transform .18s, box-shadow .18s;
}

.cap-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.cap-card.ok {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
}

.cap-card.pendente {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.12);
}

.cap-num {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cap-status {
    font-size: .9rem;
    color: var(--ink-mute);
}

audio {
    outline: none;
    border-radius: 8px;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* ===== TITULOS DE SEÇÃO ===== */
.subtitulo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink-2);
    margin: 20px 0 10px;
}

/* ===== GRID MAIS BONITO ===== */
.livros-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

/* ===== CARD MODERNO ===== */
.livro-card {
    background: linear-gradient(180deg, var(--card), #0f1525);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
    transition: .2s;
}

.livro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    text-decoration: none;
}

/* Livro com gravações */
.livro-card.ok {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.14);
    box-shadow: 0 10px 28px rgba(46, 204, 113, .18);
}

.livro-card.ok:hover {
    box-shadow: 0 16px 38px rgba(46, 204, 113, .28);
    transform: translateY(-4px);
}

/* Livro sem gravações */
.livro-card.nao {
    border-color: rgba(255,255,255,.08);
    opacity: .75;
}

.livro-card.nao:hover {
    opacity: 1;
    box-shadow: 0 16px 32px rgba(0,0,0,.35);
}


/* ===== ÍCONE DO LIVRO ===== */
.livro-icone {
    font-size: 2rem;
    line-height: 1;
    background: rgba(255,255,255,.06);
    padding: 12px;
    border-radius: 12px;
}

/* ===== INFORMAÇÕES ===== */
.livro-info {
    display: flex;
    flex-direction: column;
}

.livro-nome {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--ink);
}

.livro-caps {
    font-size: .9rem;
    color: var(--ink-mute);
}

.voted {
    background: #f59e0b !important;
    color: #1b1204 !important;
}

/* ===== ACESSIBILIDADE — EVITAR ZOOM AUTOMÁTICO ===== */

input, select, textarea {
    font-size: 16px !important;  /* Impede zoom no iPhone/Android */
    padding: 14px !important;    /* Mais confortável para idosos */
    height: 48px !important;     /* Aumenta a área de toque */
    border-radius: var(--radius);
}

label {
    font-size: 16px !important;
}
