/* Melhorias globais Cláudia Chope — rodapé, WhatsApp e introdução de entrada */
.cc-site-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}
.cc-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.cc-footer-contact-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
  flex-wrap: wrap;
}
.cc-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  font: 14px/1.55 "DM Sans", Arial, sans-serif;
}
.cc-footer-contact-link,
.cc-footer-location {
  color: rgba(255,255,255,.84) !important;
  overflow-wrap: anywhere;
}
.cc-footer-contact-link {
  text-decoration: none;
}
.cc-footer-contact-link:hover,
.cc-footer-contact-link:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-footer-location {
  font-size: 12px;
  opacity: .78;
}
.cc-footer-contact-socials .cc-footer-socials {
  justify-content: flex-end;
  gap: 8px;
}

.cc-whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 10000;
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cc-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.035);
  background: #1fb95a;
  box-shadow: 0 11px 28px rgba(0,0,0,.28);
}
.cc-whatsapp-float:focus-visible {
  outline: 3px solid #102a43;
  outline-offset: 4px;
}
.cc-whatsapp-float img {
  display: block;
  width: 31px;
  height: 31px;
}
/* O antigo botão de topo duplicava os controlos flutuantes e cobria conteúdo. */
a.back-to-top,
button.top {
  display: none !important;
}

.cc-entry-intro[hidden] {
  display: none !important;
}
.cc-entry-intro {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: #0d2741;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility .42s ease;
}
.cc-entry-intro.is-visible {
  opacity: 1;
  visibility: visible;
}
.cc-entry-intro.is-ending {
  opacity: 0;
  visibility: hidden;
}
.cc-entry-intro__content {
  max-width: min(90vw, 720px);
  text-align: center;
}
.cc-entry-intro__name {
  display: block;
  color: #fff;
  font: italic 400 clamp(2.7rem, 8vw, 5.8rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: .015em;
  opacity: 0;
  animation: cc-entry-name-in .78s cubic-bezier(.2,.75,.25,1) .08s both;
}
.cc-entry-intro__tagline {
  display: block;
  margin-top: 16px;
  color: #9fc9ed;
  font: 500 clamp(.95rem, 2.3vw, 1.15rem)/1.5 "DM Sans", Arial, sans-serif;
  letter-spacing: .08em;
  opacity: 0;
  animation: cc-entry-tagline-in .65s ease .38s both;
}
@keyframes cc-entry-name-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes cc-entry-tagline-in {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: .96; transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  .cc-site-footer {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 12px;
    text-align: center;
  }
  .cc-footer-brand {
    align-items: center;
    width: 100%;
    text-align: center;
  }
  .cc-footer-contact-socials {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    text-align: center;
  }
  .cc-footer-contact {
    align-items: center;
    text-align: center;
  }
  .cc-footer-contact-socials .cc-footer-socials {
    justify-content: center;
  }
  .cc-footer-bottom {
    justify-content: center !important;
    text-align: center;
  }
}
@media (max-width: 440px) {
  .cc-footer-contact-socials {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .cc-footer-contact {
    font-size: 13px;
    align-items: center;
    text-align: center;
  }
  .cc-whatsapp-float {
    right: max(15px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .cc-whatsapp-float img {
    width: 29px;
    height: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc-entry-intro,
  .cc-entry-intro__name,
  .cc-entry-intro__tagline,
  .cc-whatsapp-float {
    animation: none !important;
    transition: none !important;
  }
}
