/* =====================================================================
   Pescador de Soluções — site institucional (português e inglês)
   Base: esqueleto da skill imt-landing-page.

   Direção: mar à hora azul. Fundo ardósia tirado da água da imagem do topo
   (medido em 20/10/2026: base da imagem #121823), texto marfim, UM acento
   champanhe (referência EOSAI, ~#E8D0A8) na palavra-chave e no botão,
   letra geométrica fina (Outfit, OFL), fios finos e muito respiro.
   ===================================================================== */

:root {
  --fundo:       #121823;
  --painel:      #171F2C;
  --texto:       #EEE9E1;
  --texto-2:     rgba(238, 233, 225, .72);
  --texto-3:     rgba(238, 233, 225, .56);
  --linha:       rgba(238, 233, 225, .12);
  --heroi:       #E8D0A8;
  --heroi-fio:   rgba(232, 208, 168, .38);
  --sobre-heroi: #121823;

  --f-titulo: 'Outfit', system-ui, sans-serif;
  --f-corpo:  'Outfit', system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-mov: cubic-bezier(.83, 0, .17, 1);

  --larg: 1180px;
  --raio: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scroll-padding-bottom: 104px;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 85% -6%, rgba(232, 208, 168, .05), transparent 70%),
    var(--fundo);
  color: var(--texto);
  font-family: var(--f-corpo);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grão leve por cima de tudo: o fundo nunca fica chapado. Código, não imagem. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSdnJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjknIG51bU9jdGF2ZXM9JzInIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjZyknLz48L3N2Zz4=");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--heroi); outline-offset: 3px; border-radius: 4px; }

.pular {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 12px 18px; border-radius: 999px;
  background: var(--heroi); color: var(--sobre-heroi); text-decoration: none;
}
.pular:focus { top: 12px; }

/* ---------- tipografia ---------- */

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 18px;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 9vw, 4.9rem); font-weight: 200; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 6.6vw, 3.3rem); }
h3 { font-size: clamp(1.15rem, 4.6vw, 1.4rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.25; }

h1 em, h2 em { font-style: normal; color: var(--heroi); }

p { margin: 0 0 16px; color: var(--texto-2); text-wrap: pretty; }
p.destaque { font-size: clamp(1.05rem, 4.4vw, 1.2rem); color: var(--texto); font-weight: 300; }

.rotulo {
  margin: 0 0 18px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--texto-3);
}

.faixa p a:not(.botao), .rodape a:not(.botao) { text-underline-offset: 3px; }

/* ---------- topo ---------- */

.topo {
  position: relative; z-index: 10;
  display: flex; align-items: center; gap: 16px;
  max-width: var(--larg); margin: 0 auto; padding: 14px 20px 6px;
}
/* Logo aprovada em 20/10/2026 (assets/logo): o nome é Outfit 500, espaçamento .24em, e o símbolo
   tem 2,4 em de altura com 1,25 em até o nome — as proporções da versão horizontal do kit. */
.topo__marca, .rodape__marca {
  display: inline-flex; align-items: center; gap: 1.25em;
  font-family: var(--f-titulo); font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.topo__marca { min-height: 44px; font-size: 12px; }
.simbolo { flex: none; width: 2.4em; height: 2.4em; }
/* Celular estreito: o nome inteiro, o símbolo e o botão de idioma cabem em 320 px. */
@media (max-width: 374px) {
  .topo { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .topo__marca { font-size: 10.5px; gap: 1.1em; letter-spacing: .2em; }
}
.topo__nav { display: none; }
.topo__idioma {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--linha); border-radius: 999px;
  font-size: 12px; letter-spacing: .16em; text-decoration: none; color: var(--texto-2);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
@media (hover: hover) { .topo__idioma:hover { border-color: var(--heroi-fio); color: var(--texto); } }

/* ---------- hero ----------
   Celular: texto primeiro, a imagem logo abaixo, fundida no fundo pelas bordas.
   Computador: a imagem ocupa o hero e o texto fica na metade escura (esquerda).
   Sem min-height: 100svh — empurraria o resto para fora do primeiro quadro. */

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.hero__texto { padding: 18px 20px 14px; max-width: var(--larg); }
.hero__texto p.destaque { max-width: 40ch; }
.hero .rotulo { color: var(--texto-2); }

.hero__fundo { order: 2; margin-top: -12px; overflow: hidden; }
.hero__fundo img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 74%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 74%, transparent 100%);
  animation: respira 2.8s var(--ease-out) both;
}
@keyframes respira { from { transform: scale(1.06); } to { transform: none; } }

.hero__fio {
  display: block; width: 56px; height: 1px; margin: 4px 0 22px;
  background: var(--heroi); opacity: .8;
}

/* Luz correndo na palavra-chave. Dentro de @supports: sem suporte, sobraria
   texto transparente. Parada (menos movimento), fica champanhe. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brilho {
    background: linear-gradient(100deg, var(--heroi) 0%, var(--heroi) 42%, #FFF5E4 50%, var(--heroi) 58%, var(--heroi) 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; padding-bottom: .06em;
    animation: corre 7s var(--ease-mov) 1.2s infinite;
  }
}
@keyframes corre { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }

/* Indicador de rolagem (referência EOSAI): só no computador, ancora a base do hero. */
.hero__rolar { display: none; }

.hero__acao { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; }
.hero__apoio {
  margin: 22px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3);
}

/* ---------- botões ---------- */

.botao {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px; border-radius: 999px;
  border: 1px solid var(--linha); background: transparent; color: var(--texto);
  font-family: var(--f-titulo); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background .28s var(--ease-out);
}
.botao--heroi { background: var(--heroi); border-color: var(--heroi); color: var(--sobre-heroi); }
.botao .icone { width: 19px; height: 19px; stroke-width: 1.7; }
@media (hover: hover) {
  .botao--heroi:hover { box-shadow: 0 10px 34px rgba(232, 208, 168, .22); transform: translateY(-1px); }
}
.botao:active { transform: scale(.97); transition-duration: .09s; }

/* Brilho atravessando só o botão do topo. Corre pelo FUNDO de uma camada
   própria: uma faixa movida por transform aumentava a largura de rolagem do
   botão e o medidor acusava texto cortado. */
.botao__brilho {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .5) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0;
  animation: varre 3.5s var(--ease-mov) 2s infinite;
}
@keyframes varre { 0% { background-position: 150% 0; } 71%, 100% { background-position: -50% 0; } }

/* Seta em círculo (referência EOSAI) para a ação secundária. */
.seta {
  display: inline-flex; align-items: center; gap: 14px; min-height: 50px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--texto);
}
.seta__circulo {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--heroi-fio); color: var(--heroi);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.seta__circulo svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .seta:hover .seta__circulo { background: rgba(232, 208, 168, .08); border-color: var(--heroi); }
  .seta:hover .seta__circulo svg { transform: translateX(3px); }
}

/* ---------- dobras ---------- */

.faixa { padding: 68px 20px; border-top: 1px solid var(--linha); }
.dentro { max-width: var(--larg); margin: 0 auto; }
/* Estreito no texto, mas com a mesma margem esquerda das outras dobras. */
.dentro--estreito > * { max-width: 820px; }

.problema h2 { font-size: clamp(2rem, 7.4vw, 3.9rem); max-width: 17ch; }
.problema__grade p { max-width: 44ch; font-size: 1.05rem; }

/* Passos: colunas com fios, numeradas em champanhe. */
.passos { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: passo; }
.passos li { counter-increment: passo; padding: 26px 0; border-top: 1px solid var(--linha); }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-size: 13px; letter-spacing: .2em; color: var(--heroi);
}
.passos p { margin: 0; }

/* Soluções: cartões. */
.solucoes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.cartao {
  display: flex; flex-direction: column;
  padding: 26px 24px 28px; border-radius: var(--raio);
  background: linear-gradient(180deg, rgba(238, 233, 225, .045), rgba(238, 233, 225, .012)), var(--painel);
  border: 1px solid var(--linha);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@media (hover: hover) {
  .cartao:hover { transform: translateY(-4px); border-color: rgba(238, 233, 225, .2); box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
}
.cartao__topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.cartao__icone { width: 34px; height: 34px; color: var(--texto-2); stroke-width: 1.3; }
.cartao h3 { margin-bottom: 10px; }
.cartao p { margin: 0; }
.selo {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--heroi-fio); color: var(--heroi);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.selo--cheio { background: var(--heroi); border-color: var(--heroi); color: var(--sobre-heroi); }
.cartao--sua {
  border-color: var(--heroi-fio);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(232, 208, 168, .10), transparent 60%),
    linear-gradient(180deg, rgba(238, 233, 225, .045), rgba(238, 233, 225, .012)), var(--painel);
}
.cartao--sua .cartao__icone { color: var(--heroi); }
.cartao__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--heroi);
}
.cartao__link svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
@media (hover: hover) { .cartao__link:hover svg { transform: translateX(3px); } }

/* Para quem é: lista com fios. */
.argumentos { list-style: none; margin: 30px 0 0; padding: 0; }
.argumentos li { padding: 22px 0; border-bottom: 1px solid var(--linha); color: var(--texto-2); }
.argumentos li:first-child { border-top: 1px solid var(--linha); }
.argumentos b { display: block; margin-bottom: 6px; font-weight: 400; font-size: 1.2rem; line-height: 1.35; color: var(--texto); }

/* Dúvidas. */
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-of-type { border-top: 1px solid var(--linha); margin-top: 30px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 1.1rem; font-weight: 400; color: var(--texto);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.5rem; font-weight: 200; line-height: 1; color: var(--heroi);
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 14px; max-width: 60ch; }

/* Contato: a esfera de luz do topo, em código. */
.contato { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-top: 104px; padding-bottom: 112px; }
.contato__luz { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contato__luz::before {
  content: ""; position: absolute; left: 50%; top: 18%;
  width: min(560px, 120vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232, 208, 168, .16) 0%, rgba(232, 208, 168, .05) 38%, transparent 68%);
}
.contato h2 { max-width: 17ch; margin-left: auto; margin-right: auto; }
.contato__acao { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.contato__email { margin: 0; font-size: 15px; color: var(--texto-3); }
.contato__email a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texto); }

/* ---------- rodapé ---------- */

.rodape { padding: 48px 20px 124px; border-top: 1px solid var(--linha); font-size: 14px; color: var(--texto-3); }
.rodape__dentro { max-width: var(--larg); margin: 0 auto; }
.rodape p { margin: 0 0 6px; color: inherit; }
.rodape__marca { font-size: 12px; color: var(--texto) !important; margin-bottom: 14px !important; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 10px !important; }
.rodape__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texto-2); }
.rodape__presenza a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texto-2); }
.rodape__ano { margin-top: 10px !important; }

/* ---------- barra fixa do celular ---------- */

.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(18, 24, 35, .94); border-top: 1px solid var(--linha);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform .55s var(--ease-out);
}
.barra.vem { transform: translateY(0); }
.barra__texto { flex: 1; font-size: 12px; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.barra .botao { flex: none; min-height: 46px; padding: 12px 22px; }

/* =====================================================================
   ENTRADA — revelar à prova de falha (receita da skill, não desfazer).
   A página nasce visível; só o app.js põe `anima` no <html>.
   ===================================================================== */

html.anima .anim {
  opacity: 0;
  transform: translateY(24px) scale(.965);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
html.anima .anim.ok { opacity: 1; transform: none; }

html.anima .d1 { transition-delay:  60ms; }
html.anima .d2 { transition-delay: 120ms; }
html.anima .d3 { transition-delay: 180ms; }
html.anima .d4 { transition-delay: 240ms; }
html.anima .d5 { transition-delay: 300ms; }
html.anima .d6 { transition-delay: 360ms; }
html.anima .d7 { transition-delay: 420ms; }

html.anima .anim--sobe { transform: translateY(20px); }
html.anima .anim--surge {
  transform: scale(.94);
  transition: opacity .7s var(--ease-out), transform .7s cubic-bezier(.34, 1.56, .64, 1);
}
html.anima .anim--lado { transform: translateX(-22px); }
html.anima .anim--sobe.ok,
html.anima .anim--surge.ok,
html.anima .anim--lado.ok { transform: none; }

/* =====================================================================
   Tablet e computador
   ===================================================================== */

@media (min-width: 680px) {
  .solucoes { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (min-width: 900px) {
  body { font-size: 18px; }

  .topo { position: absolute; top: 0; left: 0; right: 0; max-width: none; padding: 26px max(40px, calc((100% - var(--larg)) / 2)); gap: 36px; }
  .topo__marca { font-size: 13px; }
  .topo__nav { display: flex; gap: 34px; margin-left: auto; }
  .topo__nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--texto);
    background: linear-gradient(var(--heroi), var(--heroi)) left calc(100% - 8px) / 0 1px no-repeat;
    transition: color .3s var(--ease-out), background-size .4s var(--ease-out);
  }
  .topo__nav a:hover { color: var(--texto); background-size: 100% 1px; }
  .topo__idioma { margin-left: 0; color: var(--texto); border-color: rgba(238, 233, 225, .3); }

  .hero {
    flex-direction: row; align-items: center;
    min-height: clamp(660px, 54vw, 920px);
    padding: 132px max(40px, calc((100% - var(--larg)) / 2)) 150px;
  }
  .hero__fundo { position: absolute; inset: 0; z-index: -1; margin: 0; }
  .hero__fundo picture { display: block; width: 100%; height: 100%; }
  .hero__fundo img {
    width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 70% 55%;
    -webkit-mask-image: none; mask-image: none;
  }
  /* Escurece a metade do texto e funde a base no fundo da página. */
  .hero__fundo::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(18, 24, 35, .8) 0%, rgba(18, 24, 35, .58) 34%, rgba(18, 24, 35, 0) 64%),
      linear-gradient(180deg, rgba(18, 24, 35, .62) 0%, rgba(18, 24, 35, 0) 26%, rgba(18, 24, 35, 0) 70%, #121823 100%);
  }
  .hero__texto { padding: 0; width: min(700px, 56%); }
  .hero h1 { font-size: clamp(3rem, 5.2vw, 4.6rem); }
  .hero__rolar {
    position: absolute; bottom: 30px; left: max(40px, calc((100% - var(--larg)) / 2));
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--texto-3);
  }
  .hero__rolar span { position: relative; width: 1px; height: 46px; background: var(--linha); overflow: hidden; }
  .hero__rolar span::after {
    content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
    background: var(--heroi); animation: desce 2.4s var(--ease-mov) infinite;
  }
  @keyframes desce { 0% { transform: translateY(-6px); } 70%, 100% { transform: translateY(48px); } }

  .faixa { padding: 132px 40px; }
  .problema__grade { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
  .problema__grade h2 { margin: 0; }
  .problema__grade p { margin: 0; }

  /* Para quem é: título à esquerda, lista à direita (a metade direita não fica vazia). */
  .dividido { display: grid; grid-template-columns: 1fr 1.35fr; gap: 0 72px; align-items: start; }
  .dividido > * { max-width: none; }
  .dividido .argumentos { margin-top: 0; }

  .passos { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--linha); }
  .passos li { border-top: 0; padding: 30px 34px 6px; border-left: 1px solid var(--linha); }
  .passos li:first-child { border-left: 0; padding-left: 0; }

  .solucoes { margin-top: 52px; gap: 20px; }
  .cartao { padding: 34px 34px 36px; }

  .contato { padding-top: 150px; padding-bottom: 160px; }

  .rodape { padding: 56px 40px; }
  .barra { display: none; }
}

/* =====================================================================
   Quem pediu menos movimento, recebe menos movimento.
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.anima .anim { opacity: 1; transform: none; }
  .cartao:hover, .botao:active, .botao--heroi:hover { transform: none; }
  .botao__brilho { display: none; }
}
