@font-face { font-family: Inter; font-weight: 300; font-display: swap; src: url(fontes/inter-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fontes/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fontes/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-display: swap; src: url(fontes/roboto-condensed-latin-700-normal.woff2) format("woff2"); }

/* Paleta oficial da Global Minds (Confluence MM, "Global Minds Visual Identity"): Midnight, Deep Ocean, Ocean Surface, Aqua, Cloud, Ink */
:root {
  --fundo: #071321;                /* GM Midnight */
  --marinho: #10354d;              /* GM Ocean Surface */
  --azul: #00d0dc;                 /* GM Aqua (destaque no escuro) */
  --azul-escuro: #083847;          /* destaque sobre claro: Deep Ocean (o Aqua não tem contraste no branco) */
  --branco: #f4f7f8;               /* GM Cloud */
  --tinta: #0a192c;                /* GM Ink */
  --metal: linear-gradient(100deg, #ffffff 0%, #e5fafb 55%, #7fe6ec 100%);
  --metal-claro: linear-gradient(100deg, #10354d 0%, #083847 55%, #071321 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--fundo); color: #ffffff; font: 400 1rem/1.65 Inter, system-ui, sans-serif; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }

/* Duas superfícies: escura (marca) e clara (respiro). Cada seção escolhe uma. */
.escuro { background: url(fundo-a.svg) center / cover no-repeat, linear-gradient(165deg, #0a4656 0%, #08293a 42%, #071321 100%); color: #ffffff; --texto-1: #ffffff; --texto-2: rgba(255,255,255,.76); --linha: rgba(255,255,255,.11); --destaque: var(--azul); }
.escuro.inverso { background-image: url(fundo-b.svg), linear-gradient(195deg, #0a4656 0%, #08293a 42%, #071321 100%); }
.claro  { background: url(fundo-claro.svg) center / cover no-repeat, linear-gradient(180deg, #ffffff, #f4f7f8); color: var(--tinta); --texto-1: var(--tinta); --texto-2: rgba(10,25,44,.78); --linha: rgba(10,25,44,.12); --destaque: var(--azul-escuro); }

.largura { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.bloco { padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* Título em duas linhas: leve (Inter 300) + forte (condensada, caixa alta, metálica) */
.leve { display: block; font-weight: 300; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.18; letter-spacing: -.01em; }
.forte {
  display: block; font-family: "Roboto Condensed", Inter, sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: .98;
  width: fit-content; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.claro .forte, .claro .passos li::before { background-image: var(--metal-claro); }
h2 .forte { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.presenca h2 .forte { font-size: clamp(2.6rem, 6.4vw, 5.5rem); }
h1 .leve, h1 .forte, h2 .leve, h2 .forte { text-wrap: balance; }
h2 { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 48rem; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
p { max-width: 62ch; }
.apoio { color: var(--texto-2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 34rem; }
.apoio strong { color: #ffffff; font-weight: 600; }
.apoio + .apoio { margin-top: .9rem; }
.intro { font-size: 1.08rem; color: var(--texto-2); margin: -1rem 0 2.5rem; }

/* Topo */
.marca { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1rem, 4vw, 3rem); }
.marca span { font-size: .82rem; color: var(--texto-2); }
.heroi { min-height: min(88vh, 760px); min-height: min(88svh, 760px); display: flex; flex-direction: column; }
.heroi-corpo { flex: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: 1.5rem; padding-bottom: 2.5rem; }
.heroi h1 { margin-bottom: 1.5rem; }
.heroi .forte { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .95; }
/* Problema */
.duas { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.duas h2 { margin-bottom: 0; }
.texto p + p, .texto p + ul, .texto ul + p { margin-top: 1.1rem; }
.texto { font-size: 1.08rem; color: var(--texto-2); }
.sintomas { list-style: none; border-left: 3px solid var(--destaque); padding-left: 1.25rem; color: var(--tinta); }
.sintomas li + li { margin-top: .55rem; }

/* Presença: o mapa é a peça grande da página */
.presenca-texto { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; color: var(--texto-2); font-size: 1.05rem; }
.mapa { margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.mapa-svg { width: 100%; }
.terra { fill: #10354d; }
.pais-ativo path { fill: #00d0dc; stroke: #e5fafb; stroke-width: .5; }
.ponto circle { fill: #fff; stroke: rgba(7,19,33,.55); stroke-width: 3; }
.escuro.presenca { background: radial-gradient(ellipse 60% 45% at 85% 0%, rgba(0,208,220,.13), transparent 70%), linear-gradient(180deg, #0a4656 0%, #08293a 40%, #071321 85%); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.escuro.clientes-secao { background: linear-gradient(180deg, #071321 0%, #08293a 55%, #0a4656 100%); padding-top: clamp(2.5rem, 5vw, 4rem); }
.continentes { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 1.5rem clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--linha); padding-top: 1.5rem; }
.continentes h3 { color: var(--destaque); font-size: 1rem; margin-bottom: .35rem; }
.paises { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; color: var(--texto-2); }
.paises li { display: flex; align-items: center; gap: .5rem; }
.paises img, .bandeiras img { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 2px 6px rgba(0,0,0,.35); }

/* Clientes: logos em branco com as bandeiras dos países de atuação */
.clientes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.clientes li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 9.5rem; padding: 1.5rem 1rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.clientes li:nth-child(4n) { border-right: 0; }
.clientes li:nth-last-child(-n+3) { border-bottom: 0; }
.clientes .logo { width: auto; height: 2.1rem; max-width: 82%; object-fit: contain; }
.clientes .logo[src*="farfetch"] { height: 1.3rem; }
.clientes .logo[src*="credito-agricola"] { height: 1.75rem; }
.clientes li:last-child { border-right: 0; }
.bandeiras { display: flex; gap: .5rem; }

/* Regras e frentes: listas com linha fina, sem cartões repetidos */
dl > div { padding: 1.4rem 0; border-top: 1px solid var(--linha); display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: .5rem 2rem; }
dt { font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
dd { color: var(--texto-2); max-width: 60ch; }
.regras dt { font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.15 "Roboto Condensed", Inter, sans-serif; color: var(--texto-1); }
.frentes { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.grupo h3 { font-size: 1rem; color: var(--destaque); margin-bottom: 1rem; }
.escuro .grupo h3, .escuro .continentes h3 { color: #4de0e8; }
.grupo + .grupo { padding-top: 1rem; }

/* Casos */
.casos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4.5rem); }
.casos article { border-top: 1px solid var(--linha); padding-top: 1.25rem; }
.casos h3 { font: 700 1.6rem/1.1 "Roboto Condensed", Inter, sans-serif; margin-bottom: .75rem; }
.casos p { color: var(--texto-2); }

/* Ciclo de gestão completo */
.ciclo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.ciclo div { border-top: 3px solid var(--destaque); padding-top: 1rem; }
.ciclo h3 { margin-bottom: .5rem; }
.ciclo p { color: var(--texto-2); }
.modos { margin-top: 2.5rem; color: var(--texto-2); max-width: 70ch; }
.modos strong { color: var(--texto-1); font-weight: 600; }

/* Passos: é uma sequência de verdade, por isso numerada */
.passos { list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.passos li { counter-increment: passo; }
.passos li::before {
  content: counter(passo); display: block; font: 700 3.2rem/1 "Roboto Condensed", Inter, sans-serif; margin-bottom: .75rem;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.passos h3 { margin-bottom: .5rem; }
.passos p { color: var(--texto-2); }

/* Rodapé */
.rodape { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.rodape-frase { margin-top: 1.5rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 300; max-width: 40ch; }
.contato { list-style: none; margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.contato a { color: #00d0dc; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.contato a:hover { text-decoration: underline; }
.legal { margin-top: 3rem; font-size: .8rem; color: var(--texto-2); }

/* ===== Jira: a "planta" da arquitetura (corte de um prédio de quatro andares) ===== */
.escuro.estratos { background: url(fundo-estratos.svg) center / 100% 100% no-repeat, linear-gradient(170deg, #0a4656 0%, #08293a 45%, #071321 100%); }
.marca-dir { display: flex; align-items: center; gap: 1.25rem; }
.idioma { display: flex; gap: .25rem; font-size: .82rem; font-weight: 600; }
.idioma a { text-decoration: none; padding: .2rem .55rem; border-radius: 999px; color: var(--texto-2); border: 1px solid transparent; }
.idioma a[aria-current] { color: #ffffff; border-color: rgba(229,250,251,.45); }
.idioma a:hover { color: #ffffff; }
.planta { margin: 0; }
.planta figcaption { margin-top: .9rem; font-size: .92rem; color: var(--texto-2); max-width: 52ch; text-wrap: balance; }
.andar { fill: rgba(16,53,77,.6); stroke: #e5fafb; stroke-width: 1.5; }
.andar-base { fill: rgba(0,208,220,.1); }
.ligacao { stroke: rgba(229,250,251,.45); stroke-width: 1.5; }
.chao { stroke: rgba(229,250,251,.6); stroke-width: 1.5; }
.fundacao { stroke: rgba(229,250,251,.22); stroke-width: 1; }
.cartao { fill: rgba(229,250,251,.08); stroke: rgba(229,250,251,.5); stroke-width: 1; }
.cartao-vivo { fill: rgba(0,208,220,.28); stroke: #00d0dc; stroke-width: 1; }
.nome-andar { fill: #ffffff; font: 700 17px "Roboto Condensed", Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.num-andar { fill: #4de0e8; font: 700 14px "Roboto Condensed", Inter, sans-serif; }
.guia { stroke: rgba(229,250,251,.35); stroke-width: 1; }
.nota { fill: rgba(255,255,255,.82); font: 400 15.5px Inter, sans-serif; }
.nota-ferramenta { fill: #4de0e8; font: 600 14px Inter, sans-serif; }
.estacao { fill: #071321; stroke: #00d0dc; stroke-width: 2; }
.via-viva { stroke: #00d0dc; stroke-width: 2; fill: none; stroke-dasharray: 6 8; animation: corre 1.6s linear 6; }
@keyframes corre { to { stroke-dashoffset: -28; } }
/* O traço dos andares se desenha uma vez ao abrir (sem animação, já aparece pronto) */
.desenha { stroke-dasharray: 1; stroke-dashoffset: 0; animation: desenha 1.4s ease-out both; }
.desenha-2 { animation-delay: .2s; } .desenha-3 { animation-delay: .4s; } .desenha-4 { animation-delay: .6s; }
@keyframes desenha { from { stroke-dashoffset: 1; } }
/* No celular a planta vira uma régua vertical com o texto em HTML ao lado */
.andares { display: none; list-style: none; position: relative; padding-left: 2.25rem; }
.andares::before { content: ""; position: absolute; left: .7rem; top: 1rem; bottom: 1rem; border-left: 2px dashed #00d0dc; }
.andares li { position: relative; border: 1.5px solid rgba(229,250,251,.7); background: rgba(16,53,77,.6); padding: .8rem 1rem; }
.andares li + li { margin-top: .75rem; }
.andares li::before { content: ""; position: absolute; left: calc(-1.55rem - 1px); top: 1.05rem; width: .6rem; height: .6rem; border-radius: 50%; background: #071321; border: 2px solid #00d0dc; }
.andares li:last-child { background: rgba(0,208,220,.1); }
.andares strong { display: block; font: 700 1.05rem/1.2 "Roboto Condensed", Inter, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.andares strong span { color: #4de0e8; margin-right: .4rem; }
.andares .ferramenta { display: block; font: 600 .8rem/1.4 Inter, sans-serif; color: #4de0e8; margin-top: .25rem; }
.andares p { font-size: .92rem; color: var(--texto-2); margin-top: .2rem; }

/* Camadas: hoje x com a arquitetura */
.camadas { list-style: none; }
.camadas > li { display: grid; grid-template-columns: minmax(11rem, .8fr) 1fr 1.2fr; gap: .75rem clamp(1.5rem, 3vw, 2.5rem); padding: 1.6rem 0; border-top: 1px solid var(--linha); }
.camadas > li:last-child { border-bottom: 1px solid var(--linha); }
.camada-nome { font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.1 "Roboto Condensed", Inter, sans-serif; }
.camada-nome span { display: block; font: 600 .78rem/1.4 Inter, sans-serif; color: #4de0e8; margin-bottom: .35rem; letter-spacing: .02em; }
.camada-ferramentas { display: block; margin-top: .5rem; font: 400 .88rem/1.4 Inter, sans-serif; color: var(--texto-2); }
.rotulo { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .3rem; }
/* No computador o cabeçalho da tabela já diz o rótulo: some da tela, mas o leitor de tela continua lendo */
@media (min-width: 901px) { .camadas .rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.hoje .rotulo { color: var(--texto-2); }
.depois .rotulo { color: #4de0e8; }
.hoje p { color: var(--texto-2); }
.depois p { color: var(--texto-1); }
.cabeca-camadas { display: grid; grid-template-columns: minmax(11rem, .8fr) 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: .75rem; font-size: .85rem; font-weight: 600; color: var(--texto-2); }

/* IA: quatro degraus, a IA é o último */
.degraus { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2.5rem; align-items: end; }
.degraus li { border: 1.5px solid var(--linha); border-top: 3px solid var(--destaque); padding: 1rem; min-width: 0; }
.degraus li:nth-child(1) { min-height: 6.5rem; } .degraus li:nth-child(2) { min-height: 8rem; } .degraus li:nth-child(3) { min-height: 9.5rem; }
.degraus li:last-child { min-height: 11rem; background: var(--tinta); color: #ffffff; border-color: var(--tinta); border-top-color: #00d0dc; }
.degraus strong { display: block; font: 700 1.15rem/1.2 "Roboto Condensed", Inter, sans-serif; margin-bottom: .3rem; }
.degraus span { font-size: .92rem; color: var(--texto-2); }
.degraus li:last-child span { color: rgba(255,255,255,.8); }

/* Números */
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin: clamp(2rem, 4vw, 3rem) 0 0; }
.numeros div { border-top: 1px solid var(--linha); padding-top: 1rem; }
.numeros dt { font: 700 clamp(2.6rem, 5vw, 3.8rem)/1 "Roboto Condensed", Inter, sans-serif; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.numeros dd { margin-top: .4rem; color: var(--texto-2); }
.numeros > div { display: block; }
.passos.quatro { grid-template-columns: repeat(4, 1fr); }
.casos.tres { grid-template-columns: repeat(6, 1fr); }
.casos.tres article { grid-column: span 2; }
.casos.tres article:nth-child(n+4) { grid-column: span 3; }
.casos h3 { text-wrap: balance; }
.casos .setor { display: block; font-size: .82rem; font-weight: 600; color: var(--destaque); margin-bottom: .4rem; }
.casos .resultado { margin-top: .75rem; color: var(--texto-1); }
.frase-final { font: 700 clamp(1.9rem, 4vw, 3.2rem)/1.02 "Roboto Condensed", Inter, sans-serif; text-transform: uppercase; max-width: 22ch; margin-top: 2rem; }
.frase-final .leve { font-family: Inter, sans-serif; text-transform: none; margin-bottom: .4rem; }

@media (max-width: 900px) {
  .camadas > li, .cabeca-camadas { grid-template-columns: 1fr 1fr; }
  .camada-nome { grid-column: 1 / -1; }
  .cabeca-camadas { display: none; }
  .passos.quatro, .degraus { grid-template-columns: repeat(2, 1fr); }
  .casos.tres { grid-template-columns: repeat(2, 1fr); }
  .casos.tres article:nth-child(n) { grid-column: auto; }
  .casos.tres article:nth-child(n):last-child { grid-column: 1 / -1; }
  .heroi { min-height: 0; }
  .heroi-corpo, .duas, .presenca-texto { grid-template-columns: 1fr; }
  .heroi-corpo { padding-top: .5rem; }
  .casos, .passos, .continentes { grid-template-columns: 1fr; }
  .ciclo { grid-template-columns: repeat(2, 1fr); }
  .clientes { grid-template-columns: repeat(3, 1fr); }
  .clientes li:nth-child(4n) { border-right: 1px solid var(--linha); }
  .clientes li:nth-child(3n) { border-right: 0; }
  .clientes li:nth-last-child(-n+3) { border-bottom: 1px solid var(--linha); }
  .clientes li:nth-last-child(-n+2) { border-bottom: 0; }
  dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .planta svg { display: none; }
  .andares { display: block; }
  .camadas > li { grid-template-columns: 1fr; }
  .passos.quatro, .degraus, .casos.tres, .numeros { grid-template-columns: 1fr; }
  .degraus li { min-height: 0 !important; }
  .marca span.titulo-marca { display: none; }
  .ciclo { grid-template-columns: 1fr; }
  .mapa { overflow: hidden; margin-inline: calc(-1 * clamp(1rem, 4vw, 3rem)); }
  .mapa-svg { width: 142%; max-width: none; margin-left: -23.4%; }
  .ponto circle { r: 3.5px; stroke-width: 2.5; }
  .mapa { margin-bottom: -1.5rem; }
  .clientes { grid-template-columns: repeat(2, 1fr); }
  .clientes li { min-height: 7.5rem; padding: 1.25rem .75rem; gap: .8rem; }
  .clientes li:nth-child(3n) { border-right: 1px solid var(--linha); }
  .clientes li:nth-child(2n) { border-right: 0; }
  .clientes li:nth-last-child(-n+2) { border-bottom: 1px solid var(--linha); }
  .clientes li:last-child { border-bottom: 0; grid-column: 1 / -1; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
