/* Abrigo com Deus — Núcleo v0.10.16
 * Referência oficial do mobile aprovada em 05/09/2026.
 * Objetivos:
 * - cabeçalho compacto com marca completa e CTA "Rezar agora";
 * - Hero editorial com kicker "Bem-vindo ao Abrigo com Deus";
 * - tipografia e ações proporcionais ao telefone;
 * - indicadores do carrossel como bolinhas reais e centralizadas;
 * - rodapé compacto, centralizado e organizado em três colunas.
 */

@media (max-width:700px){
  /* HEADER — mantém acesso rápido durante a rolagem. */
  body.acd-core-mobile-v01016 .acd-header,
  body.acd-core-mobile-v01016.acd-internal-site .acd-header{
    position:sticky!important;
    top:0!important;
    inset-block-start:0!important;
    z-index:9998!important;
    background:var(--acd-card,#fffaf2)!important;
    box-shadow:0 8px 24px rgba(16,28,38,.08)!important;
  }
  body.admin-bar.acd-core-mobile-v01016 .acd-header{top:46px!important}

  body.acd-core-mobile-v01016 .acd-header-inner{
    min-height:72px!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
  }
  body.acd-core-mobile-v01016 .acd-mobile-menu-toggle{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
    border-radius:13px!important;
    justify-self:start!important;
  }
  body.acd-core-mobile-v01016 .acd-brand{
    justify-self:start!important;
    width:auto!important;max-width:174px!important;min-width:0!important;
    margin:0!important;overflow:visible!important;
  }
  body.acd-core-mobile-v01016 .acd-brand-lockup{
    max-width:174px!important;
    display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:6px!important;min-width:0!important;
  }
  body.acd-core-mobile-v01016 .acd-brand-symbol{
    width:40px!important;height:40px!important;flex:0 0 40px!important;
  }
  body.acd-core-mobile-v01016 .acd-brand-wording{
    display:inline-flex!important;min-width:0!important;overflow:visible!important;
    flex-direction:column!important;justify-content:center!important;
  }
  body.acd-core-mobile-v01016 .acd-brand-name{
    display:inline-flex!important;white-space:nowrap!important;gap:3px!important;
    font-size:clamp(15px,4.15vw,18px)!important;line-height:1!important;letter-spacing:-.025em!important;
  }
  body.acd-core-mobile-v01016 .acd-brand-rule{
    width:70%!important;height:3px!important;margin-top:3px!important;
  }

  body.acd-core-mobile-v01016 .acd-header-actions{
    width:auto!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:5px!important;
  }
  body.acd-core-mobile-v01016 .acd-font-controls{display:none!important}
  body.acd-core-mobile-v01016 .acd-header-circle-button{
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:13px!important;
  }
  body.acd-core-mobile-v01016 .acd-theme-toggle{
    width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;border-radius:14px!important;
  }
  body.acd-core-mobile-v01016 .acd-theme-toggle .acd-theme-icon{width:34px!important;height:34px!important}
  body.acd-core-mobile-v01016 .acd-pray-button{
    width:auto!important;min-width:92px!important;height:48px!important;min-height:48px!important;
    padding:0 10px!important;border-radius:14px!important;gap:7px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    font-size:12.5px!important;line-height:1.05!important;text-align:left!important;
  }
  body.acd-core-mobile-v01016 .acd-pray-button span{
    display:inline-block!important;max-width:48px!important;white-space:normal!important;color:#fff!important;
  }
  body.acd-core-mobile-v01016 .acd-pray-button svg{width:19px!important;height:19px!important;flex:0 0 19px!important}

  /* HERO — proporção editorial, com respiro para título, ações e dots. */
  body.acd-core-mobile-v01016.acd-site .acd-hero-carousel{
    min-height:clamp(540px,132vw,600px)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-carousel .acd-hero-slide,
  body.acd-core-mobile-v01016.acd-site .acd-hero,
  body.acd-core-mobile-v01016.acd-site .acd-hero-inner{
    min-height:clamp(540px,132vw,600px)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero{
    background-position:64% center!important;background-size:cover!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero::after{
    background:
      linear-gradient(90deg,rgba(7,24,37,.91) 0%,rgba(8,27,41,.80) 45%,rgba(8,27,41,.38) 76%,rgba(8,27,41,.15) 100%),
      linear-gradient(180deg,rgba(5,18,29,.10) 0%,rgba(5,18,29,.04) 58%,rgba(5,18,29,.22) 100%)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-inner{
    width:100%!important;align-items:flex-start!important;padding-left:22px!important;padding-right:22px!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-content{
    width:100%!important;max-width:100%!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    padding:48px 0 78px!important;
  }

  /* Kicker exclusivo do Hero institucional. Inserido via JS para ser texto real. */
  body.acd-core-mobile-v01016.acd-site .acd-mobile-welcome-kicker{
    display:block!important;
    margin:0 0 27px!important;
    color:#fff!important;
    font-size:11.5px!important;line-height:1.6!important;font-weight:700!important;
    letter-spacing:.29em!important;text-transform:uppercase!important;white-space:pre-line!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-mobile-welcome-kicker::after{
    content:"";display:block;width:50px;height:3px;margin-top:8px;border-radius:99px;
    background:linear-gradient(90deg,#e3b735,#f2d36a 56%,rgba(242,211,106,0));
  }

  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional .acd-hero-badge{display:none!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional h1{
    max-width:96%!important;margin:0!important;
    font-size:clamp(40px,11.1vw,49px)!important;line-height:1.02!important;letter-spacing:-.032em!important;
    color:#fff8ea!important;text-wrap:balance!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional h1 span{
    display:block!important;margin-top:4px!important;color:#e5b83c!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title{
    max-width:94%!important;margin:0!important;
    font-size:clamp(34px,9.6vw,42px)!important;line-height:1.04!important;letter-spacing:-.025em!important;
    color:#fff8ea!important;text-wrap:balance!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title.is-long{font-size:clamp(31px,8.9vw,38px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title.is-very-long{font-size:clamp(28px,8.1vw,35px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-badge{
    margin:0 0 17px!important;padding:7px 11px!important;
    font-size:10px!important;line-height:1.15!important;letter-spacing:.08em!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-description{
    max-width:35ch!important;margin:18px 0 22px!important;
    color:rgba(255,255,255,.96)!important;font-size:15.5px!important;line-height:1.55!important;text-wrap:pretty!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;
    max-width:100%!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button{
    min-height:50px!important;height:50px!important;padding:0 14px!important;border-radius:13px!important;
    gap:8px!important;font-size:13.5px!important;line-height:1!important;white-space:nowrap!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button svg{width:19px!important;height:19px!important;flex:0 0 19px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional .acd-hero-actions .acd-button-primary{min-width:128px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional .acd-hero-actions .acd-button-secondary{min-width:168px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button-primary{
    background:linear-gradient(135deg,#a70f2e,#7e0b22)!important;color:#fff!important;
    box-shadow:0 8px 20px rgba(96,6,27,.20)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button-secondary{
    background:rgba(255,252,245,.97)!important;color:#7e0b22!important;border:1px solid rgba(213,170,57,.72)!important;
    box-shadow:0 6px 18px rgba(17,27,35,.08)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button-secondary span,
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button-secondary svg{color:#7e0b22!important;stroke:#7e0b22!important}

  /* CARROSSEL — bolinhas visuais verdadeiras, com área de toque maior invisível. */
  body.acd-core-mobile-v01016.acd-site .acd-hero-carousel-controls{
    position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:16px!important;
    transform:translateX(-50%)!important;z-index:9!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;height:auto!important;padding:0!important;margin:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-arrow,
  body.acd-core-mobile-v01016.acd-site .acd-hero-pause{display:none!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-dots{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;
    width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;padding:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:auto!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-dots button{
    position:relative!important;display:grid!important;place-items:center!important;
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
    background:transparent!important;box-shadow:none!important;outline-offset:1px!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-dots button::before{
    content:""!important;display:block!important;width:9px!important;height:9px!important;border-radius:50%!important;
    background:rgba(255,255,255,.88)!important;border:1px solid rgba(10,29,43,.20)!important;
    box-shadow:0 1px 5px rgba(0,0,0,.14)!important;transition:transform .16s ease,background .16s ease!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-dots button.is-active::before{
    width:10px!important;height:10px!important;background:#e5b83c!important;border-color:#ffe28a!important;
    transform:scale(1.08)!important;
  }
  body.acd-core-mobile-v01016.acd-site .acd-hero-dots button.is-active{
    width:24px!important;background:transparent!important;border-radius:50%!important;
  }

  /* RODAPÉ — centralizado e compacto, como a referência aprovada. */
  body.acd-core-mobile-v01016 .acd-footer{padding-top:34px!important}
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:28px 12px!important;align-items:start!important;text-align:center!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-brand{
    grid-column:1/-1!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-brand>a{
    display:inline-flex!important;justify-content:center!important;margin:0 auto 12px!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-brand p{
    max-width:31ch!important;margin:0 auto 15px!important;text-align:center!important;
    font-size:14.5px!important;line-height:1.55!important;text-wrap:pretty!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-social-dots{
    justify-content:center!important;margin:0 auto!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:nth-child(2),
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:nth-child(3),
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:nth-child(4){
    grid-column:auto!important;display:block!important;text-align:center!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:nth-child(5){
    grid-column:1/-1!important;text-align:center!important;
  }
  body.acd-core-mobile-v01016 .acd-footer h3{
    margin:0 0 10px!important;text-align:center!important;font-size:11.5px!important;line-height:1.25!important;letter-spacing:.04em!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:not(.acd-footer-brand) a{
    display:block!important;margin:0 0 7px!important;text-align:center!important;
    font-size:12.5px!important;line-height:1.28!important;text-wrap:balance!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:nth-child(5) p{
    max-width:32ch!important;margin:0 auto 10px!important;text-align:center!important;font-size:13px!important;line-height:1.45!important;
  }
  body.acd-core-mobile-v01016 .acd-footer .acd-newsletter{
    max-width:330px!important;margin:0 auto!important;
  }
  body.acd-core-mobile-v01016 .acd-footer-bottom{
    margin-top:24px!important;padding-top:16px!important;text-align:center!important;
    font-size:11.5px!important;line-height:1.45!important;
  }
}

@media (max-width:390px){
  body.acd-core-mobile-v01016 .acd-header-inner{
    grid-template-columns:40px minmax(0,1fr) auto!important;gap:4px!important;min-height:68px!important;
  }
  body.acd-core-mobile-v01016 .acd-mobile-menu-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  body.acd-core-mobile-v01016 .acd-brand{max-width:142px!important}
  body.acd-core-mobile-v01016 .acd-brand-lockup{max-width:142px!important;gap:4px!important}
  body.acd-core-mobile-v01016 .acd-brand-symbol{width:34px!important;height:34px!important;flex-basis:34px!important}
  body.acd-core-mobile-v01016 .acd-brand-name{font-size:13.6px!important;gap:2px!important}
  body.acd-core-mobile-v01016 .acd-brand-rule{height:2px!important;margin-top:2px!important}
  body.acd-core-mobile-v01016 .acd-header-circle-button{width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important}
  body.acd-core-mobile-v01016 .acd-theme-toggle{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
  body.acd-core-mobile-v01016 .acd-theme-toggle .acd-theme-icon{width:30px!important;height:30px!important}
  body.acd-core-mobile-v01016 .acd-pray-button{min-width:76px!important;height:42px!important;min-height:42px!important;padding:0 7px!important;font-size:11.5px!important;gap:5px!important}
  body.acd-core-mobile-v01016 .acd-pray-button span{max-width:39px!important}
  body.acd-core-mobile-v01016 .acd-pray-button svg{width:17px!important;height:17px!important;flex-basis:17px!important}

  body.acd-core-mobile-v01016.acd-site .acd-hero-carousel,
  body.acd-core-mobile-v01016.acd-site .acd-hero-carousel .acd-hero-slide,
  body.acd-core-mobile-v01016.acd-site .acd-hero,
  body.acd-core-mobile-v01016.acd-site .acd-hero-inner{min-height:520px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-inner{padding-left:17px!important;padding-right:17px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-content{padding:39px 0 72px!important}
  body.acd-core-mobile-v01016.acd-site .acd-mobile-welcome-kicker{font-size:10.5px!important;letter-spacing:.25em!important;margin-bottom:21px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional h1{font-size:clamp(35px,10.4vw,41px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title{font-size:clamp(30px,9vw,35px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title.is-long{font-size:clamp(28px,8.3vw,33px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-special-title.is-very-long{font-size:clamp(25px,7.6vw,30px)!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-description{font-size:14.5px!important;margin:14px 0 18px!important;max-width:34ch!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions{gap:6px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions .acd-button{height:46px!important;min-height:46px!important;padding:0 10px!important;font-size:12.25px!important;gap:6px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional .acd-hero-actions .acd-button-primary{min-width:112px!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-slide-institutional .acd-hero-actions .acd-button-secondary{min-width:148px!important}

  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid{gap:24px 7px!important}
  body.acd-core-mobile-v01016 .acd-footer h3{font-size:10.5px!important}
  body.acd-core-mobile-v01016 .acd-footer .acd-footer-grid>div:not(.acd-footer-brand) a{font-size:11.5px!important}
}

@media (max-width:350px){
  /* Fallback para aparelhos muito estreitos: preserva a marca e os controles essenciais. */
  body.acd-core-mobile-v01016 .acd-brand{max-width:126px!important}
  body.acd-core-mobile-v01016 .acd-brand-lockup{max-width:126px!important}
  body.acd-core-mobile-v01016 .acd-brand-name{font-size:12.5px!important}
  body.acd-core-mobile-v01016 .acd-pray-button{min-width:42px!important;width:42px!important;padding:0!important}
  body.acd-core-mobile-v01016 .acd-pray-button span{display:none!important}
  body.acd-core-mobile-v01016.acd-site .acd-hero-actions{flex-wrap:wrap!important}
}
