/* Vida na Vida: fotografia, leitura e navegação em primeiro plano. */
:root { --paper-bg:#f7faf8; --paper-muted:#edf3ef; --radius-xl:1.5rem; }
body { font-size:1rem; }
.church-portal .container { width:min(1280px,calc(100% - 4rem)); }
.church-portal .ambient-glow,.church-portal .hero-mesh,.church-portal .pillar-number { display:none; }
.church-portal .site-header { padding:1rem 0; }
.church-portal .nav-shell { border-radius:1.15rem; background:rgba(5,25,14,.92); gap:1rem; }
.church-portal .brand-copy strong { font-size:1rem; }
.church-portal .main-nav { gap:1rem; }
.church-portal .nav-social-group { display:none; }
.church-portal .nav-link { font-size:.875rem; white-space:nowrap; min-height:44px; display:flex; align-items:center; }
.church-portal .button { min-height:48px; border-radius:.8rem; }
.church-portal .button i[class*="arrow"],.church-portal .quick-card-arrow { display:none; }
.church-portal .hero-section { min-height:860px; min-height:min(940px,100svh); padding:11rem 0 5rem; justify-content:center; }
.church-portal .hero-overlay { background:linear-gradient(90deg,rgba(3,21,12,.96) 0%,rgba(3,21,12,.84) 42%,rgba(3,21,12,.25) 100%),linear-gradient(0deg,rgba(3,21,12,.92),transparent 45%); }
.church-portal .hero-slide img { animation:none; transform:none; object-position:center; }
.church-portal .hero-container { grid-template-columns:minmax(0,1.6fr) minmax(270px,.75fr); gap:5rem; align-items:end; }
.church-portal .hero-title { font-size:clamp(3.2rem,5.8vw,5.5rem); line-height:1.06; max-width:780px; text-wrap:balance; letter-spacing:-.055em; }
.church-portal .gradient-text { background:none; color:#b9e5c1; -webkit-text-fill-color:currentColor; }
.church-portal .hero-description { color:#e2ece5; font-size:1.125rem; max-width:34rem; }
.church-portal .hero-badge { border:0; background:none; padding:0; border-radius:0; backdrop-filter:none; flex-wrap:wrap; }
.church-portal .welcome-pill { background:rgba(255,255,255,.1); color:white; font-size:.875rem; }
.church-portal .badge-text { font-size:.875rem; }
.church-portal .hero-actions { margin-bottom:2rem; }
.church-portal .button-hero-primary { background:#b9e5c1; color:#082b18; box-shadow:none; }
.church-portal .button-hero-secondary { background:rgba(5,25,14,.45); }
.church-portal .hero-socials-wrapper { padding-top:1rem; }
.church-portal .hero-socials-label { font-size:.875rem; letter-spacing:.02em; text-transform:none; }
.church-portal .hero-social-card { border:0; background:transparent; padding:.4rem .6rem; min-height:44px; border-radius:.5rem; }
.church-portal .hero-quick-cards { gap:0; border-block:1px solid #ffffff40; }
.church-portal .quick-card { background:rgba(5,25,14,.62); border:0; border-bottom:1px solid #ffffff30; border-radius:0; box-shadow:none; padding:1.3rem 1rem; grid-template-columns:auto minmax(0,1fr); backdrop-filter:blur(8px); }
.church-portal .quick-card:last-child { border-bottom:0; }
.church-portal .quick-card:hover { background:#143c29; transform:none; }
.church-portal .quick-card-icon { width:2.8rem; height:2.8rem; font-size:1.25rem; border-radius:.75rem; }
.church-portal .quick-card-tag { font-size:.875rem; }
.church-portal .quick-card-info strong { font-size:1.05rem; }
.church-portal .quick-card-info p { font-size:.875rem; }
.church-portal .pillars-section { margin:0; padding:0; background:white; border-bottom:1px solid #dfe8e2; }
.church-portal .pillars-grid { gap:0; }
.church-portal .pillar-card { border:0; border-right:1px solid #e2eae5; border-radius:0; box-shadow:none; padding:2.5rem 1.75rem; }
.church-portal .pillar-card:last-child { border-right:0; }
.church-portal .pillar-card:hover { transform:none; box-shadow:none; }
.church-portal .pillar-icon { margin-bottom:1rem; border-radius:.75rem; }
.church-portal .pillar-card p { font-size:1rem; }
.church-portal .section { padding:clamp(4rem,7vw,7rem) 0; }
.church-portal .section-heading-title { font-size:clamp(2rem,3.6vw,3.25rem); line-height:1.16; text-wrap:balance; }
.church-portal .section-tag,.church-portal .library-subtitle,.church-portal .card-pill-tag,.church-portal .form-eyebrow { font-size:.875rem; letter-spacing:.04em; }
.church-portal .section-header-split { gap:3rem; }
.church-portal .media-stage-box,.church-portal .media-library-box { border-radius:1.25rem; }
.church-portal .about-image-card { aspect-ratio:4/4.4; }
.church-portal .member-feature-card { border-radius:1.25rem; box-shadow:0 6px 24px #0c261908; }
.church-portal .member-card-content p,.church-portal .form-group label { font-size:1rem; }
.church-portal .connect-form-card { border-radius:1.5rem; box-shadow:none; }
.church-portal input,.church-portal textarea { font-size:1rem; }
.church-portal .form-privacy-note { color:#52665a; font-size:.875rem; }
.church-portal .footer-social-title,.church-portal .footer-links-list a { font-size:.95rem; }
.church-portal :focus-visible { outline:3px solid #65b47e; outline-offset:4px; }
.church-portal [data-reveal] { opacity:1; transform:none; }
.install-entry { display:inline-flex; align-items:center; gap:.65rem; margin-top:1.25rem; padding:.85rem 1.1rem; border:1px solid #ffffff50; background:#ffffff12; border-radius:.8rem; color:white; font-family:inherit; font-size:1rem; font-weight:600; cursor:pointer; min-height:48px; }
.install-entry[hidden] { display:none; }
.install-dialog { width:min(440px,calc(100% - 2rem)); max-height:calc(100dvh - 2rem); margin:auto; padding:2rem; overflow-y:auto; border:1px solid #dbe7df; border-radius:1.75rem; color:#142d1f; background:#fff; box-shadow:0 24px 90px #0005; font-family:'DM Sans',sans-serif; }
.install-dialog::backdrop { background:#03170dbb; backdrop-filter:blur(5px); }
.install-close { position:absolute; top:.75rem; right:.75rem; width:44px; height:44px; border:0; border-radius:50%; background:#edf3ef; color:#234a32; cursor:pointer; font-size:1.5rem; }
.install-logo { width:76px; height:76px; padding:.4rem; border:1px solid #deebe2; border-radius:1.25rem; margin-bottom:1.25rem; object-fit:contain; }
.install-eyebrow { color:#40734e; font-size:.875rem; font-weight:700; margin-bottom:.5rem; }
.install-dialog h2 { font-family:Manrope,sans-serif; font-size:1.65rem; line-height:1.2; margin:0 0 .75rem; letter-spacing:-.04em; }
.install-dialog p { line-height:1.6; margin-bottom:1rem; }
.install-description { color:#52665a; }
.install-steps { background:#f0f6f2; border-radius:1rem; padding:1rem 1rem 1rem 2.4rem; margin:1rem 0; }
.install-steps li { padding:.25rem 0; line-height:1.5; }
.install-primary,.install-later { display:block; width:100%; min-height:48px; padding:.85rem; border-radius:.8rem; font:inherit; font-weight:700; cursor:pointer; }
.install-primary { background:#174c30; color:white; border:0; margin-top:1.25rem; }
.install-later { margin-top:.5rem; background:transparent; color:#52665a; border:0; }
.install-dialog [hidden] { display:none; }
.install-note { margin-top:1rem; color:#52665a; font-size:.875rem; }
.portal-body { font-size:1rem; }
.site-nav-backdrop,.nav-drawer-heading,.nav-drawer-label,.church-portal .main-nav .nav-menu-icon { display:none; }
@media (min-width:861px) and (max-width:1199px) {
  .church-portal .brand-copy small,.church-portal .button-nav-cta { display:none; }
  .church-portal .main-nav { gap:.7rem; }
  .church-portal .brand-copy strong { max-width:10rem; white-space:normal; }
  .church-portal .hero-container { gap:2rem; }
}
@media (max-width:1080px) {
  .church-portal .hero-section { min-height:auto; padding:10rem 0 4rem; }
  .church-portal .hero-container { grid-template-columns:1fr; gap:2.5rem; }
  .church-portal .hero-quick-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .church-portal .quick-card { border:0; border-right:1px solid #ffffff30; padding:1rem; grid-template-columns:1fr; gap:.5rem; }
  .church-portal .pillars-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .church-portal .pillar-card { border-bottom:1px solid #e2eae5; }
}
@media (max-width:860px) {
  .church-portal .site-header.is-scrolled { backdrop-filter:none; -webkit-backdrop-filter:none; }
  .church-portal .container { width:calc(100% - 2rem); }
  .church-portal .nav-shell { backdrop-filter:none; -webkit-backdrop-filter:none; }
  .church-portal .main-nav { position:fixed; inset:0 auto 0 0; z-index:1001; width:min(19rem,84vw); max-width:calc(100vw - 3rem); padding:calc(1rem + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom)); background:#0c2619; overflow-y:auto; overscroll-behavior:contain; height:100vh; height:100dvh; align-items:stretch; justify-content:flex-start; gap:.3rem; opacity:1; transform:translateX(-105%); border-right:1px solid #ffffff12; box-shadow:1.5rem 0 4rem #0004; transition:transform .25s ease,visibility .25s; }
  .church-portal .main-nav.is-open { transform:translateX(0); }
  .church-portal .brand,.church-portal .header-mobile-actions { position:relative; z-index:1002; }
  .church-portal .main-nav .nav-link { font-size:1rem; font-weight:600; min-height:48px; padding:.75rem; gap:.75rem; border:1px solid transparent; border-radius:.75rem; }
  .church-portal .main-nav .nav-link::after { display:none; }
  .church-portal .main-nav .nav-link:hover { background:#ffffff0d; }
  .church-portal .main-nav .nav-link.is-active { background:#b4ce9f24; border-color:#b4ce9f26; }
  .church-portal .main-nav .nav-menu-icon { display:grid; place-items:center; width:1.5rem; flex:0 0 1.5rem; color:#b4ce9f; font-size:1.1rem; }
  .church-portal .nav-drawer-heading { display:grid; grid-template-columns:40px minmax(0,1fr) 44px; align-items:center; gap:.6rem; margin-bottom:1rem; }
  .church-portal .nav-drawer-heading img { width:40px; height:40px; padding:.15rem; object-fit:contain; background:#fff; border-radius:50%; }
  .church-portal .nav-drawer-heading strong { display:block; color:#fff; font-size:.95rem; line-height:1.3; }
  .church-portal .nav-drawer-heading small { display:block; margin-top:.25rem; color:#b4ce9f; font-size:.75rem; line-height:1.4; }
  .church-portal .nav-drawer-heading button { display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff24; border-radius:.75rem; background:#ffffff0d; color:#fff; font-size:1.1rem; cursor:pointer; }
  .church-portal .nav-drawer-label { display:block; padding:0 .75rem .5rem; color:#a6bba9; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
  .church-portal .site-nav-backdrop { position:fixed; inset:0; z-index:1090; display:block; background:#05140c85; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s,visibility .25s; }
  .church-portal.nav-open .site-nav-backdrop { opacity:1; visibility:visible; pointer-events:auto; }
  .church-portal.nav-open .site-header { z-index:1100; background:transparent; border-color:transparent; box-shadow:none; pointer-events:none; }
  .church-portal.nav-open .nav-shell { background:transparent; border-color:transparent; box-shadow:none; pointer-events:none; }
  .church-portal.nav-open .nav-shell>.brand,.church-portal.nav-open .header-mobile-actions { visibility:hidden; pointer-events:none; }
  .church-portal.nav-open .main-nav { pointer-events:auto; }
  .church-portal .main-nav .nav-social-group { display:flex; border:0; padding:0; margin:.75rem 0; }
  .church-portal .main-nav .nav-social-btn { width:44px; height:44px; }
  .church-portal .section-header-split,.church-portal .about-grid,.church-portal .connect-grid { grid-template-columns:1fr; gap:2rem; }
  .church-portal .about-seal-card { right:1rem; bottom:1rem; max-width:calc(100% - 2rem); }
}
@media (max-width:720px) {
  .church-portal .site-header { padding:.5rem 0; }
  .church-portal .nav-shell { padding:.4rem .65rem; border-radius:1rem; gap:.5rem; }
  .church-portal .brand { min-width:0; gap:.5rem; }
  .church-portal .brand-copy strong { font-size:.875rem; max-width:10rem; white-space:normal; }
  .church-portal .brand-copy small { font-size:.75rem; }
  .church-portal .brand-mark { width:2.7rem; height:2.7rem; flex-shrink:0; }
  .church-portal .header-admin-pill { min-width:44px; min-height:44px; justify-content:center; padding:.5rem; }
  .church-portal .header-admin-pill span { display:none; }
  .church-portal .header-mobile-actions { gap:.4rem; }
  .church-portal .hero-section { padding:8rem 0 3rem; }
  .church-portal .hero-overlay { background:linear-gradient(180deg,#03170d88,#03170dd9 40%,#03170df5); }
  .church-portal .hero-title { font-size:clamp(2.65rem,10vw,4rem); max-width:100%; }
  .church-portal .hero-description { font-size:1rem; line-height:1.7; }
  .church-portal .hero-badge { gap:.5rem; margin-bottom:1.25rem; }
  .church-portal .hero-actions { flex-direction:column; align-items:stretch; gap:.75rem; }
  .church-portal .hero-actions .button { width:100%; justify-content:center; min-height:52px; }
  .church-portal .hero-social-buttons { display:flex; flex-wrap:wrap; gap:.25rem; }
  .church-portal .hero-social-card { font-size:.875rem; padding:.5rem; }
  .church-portal .hero-quick-cards { grid-template-columns:1fr; }
  .church-portal .quick-card { grid-template-columns:auto minmax(0,1fr); gap:1rem; border-bottom:1px solid #ffffff30; border-right:0; padding:1rem .5rem; }
  .church-portal .hero-carousel-controls { display:flex; position:relative; bottom:auto; right:auto; align-self:center; margin-top:1.25rem; }
  .church-portal .carousel-btn,.church-portal .carousel-dot { min-width:32px; min-height:32px; }
  .church-portal .pillars-grid { grid-template-columns:1fr; }
  .church-portal .pillar-card { padding:1.5rem .25rem 1.5rem 4rem; border-right:0; }
  .church-portal .pillar-icon { position:absolute; left:0; top:1.5rem; width:3rem; height:3rem; }
  .church-portal .pillar-card h3 { font-size:1.1rem; }
  .church-portal .section { padding:3.5rem 0; }
  .church-portal .section-heading-title { font-size:2rem; }
  .church-portal .section-header-split { gap:1rem; margin-bottom:2rem; }
  .church-portal .library-scrollable-list { max-height:360px; }
  .church-portal .library-search-wrapper input { font-size:1rem; min-width:0; }
  .church-portal .media-status-bar { flex-wrap:wrap; gap:1rem; }
  .church-portal .member-cards-grid { grid-template-columns:1fr; }
  .church-portal .member-feature-card { padding:1.5rem; gap:1rem; grid-template-columns:1fr; }
  .church-portal .connect-form-card { padding:1.5rem; }
  .church-portal .mobile-app-nav { border-radius:1.1rem 1.1rem 0 0; padding-bottom:env(safe-area-inset-bottom); }
  .church-portal .mobile-app-nav a { min-width:0; min-height:60px; font-size:.75rem; }
  .church-portal .mobile-app-nav a.is-active { color:#134d2c; background:#e7f3eb; border-radius:.8rem; }
  .church-portal .footer-main-grid { gap:2rem; }
  .church-portal .closing-title { font-size:2rem; }
  .portal-header { gap:.75rem; flex-wrap:wrap; }
  .portal-brand { min-width:0; }
  .portal-main { width:min(100% - 2rem,1100px); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Player mobile: largura total sem alterar a altura anterior em pé. */
.live-cinema-controls { display:none; }
.mobile-intro {
  position:fixed; inset:0; z-index:10000; display:grid; place-items:center;
  width:100%; height:100vh; height:100dvh; background:#d7edcc;
  opacity:1; transition:opacity .65s ease; isolation:isolate;
}
.mobile-intro video { display:block; width:100%; height:100%; object-fit:contain; }
.mobile-intro.is-leaving { opacity:0; }
.mobile-intro-controls {
  position:absolute; top:max(.75rem,env(safe-area-inset-top)); right:max(.75rem,env(safe-area-inset-right));
  display:flex; gap:.5rem; z-index:1;
}
.mobile-intro button {
  min-height:44px; padding:.65rem 1rem; border:1px solid #42643d40;
  border-radius:999px; color:#203b1b; background:#f8fff2e6;
  font:600 .875rem 'DM Sans',sans-serif; cursor:pointer;
}
.mobile-intro button:focus-visible { outline:3px solid #174c30; outline-offset:3px; }
.mobile-intro .mobile-intro-play { position:absolute; align-self:center; justify-self:center; }
.mobile-intro [hidden] { display:none; }
@media (prefers-reduced-motion:reduce) { .mobile-intro { transition:none; } }
html.mobile-app-no-copy, html.mobile-app-no-copy * {
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
html.mobile-app-no-copy input,
html.mobile-app-no-copy textarea,
html.mobile-app-no-copy [contenteditable]:not([contenteditable="false"]),
html.mobile-app-no-copy [contenteditable]:not([contenteditable="false"]) *,
html.mobile-app-no-copy [role="textbox"],
html.mobile-app-no-copy [role="textbox"] * {
  -webkit-user-select:text;
  user-select:text;
  -webkit-touch-callout:default;
}
@media (max-width:860px), (any-pointer:coarse) and (max-width:1366px) {
  .church-portal .live-section .media-center-grid { grid-template-columns:minmax(0,1fr); max-width:none; }
  .church-portal .live-section .media-stage-box { width:100vw; max-width:none; margin-inline:calc((100% - 100vw) / 2); border:0; border-radius:0; }
  .church-portal .live-section .media-screen-wrap { height:calc((100vw - 2rem - 2px) * .5625); aspect-ratio:auto; background:#000; }
  .church-portal.mobile-live-cinema { overflow:hidden; }
  .church-portal.mobile-live-cinema .site-header,
  .church-portal.mobile-live-cinema .mobile-app-nav { visibility:hidden; pointer-events:none; }
  .church-portal.mobile-live-cinema .media-screen-wrap {
    position:fixed; inset:0; z-index:5000; width:100vw; height:100vh; height:100dvh;
    max-width:none; max-height:none; border:0; border-radius:0; background:#000;
  }
  .church-portal.mobile-live-cinema .live-cinema-controls,
  .church-portal .media-screen-wrap:fullscreen .live-cinema-controls {
    display:flex; position:absolute; right:max(.5rem,env(safe-area-inset-right));
    top:max(.5rem,env(safe-area-inset-top)); gap:.5rem; z-index:2;
  }
  .live-cinema-controls button { min-height:44px; padding:.6rem .9rem; border:1px solid #ffffff70; border-radius:.75rem; background:#061d12d9; color:#fff; font:600 .875rem 'DM Sans',sans-serif; cursor:pointer; }
  .live-cinema-controls button[hidden] { display:none; }
  .church-portal .media-screen-wrap:fullscreen { width:100%; height:100%; background:#000; }
}
