*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f2933;background:#fff}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{clip:auto!important;clip-path:none;background:#fff;color:#111;display:block;height:auto;left:8px;top:8px;width:auto;z-index:100000;padding:12px 16px;border:1px solid #111}.clica-container{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}.site-main{min-height:45vh}.clica-entry{margin:0 0 32px}.entry-title{line-height:1.2}.entry-title a{color:inherit;text-decoration:none}.entry-content img{max-width:100%;height:auto}.clica-site-header--default{border-bottom:1px solid #e5e7eb;background:#fff}.clica-default-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}.site-title{font-size:24px;font-weight:700;color:#111;text-decoration:none}.custom-logo{max-height:64px;width:auto}.site-navigation ul{display:flex;flex-wrap:wrap;gap:20px;margin:0;padding:0;list-style:none}.site-navigation a{text-decoration:none;color:#111;font-weight:600}.clica-site-header--sticky{position:sticky;top:0;z-index:999}.admin-bar .clica-site-header--sticky{top:32px}.clica-site-header--overlay{position:absolute;left:0;right:0;z-index:999}.clica-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px}.clica-layout__sidebar .widget{margin:0 0 24px}.widget-title{font-size:18px;margin:0 0 12px}.clica-site-footer--default{margin-top:48px;border-top:1px solid #e5e7eb;background:#f9fafb}.clica-footer-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-top:36px;padding-bottom:24px}.clica-footer-bottom-widgets{padding-top:16px;padding-bottom:16px;border-top:1px solid #e5e7eb}.clica-mobile-footer-bottom-widgets{display:none;padding-top:16px;padding-bottom:16px;border-top:1px solid #e5e7eb}.clica-footer-credit{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:16px;padding-bottom:16px;border-top:1px solid #e5e7eb}.clica-footer-menu{display:flex;flex-wrap:wrap;gap:16px;list-style:none;margin:0;padding:0}.clica-footer-menu a{color:inherit;text-decoration:none}@media (max-width:782px){.admin-bar .clica-site-header--sticky{top:46px}.clica-default-header{align-items:flex-start;flex-direction:column;padding-top:16px;padding-bottom:16px}.site-navigation ul{flex-direction:column;gap:10px}.clica-layout{display:block}.clica-layout__sidebar{margin-top:32px}.clica-mobile-footer-bottom-widgets{display:block}.clica-footer-credit{display:block}.clica-footer-menu{margin-bottom:12px}}

/* Elementor Header/Footer safeguards */
.clica-site-header--elementor,
.clica-site-footer--elementor{width:100%;clear:both}
.clica-site-header--elementor img,
.clica-site-footer--elementor img{max-width:100%;height:auto}
.clica-site-header--elementor .elementor-icon,
.clica-site-footer--elementor .elementor-icon{line-height:1;display:inline-flex;align-items:center;justify-content:center}
.clica-site-header--elementor .elementor-icon i,
.clica-site-footer--elementor .elementor-icon i{font-size:inherit;line-height:1}
.clica-site-header--elementor .elementor-icon svg,
.clica-site-footer--elementor .elementor-icon svg{width:1em;height:1em;display:block}
.clica-site-header--elementor [class*="elementor-widget-"] p:last-child,
.clica-site-footer--elementor [class*="elementor-widget-"] p:last-child{margin-bottom:0}


/* Header/Footer Elementor width control */
:root{--clica-site-width:1200px}
.clica-site-header--elementor.clica-hf-width-boxed,
.clica-site-footer--elementor.clica-hf-width-boxed{padding-left:20px;padding-right:20px}
.clica-site-header--elementor.clica-hf-width-boxed > .elementor,
.clica-site-footer--elementor.clica-hf-width-boxed > .elementor,
.clica-site-header--elementor.clica-hf-width-boxed > [data-elementor-type],
.clica-site-footer--elementor.clica-hf-width-boxed > [data-elementor-type]{width:100%;max-width:var(--clica-site-width);margin-left:auto;margin-right:auto}
.clica-site-header--elementor.clica-hf-width-full > .elementor,
.clica-site-footer--elementor.clica-hf-width-full > .elementor,
.clica-site-header--elementor.clica-hf-width-full > [data-elementor-type],
.clica-site-footer--elementor.clica-hf-width-full > [data-elementor-type]{width:100%;max-width:none;margin-left:0;margin-right:0}
@media (max-width:782px){.clica-site-header--elementor.clica-hf-width-boxed,.clica-site-footer--elementor.clica-hf-width-boxed{padding-left:16px;padding-right:16px}}


/* Header/Footer spacing controls and gap cleanup */
body .site-main{margin-top:0;margin-bottom:0}
body.page .site-main,
body.elementor-page .site-main{padding-top:0;padding-bottom:0}
body.page .entry-content,
body.elementor-page .entry-content{margin-top:0;margin-bottom:0}
body.page .entry-content > .elementor,
body.elementor-page .entry-content > .elementor{margin-top:0;margin-bottom:0}
.clica-site-header--elementor{margin-bottom:var(--clica-hf-header-bottom-gap,0px)}
.clica-site-footer--elementor{margin-top:var(--clica-hf-footer-top-gap,0px)}
.clica-site-header--elementor .elementor-element.e-con:empty,
.clica-site-header--elementor .elementor-element.elementor-section:empty,
.clica-site-footer--elementor .elementor-element.e-con:empty,
.clica-site-footer--elementor .elementor-element.elementor-section:empty{display:none!important;min-height:0!important;height:0!important;padding:0!important;margin:0!important;border:0!important}
.clica-site-header--elementor + .site-main,
.clica-site-header--elementor + #content{margin-top:0}
.site-main + .clica-site-footer--elementor,
#content + .clica-site-footer--elementor{margin-top:var(--clica-hf-footer-top-gap,0px)}

/* CLICA Theme Base v0.1.8 — mobile Header/Footer compatibility based on v0.1.3 */
@media (max-width:782px){
  /* By default, a sticky Elementor header stops being sticky on phones unless the template explicitly keeps mobile sticky enabled. */
  .clica-site-header--elementor.clica-site-header--sticky.clica-site-header--mobile-not-sticky{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:10!important;
  }
  .admin-bar .clica-site-header--elementor.clica-site-header--sticky.clica-site-header--mobile-not-sticky{top:auto!important}

  .clica-site-header--elementor{margin-bottom:var(--clica-hf-header-mobile-bottom-gap,0px)!important}
  .clica-site-footer--elementor{margin-top:var(--clica-hf-footer-mobile-top-gap,0px)!important}
  .clica-site-header--elementor + .site-main,
  .clica-site-header--elementor + #content,
  body.page .site-main,
  body.elementor-page .site-main{margin-top:0!important;padding-top:0!important}

  .clica-site-header--elementor.clica-hf-mobile-compact,
  .clica-site-footer--elementor.clica-hf-mobile-compact{padding-left:10px!important;padding-right:10px!important}

  .clica-site-header--elementor.clica-hf-mobile-compact img,
  .clica-site-header--elementor.clica-hf-mobile-compact .custom-logo{max-height:52px!important;width:auto!important;object-fit:contain!important}
  .clica-site-footer--elementor.clica-hf-mobile-compact img,
  .clica-site-footer--elementor.clica-hf-mobile-compact .custom-logo{max-height:64px!important;width:auto!important;object-fit:contain!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-element,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-element{--widgets-spacing:6px 6px!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-widget,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-widget{margin-bottom:0!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .e-con,
  .clica-site-header--elementor.clica-hf-mobile-compact .e-con>.e-con-inner,
  .clica-site-footer--elementor.clica-hf-mobile-compact .e-con,
  .clica-site-footer--elementor.clica-hf-mobile-compact .e-con>.e-con-inner{min-height:0!important;gap:8px!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-section,
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-container,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-section,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-container{min-height:0!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-column-gap-default>.elementor-column>.elementor-element-populated,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-column-gap-default>.elementor-column>.elementor-element-populated{padding:6px!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu--main .elementor-item,
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu--dropdown .elementor-item{padding:9px 12px!important;line-height:1.2!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-menu-toggle{padding:8px!important;line-height:1!important}
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu--dropdown{max-height:70vh!important;overflow:auto!important}

  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-icon-list-items,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-icon-list-items{gap:4px!important}
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-icon-list-item,
  .clica-site-footer--elementor.clica-hf-mobile-compact .elementor-icon-list-item{margin:0!important;line-height:1.2!important}
}

@media (max-width:480px){
  .clica-site-header--elementor.clica-hf-mobile-compact img,
  .clica-site-header--elementor.clica-hf-mobile-compact .custom-logo{max-height:46px!important}
  .clica-site-footer--elementor.clica-hf-mobile-compact img,
  .clica-site-footer--elementor.clica-hf-mobile-compact .custom-logo{max-height:58px!important}
}


/* v0.1.8: no celular, não herdar espaçamento desktop do header/footer.
   O espaço mobile só existe se o campo mobile for preenchido no modelo. */
@media (max-width:782px){
  .clica-site-header--elementor.clica-site-header--mobile-not-sticky{
    margin-bottom:var(--clica-hf-header-mobile-bottom-gap,0px)!important;
  }
  .clica-site-header--elementor.clica-site-header--mobile-not-sticky + .site-main,
  .clica-site-header--elementor.clica-site-header--mobile-not-sticky + #content{
    margin-top:0!important;
    padding-top:0!important;
  }
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-widget-nav-menu,
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu__container{
    margin-bottom:0!important;
  }
  .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu--dropdown:not(.elementor-nav-menu__container){
    margin-top:0!important;
  }
}


/* CLICA Theme Base v0.1.9 — correção rígida do buraco branco no header mobile.
   O problema aparece quando o Header Elementor tem sticky desktop desligado no mobile,
   mas algum container/menu/spacer interno continua reservando altura no telefone. */
@media (max-width:782px){
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-site-header--mobile-not-sticky,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact{
    margin-bottom:var(--clica-hf-header-mobile-bottom-gap,0px)!important;
    padding-bottom:0!important;
    min-height:0!important;
    height:auto!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-site-header--mobile-not-sticky + .site-main,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-site-header--mobile-not-sticky + #content,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-site-header--mobile-not-sticky ~ .site-main,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-site-header--mobile-not-sticky ~ #content,
  body:not(.elementor-editor-active).page .site-main,
  body:not(.elementor-editor-active).elementor-page .site-main{
    margin-top:0!important;
    padding-top:0!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact > .elementor,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact > [data-elementor-type],
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-section-wrap,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-section,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-container,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-column,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-widget-wrap,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-element-populated,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .e-con,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .e-con > .e-con-inner{
    --min-height:0px!important;
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .e-con,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .e-con > .e-con-inner{
    --gap:6px!important;
    --row-gap:6px!important;
    --column-gap:6px!important;
    --padding-block-start:0px!important;
    --padding-block-end:0px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-column > .elementor-widget-wrap,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-element-populated{
    padding-top:4px!important;
    padding-bottom:4px!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-widget-spacer,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-spacer,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-spacer-inner{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-widget-nav-menu,
  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-menu-toggle{
    margin-top:0!important;
    margin-bottom:0!important;
  }

  body:not(.elementor-editor-active) .clica-site-header--elementor.clica-hf-mobile-compact .elementor-nav-menu--dropdown[aria-hidden="true"]{
    display:none!important;
    height:0!important;
    max-height:0!important;
    min-height:0!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
}
