/*
  Folha de estilos do site institucional Outside.
  Cores, letra, raios e sombras vêm de assets/outside-tokens.css (variáveis --o-*); não repetir valores aqui.
  Larguras de ecrã usadas: 1500, 1340 (menu compacto), 1200, 1100, 1000, 900, 800 e 700 px (telemóvel).
  Ordem: letra; base; estrutura comum; cabeçalho; Início; gráfico de processos; subpáginas; ajustes por largura;
  «Onde é que o seu negócio fica à espera?»; parceiros; rodapé; blocos de conteúdo; próximo passo; ajustes finais;
  parceiros (rotação); fotografias; aberturas das subpáginas; faixas fixas das subpáginas e do Início.
  Atenção: há regras posteriores que completam as anteriores; ao mudar uma secção, procurar o mesmo seletor no resto do ficheiro.
*/
@font-face {
  font-family: Nunito Sans;
  src: url("assets/NunitoSans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito Sans;
  src: url("assets/NunitoSans-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Nunito Sans;
  src: url("assets/NunitoSans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
/* Base, tipografia, ligações e navegação. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--o-superficie);
  color: var(--o-azul);
  font-family: var(--o-letra);
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
button,
input,
summary {
  font: inherit;
}
button,
a,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--o-azul);
  outline-offset: 5px;
}
.on-dark a:focus-visible,
.on-dark button:focus-visible {
  outline-color: white;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 700;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 22px;
  font-weight: 700;
}
p {
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}
/* Estrutura comum: largura, secções, títulos de secção, ligações e botões. */
.wrap {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 88px);
}
.on-dark {
  background: var(--o-azul);
  color: white;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--o-cartao-menta-t);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.on-dark .eyebrow {
  color: #ade7cc;
}
.lead {
  font-size: 20px;
  line-height: 1.5;
}
.section {
  padding-block: 100px;
}
.soft-section {
  background: var(--o-fundo);
  padding-block: 88px;
}
.section-intro {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-intro > p:last-child {
  color: var(--o-texto-sec);
  max-width: 600px;
}
.text-link,
.text-button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
}
.text-link span,
.text-button span {
  font-size: 22px;
  text-decoration: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  min-height: 50px;
  padding: 12px 22px;
  background: var(--o-azul);
  color: white;
  border: 1px solid var(--o-azul);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  transition: box-shadow 200ms;
  border-bottom: 3px solid var(--o-laranja);
}
.button:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
.on-dark .button {
  background: var(--o-azul);
  border-color: white;
  border-bottom-color: var(--o-laranja);
}
.button-small {
  min-height: 43px;
  padding: 10px 17px;
  font-size: 14px;
  gap: 20px;
}
/* Cabeçalho e menu principal. */
.skip-link {
  position: absolute;
  z-index: 100;
  left: 20px;
  top: 15px;
  background: white;
  color: var(--o-azul);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 88px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}
.brand img {
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  gap: clamp(16px, 1.5vw, 26px);
}
.desktop-nav > a:not(.button) {
  text-decoration: none;
  padding-block: 8px;
  white-space: nowrap;
}
.desktop-nav > a:hover,
.desktop-nav > a[aria-current] {
  text-decoration: underline;
}
.mobile-nav {
  display: none;
  position: relative;
}
/* Início: entrada azul. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: max(660px, calc(100svh - var(--home-header-height, 89px)));
  background: var(--o-azul);
}
.hero-art {
  position: absolute;
  z-index: 0;
  inset: auto 0 clamp(32px, 6vh, 90px) auto;
  width: min(72vw, 1400px);
  height: auto;
  aspect-ratio: 2/1;
  margin: 0;
  opacity: 1;
  mask-image: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 62px;
  min-height: 590px;
  padding-bottom: 46px;
}
.hero-copy {
  max-width: 435px;
}
.hero h1 {
  font-size: 36px;
  margin-bottom: 28px;
}
.hero-lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 415px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero-support {
  color: var(--o-menu-texto);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 430px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}
.hero-actions .text-link {
  font-size: 14px;
  gap: 15px;
}
/* Gestão e processos: legenda e demonstração do percurso. */
.row-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--o-cartao-menta-t);
  padding-top: 3px;
}
.process-demo {
  min-width: 0;
  --wait-dx: 0px;
}
.process-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}
.mini-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--o-linha-forte);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--o-texto-sec);
}
.flow-caption {
  font-size: 13px;
  color: var(--o-texto-sec);
}
/* Gráfico Processar / Validar / Relatar (Gestão e processos).
   Estado inicial: pendência «À espera»; .is-improved (botão) mostra o percurso com seguimento. */
.document-art rect {
  fill: white;
  stroke: var(--o-azul);
  stroke-width: 1.8;
}
.document-art path {
  fill: none;
  stroke: var(--o-texto-sec);
  stroke-width: 1.5;
}
.converging path {
  fill: none;
  stroke: var(--o-contorno-campo);
  stroke-width: 1.5;
}
.converging .near-route {
  stroke: var(--o-texto-sec);
  stroke-width: 1.65;
}
.scatter-dots {
  fill: var(--o-linha-forte);
}
.scatter-rings {
  fill: none;
  stroke: var(--o-laranja);
  stroke-width: 1.7;
}
.process-map .main-route,
.process-map .route-arrow {
  fill: none;
  stroke: var(--o-laranja);
  stroke-width: 2.3;
  transition: stroke 300ms;
}
.process-map .flow-node > circle {
  fill: white;
  stroke: var(--o-laranja);
  stroke-width: 2.3;
}
.process-map .flow-node .node-core {
  fill: var(--o-azul);
  stroke: var(--o-azul);
}
.process-map .blocked > circle {
  fill: var(--o-cartao-laranja-f);
}
.process-map .pause-mark {
  fill: none;
  stroke: var(--o-cartao-laranja-t);
  stroke-width: 3;
}
.process-map .flow-node:not(.blocked) .pause-mark,
.process-map .flow-node:not(.blocked) .check-mark,
.process-map .flow-node.blocked .node-core {
  display: none;
}
.process-map .pile {
  display: none;
}
.process-demo[data-wait="processar"] .pile-processar,
.process-demo[data-wait="validar"] .pile-validar,
.process-demo[data-wait="relatar"] .pile-relatar {
  display: block;
}
.process-demo[data-wait="validar"] {
  --wait-dx: 210px;
}
.process-demo[data-wait="relatar"] {
  --wait-dx: 415px;
}
.process-map .wait-tag {
  transform: translateX(var(--wait-dx));
  transition: transform 300ms var(--o-curva);
}
.process-map .check-mark {
  display: none;
  fill: none;
  stroke: var(--o-cartao-menta-t);
  stroke-width: 3;
}
.process-map .flow-labels text {
  fill: var(--o-azul);
  font: 600 26px "Nunito Sans", Arial, sans-serif;
  text-anchor: middle;
}
.process-map .wait-tag rect {
  fill: var(--o-cartao-laranja-f);
}
.process-map .wait-tag text {
  fill: var(--o-cartao-laranja-t);
  font: 600 22px "Nunito Sans", Arial, sans-serif;
  text-anchor: middle;
}
.flow-note {
  font-size: 14px;
  margin-bottom: 8px;
  max-width: 540px;
}
.process-demo.is-improved .main-route {
  stroke-dasharray: 500;
  animation: draw-route 1s ease-out both;
}
@keyframes draw-route {
  from {
    stroke-dashoffset: 500;
  }
  to {
    stroke-dashoffset: 0;
  }
}
/* Secções em duas colunas, contacto e rodapé (base). */
.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.why-section > div:last-child {
  padding-top: 42px;
}
.why-section > div:last-child > p:not(.lead) {
  color: var(--o-texto-sec);
}
.contact-section {
  background: var(--o-fundo);
  padding-block: 86px;
}
.site-footer {
  padding-block: 36px;
}
/* Subpáginas: abertura, capítulos, listas, relatório, passos e princípios. */
.page-heading {
  padding-block: 90px 68px;
  padding-top: 90px;
  padding-bottom: 75px;
}
.page-heading .lead {
  max-width: 660px;
  color: var(--o-texto-sec);
}
.page-anchors {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 34px;
}
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-block: 64px;
  border-top: 1px solid var(--o-linha-forte);
  scroll-margin-top: 35px;
}
.chapter-title .row-number {
  display: inline-block;
  margin-bottom: 26px;
}
.chapter-title .eyebrow {
  margin-bottom: 14px;
}
.chapter-body > p:not(.lead) {
  color: var(--o-texto-sec);
}
.plain-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.plain-list li {
  border-top: 1px solid var(--o-linha);
  padding: 12px 0;
  font-size: 15px;
}
.tech-detail {
  margin-top: 28px;
  border-top: 1px solid var(--o-linha-forte);
  padding-top: 18px;
}
.tech-detail summary {
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tech-detail dl {
  margin-top: 24px;
}
.tech-detail dt {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.tech-detail dd {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--o-texto-sec);
}
.tech-detail > p {
  font-size: 13px;
  color: var(--o-texto-sec);
}
.report-outline {
  margin-block: 28px;
}
.report-outline p {
  padding: 14px 0;
  border-top: 1px solid var(--o-linha);
  font-size: 14px;
  color: var(--o-texto-sec);
  margin: 0;
}
.report-outline span {
  display: block;
  color: var(--o-azul);
  font-weight: 700;
  margin-bottom: 4px;
}
.example-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.release-section {
  padding-block: 50px 90px;
}
.release-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 20px;
}
.release-grid picture {
  margin-right: -40px;
  display: block;
  min-width: 0;
}
.release-grid p:not(.eyebrow) {
  max-width: 440px;
  color: var(--o-texto-sec);
}
.steps {
  padding-bottom: 90px;
}
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  border-top: 1px solid var(--o-linha-forte);
  padding-block: 48px;
}
.step-number {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--o-azul);
  border-top: 3px solid var(--o-laranja);
  padding-top: 12px;
  justify-self: start;
}
.step > div {
  max-width: 850px;
}
.step .eyebrow {
  margin-bottom: 12px;
}
.step p:not(.eyebrow) {
  max-width: 760px;
  color: var(--o-texto-sec);
}
.step-deliverable {
  font-size: 14px;
  margin-top: 24px;
  margin-bottom: 0;
}
.step-deliverable strong {
  color: var(--o-azul);
}
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.principles details {
  border-top: 1px solid var(--o-linha-forte);
  padding: 20px 0;
}
.principles summary {
  font-weight: 600;
}
.principles details p {
  font-size: 14px;
  color: var(--o-texto-sec);
  margin: 18px 0 0;
}
/* Ajustes por largura de ecrã das secções acima. */
@media (min-width: 1500px) {
  .hero-inner {
    min-height: 655px;
    padding-top: 85px;
  }
  .hero-copy {
    max-width: 470px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
  }
  .brand img {
    width: 170px;
  }
  .example-grid {
    gap: 35px;
  }
  .chapter,
  .principles,
  .why-section {
    gap: 55px;
  }
  .hero-copy {
    max-width: 390px;
  }
  .hero-lead {
    max-width: 370px;
  }
  .hero-inner {
    min-height: 565px;
  }
  .hero-actions {
    max-width: 330px;
  }
}
.mobile-nav summary {
  list-style: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: 50px;
  min-width: 260px;
  background: white;
  color: var(--o-azul);
  padding: 20px;
  box-shadow: var(--o-sombra-alta);
  border: 1px solid var(--o-linha-forte);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 6px;
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
}
.mobile-nav[open] summary span {
  transform: rotate(45deg);
}
.mobile-nav a {
  font-size: 15px;
}
.on-dark .mobile-nav nav a:focus-visible {
  outline-color: var(--o-azul);
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .hero-copy {
    max-width: 365px;
  }
  .example-grid {
    grid-template-columns: 1fr;
  }
  .process-demo {
    max-width: 780px;
  }
  .why-section {
    gap: 40px;
  }
  .release-grid {
    grid-template-columns: 1fr 1fr;
  }
  .chapter {
    gap: 50px;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 21px;
  }
  .wrap {
    padding-inline: 24px;
  }
  .section,
  .soft-section {
    padding-block: 64px;
  }
  .brand img {
    width: 174px;
    height: 54px;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    min-height: 0;
    padding-top: 38px;
    order: 0;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-lead {
    font-size: 18px;
    max-width: 470px;
  }
  .hero-actions {
    max-width: 100%;
    gap: 24px;
  }
  .hero-art {
    order: 1;
    overflow: hidden;
  }
  .hero-art img {
    max-width: none;
  }
  .section-intro {
    margin-bottom: 30px;
  }
  .section-intro h2 br {
    display: none;
  }
  .row-number {
    font-size: 12px;
  }
  .process-map {
    margin: 10px 0;
  }
  .flow-note,
  .flow-caption {
    font-size: 12px;
  }
  .process-caption {
    gap: 10px;
  }
  .mini-label {
    font-size: 12px;
  }
  .why-section,
  .chapter,
  .release-grid,
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .why-section > div:last-child {
    padding-top: 0;
  }
  .lead {
    font-size: 18px;
  }
  .contact-section {
    padding-block: 64px;
  }
  .site-footer {
    padding-block: 26px;
  }
  .page-heading h1 br {
    display: none;
  }
  .page-anchors {
    gap: 16px 24px;
    margin-top: 28px;
  }
  .chapter {
    padding-block: 38px;
  }
  .chapter-title .row-number {
    margin-bottom: 14px;
  }
  .chapter-title h2 {
    margin-bottom: 0;
  }
  .chapter-title h2 br {
    display: none;
  }
  .release-section {
    padding-block: 20px 60px;
  }
  .release-grid picture {
    order: -1;
  }
  .release-grid h2 br {
    display: none;
  }
  .step {
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding-block: 32px;
  }
  .step-number {
    font-size: 28px;
  }
  .step h2 {
    font-size: 24px;
  }
  .step p:not(.eyebrow) {
    font-size: 15px;
  }
  .steps {
    padding-bottom: 55px;
  }
}
.process-demo.is-improved .process-map .main-route,
.process-demo.is-improved .process-map .route-arrow,
.process-demo.is-improved .process-map .flow-node > circle {
  stroke: var(--o-dados-3);
}
.process-demo.is-improved .process-map .blocked > circle,
.process-demo.is-improved .process-map .wait-tag rect {
  fill: var(--o-cartao-menta-f);
}
.process-demo.is-improved .process-map .wait-tag text {
  fill: var(--o-cartao-menta-t);
}
.process-demo.is-improved .process-map .pause-mark {
  display: none;
}
.process-demo.is-improved .process-map .blocked .check-mark {
  display: block;
}
@media (max-width: 700px) {
  .process-demo .process-map .wait-tag text {
    font-size: 36px;
    transform: translateY(3px);
  }
  .process-demo .process-map .wait-tag rect {
    height: 48px;
  }
}
/* Movimento reduzido: sem animações nem transições. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Início: «Onde é que o seu negócio fica à espera?» (texto e gráfico do processo). */
.value-section {
  background: var(--o-superficie);
  padding-block: 88px;
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
}
.value-copy {
  max-width: 500px;
}
.value-copy .eyebrow {
  color: var(--o-texto-sec);
  margin-bottom: 24px;
}
.value-copy h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.value-copy > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.55;
  max-width: 455px;
  color: var(--o-texto-apoio);
  margin-bottom: 32px;
}
.value-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.value-actions .text-link {
  font-weight: 400;
}
.value-figure {
  margin: 0;
  min-width: 0;
}
@media (max-width: 1100px) {
  .value-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
  }
  .value-copy h2 {
    font-size: 32px;
  }
  .value-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .value-actions {
    gap: 22px;
  }
}
@media (max-width: 800px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .value-copy {
    max-width: 650px;
  }
  .value-copy > p:not(.eyebrow) {
    max-width: 580px;
  }
  .value-figure {
    max-width: 680px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .value-section {
    padding-block: 64px;
  }
  .value-copy h2 {
    font-size: 28px;
  }
  .value-copy h2 br {
    display: none;
  }
  .value-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .value-actions {
    gap: 24px;
  }
  .value-grid {
    gap: 24px;
  }
}
/* A Outside: parceiros (base). */
.partner-section {
  background: white;
  padding-block: 58px;
  border-bottom: 1px solid var(--o-linha);
}
.partner-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.partner-heading h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.4;
}
.partner-heading p {
  font-size: 13px;
  color: var(--o-texto-sec);
  margin: 0;
}
.partner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.partner-grid li {
  min-width: 0;
  flex: 0 0 170px;
  width: 170px;
}
.partner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
  height: 105px;
}
.partner-mark img {
  width: 100%;
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.partner-kroftools img {
  width: 120%;
  max-width: 220px;
}
.partner-prestigium img {
  width: 85%;
  max-width: 145px;
}
.why-about-link {
  margin-top: 20px;
  display: flex;
  width: max-content;
}
/* Rodapé. */
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.4fr;
  gap: 60px;
  padding-block: 18px 35px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--o-texto-sec);
  margin: 14px 0 0;
}
.footer-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-nav,
.footer-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-nav a,
.footer-address a {
  font-size: 13px;
  margin-bottom: 9px;
}
.footer-address address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--o-texto-sec);
}
.footer-address small {
  font-size: 12px;
  color: var(--o-texto-sec);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--o-linha);
  padding-top: 22px;
  font-size: 12px;
  color: var(--o-texto-sec);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* Blocos de conteúdo de A Outside, Contactos e Contabilidade. */
.about-story,
.about-expertise,
.values-section,
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.about-story {
  padding-top: 20px;
}
.about-story > div > p:not(.lead) {
  color: var(--o-texto-sec);
}
.expertise-list article {
  border-top: 1px solid var(--o-linha-forte);
  padding: 24px 0;
}
.expertise-list article:first-child {
  padding-top: 0;
  border-top: 0;
}
.expertise-list h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.expertise-list p {
  color: var(--o-texto-sec);
  font-size: 15px;
  margin-bottom: 0;
}
.values-list {
  margin: 0;
}
.values-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  border-top: 1px solid var(--o-linha-forte);
  padding: 20px 0;
  font-size: 14px;
}
.values-list dt {
  font-weight: 700;
}
.values-list dd {
  margin: 0;
  color: var(--o-texto-sec);
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.faq-list details {
  border-top: 1px solid var(--o-linha-forte);
  padding: 20px 0;
}
.faq-list summary {
  font-weight: 600;
  font-size: 16px;
}
.faq-list p {
  font-size: 14px;
  color: var(--o-texto-sec);
  margin: 18px 0 0;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  padding-bottom: 90px;
  padding-top: 68px;
}
.contact-page-primary {
  min-width: 0;
}
.contact-page-email {
  font-size: 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  max-width: 100%;
}
.contact-page-primary > p:not(.eyebrow) {
  font-size: 15px;
  max-width: 450px;
  color: var(--o-texto-sec);
}
.contact-topics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 12px;
}
.contact-topics a {
  font-size: 15px;
}
.office-contact {
  padding-left: 45px;
  border-left: 1px solid var(--o-linha-forte);
}
.office-contact h2 {
  font-size: 28px;
}
.office-contact address {
  font-style: normal;
  color: var(--o-texto-sec);
  margin: 0 0 22px;
}
.office-contact .text-link {
  font-size: 14px;
}
.office-phone {
  margin-top: 32px;
}
.office-phone a {
  font-size: 20px;
}
.office-phone small {
  display: block;
  font-size: 12px;
  color: var(--o-texto-sec);
  margin-top: 5px;
}
.conversation-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.conversation-section ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: conversation;
}
.conversation-section li {
  counter-increment: conversation;
  border-top: 1px solid var(--o-linha-forte);
  padding: 20px 0 20px 40px;
  position: relative;
  font-size: 14px;
  color: var(--o-texto-sec);
}
.conversation-section li::before {
  content: "0" counter(conversation);
  position: absolute;
  left: 0;
  top: 23px;
  font-size: 12px;
  font-weight: 600;
  color: var(--o-cartao-menta-t);
}
.conversation-section li span {
  display: block;
  color: var(--o-azul);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
@media (max-width: 1000px) {
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .partner-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .footer-main {
    gap: 30px;
  }
  .about-story,
  .about-expertise,
  .values-section,
  .faq-section,
  .conversation-section {
    gap: 45px;
  }
  .contact-page-grid {
    gap: 50px;
  }
  .office-contact {
    padding-left: 30px;
  }
}
@media (max-width: 700px) {
  .partner-section {
    padding-block: 35px;
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-heading h2 {
    font-size: 18px;
  }
  .partner-heading p {
    font-size: 12px;
    max-width: 285px;
  }
  .partner-mark img {
    width: 100%;
    max-width: 175px;
  }
  .partner-kroftools img {
    width: 120%;
    max-width: 190px;
  }
  .partner-prestigium img {
    width: 85%;
    max-width: 125px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand p {
    margin-top: 10px;
  }
  .footer-bottom {
    display: block;
    font-size: 12px;
  }
  .footer-bottom nav {
    margin-top: 18px;
    gap: 15px;
  }
  .footer-address address {
    font-size: 12px;
  }
  .about-story,
  .about-expertise,
  .values-section,
  .faq-section,
  .conversation-section,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .values-list > div {
    grid-template-columns: 115px 1fr;
    gap: 20px;
  }
  .about-story {
    padding-top: 0;
  }
  .contact-page-grid {
    padding-bottom: 60px;
  }
  .contact-page-email {
    font-size: 22px;
    gap: 20px;
  }
  .contact-page-email span {
    font-size: 20px;
  }
  .office-contact {
    border-left: 0;
    border-top: 1px solid var(--o-linha-forte);
    padding: 32px 0 0;
  }
  .office-contact h2 {
    font-size: 26px;
  }
  .office-contact address {
    font-size: 15px;
  }
  .contact-topics a {
    font-size: 14px;
  }
  .faq-section h2 br {
    display: none;
  }
}
/* Próximo passo (convite ao contacto) e parceiros em A Outside. */
.next-step-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.next-step-grid h2 {
  font-size: 30px;
}
.next-step-grid p:not(.eyebrow) {
  color: var(--o-texto-sec);
  margin-bottom: 0;
}
.next-step-action {
  justify-self: end;
}
.next-step-action .button {
  gap: 40px;
}
.partner-section-final {
  padding-block: 40px 34px;
}
.partner-section-final .partner-heading {
  margin-bottom: 24px;
}
.partner-section-final .partner-grid {
  row-gap: 4px;
}
.partner-abc img {
  width: 75%;
  max-width: 140px;
}
.partner-mercado img,
.partner-carapax img {
  width: 85%;
  max-width: 150px;
}
@media (max-width: 1000px) {
  .next-step-grid {
    gap: 40px;
  }
  .partner-section-final .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .next-step-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .next-step-grid h2 {
    font-size: 28px;
  }
  .next-step-action {
    justify-self: start;
  }
  .partner-section-final .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-section-final {
    padding-block: 36px 28px;
  }
  .partner-abc img {
    width: 75%;
    max-width: 120px;
  }
  .partner-mercado img,
  .partner-carapax img {
    width: 85%;
    max-width: 130px;
  }
}
/* Escolhas de serviço (Início) e linhas de serviço. */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.entry-grid article {
  border-top: 1px solid var(--o-linha-forte);
  padding-top: 28px;
}
.entry-grid h3 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 20px;
}
.entry-grid article > p:not(.eyebrow) {
  color: var(--o-texto-sec);
  max-width: 475px;
  margin-bottom: 26px;
}
.management-bridge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.management-bridge > div > p:not(.lead) {
  color: var(--o-texto-sec);
}
.service-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.service-lines article {
  border-top: 1px solid var(--o-linha-forte);
  padding-top: 24px;
}
.service-lines h3 {
  font-size: 21px;
}
.service-lines p {
  color: var(--o-texto-sec);
}
.project-intro {
  padding-top: 20px;
  padding-bottom: 25px;
}
.project-intro > p:last-child {
  max-width: 650px;
  color: var(--o-texto-sec);
}
.career-note {
  margin-top: 18px;
  font-size: 13px;
}
@media (max-width: 1340px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}
@media (max-width: 1000px) {
  .entry-grid {
    gap: 40px;
  }
  .management-bridge {
    gap: 45px;
  }
  .service-lines {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .entry-grid,
  .management-bridge,
  .service-lines {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .entry-grid h3 {
    font-size: 24px;
  }
  .entry-grid h3 br {
    display: none;
  }
  .hero-support {
    max-width: 100%;
  }
  .service-lines h3 {
    font-size: 21px;
  }
}
/* Ajustes finais de tipografia e apontamentos da marca (aplicados por cima das regras anteriores). */
h1,
h2,
h3 {
  letter-spacing: 0;
  word-spacing: normal;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.hero h1,
.value-copy h2 {
  letter-spacing: 0;
  line-height: 1.3;
}
.page-heading h1 {
  margin-bottom: 30px;
}
.chapter-title h2 {
  line-height: 1.35;
}
/* Parceiros: faixa horizontal com pausa e navegação por teclado. */
.partner-controls {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}
.partner-controls button {
  border: 1px solid var(--o-azul);
  border-radius: 4px;
  background: white;
  color: var(--o-azul);
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}
.partner-controls .partner-pause {
  min-width: 145px;
}
.partner-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--o-azul) white;
  padding-bottom: 10px;
}
.partner-grid,
.partner-section-final .partner-grid {
  display: flex;
  gap: 24px;
  position: relative;
  width: max-content;
  align-items: center;
}
@media (max-width: 700px) {
  h1,
  h2,
  h3,
  .hero h1,
  .value-copy h2 {
    letter-spacing: 0;
    word-spacing: 0.02em;
    line-height: 1.35;
  }
  .page-heading {
    padding-block: 52px;
  }
  .page-heading h1 {
    margin-bottom: 26px;
  }
  .entry-grid h3 {
    line-height: 1.4;
  }
  .partner-grid li {
    width: 145px;
    flex-basis: 145px;
  }
  .partner-grid,
  .partner-section-final .partner-grid {
    gap: 20px;
  }
  .partner-controls {
    justify-content: flex-start;
  }
  .partner-mark {
    height: 90px;
  }
  .process-demo .process-map .flow-labels text {
    font-size: 32px;
  }
}
.desktop-nav > a[aria-current],
.mobile-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--o-laranja);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.site-header {
  border-bottom: 1px solid var(--o-linha);
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--o-superficie);
  box-shadow: 0 3px 18px #192c390a;
}
.site-header.on-dark {
  border-bottom-color: #ffffff26;
  background: var(--o-azul);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  flex: 0 0 24px;
  background: var(--o-laranja);
}
.text-link > span,
.text-button > span {
  color: var(--o-laranja);
}
.entry-grid article,
.service-lines article {
  position: relative;
}
.entry-grid article::before,
.service-lines article::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 56px;
  height: 3px;
  background: var(--o-laranja);
}
.next-step-section {
  border-top: 3px solid var(--o-laranja);
}
.release-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
}
.process-map {
  width: 100%;
  display: block;
  overflow: visible;
  margin: 0 0 4px;
  background: var(--o-superficie);
  height: auto;
  aspect-ratio: 1000/540;
}
/* Contactos: fotografias do escritório. */
.office-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.office-photos figure {
  margin: 0;
  min-width: 0;
}
.office-photos img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.office-photos figcaption {
  font-size: 13px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 2px solid var(--o-laranja);
  color: var(--o-texto-sec);
}
@media (max-width: 700px) {
  .release-grid picture {
    margin: 0;
    max-width: 100%;
  }
  .release-grid img {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .office-photos {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .office-photos figure:first-child {
    grid-column: 1/-1;
    max-width: 598px;
  }
  .office-photos figure:last-child img {
    max-height: 280px;
    object-fit: cover;
    object-position: center;
  }
}
/* Âncoras: compensar o cabeçalho fixo. */
[id] {
  scroll-margin-top: 120px;
}
/* Abertura das subpáginas e respetivas ilustrações. */
.subpage-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding-block: 44px 48px;
  min-height: 414px;
}
.intro-copy {
  min-width: 0;
}
.intro-copy .eyebrow {
  margin-bottom: 18px;
}
.subpage-intro h1 {
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.25;
  margin-bottom: 22px;
}
.subpage-intro .lead {
  font-size: 18px;
  margin-bottom: 0;
  max-width: 640px;
}
.subpage-intro .inline-actions {
  margin-top: 24px;
  gap: 20px;
}
.intro-art {
  margin: 0;
  min-width: 0;
  align-self: center;
}
.intro-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 560/340;
  object-fit: contain;
}
.intro-art figcaption {
  font-size: 12px;
  color: var(--o-texto-sec);
  margin-top: 10px;
  padding-left: 18px;
  border-left: 3px solid var(--o-laranja);
}
.intro-band {
  border-top: 3px solid var(--o-laranja);
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.intro-band-inner {
  display: grid;
  align-items: center;
  min-height: 72px;
  padding-block: 10px;
  gap: 20px;
  grid-template-columns: 1fr 1fr 70px;
}
.intro-band h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.intro-band p {
  margin: 0;
  max-width: 410px;
  color: var(--o-menu-texto);
  font-size: 13px;
  line-height: 1.4;
}
.band-path {
  height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.band-path::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--o-laranja);
}
.band-path i {
  width: 13px;
  height: 13px;
  border: 2px solid var(--o-laranja);
  border-radius: 50%;
  background: var(--o-azul);
  position: relative;
}
/* Recrutamento (Contactos). */
.conversation-guide {
  padding-block: 44px;
  border-block: 1px solid var(--o-linha);
}
.recruitment-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--o-linha);
}
.recruitment-section h2 {
  font-size: 32px;
  line-height: 1.3;
}
.recruitment-section p:not(.lead):not(.eyebrow) {
  color: var(--o-texto-sec);
}
.recruitment-section figure {
  margin: 0;
  min-width: 0;
}
.recruitment-section img {
  width: 100%;
  height: auto;
  aspect-ratio: 290/218;
  object-fit: contain;
  margin-inline: auto;
  max-width: 290px;
}
.recruitment-section figcaption {
  font-size: 13px;
  border-top: 2px solid var(--o-laranja);
  padding-top: 14px;
  margin-top: 20px;
  color: var(--o-texto-sec);
}
@media (max-width: 1000px) {
  .subpage-intro {
    gap: 30px;
    grid-template-columns: 1.15fr 1fr;
  }
  .recruitment-section {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 100px;
  }
  [id] {
    scroll-margin-top: 100px;
  }
  .header-inner {
    height: 76px;
  }
  .subpage-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px;
    min-height: 0;
  }
  .subpage-intro h1 {
    font-size: 30px;
    line-height: 1.3;
  }
  .subpage-intro h1 br {
    display: none;
  }
  .subpage-intro .lead {
    font-size: 17px;
  }
  .subpage-intro .inline-actions {
    gap: 18px;
  }
  .intro-art {
    width: 100%;
    max-width: 360px;
    justify-self: center;
  }
  .intro-art img {
    width: 100%;
    height: auto;
    max-height: 210px;
    object-fit: contain;
  }
  .intro-art figcaption {
    font-size: 11px;
    margin-top: 8px;
  }
  .band-path {
    display: none;
  }
  .conversation-guide {
    padding-block: 32px;
  }
  .contact-page-grid {
    padding-top: 44px;
  }
  .recruitment-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .recruitment-section h2 {
    font-size: 28px;
  }
  .recruitment-section h2 br {
    display: none;
  }
  .recruitment-section figure {
    max-width: 435px;
    width: 100%;
    justify-self: center;
  }
}
.intro-office-drawing img {
  aspect-ratio: 3/2;
  object-fit: contain;
}
.intro-office-drawing {
  width: 72%;
  max-width: 350px;
  justify-self: center;
}
@media (max-width: 700px) {
  .intro-office-drawing {
    width: 78%;
    max-width: 260px;
  }
}
.office-photos-two {
  grid-template-columns: 1.4fr 0.8fr;
  max-width: 850px;
}
@media (max-width: 700px) {
  .office-photos-two {
    grid-template-columns: 1fr 1fr;
  }
  .office-photos-two figure:first-child {
    grid-column: auto;
  }
}
/* Faixas das subpáginas: altura real reservada pelo JavaScript. */
html:has(.intro-band) {
  scroll-padding-bottom: calc(var(--intro-band-height) + 24px);
  --intro-band-height: 80px;
}
body:has(.intro-band) {
  padding-bottom: var(--intro-band-height);
}
body:has(.intro-band) [id] {
  scroll-margin-bottom: calc(var(--intro-band-height) + 24px);
}
.intro-band h2 br {
  display: none;
}
@media (max-width: 700px) {
  html:has(.intro-band) {
    --intro-band-height: 76px;
  }
  .intro-band-inner {
    min-height: 68px;
    grid-template-columns: 1fr;
    padding-block: 8px;
    gap: 3px;
  }
  .intro-band h2 {
    font-size: clamp(13px, 3.9vw, 16px);
    line-height: 1.25;
  }
  .intro-band p {
    font-size: 12px;
    line-height: 1.3;
    max-width: none;
  }
}
.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}
@media (min-width: 701px) and (max-width: 1200px) {
  .hero-inner {
    padding-bottom: calc(45vw + 40px);
  }
  .hero-art {
    width: min(90%, 950px);
    bottom: 20px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - var(--home-header-height, 77px));
  }
  .hero-inner {
    padding-bottom: 20px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    margin-top: auto;
    margin-bottom: 24px;
    flex-shrink: 0;
  }
  .hero-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
  }
}
/* Faixa do Início: deslocação em píxeis ligada ao scroll, sem animação temporal. */
html:has(.home-band) {
  --home-band-height: 76px;
  scroll-padding-bottom: calc(var(--home-band-height) + 24px);
}
html:has(.home-band) body {
  padding-bottom: var(--home-band-height);
}
.home-band {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  width: 100%;
  background: var(--o-azul);
  color: white;
  border-top: 2px solid var(--o-laranja);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  visibility: hidden;
  pointer-events: none;
  transform: translateY(var(--home-band-offset, 100%));
  transition: none;
}
.home-band.is-visible {
  visibility: visible;
  pointer-events: auto;
}
.home-band-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  align-items: center;
  gap: 32px;
  padding-block: 10px;
}
.home-band-copy {
  min-width: 0;
}
.home-band h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 3px;
}
.home-band p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  color: var(--o-menu-texto);
}
.home-band-action {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  gap: 18px;
  border-color: #ffffff88;
  border-bottom-color: var(--o-laranja);
}
.home-band-path {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
}
.home-band-path::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: #ef6d3d80;
}
.home-band-path i {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1px solid #ef6d3d99;
  border-radius: 50%;
  background: var(--o-azul);
}
@media (max-width: 700px) {
  .home-band-inner {
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 10px;
    min-height: 68px;
    padding: 5px 18px;
  }
  .home-band h2 {
    font-size: 12.5px;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .home-band p {
    font-size: 12px;
    line-height: 1.25;
  }
  .home-band-path {
    display: none;
  }
  .home-band-action {
    width: 100%;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.3;
    gap: 8px;
  }
}
/* Contacto: botões de email, telefone e WhatsApp com assunto pré-preenchido. */
.button-light {
  background: white;
  color: var(--o-azul);
  border-color: var(--o-azul);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.contact-topic {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
}
.contact-topic-name {
  min-width: 190px;
  margin: 0;
  font-weight: 700;
}
.office-phone a + small + a {
  display: block;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-actions .text-link {
    align-self: flex-start;
  }
  .contact-topic-name {
    min-width: 100%;
  }
}
/* Início: três portas de entrada lado a lado. */
.entry-grid-three {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.entry-grid-three h3 {
  font-size: 24px;
}
@media (max-width: 1000px) {
  .entry-grid-three {
    grid-template-columns: 1fr;
  }
}
/* Gestão e processos: escolher a etapa (cartões à esquerda, gráfico fixo à direita). */
.etapa-grid {
  align-items: start;
}
.etapa-grid .process-demo {
  position: sticky;
  top: 130px;
}
.stage-list {
  display: grid;
  gap: 28px;
}
.stage-list article {
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--o-linha-forte);
  transition: border-color 200ms;
}
.stage-list article.is-selected {
  border-left-color: var(--o-laranja);
}
.stage-list h3 {
  margin-bottom: 6px;
}
.stage-list article > p {
  margin-bottom: 10px;
  color: var(--o-texto-sec);
}
.stage-list .plain-list {
  margin: 10px 0 14px;
}
.stage-pick {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.stage-pick:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.release-grid-text {
  display: block;
  max-width: 760px;
}
@media (max-width: 900px) {
  .etapa-grid .process-demo {
    position: static;
  }
}
/* Tecnologia: cartões de dados ilustrativos (dados fictícios). */
.data-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.data-cards article {
  padding: 22px;
  background: var(--o-superficie);
  border: 1px solid var(--o-linha-forte);
  border-radius: var(--o-raio-cartao);
}
.data-cards p {
  margin: 0;
}
.data-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--o-texto-sec);
}
.data-cards .data-value {
  margin-block: 6px 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}
.data-cards .data-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--o-texto-sec);
}
.data-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--o-linha);
}
.data-bar span {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: 3px;
  background: var(--o-azul);
}
.data-alert .data-bar span {
  background: var(--o-laranja);
}
@media (max-width: 900px) {
  .data-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .data-cards {
    grid-template-columns: 1fr;
  }
}

/* Início: botão único de contacto que abre a lista de áreas. */
.contact-menu {
  position: relative;
}
.contact-menu summary {
  list-style: none;
  cursor: pointer;
}
.contact-menu summary::-webkit-details-marker {
  display: none;
}
.contact-menu[open] summary span {
  transform: rotate(180deg);
}
.contact-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 270px;
  padding: 10px;
  background: var(--o-superficie);
  border: 1px solid var(--o-linha-forte);
  border-radius: var(--o-raio-controlo);
  box-shadow: var(--o-sombra-alta);
}
.contact-menu-title {
  margin: 6px 12px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o-texto-sec);
}
.contact-menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.contact-menu-list a:hover,
.contact-menu-list a:focus-visible {
  background: var(--o-fundo);
}
.footer-address small + a {
  margin-top: 14px;
}
@media (max-width: 700px) {
  .contact-menu-list {
    right: 0;
    min-width: 0;
  }
}

/* Recrutamento: o convite direto fica em segundo plano, abaixo da frase principal. */
.career-ask {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
}

.office-hours {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--o-texto-sec);
}

/* O símbolo da marca (triângulo laranja) como marca nas listas. */
.plain-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 8px;
  margin-right: 12px;
  background: var(--o-laranja);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
