
/* V178 - Rodapé melhorado usando as cores configuradas no painel */
.footer-v178{
  position:relative;
  margin-top:44px;
  padding:54px 0 24px;
  overflow:hidden;
  background:var(--footer-bg)!important;
  color:var(--footer-text)!important;
  border-top:1px solid rgba(var(--primary-rgb,2,132,199),.18);
}

.footer-wave-v178{
  position:absolute;
  top:-1px;
  left:0;
  width:100%;
  height:48px;
  background:var(--site-bg,#f8fafc)!important;
  clip-path:ellipse(82% 72% at 50% 0%);
}

.footer-v178::before{
  content:"";
  position:absolute;
  left:50%;
  top:47px;
  transform:translateX(-50%);
  width:min(1100px,92%);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(var(--primary-rgb,2,132,199),.55),transparent);
}

.footer-inner-v178{
  position:relative;
  z-index:2;
}

.footer-main-v178{
  display:grid;
  grid-template-columns:minmax(260px,.9fr) minmax(0,1.7fr);
  gap:24px;
  align-items:stretch;
  padding:8px 0 20px;
}

.footer-brand-v178,
.footer-links-wrap-v178{
  border:1px solid color-mix(in srgb, var(--footer-text) 14%, transparent);
  background:color-mix(in srgb, var(--footer-text) 4%, transparent);
  border-radius:22px;
}

@supports not (color: color-mix(in srgb, white 10%, transparent)){
  .footer-brand-v178,
  .footer-links-wrap-v178{
    border:1px solid rgba(255,255,255,.13);
    background:rgba(255,255,255,.035);
  }
}

.footer-brand-v178{
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:250px;
}

.footer-logo-wrap-v178{
  display:flex;
  align-items:center;
  min-height:64px;
  margin-bottom:14px;
}

.footer-logo-v178{
  max-height:62px;
  width:auto;
  display:block;
  object-fit:contain;
}

.footer-v178 .footer-logo-white{
  filter:brightness(0) invert(1);
}

.footer-brand-v178 h3{
  margin:0;
  color:var(--footer-text)!important;
  font-size:20px;
  font-weight:800;
  line-height:1.15;
}

.footer-brand-v178 p{
  margin:0 0 18px;
  color:var(--footer-text)!important;
  opacity:.82;
  line-height:1.65;
  font-size:14px;
}




.footer-links-wrap-v178{
  display:grid;
  grid-template-columns:1fr 1fr 1.12fr;
  gap:0;
  overflow:hidden;
}

.footer-col-v178{
  padding:22px;
  min-width:0;
}

.footer-col-v178 + .footer-col-v178{
  border-left:1px solid color-mix(in srgb, var(--footer-text) 12%, transparent);
}

@supports not (color: color-mix(in srgb, white 10%, transparent)){
  .footer-col-v178 + .footer-col-v178{
    border-left:1px solid rgba(255,255,255,.10);
  }
}

.footer-col-v178 h3{
  position:relative;
  margin:0 0 16px;
  padding-bottom:11px;
  color:var(--footer-text)!important;
  font-size:16px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.01em;
}

.footer-col-v178 h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:38px;
  height:2px;
  border-radius:99px;
  background:var(--primary,#0284c7);
}

.footer-col-v178 p{
  margin:0 0 10px;
  color:var(--footer-text)!important;
  opacity:.86;
  line-height:1.45;
  font-size:14px;
}

.footer-col-v178 a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--footer-text)!important;
  text-decoration:none;
  opacity:.88;
  transition:.15s ease;
}

.footer-col-v178 a span{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(var(--primary-rgb,2,132,199),.14);
  color:var(--primary,#0284c7);
  font-size:15px;
  line-height:1;
  font-weight:800;
}

.footer-col-v178 a:hover{
  opacity:1;
  color:var(--primary,#0284c7)!important;
  transform:translateX(2px);
}

.footer-contact-v178 p{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border:1px solid color-mix(in srgb, var(--footer-text) 13%, transparent);
  border-radius:14px;
  background:color-mix(in srgb, var(--footer-text) 4%, transparent);
  opacity:1;
}

@supports not (color: color-mix(in srgb, white 10%, transparent)){
  .footer-contact-v178 p{
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.035);
  }
}

.footer-contact-v178 p span{
  color:var(--footer-text)!important;
  opacity:.66;
  font-size:11px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.footer-contact-v178 p a,
.footer-contact-v178 p strong{
  color:var(--footer-text)!important;
  opacity:.92;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
}

.copy-v178{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:18px;
  border-top:1px solid color-mix(in srgb, var(--footer-text) 10%, transparent);
  color:var(--footer-text)!important;
  opacity:.70;
  font-size:13px;
}

@supports not (color: color-mix(in srgb, white 10%, transparent)){
  .copy-v178{
    border-top:1px solid rgba(255,255,255,.10);
  }
}

html.casttur-dark .footer-v178{
  background:var(--footer-bg)!important;
  color:var(--footer-text)!important;
}

html.casttur-dark .footer-wave-v178{
  background:var(--site-bg,#0b1220)!important;
}

html.casttur-dark .footer-v178 *{
  color:var(--footer-text);
}

@media(max-width:1080px){
  .footer-main-v178{
    grid-template-columns:1fr;
  }

  .footer-brand-v178{
    min-height:auto;
  }
}

@media(max-width:820px){
  .footer-links-wrap-v178{
    grid-template-columns:1fr 1fr;
  }

  .footer-contact-v178{
    grid-column:1/-1;
    border-left:0!important;
    border-top:1px solid color-mix(in srgb, var(--footer-text) 12%, transparent);
  }
}

@media(max-width:760px){
  .footer-v178{
    margin-top:34px;
    padding-top:44px;
  }

  .footer-wave-v178{
    height:40px;
    clip-path:ellipse(94% 70% at 50% 0%);
  }

  .footer-main-v178{
    gap:14px;
  }

  .footer-brand-v178{
    padding:18px;
    border-radius:18px;
  }

  .footer-links-wrap-v178{
    grid-template-columns:1fr 1fr;
    border-radius:18px;
  }

  .footer-menu-v178,
  .footer-inst-v178{
    padding:18px 14px;
  }

  .footer-inst-v178{
    border-left:1px solid color-mix(in srgb, var(--footer-text) 12%, transparent)!important;
  }

  .footer-contact-v178{
    padding:18px 14px;
  }

  .footer-col-v178 h3{
    font-size:15px;
  }

  .footer-col-v178 p,
  .footer-col-v178 a{
    font-size:13px;
  }

  .footer-logo-v178{
    max-height:54px;
  }

  .copy-v178{
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
    font-size:12px;
  }
}


/* V179 - Correção do hover: links do rodapé não somem ao passar o mouse */
.footer-v178 .footer-col-v178 a,
.footer-v178 .footer-mini-links-v178 a,
.footer-v178 .footer-contact-v178 p a{
  color:#ffffff!important;
}

.footer-v178 .footer-col-v178 a:hover,
.footer-v178 .footer-mini-links-v178 a:hover,
.footer-v178 .footer-contact-v178 p a:hover{
  color:#ffffff!important;
  opacity:1!important;
  text-decoration:none!important;
}

.footer-v178 .footer-col-v178 a:hover span{
  color:#ffffff!important;
  border-color:rgba(255,255,255,.32)!important;
}

html.casttur-dark .footer-v178 .footer-col-v178 a,
html.casttur-dark .footer-v178 .footer-mini-links-v178 a,
html.casttur-dark .footer-v178 .footer-contact-v178 p a,
html.casttur-dark .footer-v178 .footer-col-v178 a:hover,
html.casttur-dark .footer-v178 .footer-mini-links-v178 a:hover,
html.casttur-dark .footer-v178 .footer-contact-v178 p a:hover{
  color:#ffffff!important;
}
