/* Service navigation and service pages — extends the existing Sima identity. */
.nav-expertise { position: relative; display: flex; align-items: center; }
.service-nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: transparent; color: inherit; font-size: .8rem; font-weight: 650; letter-spacing: .02em; cursor: pointer; transition: color .18s ease; }
.service-nav-trigger:hover, .is-open > .service-nav-trigger { color: #a8d4f0; }
.site-header.is-scrolled .service-nav-trigger:hover, .site-header.is-menu-open .service-nav-trigger:hover, .site-header.is-scrolled .is-open > .service-nav-trigger { color: var(--blue-600); }
.service-nav-trigger > svg { width: 13px; height: 13px; transition: transform .2s ease; }
.service-nav-trigger::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.service-nav-trigger:hover::after, .service-nav-trigger.is-active::after, .is-open > .service-nav-trigger::after { transform: scaleX(1); }
.is-open > .service-nav-trigger > svg { transform: rotate(180deg); }
.expertise-dropdown[hidden], .mobile-expertise-panel[hidden] { display: none !important; }
.expertise-dropdown { position: absolute; top: calc(100% + 15px); left: -21px; width: 430px; max-width: calc(100vw - 48px); padding: 7px; border: 1px solid #dce6ed; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px -12px rgba(8,31,61,.24), 0 3px 12px rgba(8,31,61,.06); animation: expertise-enter .16s ease both; }
.expertise-dropdown::before { content: ''; position: absolute; top: -18px; left: 0; width: 100%; height: 19px; }
.expertise-dropdown-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 15px; margin-bottom: 3px; border-bottom: 1px solid #e8eef3; }
.expertise-menu-kicker { color: #6d8397; font-size: .63rem; line-height: 1.4; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav .expertise-menu-overview { display: inline-flex; gap: 7px; align-items: center; padding: 0; font-size: .68rem; font-weight: 650; line-height: 1.4; color: #2b729e; }
.expertise-menu-overview > svg, .mobile-expertise-overview > svg { flex: 0 0 14px; width: 14px; height: 14px; }
.desktop-nav .expertise-menu-overview::after, .desktop-nav .expertise-menu-link::after { display: none; }
.expertise-menu-items { display: grid; gap: 2px; }
.desktop-nav .expertise-menu-link { display: grid; grid-template-columns: 40px minmax(0,1fr) 15px; align-items: center; gap: 13px; padding: 16px 14px; border-radius: 9px; white-space: normal; color: var(--ink); font-weight: 400; letter-spacing: normal; transition: background .18s ease; }
.desktop-nav .expertise-menu-link:hover, .desktop-nav .expertise-menu-link:focus-visible, .desktop-nav .expertise-menu-link.is-current { transform: none; background: #edf5fa; color: var(--ink); }
.expertise-menu-symbol { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; line-height: 0; overflow: visible; border: 0; border-radius: 8px; color: var(--blue-800); background: #eaf2f8; }
.expertise-menu-symbol > svg { display: block; flex-shrink: 0; width: 25px; height: 25px; max-width: none; overflow: visible; }
.expertise-menu-copy { display: block; min-width: 0; }
.expertise-menu-link strong { display: block; margin: 0 0 5px; color: #193e66; font-size: .88rem; line-height: 1.35; letter-spacing: -.015em; font-weight: 700; }
.expertise-menu-description { display: block; color: #6c7f90; font-size: .74rem; line-height: 1.5; }
.expertise-menu-arrow { display: inline-flex; color: #6086a1; transition: transform .18s ease, color .18s ease; }
.expertise-menu-arrow > svg { width: 15px; height: 15px; }
.expertise-menu-link:hover .expertise-menu-arrow { transform: translateX(3px); color: #247caa; }
.mobile-expertise { border-bottom: 1px solid var(--line); }
.mobile-expertise > .service-nav-trigger { display: flex; width: 100%; justify-content: space-between; padding: 12px 4px; font-size: .98rem; line-height: 1.2; }
.mobile-expertise > .service-nav-trigger::after { display: none; }
.mobile-expertise > .service-nav-trigger > svg { width: 19px; height: 19px; }
/* Menu mobile tem fundo claro: mesmas cores de item ativo/hover dos outros links */
.mobile-expertise > .service-nav-trigger:hover, .mobile-expertise.is-open > .service-nav-trigger, .mobile-expertise > .service-nav-trigger.is-active { color: var(--blue-700); }
.mobile-expertise > .service-nav-trigger.is-active { padding-left: 8px; background: var(--blue-100); }
.mobile-expertise-panel { display: flex; flex-direction: column; padding: 0 0 10px 13px; border-left: 2px solid #b2d4e9; margin: 3px 0 6px; }
.mobile-nav .mobile-expertise-link { display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; gap: 12px; align-items: center; padding: 14px 8px; margin: 0; border: 0; border-radius: 9px; font-size: .94rem; line-height: 1.3; }
.mobile-expertise-link > span:first-child { color: #7291a6; font-size: .7rem; }
.mobile-expertise-link > span:nth-child(2) { color: var(--blue-800); font-weight: 650; }
.mobile-expertise-link.is-current { background: #eaf5fb; }
/* Visão geral primeiro, como a aba da página de atuação */
.mobile-nav .mobile-expertise-overview { order: -1; display: flex; align-items: center; gap: 12px; padding: 14px 8px 14px 44px; border: 0; border-radius: 9px; font-size: .94rem; line-height: 1.3; color: var(--blue-800); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237291a6' stroke-width='1.4'%3E%3Crect x='3' y='3' width='5.6' height='5.6' rx='1.3'/%3E%3Crect x='11.4' y='3' width='5.6' height='5.6' rx='1.3'/%3E%3Crect x='3' y='11.4' width='5.6' height='5.6' rx='1.3'/%3E%3Crect x='11.4' y='11.4' width='5.6' height='5.6' rx='1.3'/%3E%3C/svg%3E") 10px 50% / 14px no-repeat; }
.mobile-nav .mobile-expertise-overview > svg { margin-left: auto; flex-basis: 18px; width: 18px; height: 18px; }
@keyframes expertise-enter { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* An editorial service hero, with a technical illustration for each expertise. */
.service-page { background: #f7fafc; }
.service-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(118deg,#10376e 0%,#144080 63%,#246697 100%); color: white; padding: calc(var(--header-height) + 36px) 0 0; }
.service-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: linear-gradient(#c8e7ff 1px,transparent 1px),linear-gradient(90deg,#c8e7ff 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent 30%,#000); }
.service-hero-shell { width: var(--shell); margin: 0 auto; }
.service-breadcrumb { display: inline-flex; align-items: center; gap: 10px; color: #d7e7f5; font-size: .78rem; }
.service-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.service-breadcrumb a:hover { color: white; }
.service-breadcrumb > span { color: #9dc0db; }
.service-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 60px; align-items: center; padding: 48px 0 65px; }
.service-hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: #c0dcf1; }
.service-hero-kicker span { display: inline-block; width: 24px; height: 1px; background: #91c7ea; }
.service-page .service-hero h1 { max-width: 870px; margin: 0; font-size: clamp(3.2rem,5.8vw,5.5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; text-wrap: balance; }
.service-hero-lead { max-width: 710px; margin: 25px 0 0; color: #d4e6f4; font-size: clamp(1.05rem,1.5vw,1.23rem); line-height: 1.6; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 14px 25px; align-items: center; margin-top: 30px; }
.service-hero-actions .button { min-height: 47px; padding: 0 21px; font-size: .78rem; }
.service-hero-note { font-size: .76rem; color: #bfd8eb; }
.service-hero-visual { position: relative; display: grid; place-items: center; width: 280px; aspect-ratio: 1; border: 1px solid #ffffff25; border-radius: 50%; background: radial-gradient(circle at 50% 50%,#9fcceb18,transparent 66%); }
.service-hero-visual::before { content: ''; position: absolute; inset: 22px; border: 1px dashed #c5e0f331; border-radius: 50%; }
.service-hero-visual::after { content: ''; position: absolute; inset: -17px 50%; width: 1px; background: linear-gradient(transparent,#ffffff30,transparent); z-index: -1; }
.service-hero-visual > svg { width: 190px; height: 190px; color: #d2e9fa; filter: drop-shadow(0 20px 22px #071d3b45); animation: service-drift 7s ease-in-out infinite; }
.service-visual-index { position: absolute; top: 24px; right: 17px; width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid #8cbedc; border-radius: 50%; background: #205186; color: #d8edf9; font-size: .7rem; font-weight: 700; }
.service-visual-label { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 5px 12px; background: #194981; color: #b9dbf1; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.service-siblings { display: grid; grid-template-columns: auto repeat(3,minmax(0,1fr)); gap: 24px; border-top: 1px solid #ffffff30; }
.service-siblings a { display: flex; align-items: center; gap: 13px; position: relative; padding: 22px 0 23px; color: #bfd8e9; font-size: .79rem; line-height: 1.35; }
.service-siblings a > span:first-child { color: #94b7d0; font-size: .65rem; }
.service-siblings a > svg { flex-shrink: 0; width: 15px; height: 15px; margin-left: auto; }
.service-siblings a[aria-current] { color: #fff; }
.service-siblings a[data-service-link]::before { content: ''; position: absolute; inset: -1px 0 auto; height: 3px; background: #bde2f7; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.22,.75,.2,1); }
.service-siblings a[aria-current]::before { transform: scaleX(1); transform-origin: left; }
.service-siblings[data-direction="prev"] a[data-service-link]::before { transform-origin: left; }
.service-siblings[data-direction="prev"] a[aria-current]::before { transform-origin: right; }
.service-siblings a:hover { color: white; }
.service-siblings .service-siblings-overview { gap: 10px; padding-right: 24px; border-right: 1px solid #ffffff26; color: #e2eef8; font-weight: 650; white-space: nowrap; }
.service-siblings .service-siblings-overview > svg { width: 16px; height: 16px; margin-left: 0; color: #9fd0ee; transition: transform .25s ease; }
.service-siblings .service-siblings-overview:hover > svg { transform: scale(1.12); }
.service-siblings .service-siblings-overview[aria-current] { color: #fff; }
.service-siblings .service-siblings-overview[aria-current] > svg { color: #bde2f7; }
.service-page .service-hero h1 em { color: #8fc6e4; font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.service-visual-index > svg { width: 17px; height: 17px; }

/* Troca entre as páginas de atuação sem recarregar (atuacao.js) */
.service-page { --service-shift: 32px; }
.service-page .service-hero-copy, .service-page .service-hero-visual, .service-page > :not(.service-hero) { transition: opacity .22s ease, translate .22s ease, scale .22s ease; }
.service-page.is-leaving .service-hero-copy { opacity: 0; translate: calc(var(--service-direction,1) * var(--service-shift) * -1) 0; }
.service-page.is-leaving .service-hero-visual { opacity: 0; scale: .92; }
.service-page.is-leaving > :not(.service-hero) { opacity: 0; translate: 0 14px; }
.service-page.is-entering .service-hero-copy > * { animation: service-copy-in .6s cubic-bezier(.22,.75,.2,1) both; }
.service-page.is-entering .service-hero-copy > :nth-child(2) { animation-delay: .05s; }
.service-page.is-entering .service-hero-copy > :nth-child(3) { animation-delay: .1s; }
.service-page.is-entering .service-hero-copy > :nth-child(4) { animation-delay: .15s; }
.service-page.is-entering .service-hero-visual { animation: service-visual-in .7s .06s cubic-bezier(.22,.75,.2,1) both; }
.service-page.is-entering > :not(.service-hero) { animation: service-body-in .6s .14s cubic-bezier(.22,.75,.2,1) both; }
@keyframes service-copy-in { from { opacity: 0; translate: calc(var(--service-direction,1) * var(--service-shift)) 0; } }
@keyframes service-visual-in { from { opacity: 0; scale: .9; rotate: calc(var(--service-direction,1) * -8deg); } }
@keyframes service-body-in { from { opacity: 0; translate: 0 18px; } }
.service-page .service-page-body { width: var(--shell); display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 80px; margin: 0 auto; padding-block: 75px 100px; }
.service-prose { min-width: 0; font-size: 1.05rem; line-height: 1.85; }
.service-prose > p:first-child { margin-top: 0; }
.service-prose > p:first-child::first-letter { float: none !important; margin: 0 !important; font: inherit !important; color: inherit !important; }
.service-prose > .article-lead { padding: 0 0 0 25px; border-left: 3px solid #78afd1; font-size: 1.25rem; color: #203b59; line-height: 1.75; }
.service-prose h2 { margin-top: 52px; font-size: clamp(1.9rem,3vw,2.55rem); letter-spacing: -.04em; }
.service-prose .article-feature, .service-prose .article-phase { background: white; border: 1px solid #dae7f0; border-radius: 14px; padding: 27px; box-shadow: 0 7px 20px #123b6504; }
.service-prose .article-feature h3, .service-prose .article-phase h3 { font-size: 1.03rem; line-height: 1.4; }
.service-prose .article-feature p { color: #5b6f83; }
.service-prose blockquote { margin: 40px 0; padding: 28px 32px; border-left: 3px solid #72acd0; border-radius: 0 14px 14px 0; background: #eaf2f8; color: #214d76; font-size: 1.2rem; line-height: 1.65; }
.service-prose .article-signature { padding-top: 24px; }
.service-aside { position: sticky; top: calc(var(--header-height) + 28px); align-self: start; }
.service-aside-label { display: block; padding-bottom: 17px; color: #64819b; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid #d6e3ed; }
.service-aside-link { display: grid; grid-template-columns: 26px minmax(0,1fr) 16px; align-items: start; gap: 10px; padding: 23px 0; border-bottom: 1px solid #d6e3ed; color: #234769; font-size: .98rem; line-height: 1.4; font-weight: 650; }
.service-aside-link > span:first-child { padding-top: 3px; color: #7b9ab1; font-size: .65rem; }
.service-aside-link:hover { color: #2b8ab8; }
.service-contact-card { margin-top: 32px; padding: 26px; border-radius: 16px; background: linear-gradient(140deg,#143d74,#1e5b8b); color: white; }
.service-contact-card > svg { width: 26px; height: 26px; color: #badcf1; margin-bottom: 17px; }
.service-contact-card h2 { margin: 0 0 12px; color: white; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.035em; }
.service-contact-card p { margin: 0 0 23px; color: #d1e3f0; font-size: .83rem; line-height: 1.6; }
.service-contact-card .button { width: 100%; min-height: 44px; padding: 9px 14px; font-size: .73rem; justify-content: center; }
.service-contact-email { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 0 0; color: #dcecf6; font-size: .76rem; }
.service-contact-email:hover { color: white; text-decoration: underline; }
@keyframes service-drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width:1120px) {
  .nav-expertise { display: none; }
  .mobile-nav { overflow-y: auto; max-height: calc(100dvh - var(--header-height)); overscroll-behavior: contain; }
  .site-header.is-menu-open .mobile-nav { background: #f7fafc; }
  body.is-menu-open .whatsapp-float { visibility: hidden; pointer-events: none; }
  .service-hero-grid { grid-template-columns: minmax(0,1fr) 210px; gap: 34px; }
  .service-hero-visual { width: 210px; }
  .service-hero-visual > svg { width: 148px; height: 148px; }
  .service-page .service-page-body { grid-template-columns: minmax(0,1fr) 240px; gap: 40px; }
  .service-contact-card { padding: 23px; }
}
@media (max-width:760px) {
  .service-hero { padding-top: calc(var(--header-height) + 22px); }
  .service-hero-grid { grid-template-columns: minmax(0,1fr); padding: 32px 0 38px; gap: 0; }
  .service-page .service-hero h1 { font-size: clamp(2.25rem,8.5vw,4rem); line-height: 1.07; }
  .service-hero-kicker { font-size: .59rem; margin-bottom: 20px; }
  .service-hero-lead { font-size: 1rem; margin-top: 20px; }
  .service-hero-visual { display: none; }
  .service-siblings { gap: 14px; }
  .service-siblings a { flex-wrap: wrap; align-content: start; gap: 7px; padding: 19px 0; font-size: .67rem; }
  .service-siblings a > span:nth-child(2) { width: 100%; }
  .service-siblings a > svg { position: absolute; top: 20px; right: 0; width: 12px; height: 12px; }
  .service-siblings { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 0; }
  .service-siblings .service-siblings-overview { grid-column: 1 / -1; flex-wrap: nowrap; padding: 15px 0; border-right: 0; border-bottom: 1px solid #ffffff1f; font-size: .74rem; }
  .service-siblings .service-siblings-overview > span { width: auto; }
  .service-siblings .service-siblings-overview > svg { position: static; width: 14px; height: 14px; }
  .service-page .service-page-body { grid-template-columns: minmax(0,1fr); padding-block: 43px 60px; gap: 45px; }
  .service-prose { font-size: 1rem; }
  .service-prose > .article-lead { font-size: 1.13rem; padding-left: 18px; }
  .service-prose .article-feature-grid, .service-prose .article-phase-grid { grid-template-columns: minmax(0,1fr); }
  .service-prose .article-feature, .service-prose .article-phase { padding: 23px; }
  .service-aside { position: static; }
  .service-contact-card { padding: 28px; }
  .service-contact-card .button { max-width: 330px; }
  .service-contact-email { justify-content: flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  .service-hero-visual > svg, .expertise-dropdown, .service-page.is-entering * { animation: none; }
  .service-page.is-entering .service-hero-visual, .service-page.is-entering > :not(.service-hero) { animation: none; }
  .service-siblings a::before, .service-page .service-hero-copy, .service-page .service-hero-visual, .service-page > :not(.service-hero) { transition: none; }
}
