
/* =========================================================
   VVIEIRA | FOOTER INSTITUCIONAL REVISADO (LAYOUT EXACTO)
   ========================================================= */

.vv-footer {
  --vvf-navy: #0B1A2D;
  --vvf-blue: #0A192F;
  --vvf-gold: #C5A46D;
  --vvf-white: #F1F3F6;
  --vvf-text: #BBC7D5;
  --vvf-muted: #8892B0;
  --vvf-line: rgba(255, 255, 255, 0.12);

  background: var(--vvf-navy);
  color: var(--vvf-white);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  width: 100%;
  position: relative;
  isolation: isolate;
}

.vv-footer,
.vv-footer * {
  box-sizing: border-box;
}

.vv-footer__container {
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}

/* 1. SEÇÃO TOPO (INTRODUÇÃO) */
.vv-footer__intro {
  padding: 32px 0 24px;
}

.vv-footer__intro-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vv-footer__intro-copy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.vv-footer__intro-content {
  min-width: 0;
}

.vv-footer__identity {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.vv-footer img.vv-footer__logo {
  display: block;
  width: clamp(160px, 18vw, 230px);
  height: clamp(48px, 5vw, 64px);
  object-fit: cover;
  object-position: center;
}

.vv-footer__oab {
  color: var(--vvf-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.vv-footer__accent {
  width: 3px;
  height: 38px;
  flex-shrink: 0;
  background: var(--vvf-gold);
  margin-top: 4px;
}

.vv-footer__eyebrow {
  display: block;
  margin: 0 0 6px;
  color: var(--vvf-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vv-footer .vv-footer__heading {
  color: var(--vvf-white);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 16px;
}

.vv-footer__description {
  color: var(--vvf-text);
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

/* DIVISOR */
.vv-footer__divider {
  width: 100%;
  height: 1px;
  background: var(--vvf-line);
}

/* 2. SEÇÃO MEIO (NAVEGAÇÃO E ÁREAS) */
.vv-footer__middle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 90px);
  padding: 28px 0 30px;
}

.vv-footer .vv-footer__column-title {
  color: var(--vvf-gold);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.vv-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .vv-footer__nav {
    gap: 8px;
  }

  .vv-footer__nav a {
    display: inline-block;
    padding-block: 4px;
  }
}

.vv-footer__nav a {
  color: var(--vvf-white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vv-footer__nav a:hover,
.vv-footer__nav a:focus-visible {
  color: var(--vvf-gold);
}

.vv-footer__areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 64px);
}

/* Links sem URL: visíveis, mas inativos. */
.vv-footer__nav-pending {
  pointer-events: none;
  color: var(--vvf-text);
  font-size: 14px;
  font-weight: 500;
}

.vv-footer__legal-pending {
  pointer-events: none;
  color: var(--vvf-text);
}

/* 3. SEÇÃO ESCRITÓRIO E SOCIAIS */
.vv-footer__office-social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: start;
  gap: clamp(30px, 4vw, 60px);
  padding: 24px 0 26px;
}

.vv-footer__office-info,
.vv-footer__social-area {
  min-width: 0;
}

.vv-footer .vv-footer__column-title--compact {
  margin-bottom: 12px;
}

.vv-footer__contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 12px;
}

.vv-footer__contact-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
}

.vv-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  color: var(--vvf-white);
  font-size: 13.5px;
  line-height: 1.45;
}

.vv-footer__contact-label {
  color: var(--vvf-white);
  font-weight: 400;
}

.vv-footer__contact-value {
  color: var(--vvf-white);
  font-weight: 500;
}

.vv-footer__contact-link {
  min-width: 0;
  color: var(--vvf-white);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.vv-footer__contact-link:hover,
.vv-footer__contact-link:focus-visible {
  color: var(--vvf-gold);
}

.vv-footer__contact-item--interactive {
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
}

.vv-footer__contact-item--interactive:hover .vv-footer__contact-label,
.vv-footer__contact-item--interactive:focus-visible .vv-footer__contact-label,
.vv-footer__contact-item--interactive:hover .vv-footer__contact-value,
.vv-footer__contact-item--interactive:focus-visible .vv-footer__contact-value {
  color: var(--vvf-gold);
}

.vv-footer__contact-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--vvf-gold);
  flex: 0 0 18px;
  display: block;
}

/* Ícones sociais no mesmo ritmo visual dos contatos. */
.vv-footer__social-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vv-footer__socials {
  display: flex;
  gap: 18px;
  align-items: center;
}

.vv-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--vvf-white);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.vv-footer__social:hover,
.vv-footer__social:focus-visible {
  color: var(--vvf-gold);
  transform: translateY(-2px);
}

.vv-footer__social--pending {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.vv-footer__social--pending:hover {
  color: var(--vvf-white);
  transform: none;
}

.vv-footer__social svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* 4. BARRA INFERIOR */
.vv-footer__bottom {
  background: var(--vvf-blue);
}

.vv-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

.vv-footer__copyright,
.vv-footer__legal {
  color: var(--vvf-white);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.vv-footer__legal a {
  color: var(--vvf-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vv-footer__legal a:hover {
  color: var(--vvf-gold);
}

.vv-footer a:focus-visible {
  outline: 2px solid var(--vvf-gold);
  outline-offset: 4px;
}

/* =========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {
  .vv-footer__office-social {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .vv-footer__middle {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .vv-footer__intro-inner {
    align-items: flex-start;
    gap: 20px;
  }

  .vv-footer__identity {
    margin-left: 0;
  }

  .vv-footer img.vv-footer__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }

  .vv-footer__oab {
    text-align: center;
    font-size: 11px;
  }

  .vv-footer__areas-grid {
    column-gap: 20px;
  }
  .vv-footer__container {
    width: min(100% - 32px, 100%);
  }

  .vv-footer__intro {
    padding: 24px 0 18px;
  }

  .vv-footer__middle {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .vv-footer__office-social {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .vv-footer__contact-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vv-footer__contact-group {
    gap: 12px;
  }

  .vv-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }
}

@media (max-width: 520px) {
  .vv-footer__intro-inner {
    flex-direction: column;
  }

  .vv-footer__identity {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-left: 0;
  }

  .vv-footer img.vv-footer__logo {
    width: 72px;
    height: 72px;
  }

  .vv-footer__areas-grid {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-footer *,
  .vv-footer *::before,
  .vv-footer *::after {
    transition: none !important;
    animation: none !important;
  }
}
