/* v1.0.47 – layout consistency shared by homepage, Sobre, units and legal pages. */

/* A privacy-settings BUTTON must look exactly like adjacent footer LINKS.
   The prior declaration lived only in front-page.css, absent on internal templates. */
footer#rodape .footer-trust ul li > a,
footer#rodape .footer-trust ul li > button.sef-footer-privacy {
  display: inline;
  width: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  color: var(--text-muted-dark, rgba(207,202,195,0.8));
  cursor: pointer;
  transition: color 150ms;
}

footer#rodape .footer-trust ul li > a:hover,
footer#rodape .footer-trust ul li > button.sef-footer-privacy:hover {
  color: #fff;
}
html.light-mode footer#rodape .footer-trust ul li > a,
html.light-mode footer#rodape .footer-trust ul li > button.sef-footer-privacy {
  color: rgba(18,18,17,0.72);
}
html.light-mode footer#rodape .footer-trust ul li > a:hover,
html.light-mode footer#rodape .footer-trust ul li > button.sef-footer-privacy:hover {
  color: #121211;
}
footer#rodape .footer-trust ul li > button.sef-footer-privacy:focus-visible {
  outline: 2px solid var(--brand-accent, #e62d92);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Unit section label/divider: reuse the same vertical rhythm as Atendimento local. */
.sef-unit-single-page .unit-form-copy,
.sef-unit-single-page .unit-single-copy {
  gap: 0;
}
.sef-unit-single-page .unit-form-copy > .eyebrow,
.sef-unit-single-page .unit-single-copy > .eyebrow {
  margin-bottom: 16px !important;
  line-height: 1;
}
.sef-unit-single-page .unit-form-copy > .section-divider,
.sef-unit-single-page .unit-single-copy > .section-divider {
  margin-bottom: 32px;
}
.sef-unit-single-page .unit-form-copy > .unit-hours-card--form {
  margin-top: 0;
}

@media (min-width: 901px) {
  /* Right map card starts beside the section title, not beside the eyebrow. */
  .sef-unit-single-page .unit-single-map-card {
    margin-top: 64px;
  }

  /* Both booking cards start at the SAME vertical position in the two-column grid. */
  .sef-unit-single-page .unit-form-card {
    margin-top: 76px;
  }

  /* Homepage lead card aligns with the H2 rather than the eyebrow. */
  #o-que-e .form-card {
    margin-top: 64px;
  }
}

@media (max-width: 900px) {
  /* Stacked layouts should not retain desktop-only offsets. */
  .sef-unit-single-page .unit-single-map-card,
  .sef-unit-single-page .unit-form-card,
  #o-que-e .form-card {
    margin-top: 0;
  }
}
