@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-variable.woff2') format('woff2');
}

:root {
  --blue: #173ecc;
  --deep: #102c91;
  --ink: #101b2b;
  --muted: #344154;
  --line: #b9c6d8;
  --soft: #edf2fa;
  --white: #ffffff;
  --max: 1120px;
  color-scheme: light;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-size: 1.125rem; line-height: 1.6; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
a, button, summary { transition: color .15s, background-color .15s, border-color .15s; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); max-width: 940px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { color: var(--muted); }
p + p { margin-top: 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }
main:focus { outline: none; }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 18px; background: var(--blue); color: white; z-index: 100; }
.skip-link:focus { top: 10px; color: white; }
.section { padding-block: 72px; }
.content-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; }
.content-split > div:first-child > p { margin-top: 20px; max-width: 40ch; }
.content-split > *, .hero-intro > *, .service-link > *, .steps > li > *, .contact-grid > *, .footer-main > * { min-width: 0; }
.prose { max-width: 68ch; }
.prose > .text-link { margin-top: 20px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 600; color: var(--deep); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 23px; border: 1px solid transparent; border-radius: 4px; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; text-decoration: none; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--deep); color: white; }
.button-primary:active { background: #14328f; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-heading > p { max-width: 400px; }

/* Cabeçalho: marca e acesso direto às páginas. */
.site-header { position: relative; z-index: 30; background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; flex-shrink: 1; min-width: 0; text-decoration: none; }
.brand > img { width: 60px; }
.brand > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.brand strong { font-size: 1.125rem; font-weight: 650; letter-spacing: -.02em; }
.brand > span > span { font-size: .875rem; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 1.0625rem; }
.site-nav > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.site-nav [aria-current='page'], .nav-services[data-current='true'] > summary { color: var(--deep); text-decoration: underline; text-underline-offset: 7px; }
.nav-contact { font-weight: 600; }
.nav-services { position: relative; }
.nav-services > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary .icon { width: 15px; height: 15px; }
.nav-services[open] > summary { color: var(--deep); }
.service-menu { position: absolute; top: 50px; left: -16px; width: 290px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 4px; }
.service-menu > a { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; font-size: 1rem; text-decoration: none; }
.service-menu > a:hover { background: var(--soft); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 12px; font-size: .9375rem; background: white; border: 1px solid var(--line); border-radius: 4px; }
.menu-lines { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: relative; }
.menu-lines:after { content: ''; width: 17px; border-top: 1.5px solid currentColor; position: absolute; top: 4px; left: 0; }

/* Página inicial: informação direta, sem painel ilustrativo. */
.hero { padding: 72px 0 64px; background: var(--soft); border-bottom: 1px solid #cad5e7; }
.hero h1 { max-width: 980px; }
.hero-intro { display: grid; grid-template-columns: 1.45fr .75fr; gap: 100px; margin-top: 32px; align-items: start; }
.hero-description { max-width: 58ch; font-size: 1.25rem; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.hero-scope { font-size: 1rem; line-height: 1.6; border-left: 3px solid var(--blue); padding-left: 24px; }
.hero-scope > span { display: block; margin-top: 17px; font-size: .9375rem; color: var(--ink); }
.services-section { padding-top: 22px; }
.service-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.service-list > li { border-bottom: 1px solid var(--line); }
.service-link { display: grid; grid-template-columns: .9fr 1.25fr auto; gap: 34px; align-items: start; padding: 27px 0; min-height: 100px; text-decoration: none; }
.service-link h3 { color: #142e79; font-size: 1.375rem; line-height: 1.3; }
.service-link > p { font-size: 1.125rem; max-width: 58ch; }
.service-action { font-weight: 600; font-size: 1rem; color: var(--deep); text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; padding-top: 3px; }
.service-link:hover h3, .service-link:hover .service-action { color: var(--blue); }
.service-link:hover { background: #fafbfd; }
.service-link:focus-visible { outline-offset: 5px; }
.process-section { border-block: 1px solid var(--line); }
.steps { list-style: none; counter-reset: care; padding: 0; margin: 0; }
.steps > li { counter-increment: care; display: grid; grid-template-columns: 28px 1fr; gap: 18px; }
.steps > li + li { margin-top: 28px; }
.steps > li:before { content: counter(care) '.'; color: var(--deep); font-size: 1.125rem; line-height: 1.5; }
.steps h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 8px; }
.steps p { font-size: 1.125rem; }
.professional-section { background: #142d65; }
.professional-section h2, .professional-section p, .professional-section .text-link { color: white; }
.professional-section .professional-title { color: #d8e5ff; }
.professional-section :focus-visible { outline-color: white; }
.professional-title { font-size: 1rem; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 70px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary > .icon { width: 20px; height: 20px; color: var(--deep); }
.faq-item[open] > summary > .icon { transform: rotate(45deg); }
.faq-answer { max-width: 66ch; padding: 0 30px 22px 0; }
.contact-callout { background: #eaf0fb; padding: 50px 0; border-top: 1px solid var(--line); }
.contact-callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-callout-inner > * { min-width: 0; max-width: 100%; }
.contact-callout h2 { font-size: 1.75rem; }
.contact-callout p { margin-top: 15px; max-width: 62ch; }
.contact-callout .button { flex-shrink: 0; }

/* Páginas internas. */
.page-hero { padding: 22px 0 64px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--muted); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumbs > a { display: flex; align-items: center; min-height: 44px; }
.region-label { font-size: 1rem; margin-bottom: 16px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.125rem, 3.8vw, 3.125rem); }
.page-description { max-width: 68ch; font-size: 1.25rem; margin-top: 24px; }
.page-hero .button { margin-top: 26px; }
.page-hero .professional-title { margin-top: 20px; }
.audience-list { margin: 0; padding-left: 20px; }
.audience-list > li { padding-left: 8px; }
.audience-list > li + li { margin-top: 22px; }
.audience-list > li::marker { color: var(--deep); }
.note-text { font-size: 1rem; }
.questions-section { border-top: 1px solid var(--line); }
.related-services h2 { font-size: 1.75rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-panel > p { max-width: 44ch; margin-top: 20px; }
.contact-panel > .button { margin-top: 26px; }
.contact-panel .contact-unavailable { color: var(--ink); font-weight: 600; margin-top: 24px; }
.contact-panel .contact-small { font-size: 1rem; }
.contact-professional { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; }
.contact-professional > strong { font-weight: 600; }
.contact-professional > span { font-size: 1rem; color: var(--muted); }
.cities { list-style: none; padding: 0; margin: 22px 0 24px; }
.cities > li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
.cities > li > span { font-size: 1rem; color: var(--muted); }
.region-panel > p { max-width: 45ch; }
.not-found { min-height: 60vh; }
.not-found p { max-width: 60ch; margin-top: 24px; }
.not-found .button { margin-top: 28px; }

/* Rodapé. */
.site-footer { background: var(--soft); padding: 50px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 65px; padding-bottom: 40px; }
.site-footer .brand > img { width: 48px; }
.site-footer .brand strong { font-size: 1rem; }
.footer-main > div:first-child > p { font-size: 1rem; margin-top: 20px; }
.footer-main > div:first-child > .registration { font-size: .9375rem; margin-top: 14px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; font-size: 1rem; }
.footer-links > span { font-weight: 600; margin-bottom: 12px; }
.footer-links > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links > a:hover { color: var(--blue); text-decoration: underline; }
.footer-links > p { font-size: 1rem; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 20px 0; font-size: .875rem; color: var(--muted); }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .site-nav { gap: 24px; }
  .hero-intro { gap: 60px; }
  .content-split { gap: 60px; }
  .service-link { grid-template-columns: .9fr 1.2fr; gap: 12px 36px; }
  .service-action { grid-column: 2; padding-top: 0; }
  .service-link h3 { grid-row: span 2; }
  .footer-main { gap: 35px; }
  .contact-grid { gap: 65px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 88px; flex-wrap: wrap; padding-block: 16px; gap: 0; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 18px; }
  .site-nav > a, .nav-services > summary { font-size: 1.125rem; min-height: 48px; }
  .nav-services > summary { justify-content: space-between; }
  .service-menu { position: static; width: 100%; margin: 3px 0 12px; padding: 0 0 0 18px; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .js .menu-toggle { display: flex; margin-left: auto; }
  .js .site-nav { display: none; }
  .js .menu-open .site-nav { display: flex; }
  .hero { padding: 60px 0; }
  .hero-intro { grid-template-columns: 1fr; gap: 25px; }
  .hero-scope { border-left: 0; padding-left: 0; max-width: 65ch; }
  .hero-scope > span { margin-top: 10px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; max-width: 65ch; }
  .content-split { grid-template-columns: .85fr 1.15fr; gap: 36px; }
  .contact-callout-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
  .contact-grid { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  h1 { font-size: 2.375rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  .brand { gap: 8px; }
  .brand > img { width: 44px; }
  .brand strong { font-size: 1rem; }
  .brand > span > span { font-size: .875rem; }
  .menu-toggle { padding-inline: 10px; font-size: .875rem; }
  .header-inner { min-height: 84px; }
  .hero { padding: 42px 0 36px; }
  .hero h1 { max-width: 23ch; }
  .hero-intro { margin-top: 24px; gap: 24px; }
  .hero-description, .page-description { font-size: 1.1875rem; line-height: 1.6; }
  .hero-actions { gap: 12px 22px; margin-top: 24px; }
  .hero-scope { font-size: 1rem; }
  .section { padding-block: 48px; }
  .services-section { padding-top: 24px; }
  .service-list { margin-top: 23px; }
  .service-link { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .service-link h3 { grid-row: auto; font-size: 1.375rem; }
  .service-link > p { font-size: 1.125rem; }
  .service-action { grid-column: auto; min-height: 30px; font-size: 1rem; }
  .content-split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .content-split > div:first-child > p { max-width: 100%; margin-top: 16px; }
  .steps > li { gap: 12px; grid-template-columns: 22px 1fr; }
  .steps p { font-size: 1.125rem; }
  .steps > li + li { margin-top: 25px; }
  .faq-grid { gap: 24px; }
  .faq-item > summary { font-size: 1.125rem; min-height: 72px; gap: 18px; }
  .faq-answer { padding-right: 15px; }
  .page-hero { padding: 16px 0 42px; }
  .breadcrumbs { margin-bottom: 24px; }
  .page-hero h1 { font-size: 2.25rem; }
  .page-description { margin-top: 20px; }
  .contact-callout { padding: 40px 0; }
  .contact-callout-inner > * { min-width: 0; max-width: 100%; }
.contact-callout h2 { font-size: 1.625rem; }
  .contact-grid { gap: 44px; }
  .contact-panel .contact-small, .contact-professional > span { font-size: 1rem; }
  .site-footer { padding-top: 40px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-links { font-size: 1rem; }
  .footer-main > div:first-child > p { margin-top: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-block: 18px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand > img { width: 32px; }
  .brand { gap: 7px; }
  .brand strong { font-size: .9375rem; }
  .brand > span > span { font-size: .875rem; }
  .menu-toggle { padding-inline: 8px; gap: 7px; }
  .menu-lines, .menu-lines:after { width: 14px; }
  .hero h1 { font-size: 2.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
