/* Cabeçalho das páginas de Ortognática, ATM e Siso. */
@font-face { font-family: "Roboto do cabeçalho"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/roboto-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto do cabeçalho"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto do cabeçalho"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/roboto-700-latin.woff2") format("woff2"); }
header:has(> .clinic-head) { border-bottom: 0; }
.clinic-head {
  position: relative;
  z-index: 40;
  width: 100%;
  color: #103849;
  background: #fff;
  font: 400 1rem/1.65 "Roboto do cabeçalho", Arial, sans-serif;
  letter-spacing: normal;
  text-align: start;
}
.clinic-head *, .clinic-head *::before, .clinic-head *::after { box-sizing: border-box; }
.clinic-head a, .clinic-head summary {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.clinic-head a:focus-visible, .clinic-head summary:focus-visible {
  outline: 3px solid #135e73;
  outline-offset: 2px;
}
.clinic-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.clinic-strip { background: #f7f7f7; border-bottom: 1px solid #e4e8e8; color: #12576b; }
.clinic-bar { background: #fff; border-bottom: 1px solid #c9dddf; }
.clinic-top, .clinic-social, .clinic-contacts, .clinic-strip a, .clinic-row,
.clinic-desktop, .clinic-actions, .clinic-head .clinic-book {
  display: flex;
  align-items: center;
}
.clinic-top { min-height: 54px; justify-content: space-between; }
.clinic-social { gap: 5px; }
.clinic-contacts { gap: 10px; }
.clinic-strip a { min-height: 44px; justify-content: center; gap: 7px; }
.clinic-strip a:hover { filter: brightness(.84); }
.clinic-social a { width: 44px; }
.clinic-strip svg {
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.clinic-social svg { width: 27px; height: 27px; }
.clinic-social a:first-child svg { padding: 4px; color: #fff; background: #12576b; border-radius: 50%; }
.clinic-contacts svg { width: 19px; height: 19px; }
.clinic-head .clinic-contacts a {
  padding-inline: 17px;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.clinic-head .clinic-phone { background: #ab121c; }
.clinic-head .clinic-wa { background: #08782c; }
.clinic-row { justify-content: space-between; gap: 24px; min-height: 82px; }
.clinic-brand { flex: none; }
.clinic-brand img { display: block; height: 60px; width: auto; max-width: none; }
.clinic-desktop { gap: 28px; }
.clinic-head .clinic-desktop > a, .clinic-head .clinic-more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 400;
  white-space: nowrap;
}
.clinic-desktop > a:hover, .clinic-more > summary:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.clinic-actions { gap: 12px; }
.clinic-head .clinic-book {
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 999px;
  background: #196779;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.clinic-head .clinic-book:hover { background: #114e5d; }
.clinic-head summary { cursor: pointer; list-style: none; }
.clinic-head summary::marker { content: ""; }
.clinic-head summary::-webkit-details-marker { display: none; }
.clinic-more { position: relative; }
.clinic-menu { display: none; }
.clinic-menu > nav, .clinic-more > .clinic-sub {
  position: absolute;
  z-index: 2;
  padding: 8px;
  border: 1px solid #c9dddf;
  border-radius: 10px;
  background: #fff;
  color: #103849;
  box-shadow: 0 8px 24px #10384920;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.clinic-more > .clinic-sub {
  top: 100%;
  left: -12px;
  width: max-content;
  min-width: 14rem;
  max-width: min(24rem, 90vw);
  max-height: min(62vh, 30rem);
}
.clinic-head .clinic-sub a, .clinic-head .clinic-menu nav a {
  display: block;
  padding: .55rem .75rem;
  border-radius: 5px;
  line-height: 1.45;
  white-space: normal;
}
.clinic-sub a:hover, .clinic-menu nav a:hover { background: #eff6f5; }
@media (max-width: 800px) {
  .clinic-wrap { width: calc(100% - 40px); }
  .clinic-desktop { display: none; }
  .clinic-row { min-height: 68px; gap: 8px; }
  .clinic-brand img { width: 124px; height: auto; }
  .clinic-head .clinic-book { min-height: 44px; padding: 9px 15px; font-size: .9rem; }
  .clinic-menu { display: block; }
  .clinic-head .clinic-menu > summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #103849;
  }
  .clinic-menu > summary span,
  .clinic-menu > summary span::before,
  .clinic-menu > summary span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .clinic-menu > summary span { position: relative; }
  .clinic-menu > summary span::before, .clinic-menu > summary span::after { content: ""; position: absolute; }
  .clinic-menu > summary span::before { top: -6px; }
  .clinic-menu > summary span::after { top: 6px; }
  .clinic-menu[open] > summary span { background: transparent; }
  .clinic-menu[open] > summary span::before { top: 0; transform: rotate(45deg); }
  .clinic-menu[open] > summary span::after { top: 0; transform: rotate(-45deg); }
  .clinic-menu > nav {
    top: 100%;
    inset-inline: 0;
    padding-inline: max(12px, calc((100% - 680px) / 2));
    border-radius: 0 0 12px 12px;
    max-height: 65vh;
    max-height: min(65dvh, 32rem);
  }
  .clinic-head .clinic-menu nav a { min-height: 44px; }
}
@media (max-width: 620px) { .clinic-wrap { width: calc(100% - 38px); } }
@media (max-width: 500px) {
  .clinic-top { width: calc(100% - 20px); }
  .clinic-contacts, .clinic-social { gap: 2px; }
  .clinic-head .clinic-contacts a { padding-inline: 9px; font-size: .83rem; gap: 4px; }
}
@media (max-width: 420px) {
  .clinic-row { width: calc(100% - 20px); }
  .clinic-actions { gap: 4px; }
  .clinic-brand { flex: 0 1 116px; min-width: 60px; }
  .clinic-brand img { width: 100%; }
  .clinic-head .clinic-book { font-size: .875rem; padding-inline: 10px; }
}
@media (max-width: 380px) {
  .clinic-wa span { display: none; }
  .clinic-head .clinic-wa { width: 44px; }
}
@media (max-width: 800px) {
  .clinic-menu .clinic-more > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .55rem .75rem;
    font-weight: 500;
  }
  .clinic-menu .clinic-more > .clinic-sub {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: .125rem 0 .375rem .75rem;
    border: 0;
    box-shadow: none;
  }
}
