/* V23: ajustes compartilhados por todas as páginas, após os estilos originais. */
:root {
  --header-height: 74px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

.site-header,
.site-header.scrolled {
  height: var(--header-height);
  overflow: visible;
  background: rgba(255, 253, 249, .98);
  /* O painel fixo do menu não deve ficar preso ao tamanho do cabeçalho. */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-wrap { gap: 20px; }
.brand { min-width: 0; max-width: 100%; }
.brand-copy { min-width: 0; }
.brand-copy strong { line-height: 1.2; }
.brand-copy small { line-height: 1.4; }
.menu-toggle { flex: 0 0 44px; }
.button { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.button svg { flex: 0 0 19px; }
.hero-content,
.hero-visual,
.about-content,
.care-copy,
.tele-hero-copy,
.tele-trust > div,
.topic-content-grid > *,
.footer-main > * { min-width: 0; }

.hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .82fr); }
.hero-actions,
.tele-hero-actions { flex-wrap: wrap; }
.tele-hero-grid,
.tele-hero-grid--compact { grid-template-columns: minmax(0, 1.06fr) minmax(0, .58fr); }
.tele-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tele-trust strong,
.tele-trust span { overflow-wrap: anywhere; }
.topic-main { padding-top: var(--header-height); }
.topic-hero h1 { overflow-wrap: anywhere; }
.topic-aside { top: calc(var(--header-height) + 24px); }
.schedule-nav .brand { flex: 1; width: auto; }
.schedule-back { flex: 0 0 auto; min-height: 44px; }

/* Os dois blocos destacados pela cliente ficam compactos, com texto integral. */
.intro-items p { overflow-wrap: normal; }
.concern-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.concern-grid > .concern-card:not(.concern-cta) {
  min-width: 0;
  min-height: 0;
  padding: 26px;
}
.concern-grid > .concern-card:not(.concern-cta) h3 {
  margin: 0 0 12px;
  line-height: 1.22;
  hyphens: none;
  overflow-wrap: break-word;
}
.concern-grid > .concern-card:not(.concern-cta) p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  color: rgba(255, 255, 255, .76);
}
.concern-grid > .concern-card:not(.concern-cta) .concern-card-link {
  min-height: 44px;
  margin-top: auto;
  padding-top: 16px;
  white-space: normal;
}
.concern-grid > .concern-cta {
  min-height: 104px;
  padding: 24px 26px;
  align-items: center;
  gap: 16px;
}
.concern-cta > a { flex-shrink: 0; }
.concern-card:focus-within {
  outline: 2px solid var(--gold-light);
  outline-offset: -3px;
}
.faq-list summary { gap: 16px; min-height: 48px; }
.faq-list summary > span { flex-shrink: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* O menu passa a ter botão também em tablets e notebooks estreitos. */
@media (max-width: 1100px) {
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .main-nav {
    position: fixed;
    inset: calc(var(--header-height) + 8px) 16px auto auto;
    z-index: 101;
    width: min(320px, calc(100% - 32px));
    height: auto;
    min-height: 0;
    max-height: calc(100vh - var(--header-height) - 24px);
    max-height: calc(100dvh - var(--header-height) - 24px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(14, 45, 41, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.nav-cta) {
    display: block;
    padding: 11px 12px;
    min-height: 44px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font: 600 .94rem/1.5 var(--font-body);
  }
  .main-nav .nav-cta {
    width: 100%;
    margin: 8px 0 0;
    padding: 13px 12px;
    color: var(--forest-deep);
    background: var(--gold-light);
    font-size: .86rem;
    text-align: center;
  }
  .menu-toggle.active span:not(.sr-only) { background: var(--ink); }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (min-width: 1101px) {
  .main-nav { gap: 18px; }
  .main-nav > a:not(.nav-cta) { display: block; white-space: nowrap; font-size: .84rem; }
  .main-nav .nav-cta { padding-inline: 14px; font-size: .8rem; white-space: nowrap; }
}

@media (max-width: 920px) {
  .tele-hero-grid,
  .tele-hero-grid--compact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .hero { padding-top: var(--header-height); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { min-width: 0; }
  .intro-items { align-items: stretch; padding-block: 0; }
  .intro-items p {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 18px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
  }
  .intro-items p:nth-last-child(-n+2) { border-bottom: 0; }
  .concern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concern-grid > .concern-card:not(.concern-cta) { padding: 22px; }
  .topic-aside { position: static; }
  .brand-mark { flex-basis: 48px; }
}

@media (max-width: 600px) {
  .concern-grid > .concern-card:not(.concern-cta) { padding: 16px 12px 12px; }
  .concern-grid > .concern-card:not(.concern-cta) h3 {
    margin: 0 0 9px;
    font-size: clamp(1.0625rem, 4.5vw, 1.25rem);
    line-height: 1.22;
  }
  .concern-grid > .concern-card:not(.concern-cta) p { font-size: .8125rem; line-height: 1.48; }
  .concern-grid > .concern-card:not(.concern-cta) .concern-card-link {
    font-size: .75rem;
    line-height: 1.4;
    gap: 5px;
    padding-top: 12px;
  }
  .concern-grid > .concern-cta { min-height: 96px; padding: 18px 16px; }
  .intro-items p { padding: 14px 10px; font-size: .8125rem; line-height: 1.45; }
}

@media (max-width: 560px) {
  :root { --header-height: 64px; }
  .brand { width: auto; gap: 9px; }
  .brand-mark { width: 40px; height: 44px; flex-basis: 40px; }
  .brand-copy strong { font-size: clamp(.78rem, 3.65vw, 1rem); }
  .brand-copy small { font-size: clamp(.49rem, 2.25vw, .6rem); letter-spacing: .1em; white-space: normal; }
  .nav-wrap { gap: 8px; }
  .tele-trust { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .tele-trust > div { min-height: 0; padding: 12px 14px; }
  .tele-trust span { font-size: .8rem; }
  .tele-steps article { min-height: 0; }
  .tele-steps h3 { margin-top: 14px; }
  .schedule-nav { gap: 12px; }
  .schedule-header .brand-mark { flex-basis: 36px; }
  .schedule-header .brand-copy strong { font-size: .78rem; }
  .schedule-header .brand-copy small { font-size: .48rem; }
  .schedule-title-row h1 { font-size: clamp(2rem, 9vw, 2.35rem); }
  .topic-breadcrumb { line-height: 1.6; }
  .topic-warning { padding: 18px; }
  .topic-content-grid { gap: 28px; }
  .topic-content h2 { font-size: clamp(1.75rem, 8vw, 2rem); }
  .footer-main .brand { width: auto; }
}

@media (max-width: 359px) {
  .concern-grid { grid-template-columns: minmax(0, 1fr); }
  .concern-grid > .concern-card:not(.concern-cta) { padding: 16px; }
  .concern-grid > .concern-card:not(.concern-cta) h3 { font-size: 1.25rem; }
  .concern-grid > .concern-card:not(.concern-cta) p { font-size: .875rem; }
  .concern-grid > .concern-card:not(.concern-cta) .concern-card-link { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav { transition: none; }
}

/* Ajustes pontuais solicitados — preserva todo o restante da versão 26. */
.credentials article {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
@media (max-width: 1100px) {
  .main-nav .nav-cta { display: none; }
}
