/*
Theme Name: AD Sinais Proféticos
Description: Tema oficial da Assembleia de Deus Sinais Proféticos - Paços de Ferreira, Portugal. Eventos geridos no painel (wp-admin > Eventos).
Author: AD Sinais Proféticos
Version: 3.0.0
License: GPL v2 or later
Text Domain: sinais-profeticos
Tags: church, ministry, events, sermons, responsive, modern
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
    /* Brand */
    --ink:        #0e0c09;   /* preto quente */
    --ink-2:      #17140f;
    --ink-3:      #221d16;
    --gold:       #c9a24a;
    --gold-light: #e6c873;
    --gold-deep:  #9c7a2c;
    --ivory:      #f7f2e8;
    --paper:      #efe7d8;
    --white:      #ffffff;

    /* Text */
    --text:       #2a251d;
    --text-soft:  #6b6255;
    --text-on-dark: rgba(247, 242, 232, .92);
    --text-on-dark-soft: rgba(247, 242, 232, .62);

    /* Lines */
    --line:       rgba(42, 37, 29, .12);
    --line-dark:  rgba(230, 200, 115, .18);

    /* Type */
    --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(72px, 10vw, 128px);
    --radius: 14px;
    --radius-lg: 22px;
    --header-h: 76px;

    --shadow-sm: 0 2px 10px rgba(14, 12, 9, .06);
    --shadow:    0 18px 50px -18px rgba(14, 12, 9, .28);
    --shadow-lg: 0 40px 90px -30px rgba(14, 12, 9, .45);
    --ease: cubic-bezier(.22, .8, .24, 1);

    /* Legacy aliases (inner templates use these) */
    --primary-color: var(--ink);
    --secondary-color: var(--gold);
    --accent-color: var(--gold-deep);
    --text-color: var(--text);
    --light-gray: var(--ivory);
    --medium-gray: var(--paper);
    --dark-gray: var(--text-soft);
    --primary-font: var(--font-body);
    --heading-font: var(--font-display);
    --border-radius: var(--radius);
    --box-shadow: var(--shadow-sm);
    --transition: all .3s var(--ease);
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: inherit; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* =========================================================
   3. Buttons & small atoms
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 0 26px;
    border-radius: 999px;
    font-size: .95rem; font-weight: 600; letter-spacing: .01em;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: .875rem; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
    color: var(--ink);
    box-shadow: 0 10px 30px -10px rgba(201, 162, 74, .7);
}
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(201, 162, 74, .9); }

.btn-ghost {
    color: var(--ivory);
    border-color: rgba(247, 242, 232, .35);
    background: rgba(247, 242, 232, .06);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--ink-3); }

.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }

/* Legacy buttons */
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-secondary { border-color: var(--gold); color: var(--gold-deep); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--gold-deep); }

.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--dark  { background: var(--ink); color: var(--text-on-dark); }

.section-title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
}
.section-title em, .hero-title em, .mission-statement em { color: var(--gold-deep); font-weight: 500; }
.section--dark .section-title, .section-title--light { color: var(--ivory); }
.section--dark .section-title em, .section-title--light em { color: var(--gold-light); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-intro { max-width: 440px; color: var(--text-soft); font-size: 1.05rem; }

.prose p { color: var(--text-soft); font-size: 1.06rem; }
.prose p + p { margin-top: 1em; }

.social-row { display: flex; gap: 8px; }
.social-row a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    color: var(--gold-light);
    font-size: .9rem;
    transition: background-color .25s, color .25s, border-color .25s;
}
.social-row a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(14, 12, 9, .92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transition: background-color .35s, border-color .35s, height .35s;
}
.site-header.is-transparent:not(.is-scrolled) {
    background: linear-gradient(to bottom, rgba(14, 12, 9, .55), transparent);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}
.admin-bar .site-header { top: 32px; }

.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(230, 200, 115, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-kicker { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; }

.main-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu a {
    display: block; padding: 8px 14px;
    font-size: .84rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-on-dark);
    position: relative;
    white-space: nowrap;
    transition: color .2s;
}
.nav-menu a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
    background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-menu a:hover, .nav-menu a.is-current { color: var(--gold-light); }
.nav-menu a:hover::after, .nav-menu a.is-current::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.social-row--header a { width: 34px; height: 34px; font-size: .8rem; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span {
    position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ivory);
    transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   5. Hero / banner slider
   ========================================================= */
.hero {
    position: relative;
    min-height: min(100svh, 920px);
    background: var(--ink);
    color: var(--ivory);
    overflow: hidden;
    isolation: isolate;
}
.hero-track { position: relative; min-height: inherit; }

.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: min(100svh, 920px); }

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s ease-out; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 70% 40%, rgba(201, 162, 74, .16), transparent 70%),
        linear-gradient(90deg, rgba(14, 12, 9, .92) 0%, rgba(14, 12, 9, .7) 45%, rgba(14, 12, 9, .35) 100%),
        linear-gradient(0deg, rgba(14, 12, 9, .9) 0%, transparent 40%);
}
.hero-media--blur img { filter: blur(40px) saturate(1.2); transform: scale(1.3) !important; opacity: .55; }

.hero-inner { padding-block: calc(var(--header-h) + 32px) 56px; }
.hero-media--welcome img { object-position: 55% 45%; }
.hero-inner--welcome { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }

/* Vertical reel card (vídeo do espaço novo) */
.hero-reel {
    position: relative; justify-self: end;
    height: min(600px, calc(100svh - var(--header-h) - 88px));
    min-height: 300px;
    width: auto;
    aspect-ratio: 9 / 16;
    border-radius: 28px; overflow: hidden;
    background: var(--ink-2);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(230, 200, 115, .35), 0 0 80px -10px rgba(201, 162, 74, .35);
    transform: rotate(1.5deg);
    animation: rise 1.1s .3s var(--ease) both;
}
.hero-reel::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(14, 12, 9, .45), transparent 22%, transparent 70%, rgba(14, 12, 9, .8));
}
.hero-reel-video { width: 100%; height: 100%; object-fit: cover; }
.hero-reel-tag {
    position: absolute; top: 16px; left: 16px; right: 16px; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(230, 200, 115, .7); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 10px rgba(230, 200, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 200, 115, 0); } }
.hero-reel-cta {
    position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; border-radius: 999px;
    background: rgba(247, 242, 232, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 242, 232, .25);
    color: var(--ivory); font-size: .85rem; font-weight: 600;
    transition: background-color .25s, color .25s;
}
.hero-reel-cta:hover { background: var(--gold); color: var(--ink); }
.hero-inner--event { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
.hero-copy { max-width: 640px; }

.hero-title {
    font-size: clamp(2.6rem, min(9vw, 12.5svh), 7.2rem);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.02em;
    margin-bottom: 28px;
}
.hero-title em {
    display: block;
    background: linear-gradient(100deg, var(--gold-deep), var(--gold-light) 40%, #fff3c9 50%, var(--gold-light) 60%, var(--gold-deep));
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 7s linear infinite;
}
.hero-title--event { font-size: clamp(2.6rem, 6vw, 5rem); }
@keyframes sheen { to { background-position: -220% center; } }

.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-on-dark); max-width: 540px; margin-bottom: 36px; }
.hero-when { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 22px; color: var(--gold-light); font-weight: 500; }
.hero-when i { margin-right: 6px; opacity: .8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-poster {
    justify-self: end;
    width: min(400px, 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-dark);
    transform: rotate(2deg);
}
.hero-poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero-dot { width: 34px; height: 3px; border-radius: 3px; background: rgba(247, 242, 232, .3); transition: background-color .3s, width .3s; }
.hero-dot.is-active { background: var(--gold-light); width: 54px; }

/* Hero entrance */
.hero-slide.is-active .hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* =========================================================
   6. Agenda semanal
   ========================================================= */
.weekly-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px; margin-inline: auto;
}
.weekly-col {
    text-align: center;
    padding: 40px 28px 34px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.weekly-col:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.weekly-day {
    display: flex; align-items: center; gap: 14px; justify-content: center;
    font-size: 1.7rem; color: var(--ink); margin-bottom: 24px;
}
.weekly-day::before, .weekly-day::after { content: ''; flex: 1; max-width: 48px; height: 1px; background: var(--gold); opacity: .6; }
.weekly-thumb {
    width: 132px; height: 132px; margin: 0 auto 24px;
    border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold), var(--shadow);
}
.weekly-thumb img { width: 100%; height: 100%; object-fit: cover; }
.weekly-thumb--logo { background: var(--ink); display: grid; place-items: center; }
.weekly-thumb--icon {
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 35%, #2b2418 0%, var(--ink) 75%);
    color: var(--gold-light); font-size: 2.6rem;
}
.weekly-thumb--icon i { filter: drop-shadow(0 0 14px rgba(230, 200, 115, .45)); transition: transform .4s var(--ease); }
.weekly-col:hover .weekly-thumb--icon i { transform: scale(1.1); }
.weekly-thumb--logo img { width: 78%; height: 78%; object-fit: contain; }
.weekly-time { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold-deep); line-height: 1; }
.weekly-name { font-weight: 600; color: var(--ink); margin-top: 8px; }
.weekly-desc { color: var(--text-soft); font-size: .95rem; margin-top: 6px; }
.weekly-link {
    display: inline-block; margin-top: 18px;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.weekly-link:hover { color: var(--ink); }

/* =========================================================
   7. Eventos (do painel)
   ========================================================= */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.event-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.event-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-card:hover .event-media > img { transform: scale(1.05); }
.event-media-fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.event-media-fallback img { width: 50%; opacity: .8; }
.date-badge {
    position: absolute; top: 16px; left: 16px;
    display: flex; flex-direction: column; align-items: center;
    min-width: 62px; padding: 10px 8px 8px;
    background: var(--ivory); color: var(--ink);
    border-radius: 12px; box-shadow: var(--shadow);
    line-height: 1;
}
.date-badge-day { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.date-badge-month { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.event-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-body h3 { font-size: 1.65rem; color: var(--ink); }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--text-soft); }
.event-meta i { color: var(--gold-deep); margin-right: 4px; }
.event-excerpt { color: var(--text-soft); font-size: .95rem; }
.event-more { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.event-more i { transition: transform .3s var(--ease); margin-left: 4px; }
.event-card:hover .event-more i { transform: translateX(4px); }

.empty-state {
    max-width: 640px; margin-inline: auto; text-align: center;
    padding: 48px 32px; border: 1px dashed rgba(156, 122, 44, .45); border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .5);
}
.empty-state > i { font-size: 2rem; color: var(--gold-deep); margin-bottom: 16px; }
.empty-state p { color: var(--text-soft); margin-bottom: 22px; }
.empty-state strong { color: var(--ink); }

/* =========================================================
   8. Sobre
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.about-copy .section-title { margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.about-features li { display: flex; gap: 16px; }
.about-features h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 4px; }
.about-features p { font-size: .93rem; color: var(--text-soft); }
.icon-badge {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--ink); color: var(--gold-light);
}

.about-pastors {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
    margin-top: 32px; padding: 18px 22px;
    background: var(--white); border-radius: var(--radius); border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
}
.about-pastors-label { width: 100%; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.about-pastors-names { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.about-pastors-link { font-size: .88rem; color: var(--text-soft); }
.about-pastors-link:hover { color: var(--gold-deep); }

.about-visual { position: relative; }
.about-photo {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4 / 3.6;
    box-shadow: var(--shadow-lg);
    outline: 1px solid rgba(156, 122, 44, .35); outline-offset: 10px;
}
.about-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transition: transform 1.2s var(--ease); }
.about-visual:hover .about-photo > img { transform: scale(1.04); }
.about-photo-badge {
    position: absolute; top: 16px; left: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px; border-radius: 999px;
    background: rgba(14, 12, 9, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--ivory); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.about-photo-badge img { width: 28px; height: 28px; }
.about-visual .about-quote { left: auto; right: -24px; }
.about-emblem {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #2b2418 0%, var(--ink) 70%);
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-dark);
}
.about-emblem::before {
    content: ''; position: absolute; inset: -14px; border-radius: 50%;
    border: 1px solid rgba(156, 122, 44, .35);
}
.about-emblem img { width: 78%; filter: drop-shadow(0 0 40px rgba(230, 200, 115, .35)); }
.about-quote {
    position: absolute; left: -32px; bottom: -24px;
    max-width: 290px;
    background: var(--white);
    padding: 22px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--gold);
    font-family: var(--font-display);
    font-size: 1.2rem; line-height: 1.35; color: var(--ink);
}
.about-quote span { display: block; }
.about-quote span:last-child { font-style: italic; color: var(--gold-deep); margin-top: 6px; font-size: 1.05rem; }

/* =========================================================
   9. Missão
   ========================================================= */
.mission { overflow: hidden; text-align: center; }
.mission-ornament {
    position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 162, 74, .16), transparent 60%);
    pointer-events: none;
}
.mission .container { position: relative; }
.mission-statement {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500; line-height: 1.12;
    max-width: 920px; margin: 0 auto 28px;
    color: var(--ivory);
}
.mission-statement em { color: var(--gold-light); }
.mission-lead { max-width: 640px; margin: 0 auto; color: var(--text-on-dark-soft); font-size: 1.08rem; }
.pillars {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(56px, 8vw, 88px);
    border-top: 1px solid var(--line-dark);
}
.pillar {
    padding: 36px 20px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    border-right: 1px solid var(--line-dark);
}
.pillar:last-child { border-right: 0; }
.pillar-num { font-size: .75rem; letter-spacing: .2em; color: var(--gold); }
.pillar-kicker { font-size: .9rem; color: var(--text-on-dark-soft); }
.pillar-word { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ivory); }

/* =========================================================
   10. Ministérios
   ========================================================= */
.ministry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ministry-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .5); }
.ministry-icon {
    width: 60px; height: 60px; margin: 0 auto 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    color: var(--ink); font-size: 1.3rem;
    box-shadow: 0 10px 24px -10px rgba(156, 122, 44, .8);
}
.ministry-card h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }
.ministry-card p { font-size: .92rem; color: var(--text-soft); }

/* =========================================================
   11. Mensagens (YouTube)
   ========================================================= */
.message-list { display: grid; gap: 14px; }
.message {
    display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 24px;
    padding: 12px; padding-right: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.message:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.message img { width: 180px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.message-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.message-date { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.message-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.message-play {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: var(--gold-light); font-size: .9rem;
    transition: background-color .3s, color .3s;
}
.message:hover .message-play { background: var(--gold); color: var(--ink); }

/* =========================================================
   12. Momentos (galeria)
   ========================================================= */
.poster-strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px);
    gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.poster {
    position: relative; display: block; width: 100%;
    aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
    scroll-snap-align: start;
    background: var(--ink-2);
    text-align: left;
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.poster:hover img { transform: scale(1.06); }
.poster-caption {
    position: absolute; inset: auto 0 0 0;
    padding: 56px 16px 14px;
    background: linear-gradient(transparent, rgba(14, 12, 9, .85) 45%, var(--ink));
    color: var(--ivory);
    display: flex; flex-direction: column;
    font-size: .8rem;
}
.poster-caption strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.poster-caption span { color: var(--gold-light); text-transform: capitalize; }

/* =========================================================
   13. Contribuir
   ========================================================= */
.donate::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 60% at 85% 20%, rgba(201, 162, 74, .14), transparent 70%);
    pointer-events: none;
}
.donate-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
.donate-lead { color: var(--text-on-dark-soft); font-size: 1.08rem; margin: 24px 0 32px; max-width: 480px; }
.impact-list { display: grid; gap: 20px; }
.impact-list li { display: flex; gap: 16px; align-items: flex-start; }
.impact-list i { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-light); }
.impact-list strong { display: block; color: var(--ivory); font-weight: 600; }
.impact-list span { font-size: .92rem; color: var(--text-on-dark-soft); }
.scripture {
    margin-top: 40px; padding-left: 20px; border-left: 2px solid var(--gold);
    font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.45; color: var(--text-on-dark);
}
.scripture cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.donate-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 12px 12px 24px;
    box-shadow: var(--shadow-lg);
}
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; padding: 6px; background: rgba(0, 0, 0, .3); border-radius: 14px; }
.tab { min-height: 44px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--text-on-dark-soft); transition: background-color .25s, color .25s; }
.tab:hover { color: var(--ivory); }
.tab.is-active { background: var(--gold); color: var(--ink); }
.tab-panel { padding: 24px 16px 0; }
.tab-note { font-size: .85rem; color: var(--text-on-dark-soft); margin-bottom: 16px; }
.account { display: grid; gap: 12px; }
.account-row { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.account dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.account dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ivory); }
.account .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1.05rem; letter-spacing: .04em; }
.copy-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 8px;
    font-size: .78rem; font-weight: 600;
    color: var(--gold-light); border: 1px solid var(--line-dark);
    transition: background-color .2s, color .2s;
}
.copy-btn:hover { background: var(--gold); color: var(--ink); }
.copy-btn.is-copied { background: #2f7d4f; border-color: #2f7d4f; color: #fff; }
.donate-thanks { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--text-on-dark-soft); }
.donate-thanks i { color: var(--gold); margin-right: 6px; }

/* =========================================================
   14. Visite-nos
   ========================================================= */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.visit-copy .section-title { margin-bottom: 18px; }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 36px 0; }
.visit-info dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.visit-info dt i { margin-right: 6px; }
.visit-info dd { color: var(--text); }
.visit-info a:hover { color: var(--gold-deep); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-map {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
    border: 6px solid var(--white);
}
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }

/* =========================================================
   15. Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--text-on-dark-soft); padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 88px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; margin-bottom: 22px; font-size: .95rem; }
.footer-col h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-k { display: block; color: var(--ivory); font-weight: 500; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-block: 26px; border-top: 1px solid var(--line-dark);
    font-size: .82rem;
}
.footer-verse { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--gold-light); }

/* =========================================================
   16. Lightbox & toast
   ========================================================= */
.lightbox {
    margin: auto; padding: 0; border: 0; background: transparent;
    max-width: min(92vw, 720px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(14, 12, 9, .88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold); color: var(--ink); font-size: 1.1rem; box-shadow: var(--shadow);
}

.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 3000;
    transform: translate(-50%, 20px); opacity: 0;
    background: var(--ink); color: var(--ivory);
    padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-dark);
    font-size: .9rem; box-shadow: var(--shadow-lg);
    transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--gold); margin-right: 8px; }

/* =========================================================
   17. Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   18. Inner pages (single / archives) — harmonise legacy inline styles
   ========================================================= */
.site-main { background: var(--ivory); min-height: 60vh; }
.site-main .entry-header,
.site-main .page-header {
    background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(201, 162, 74, .2), transparent 70%), var(--ink) !important;
    padding-top: calc(var(--header-h) + 64px) !important;
}
.site-main .entry-title, .site-main .page-title { font-family: var(--font-display); font-weight: 600 !important; color: var(--ivory); }
.site-main .entry-content { font-size: 1.06rem; line-height: 1.8; }
.site-main .entry-content h2, .site-main .entry-content h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.site-main .entry-content p { margin-bottom: 1.1em; }
.site-main .cta-button { background: var(--gold) !important; color: var(--ink) !important; border-radius: 999px !important; }
.site-main .filter-btn.active { background: var(--ink) !important; color: var(--ivory) !important; }

/* Legacy grid helpers */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-12, .col-6, .col-4, .col-3 { padding: 0 15px; }
.col-12 { width: 100%; } .col-6 { width: 50%; } .col-4 { width: 33.333%; } .col-3 { width: 25%; }
.text-center { text-align: center; }
.align-items-center { align-items: center; }

/* =========================================================
   19. Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .social-row--header { display: none; }
    .nav-menu a { padding: 8px 10px; letter-spacing: .05em; }
    .nav-menu a::after { left: 10px; right: 10px; }
    .ministry-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        background: var(--ink);
        padding: 32px var(--gutter);
        display: flex; flex-direction: column; gap: 32px;
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        overflow-y: auto;
    }
    .main-nav.is-open { transform: none; }
    .nav-menu { flex-direction: column; gap: 0; }
    .nav-menu a { padding: 18px 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--line-dark); }
    .nav-menu a::after { display: none; }
    .nav-mobile-extra { display: block; }
    .header-actions { margin-left: auto; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header { background: var(--ink) !important; border-bottom-color: var(--line-dark) !important; }

    .hero-inner--event { grid-template-columns: 1fr; gap: 40px; }
    .hero-media::after {
        background:
            radial-gradient(ellipse 80% 50% at 50% 30%, rgba(201, 162, 74, .14), transparent 70%),
            linear-gradient(180deg, rgba(14, 12, 9, .78) 0%, rgba(14, 12, 9, .72) 50%, rgba(14, 12, 9, .92) 100%);
    }

    /* Telemóvel: o vídeo vertical do culto vira o fundo do hero (estilo "stories"),
       o texto assenta em baixo sobre um gradiente escuro */
    .hero-media--welcome { display: none; }
    .hero-inner--welcome {
        grid-template-columns: 1fr;
        align-content: end;
        min-height: 100svh;
        padding-top: calc(var(--header-h) + 24px);
        padding-bottom: 48px;
    }
    .hero-slide.is-active:has(.hero-inner--welcome) { align-items: stretch; }
    .hero-inner--welcome .hero-copy { position: relative; z-index: 1; }
    .hero-reel {
        position: absolute; inset: 0; z-index: 0;
        width: 100%; height: 100%; min-height: 0;
        aspect-ratio: auto; border-radius: 0; transform: none;
        box-shadow: none; animation: none;
    }
    .hero-reel::after {
        background: linear-gradient(180deg,
            rgba(14, 12, 9, .5) 0%,
            rgba(14, 12, 9, 0) 22%,
            rgba(14, 12, 9, .1) 44%,
            rgba(14, 12, 9, .82) 62%,
            var(--ink) 82%);
    }
    .hero-reel-video { object-position: center 18%; }
    .hero-reel-tag, .hero-reel-cta { display: none; }
    /* "Fé · Propósito · Comunidade" fica logo abaixo da barra do topo */
    .hero-inner--welcome .hero-copy { position: static; }
    .hero-inner--welcome .hero-copy > * { position: relative; z-index: 1; }
    .hero-inner--welcome .hero-copy .eyebrow {
        position: absolute; z-index: 1;
        top: calc(var(--header-h) + 16px); left: 0; right: 0;
        justify-content: center; margin: 0;
        padding-inline: max(16px, env(safe-area-inset-left, 0px));
        font-size: .68rem; letter-spacing: .22em;
        text-shadow: 0 1px 12px rgba(14, 12, 9, .6);
    }
    .hero-inner--welcome .hero-copy .eyebrow::before,
    .hero-inner--welcome .hero-copy .eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
    .hero-inner--welcome .hero-title { font-size: clamp(3rem, 14vw, 4.2rem); line-height: .92; margin-bottom: 14px; }
    .hero-inner--welcome .hero-lead { font-size: 1.05rem; margin-bottom: 22px; max-width: 30ch; }
    .hero-poster { justify-self: start; width: min(280px, 70%); transform: none; }

    .weekly-grid { grid-template-columns: 1fr; max-width: 440px; }
    .event-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .donate-grid, .visit-grid { grid-template-columns: 1fr; }
    .about-visual { max-width: 460px; margin: 0 auto 40px; }
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .pillar:nth-child(2) { border-right: 0; }
    .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); padding-bottom: 32px; }
    .ministry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Ecrãs baixos (portáteis, janelas pequenas): tudo cabe na primeira dobra */
@media (min-width: 961px) and (max-height: 820px) {
    .hero-title { margin-bottom: 18px; }
    .hero-copy .eyebrow { margin-bottom: 12px; }
    .hero-lead { font-size: 1rem; margin-bottom: 24px; }
    .hero-actions .btn { min-height: 44px; }
    .hero-reel-tag { font-size: .62rem; top: 12px; left: 12px; }
    .hero-reel-cta { min-height: 36px; font-size: .78rem; bottom: 12px; left: 12px; right: 12px; }
    .hero-dots { bottom: 16px; }
}

@media (max-width: 640px) {
    .brand-kicker { display: none; }
    .eyebrow { letter-spacing: .16em; font-size: .7rem; }
    .brand-name { font-size: 1.15rem; }
    .header-actions .btn-sm { display: none; }
    .hero-lead-more { display: none; }
    .hero-actions { flex-wrap: nowrap; gap: 10px; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 12px; font-size: .9rem; }
    .event-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-quote { position: relative; left: auto; bottom: auto; margin: -40px auto 0; }
    .ministry-grid { grid-template-columns: 1fr; }
    .message { grid-template-columns: 110px 1fr; gap: 14px; padding-right: 14px; }
    .message img { width: 110px; }
    .message-play { display: none; }
    .message-title { font-size: 1.1rem; }
    .tabs { grid-template-columns: 1fr; }
    .account dd { flex-wrap: wrap; }
    .visit-info { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .col-6, .col-4, .col-3 { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
