/* SIFU 21/11/2026 — acabamento final da home, menus e Central.
   Escopo: apenas estilo visual e legibilidade, nenhuma API ou dado alterado. */
:root { --sifu-font-nav: 15px; }
/* Um padrao de fonte e capitalizacao em todos os menus da plataforma. */
body.sifu-u-core .sifu-unify-menu nav a,
body.sifu-u-home > header .head > nav a,
body.sifu-u-home > header .mobile-nav .menu-links a {
  font-family: system-ui,-apple-system,'Segoe UI',sans-serif !important;
  font-size: var(--sifu-font-nav) !important;
  font-weight: 680 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}
body.sifu-u-core .sifu-unify-menu > summary,
body.sifu-u-core .sifu-unify-back,
body.sifu-u-core .sifu-unify-home {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 720 !important;
}
body.sifu-u-home > header .mobile-nav .menu-links a {
  min-height: 48px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
}
/* Em paginas internas somente a barra global deve cuidar da navegacao. */
body.sifu-u-core:not(.sifu-u-home) > header nav,
body.sifu-u-core:not(.sifu-u-home) > header details.mobile-nav,
body.sifu-u-core:not(.sifu-u-home) > header .mobile-toggle,
body.sifu-u-core:not(.sifu-u-home) > header .nav-cta {
  display: none !important;
}
/* Central: mais area util, menos texto grudado, melhor leitura dos servicos da grafica. */
body.sifu-u-servicos .wrap {
  box-sizing: border-box;
  width: min(1130px,calc(100% - 44px));
  margin-inline: auto;
}
body.sifu-u-servicos main,
body.sifu-u-servicos .block,
body.sifu-u-servicos .cards,
body.sifu-u-servicos .brand-grid,
body.sifu-u-servicos .choice { min-width: 0; }
body.sifu-u-servicos .hero { padding-top: 68px; padding-bottom: 92px; }
body.sifu-u-servicos .hero h1 { line-height: 1.12; margin-bottom: 21px; }
body.sifu-u-servicos .hero p { line-height: 1.78; margin-top: 20px; max-width: 720px; }
body.sifu-u-servicos .choice { gap: 20px; }
body.sifu-u-servicos .choice button {
  padding: 29px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  line-height: 1.6;
}
body.sifu-u-servicos .choice button strong { display: block; margin: 0; line-height: 1.35; }
body.sifu-u-servicos .choice button small { display: block; margin: 0; line-height: 1.74; }
body.sifu-u-servicos .brand-grid { gap: 28px; }
body.sifu-u-servicos .brand-grid article { padding: 36px; min-width: 0; }
body.sifu-u-servicos .brand-grid article h3 { margin: 12px 0 17px; line-height: 1.28; }
body.sifu-u-servicos .brand-grid article p { margin-block: 14px 23px; line-height: 1.9; }
body.sifu-u-servicos .brand-grid article a { line-height: 1.5; overflow-wrap:anywhere; }
body.sifu-u-servicos .lead { margin: 60px 0 31px; }
body.sifu-u-servicos .lead h2 { line-height: 1.16; margin: 12px 0 19px; }
body.sifu-u-servicos .lead p { line-height: 1.78; }
body.sifu-u-servicos .block { padding-bottom: 78px; }
body.sifu-u-servicos .cards { gap: 23px; }
body.sifu-u-servicos .card { padding: 32px; gap: 19px; min-width:0; }
body.sifu-u-servicos .card h3 { line-height: 1.26; margin-bottom: 3px; }
body.sifu-u-servicos .card p { line-height: 1.82; }
body.sifu-u-servicos .card .see { margin-top: 14px; }
body.sifu-u-servicos .searchrow input { box-sizing: border-box; min-width: 0; }
/* Filtros visiveis em linhas, sem a ultima categoria ficar cortada no celular. */
body.sifu-u-servicos #filter {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  gap: 9px;
  scrollbar-width: auto;
}
body.sifu-u-servicos #filter .pill { flex: 0 0 auto; font-size: 14px; padding: 11px 15px; }
body.sifu-u-servicos .faqbox { margin-top: 72px; padding: 32px; }
body.sifu-u-servicos .faqitem { margin-bottom: 4px; }
body.sifu-u-servicos .faqitem summary { line-height: 1.55; padding-block: 19px; }
body.sifu-u-servicos .faqitem p { line-height: 1.85; }
body.sifu-u-servicos .sheet { box-sizing: border-box; max-width: min(720px,calc(100vw - 22px)); overflow-y: auto; }
@media(max-width:760px) {
  body.sifu-u-servicos .wrap { width: calc(100% - 34px); }
  body.sifu-u-servicos .hero { padding: 49px 0 80px; }
  body.sifu-u-servicos .hero h1 { font-size: clamp(32px,7.5vw,47px); }
  body.sifu-u-servicos .hero p { font-size:16px; line-height:1.73; }
  body.sifu-u-servicos .choice { margin-top: -33px; gap: 20px; }
  body.sifu-u-servicos .choice button { padding: 26px; }
  body.sifu-u-servicos .brand-grid { grid-template-columns:1fr; gap:18px; }
  body.sifu-u-servicos .brand-grid article { padding: 28px; }
  body.sifu-u-servicos .brand-grid article p { font-size: 16px; line-height: 1.76; }
  body.sifu-u-servicos .lead { margin: 49px 0 25px; }
  body.sifu-u-servicos .cards { grid-template-columns:1fr; gap: 18px; }
  body.sifu-u-servicos .card { padding: 26px; gap: 17px; }
  body.sifu-u-servicos .card p { font-size: 16px; line-height: 1.76; }
  body.sifu-u-servicos .faqbox { margin-top: 58px; padding: 25px; }
  body.sifu-u-servicos #filter .pill { font-size: 13px; padding: 11px 13px; }
  body.sifu-u-core .sifu-unify-menu nav a { font-size: 14px !important; }
  body.sifu-u-home > header .mobile-nav .menu-links a { font-size: 14px !important; }
}
@media(max-width:400px) {
  body.sifu-u-servicos .wrap { width: calc(100% - 30px); }
  body.sifu-u-servicos .choice button { padding: 22px; }
  body.sifu-u-servicos .brand-grid article { padding: 23px; }
  body.sifu-u-servicos .card { padding: 22px; }
  body.sifu-u-servicos .faqbox { padding: 21px; }
}
