/* Estilo das páginas de conteúdo (versículo do dia, temas). Mesmas cores do index.php. */

:root {
    --hero-top: #2b1e0c;
    --hero-bottom: #6f4f14;
    --gold: #e8c06a;
    --gold-deep: #8a5a0b;
    --bg: #faf6ec;
    --surface: #ffffff;
    --surface-2: #f3ecda;
    --text: #1f1a12;
    --muted: #6b6357;
    --line: #eadfc4;
    --shadow: 0 18px 40px rgba(43, 30, 12, 0.12);
    --display: 'Montserrat', Arial, Helvetica, sans-serif;
    --body: 'Inter', Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #14100a;
        --surface: #1f1910;
        --surface-2: #2a2216;
        --text: #f5efe2;
        --muted: #b9ad98;
        --line: #3a3020;
        --gold-deep: #e8c06a;
        --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.narrow { max-width: 760px; }

/* Cabeçalho */

.site-header {
    color: #fff;
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(232, 192, 106, 0.22), transparent 60%),
        linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
    padding-bottom: 46px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 17px;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }

.nav a { text-decoration: none; color: rgba(255, 255, 255, 0.82); }

.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

.nav .btn-get {
    background: var(--gold);
    color: #2b1e0c;
    padding: 7px 14px;
    border-radius: 999px;
}

.nav .btn-get:hover { color: #2b1e0c; filter: brightness(1.05); }

.langs { display: flex; gap: 4px; }

.langs a {
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.langs a.active { background: var(--gold); border-color: var(--gold); color: #2b1e0c; }

.page-head { padding-top: 26px; }

.crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-bottom: 10px; }

.crumbs a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }

.crumbs a:hover { text-decoration: underline; }

.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }

.page-head .lead { margin: 12px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 17px; max-width: 640px; }

.date { color: var(--gold); font-weight: 600; margin-top: 8px; display: block; }

main { padding: 0 0 70px; }

/* Versículo do dia */

.today {
    position: relative;
    margin-top: -26px;
    border-radius: 26px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background: #2b1e0c center / cover no-repeat;
}

.today::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.today-inner { position: relative; padding: 34px; width: 100%; }

.chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.today blockquote {
    margin: 18px 0 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.today cite { font-style: normal; font-weight: 600; color: var(--gold); font-size: 17px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14px var(--body);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.btn:hover { background: rgba(255, 255, 255, 0.24); }

.btn.solid { background: #fff; color: #2b1e0c; border-color: #fff; }

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 13px var(--body);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
}

.btn-line:hover { color: var(--text); border-color: var(--muted); }

/* Chamada para o app */

.app-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin: 36px 0;
    padding: 28px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(232, 192, 106, 0.25), transparent 60%),
        linear-gradient(135deg, #2b1e0c, #5a3f10);
}

.app-cta h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }

.app-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.82); }

.app-cta .shot { width: 150px; border-radius: 18px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4); display: block; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.store-badge { display: block; height: 48px; width: auto; }

/* Listas de versículos */

.section-title { font-size: 24px; font-weight: 800; margin: 44px 0 18px; }

.verse-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.verse-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 22px;
}

.verse-item p { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }

.verse-item .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: space-between;
}

.verse-item cite { font-style: normal; font-weight: 700; color: var(--gold-deep); }

.verse-item time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }

/* Temas */

.topics { display: flex; flex-wrap: wrap; gap: 10px; }

.topics a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.topics a:hover, .topics a[aria-current="page"] { border-color: var(--gold-deep); color: var(--gold-deep); }

.topic-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.topic-card {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    min-height: 190px;
    background: #2b1e0c center / cover no-repeat;
    box-shadow: var(--shadow);
}

.topic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

.topic-card .in { position: relative; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 190px; }

.topic-card h2 { font-size: 20px; font-weight: 800; }

.topic-card span { font-size: 13px; color: rgba(255, 255, 255, 0.8); }

.topic-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }

.topic-card:hover { transform: translateY(-2px); transition: transform 0.15s ease; }

.note { margin-top: 40px; font-size: 13px; color: var(--muted); }

/* Rodapé */

footer {
    background: var(--hero-top);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 22px 0;
}

footer .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }

footer a { color: rgba(255, 255, 255, 0.85); }

footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #2b1e0c;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.toast.show { opacity: 1; }

@media (max-width: 820px) {
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-cta { grid-template-columns: 1fr; }
    .app-cta .shot { display: none; }
}

@media (max-width: 560px) {
    .nav .hide-sm { display: none; }
    .today-inner { padding: 24px 20px; }
    .today { min-height: 300px; }
    .topic-grid { grid-template-columns: 1fr; }
    .app-cta { padding: 22px; }
    .verse-item { padding: 18px; }
    .store-badge { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .topic-card:hover { transform: none; }
}
