/* Abrigo com Deus — Núcleo v0.10.15
 * Fechamento premium do mobile.
 * - marca completa no cabeçalho do telefone;
 * - header intencionalmente sticky;
 * - Hero com tipografia menor;
 * - carrossel indicado somente por dots;
 * - rodapé compacto e organizado em colunas.
 */

@media (max-width:700px){
  /* Cabeçalho: permanece acessível durante a rolagem, agora de forma intencional. */
  body.acd-core-mobile-v01015 .acd-header,
  body.acd-core-mobile-v01015.acd-internal-site .acd-header{
    position:sticky!important;
    top:0!important;
    inset-block-start:0!important;
    z-index:9998!important;
    box-shadow:0 7px 22px rgba(18,28,38,.08)!important;
  }
  body.admin-bar.acd-core-mobile-v01015 .acd-header{top:46px!important}

  /* Hamburger + marca completa. O nome volta no telefone em uma escala própria. */
  body.acd-core-mobile-v01015 .acd-header-inner{
    grid-template-columns:40px minmax(0,1fr) auto!important;
    gap:6px!important;
    min-height:62px!important;
  }
  body.acd-core-mobile-v01015 .acd-mobile-menu-toggle{
    width:40px!important;height:40px!important;min-width:40px!important;
    justify-self:start!important;
  }
  body.acd-core-mobile-v01015 .acd-brand{
    justify-self:start!important;
    margin-left:0!important;
    width:auto!important;
    max-width:156px!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.acd-core-mobile-v01015 .acd-brand-lockup{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    max-width:156px!important;
    min-width:0!important;
  }
  body.acd-core-mobile-v01015 .acd-brand-symbol{
    width:36px!important;height:36px!important;flex:0 0 36px!important;
  }
  body.acd-core-mobile-v01015 .acd-brand-wording{
    display:inline-flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.acd-core-mobile-v01015 .acd-brand-name{
    display:inline-flex!important;
    gap:3px!important;
    white-space:nowrap!important;
    font-size:clamp(14.5px,4vw,17px)!important;
    line-height:1!important;
    letter-spacing:-.028em!important;
  }
  body.acd-core-mobile-v01015 .acd-brand-rule{
    width:72%!important;
    height:3px!important;
    margin-top:3px!important;
  }
  body.acd-core-mobile-v01015 .acd-header-actions{gap:4px!important}
  body.acd-core-mobile-v01015 .acd-header-circle-button,
  body.acd-core-mobile-v01015 .acd-theme-toggle,
  body.acd-core-mobile-v01015 .acd-pray-button{
    width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;
    border-radius:12px!important;
  }
  body.acd-core-mobile-v01015 .acd-theme-toggle .acd-theme-icon{width:30px!important;height:30px!important}

  /* Hero: menor, com mais leitura e menos competição com a fotografia. */
  body.acd-core-mobile-v01015.acd-site .acd-hero,
  body.acd-core-mobile-v01015.acd-site .acd-hero-inner{
    min-height:clamp(410px,104vw,490px)!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-content{
    padding:27px 0 62px!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero h1,
  body.acd-core-mobile-v01015.acd-site .acd-hero-special-title{
    max-width:92%!important;
    font-size:clamp(28px,8vw,35px)!important;
    line-height:1.08!important;
    letter-spacing:-.018em!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-description{
    max-width:92%!important;
    margin:12px 0 15px!important;
    font-size:14.5px!important;
    line-height:1.5!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-badge{
    margin-bottom:10px!important;
    font-size:10px!important;
    padding:6px 10px!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-actions{gap:7px!important}
  body.acd-core-mobile-v01015.acd-site .acd-hero-actions .acd-button{
    min-height:42px!important;
    padding:0 13px!important;
    font-size:13px!important;
  }

  /* Carrossel mobile: somente dots. O movimento automático continua;
     os dots também continuam sendo controles clicáveis e acessíveis. */
  body.acd-core-mobile-v01015.acd-site .acd-hero-carousel-controls{
    position:absolute!important;
    left:50%!important;right:auto!important;top:auto!important;bottom:13px!important;
    transform:translateX(-50%)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;height:auto!important;
    inset-inline: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-v01015.acd-site .acd-hero-arrow,
  body.acd-core-mobile-v01015.acd-site .acd-hero-pause{display:none!important}
  body.acd-core-mobile-v01015.acd-site .acd-hero-dots{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;width:auto!important;height:auto!important;
    padding:5px 7px!important;
    background:rgba(12,25,36,.16)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:999px!important;
    box-shadow:none!important;
    backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;
    pointer-events:auto!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-dots button{
    width:7px!important;height:7px!important;min-width:7px!important;min-height:7px!important;
    padding:0!important;margin:0!important;
    border-radius:999px!important;
    background:rgba(255,250,241,.62)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:none!important;
    transition:width .18s ease,background .18s ease!important;
  }
  body.acd-core-mobile-v01015.acd-site .acd-hero-dots button.is-active{
    width:21px!important;
    background:var(--acd-gold,#d4af37)!important;
    border-color:rgba(255,226,144,.82)!important;
  }
  html[data-theme="dark"] body.acd-core-mobile-v01015.acd-site .acd-hero-dots{
    background:rgba(5,16,25,.22)!important;
  }

  /* Rodapé: marca bem composta + navegação em duas colunas. */
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 20px!important;
    align-items:start!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-brand{
    grid-column:1/-1!important;
    max-width:100%!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-brand>a{
    display:inline-flex!important;
    margin-bottom:12px!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-brand p{
    max-width:34ch!important;
    margin:0 0 16px!important;
    font-size:15px!important;
    line-height:1.55!important;
    text-wrap:pretty!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-social-dots{margin-top:10px!important}
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(2),
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(3){
    grid-column:auto!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(4),
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(5){
    grid-column:1/-1!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(4){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:16px!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(4)>h3{grid-column:1/-1!important}
  body.acd-core-mobile-v01015 .acd-footer h3{
    margin:0 0 10px!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:not(.acd-footer-brand) a{
    font-size:14px!important;
    line-height:1.35!important;
    margin-bottom:8px!important;
  }
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid>div:nth-child(5) p{
    max-width:38ch!important;
    line-height:1.5!important;
  }
  body.acd-core-mobile-v01015 .acd-footer-bottom{
    margin-top:24px!important;
    padding-top:17px!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
}

@media (max-width:390px){
  body.acd-core-mobile-v01015 .acd-header-inner{
    grid-template-columns:38px minmax(0,1fr) auto!important;
    gap:4px!important;
  }
  body.acd-core-mobile-v01015 .acd-mobile-menu-toggle{width:38px!important;height:38px!important;min-width:38px!important}
  body.acd-core-mobile-v01015 .acd-brand{max-width:132px!important}
  body.acd-core-mobile-v01015 .acd-brand-lockup{max-width:132px!important;gap:4px!important}
  body.acd-core-mobile-v01015 .acd-brand-symbol{width:32px!important;height:32px!important;flex-basis:32px!important}
  body.acd-core-mobile-v01015 .acd-brand-name{font-size:13.5px!important;gap:2px!important}
  body.acd-core-mobile-v01015 .acd-brand-rule{height:2px!important;margin-top:2px!important}
  body.acd-core-mobile-v01015 .acd-header-circle-button,
  body.acd-core-mobile-v01015 .acd-theme-toggle,
  body.acd-core-mobile-v01015 .acd-pray-button{
    width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;
  }
  body.acd-core-mobile-v01015 .acd-theme-toggle .acd-theme-icon{width:28px!important;height:28px!important}
  body.acd-core-mobile-v01015.acd-site .acd-hero h1,
  body.acd-core-mobile-v01015.acd-site .acd-hero-special-title{font-size:clamp(27px,8.2vw,32px)!important}
  body.acd-core-mobile-v01015.acd-site .acd-hero-description{font-size:14px!important}
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-grid{gap:23px 14px!important}
  body.acd-core-mobile-v01015 .acd-footer .acd-footer-brand p{font-size:14.5px!important;max-width:31ch!important}
}
