/* ==========================================================================
   07 — SECTION FOOTER (#contato · Circular Hero Image Reveal + Glass Panel) · v151
   - Transição circular animada revelando a mesma imagem de fundo do .hero-stage
   - Retângulo flutuante com blur e efeito de vidro (backdrop-filter)
   - Composição em 4 colunas (Brand + Explorer + Expertises + Bonds) e barra
     inferior (Copyright | Redes Sociais | Links) fiel ao anexo
   ========================================================================== */

#contato.raju-footer {
  position: relative;
  width: 100%;
  background-color: transparent;
  color: #f6f5f0;
  z-index: 6;
}

#contato .raju-footer-runway {
  position: relative;
  width: 100%;
  height: 185dvh;
  background-color: transparent;
}

#contato .raju-footer-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  background-color: transparent;
}

/* Camada mascarada pelo círculo animado que revela a imagem + painel de vidro */
#contato .raju-footer-reveal {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3.2vw, 3.75rem);
  box-sizing: border-box;
  overflow: hidden;
  clip-path: circle(0px at 50% 100%);
  -webkit-clip-path: circle(0px at 50% 100%);
  will-change: clip-path;
}

/* Logo rajuˢᵗ estourado em 100% horizontal no bottom (20% cortado para baixo) atrás do vidro */
#contato .raju-footer-giant-logo {
  position: absolute;
  left: 40%;
  bottom: 0;
  width: 100vw;
  max-width: none;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  color: rgba(229, 228, 222, 0.44);
  transform: translate3d(-50%, 25%, 0);
  will-change: transform;
}

#contato .raju-footer-giant-logo .raju-footer-giant-logo-svg,
#contato .raju-footer-giant-logo svg#raju-footer-giant-logo-svg {
  display: block;
  width: 120vw;
  max-width: none;
  min-width: 120vw;
  height: auto;
  max-height: none;
}

/* Retângulo flutuante de vidro fosco com cantos arredondados (igual ao anexo) */
#contato .raju-footer-glass {
  position: relative;
  z-index: 2;
  width: min(72%, 1840px);
  min-height: clamp(360px, 58dvh, 860px);
  max-height: calc(100dvh - clamp(6.5rem, 14dvh, 10rem));
  margin-top: clamp(2.2rem, 4.5dvh, 3.5rem);
  padding: clamp(1.5rem, 2.75vw, 3.75rem) clamp(1.65rem, 3.1vw, 4.25rem) clamp(1.25rem, 2.1vw, 2.5rem);
  box-sizing: border-box;
  border-radius: clamp(18px, 1.7vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.35rem, 2.8dvh, 3rem);
  container-type: inline-size;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(94, 53, 255, 0.22) 48%,
    rgba(10, 5, 24, 0.44) 100%
  );
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 24px 64px rgba(10, 5, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  will-change: transform, opacity;
  overflow-y: auto;
  scrollbar-width: none;
}

#contato .raju-footer-glass::-webkit-scrollbar {
  display: none;
}

/* --------------------------------------------------------------------------
   GRID PRINCIPAL (4 COLUNAS: BRAND | EXPLORER | EXPERTISES | BONDS)
   -------------------------------------------------------------------------- */
#contato .raju-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.2cqi, 4.5rem);
  align-items: start;
}

#contato .raju-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

/* Coluna 1 — Marca, Hubs, Cidades e Relógios ao Vivo */
#contato .raju-footer-logo {
  display: inline-block;
  color: #f6f5f0;
  text-decoration: none;
  margin-bottom: clamp(1.1rem, 1.8cqi, 2.2rem);
  transition: opacity 0.25s ease;
}

#contato .raju-footer-logo:hover {
  opacity: 0.82;
}

#contato .raju-footer-logo svg {
  height: clamp(28px, 2.5cqi, 54px);
  width: auto;
  display: block;
}

#contato .raju-footer-hubs {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: clamp(1rem, 1.6cqi, 1.85rem);
}

#contato .raju-footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28em 0.72em;
  border-radius: 999px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.62rem, 0.72cqi, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(246, 245, 240, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

#contato .raju-footer-pill.is-active {
  background: #f6f5f0;
  color: #0a0518;
  border-color: #f6f5f0;
}

#contato .raju-footer-cities {
  margin: 0 0 clamp(1.1rem, 1.8cqi, 2rem);
  max-width: 34ch;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(0.84rem, 0.96cqi, 1.42rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(246, 245, 240, 0.86);
}

#contato .raju-footer-clocks {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.65rem, 1cqi, 1.2rem);
  padding: 0.55em 0.95em;
  margin-bottom: clamp(1rem, 1.6cqi, 1.85rem);
  border-radius: 999px;
  background: rgba(10, 5, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.7rem, 0.82cqi, 1.18rem);
  letter-spacing: 0.08em;
  color: #f6f5f0;
}

#contato .raju-footer-clock {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
}

#contato .raju-footer-clock-city {
  color: #a8c639;
  font-weight: 700;
}

#contato .raju-footer-clock-time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

#contato .raju-footer-clock-sep {
  opacity: 0.45;
}

#contato .raju-footer-mail {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.76rem, 0.88cqi, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #a8c639;
  border-bottom: 1px solid rgba(168, 198, 57, 0.45);
  padding-bottom: 0.18em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

#contato .raju-footer-mail:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Cabeçalhos das colunas (EXPLORER · EXPERTISES · BONDS) */
#contato .raju-footer-heading {
  margin: 0 0 clamp(0.9rem, 1.45cqi, 1.85rem);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.68rem, 0.78cqi, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 245, 240, 0.56);
}

#contato .raju-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.42rem, 0.65cqi, 0.9rem);
  width: 100%;
}

/* Coluna EXPLORER: links maiores e mais encorpados, igual ao print de referência */
#contato .raju-footer-list--primary {
  gap: clamp(0.32rem, 0.52cqi, 0.72rem);
}

#contato .raju-footer-list--primary .raju-footer-link {
  font-size: clamp(1.18rem, 1.72cqi, 2.55rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

/* Colunas EXPERTISES & BONDS: links limpos e legíveis */
#contato .raju-footer-link {
  display: inline-block;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(0.88rem, 1.02cqi, 1.52rem);
  font-weight: 500;
  line-height: 1.38;
  color: rgba(246, 245, 240, 0.92);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#contato .raju-footer-link:hover,
#contato .raju-footer-link:focus-visible {
  color: #a8c639;
  transform: translateX(4px);
  outline: none;
}

/* --------------------------------------------------------------------------
   BARRA INFERIOR — COPYRIGHT | REDES SOCIAIS | LINKS INSTITUCIONAIS
   -------------------------------------------------------------------------- */
#contato .raju-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding-top: clamp(1.1rem, 1.8cqi, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

#contato .raju-footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(0.76rem, 0.86cqi, 1.22rem);
  font-weight: 500;
  color: rgba(246, 245, 240, 0.84);
}

#contato .raju-footer-status-dot {
  width: clamp(7px, 0.5cqi, 10px);
  height: clamp(7px, 0.5cqi, 10px);
  border-radius: 50%;
  background-color: #a8c639;
  display: inline-block;
  box-shadow: 0 0 10px rgba(168, 198, 57, 0.7);
}

#contato .raju-footer-status-text {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.88em;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

#contato .raju-footer-socials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.6cqi, 2.1rem);
}

#contato .raju-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.74rem, 0.84cqi, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 245, 240, 0.9);
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#contato .raju-footer-social-link:hover {
  color: #a8c639;
  transform: translateY(-2px);
}

#contato .raju-footer-legal {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65em;
  font-family: var(--font-sans, "Mona Sans", sans-serif);
  font-size: clamp(0.76rem, 0.86cqi, 1.22rem);
  color: rgba(246, 245, 240, 0.8);
}

#contato .raju-footer-legal-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

#contato .raju-footer-legal-link:hover {
  color: #a8c639;
}

#contato .raju-footer-legal-sep {
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE TABLET / MOBILE (<= 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  #contato .raju-footer-runway {
    height: auto;
    min-height: 120dvh;
  }

  #contato .raju-footer-sticky {
    position: relative;
    height: auto;
    min-height: 100dvh;
  }

  #contato .raju-footer-reveal {
    min-height: 100dvh;
    padding: 1.25rem;
    align-items: stretch;
  }

  #contato .raju-footer-glass {
    width: 100%;
    min-height: calc(100dvh - 2.5rem);
    max-height: none;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 22px;
    gap: 2.25rem;
  }

  #contato .raju-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.35rem;
  }

  #contato .raju-footer-col--brand {
    grid-column: 1 / -1;
  }

  #contato .raju-footer-col--explorer {
    grid-column: 1 / -1;
  }

  #contato .raju-footer-list--primary {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
  }

  #contato .raju-footer-list--primary .raju-footer-link {
    font-size: 1.2rem;
  }

  #contato .raju-footer-link {
    font-size: 0.9rem;
  }

  #contato .raju-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.9rem;
  }

  #contato .raju-footer-socials {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  #contato .raju-footer-legal {
    justify-content: flex-start;
  }

  #contato .raju-footer-giant-logo {
    transform: translate3d(-50%, 25%, 0);
    color: rgba(229, 228, 222, 0.36);
  }
}

/* --------------------------------------------------------------------------
   HOVER IMAGE PREVIEW DESKTOP (EXPERTISES & BONDS · CMS · v151)
   -------------------------------------------------------------------------- */
.raju-footer-hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(168px, 13.5vw, 236px);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
  background-color: #120b26;
  border: 1px solid rgba(229, 228, 222, 0.24);
  box-shadow: 0 22px 48px rgba(4, 2, 11, 0.48);
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0) scale(0.92);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.raju-footer-hover-preview.is-visible {
  opacity: 1;
}

.raju-footer-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .raju-footer-hover-preview {
    display: none !important;
  }
}
