/* ==========================================================================
   KORI MARKETING — design system v2
   Fundo PRETO + detalhes azuis (manual da marca)
   #2563EB · #1E40AF · #60A5FA · #FFFFFF · #94A3B8 | Poppins + Inter
   ========================================================================== */

:root {
  --blue:      #2563EB;
  --blue-deep: #1E40AF;
  --blue-soft: #60A5FA;
  --ink:       #FFFFFF;
  --mute:      #94A3B8;
  --bg:        #000000;                 /* preto, como pedido */
  --bg-2:      #0B0F1A;                 /* superfície dos cartões */
  --line:      rgba(148, 163, 184, .15);
  --grad:      linear-gradient(96deg, var(--blue) 10%, var(--blue-soft) 90%);

  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --wrap: 1120px;
  --r: 18px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--mute);
  font-family: var(--f-body);
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); line-height: 1.18; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; max-width: 24ch; }
h2 em { font-style: normal; color: var(--blue-soft); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.o-blue { color: var(--blue); }

::selection { background: var(--blue); color: #fff; }

/* ---------- rótulo de dobra ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue-soft); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 12px var(--blue);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  will-change: transform;
}
.btn-solid { background: var(--grad); color: #fff; box-shadow: 0 12px 32px -12px rgba(37, 99, 235, .7); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(37, 99, 235, .9); }
.btn-line { color: var(--ink); border-color: rgba(148, 163, 184, .35); }
.btn-line:hover { border-color: var(--blue-soft); color: var(--blue-soft); transform: translateY(-3px); }
.btn-full { width: 100%; }

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .4s, box-shadow .4s; }
.topbar.on { background: rgba(0, 0, 0, .85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 8px; }
.brand-arc { width: 30px; height: 30px; }
.brand-word { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.brand-tag { font-size: .62rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--blue-soft); margin: 10px 0 0 2px; }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a { font-size: .93rem; font-weight: 500; color: var(--ink); opacity: .85; transition: opacity .2s, color .2s; }
.menu a:hover { opacity: 1; color: var(--blue-soft); }
.menu-cta {
  padding: 10px 22px; border-radius: 10px;
  border: 1.5px solid rgba(37, 99, 235, .65); color: var(--blue-soft) !important;
  opacity: 1 !important; font-weight: 600; transition: background .25s, color .25s;
}
.menu-cta:hover { background: var(--blue); color: #fff !important; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease); }
.burger.x span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.x span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   NAVEGAÇÃO POR PONTOS
   ========================================================================== */
.dotnav { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 16px; z-index: 55; }
.dotnav a { display: grid; place-items: center; width: 18px; height: 18px; }
.dotnav i { width: 7px; height: 7px; border-radius: 50%; background: rgba(148, 163, 184, .4); transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.dotnav a:hover i { background: var(--blue-soft); }
.dotnav a.on i { background: var(--blue); transform: scale(1.9); box-shadow: 0 0 14px rgba(37, 99, 235, .9); }

/* ==========================================================================
   DOBRA 1 · HERO — logo grande com arco animado, centralizado
   ========================================================================== */
/* Preto absoluto. Silêncio. Só a IA. */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
#bgDots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 46%, transparent 40%, rgba(0, 0, 0, .96) 100%);
}

.hero-ai { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

/* a esfera — presença cinematográfica */
.ai-orb {
  position: relative; width: clamp(150px, 24vw, 230px); height: clamp(150px, 24vw, 230px);
  background: none; border: 0; cursor: pointer; border-radius: 50%;
  animation: rise 1.6s var(--ease) both .2s;
}
.ai-core {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 33% 27%, #7fb2ff 0%, var(--blue) 42%, var(--blue-deep) 72%, #0a1740 100%);
  box-shadow:
    0 0 40px 6px rgba(37, 99, 235, .5),
    0 0 130px 24px rgba(30, 64, 175, .35),
    inset -14px -20px 42px rgba(0, 0, 0, .6),
    inset 10px 12px 30px rgba(255, 255, 255, .18);
  animation: aiBreath 4.2s ease-in-out infinite;
  transition: transform .4s var(--ease);
}
.ai-orb:hover .ai-core { transform: scale(1.05); }
@keyframes aiBreath {
  0%, 100% { filter: brightness(.95); }
  50%      { filter: brightness(1.22); }
}

/* anel orbital fino — tecnologia viva */
.ai-orbita {
  position: absolute; inset: 2%; border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, .28);
  border-top-color: rgba(96, 165, 250, .85);
  animation: orbitar 7s linear infinite;
}
@keyframes orbitar { to { transform: rotate(360deg); } }

/* ondas de voz — só enquanto ela fala */
.ai-wave { position: absolute; inset: 6%; border-radius: 50%; border: 1.6px solid var(--blue-soft); opacity: 0; }
.hero-ai.speaking .ai-wave { animation: aiWave 2s ease-out infinite; }
.hero-ai.speaking .aw2 { animation-delay: .65s; }
.hero-ai.speaking .aw3 { animation-delay: 1.3s; }
@keyframes aiWave { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.hero-tagmini {
  margin-top: 44px; font-size: .78rem; font-weight: 600; letter-spacing: .55em;
  color: rgba(255, 255, 255, .82); text-transform: lowercase;
  animation: rise 1.4s var(--ease) both .8s;
}
.hero-scroll {
  margin-top: 10px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(148, 163, 184, .5);
  animation: rise 1.4s var(--ease) both 1.1s;
}

.hero-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; }
.hint-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: drop 1.9s ease-in-out infinite; }
@keyframes drop { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .35; } }

@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   MÉTODO K·O·R·I — dobra-vídeo: a cena fica presa e o scroll é a linha
   do tempo. Rolar pra baixo avança; rolar pra cima volta. Como um filme.
   ========================================================================== */
.metodo { position: relative; height: 480svh; }   /* o "filme" dura 4 telas de rolagem */
.metodo-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(30, 64, 175, .08), transparent 70%);
}
.metodo-stage { position: relative; width: 100%; height: 100%; }

.mfase {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  opacity: 0; pointer-events: none;
  will-change: opacity;
}
.mletra {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(11rem, 30vw, 24rem); line-height: .9;
  color: var(--ink); text-align: center;
  text-shadow: 0 0 90px rgba(37, 99, 235, .4);
  will-change: transform, opacity;
}
.mletra-o { color: var(--blue); text-shadow: 0 0 110px rgba(37, 99, 235, .65); }  /* o O original, azul como no logo */

.mtxt { max-width: 44ch; will-change: transform, opacity; }
.mtxt h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.mtxt p:last-child { font-size: 1.08rem; }

.letra-idx {
  font-size: .72rem; font-weight: 600; letter-spacing: .3em;
  color: var(--blue-soft); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(37, 99, 235, .3);
  display: inline-block;
}

/* sem animação por scroll → mostra as 4 fases empilhadas, estático */
.metodo.static { height: auto; }
.metodo.static .metodo-pin { position: static; height: auto; display: block; }
.metodo.static .metodo-stage { height: auto; }
.metodo.static .mfase { position: static; opacity: 1; pointer-events: auto; padding: 70px 0; }

/* ==========================================================================
   (estilos antigos das dobras-letra — mantidos para compatibilidade)
   ========================================================================== */
.letra {
  min-height: 92svh; display: flex; align-items: center;
  position: relative; border-top: 1px solid rgba(148, 163, 184, .07);
  content-visibility: auto; contain-intrinsic-size: auto 700px;
}
.letra::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 28% 50%, rgba(30, 64, 175, .12), transparent 70%);
}
.letra-par::before { background: radial-gradient(ellipse 60% 55% at 72% 50%, rgba(30, 64, 175, .12), transparent 70%); }

.letra-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.letra-par .letra-in { direction: rtl; }
.letra-par .letra-in > * { direction: ltr; }

.letra-big {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(9rem, 26vw, 19rem); line-height: .9;
  color: var(--ink); text-align: center;
  text-shadow: 0 0 70px rgba(37, 99, 235, .35);
}
/* o O não é letra: é a esfera da marca */
.letra-o { display: grid; place-items: center; }
.letra-o i {
  display: block; width: clamp(8rem, 20vw, 14.5rem); height: clamp(8rem, 20vw, 14.5rem);
  border-radius: 50%;
  background: radial-gradient(circle at 33% 27%, #7fb2ff 0%, var(--blue) 45%, var(--blue-deep) 75%, #0a1740 100%);
  box-shadow: 0 0 60px 10px rgba(37, 99, 235, .45), inset -12px -18px 36px rgba(0, 0, 0, .55);
}

.letra-idx {
  font-size: .72rem; font-weight: 600; letter-spacing: .3em;
  color: var(--blue-soft); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(37, 99, 235, .3);
  display: inline-block;
}
.letra-txt { max-width: 44ch; }
.letra-txt h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.letra-txt p:last-child { font-size: 1.08rem; }

/* ==========================================================================
   DOBRA · MARCA — logo, frase e a onda de partículas
   ========================================================================== */
.marca { position: relative; overflow: hidden; text-align: center; padding-bottom: 170px; }
#waveCanvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; pointer-events: none; }
.marca-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-logo { display: flex; align-items: center; justify-content: center; }
#heroArc { height: clamp(110px, 15vw, 165px); width: auto; margin-right: -14px; }
#heroArc circle { fill: var(--blue); animation: arcPulse 2.8s ease-in-out infinite; }
@keyframes arcPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.hero-word { font-family: var(--f-head); font-weight: 800; font-size: clamp(3.4rem, 9vw, 6.4rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.hero-mktg { font-size: clamp(.68rem, 1.3vw, .9rem); font-weight: 600; letter-spacing: .5em; color: var(--blue-soft); margin: 8px 0 30px; }
.marca-frase { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; }
.marca-sub { margin: 16px auto 30px; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   FAIXA · CLIENTES (marquee)
   ========================================================================== */
.clientes { padding: 64px 0; border-block: 1px solid var(--line); background: rgba(11, 15, 26, .5); overflow: hidden; }
.clientes-title { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 34px; }
.mq { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; align-items: center; gap: 74px; width: max-content; animation: mq 30s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

.cl { font-family: var(--f-head); font-size: 1.5rem; color: rgba(255, 255, 255, .55); white-space: nowrap; transition: color .3s; }
.cl:hover { color: var(--blue-soft); }
.cl-1 { font-weight: 800; letter-spacing: .18em; }
.cl-2 { font-weight: 500; font-style: italic; }
.cl-3 { font-weight: 600; text-transform: lowercase; letter-spacing: .06em; }
.cl-4 { font-weight: 700; } .cl-4 i { font-style: normal; color: var(--blue); font-weight: 400; }
.cl-5 { font-weight: 400; } .cl-5 b { font-weight: 800; }
.cl-6 { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 1.2rem; }
.cl-7 { font-weight: 500; font-family: Georgia, serif; font-style: italic; }
.cl-8 { font-weight: 800; letter-spacing: .04em; }

.clientes-cta { text-align: center; margin-top: 36px; font-size: 1.05rem; color: var(--mute); }
.clientes-cta strong { color: var(--ink); }
.clientes-cta a { color: var(--blue-soft); font-weight: 600; }
.clientes-cta a:hover { text-decoration: underline; }

/* ==========================================================================
   DOBRAS + revelação
   ========================================================================== */
.sec { padding: 120px 0; position: relative; content-visibility: auto; contain-intrinsic-size: auto 700px; }

.rv { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.in:nth-child(2) { transition-delay: .08s; }
.in:nth-child(3) { transition-delay: .16s; }
.in:nth-child(4) { transition-delay: .24s; }
.in:nth-child(5) { transition-delay: .32s; }
.in:nth-child(6) { transition-delay: .40s; }

/* ---------- SOBRE ---------- */
.state { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 40px; }
.sobre-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.sobre-cols p { font-size: 1.12rem; max-width: 52ch; }
.tone { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tone li { font-size: .84rem; font-weight: 500; color: var(--ink); padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(37, 99, 235, .08); }

/* ---------- POR QUÊ (persuasão) ---------- */
.porque { background: linear-gradient(180deg, transparent, rgba(30, 64, 175, .10) 50%, transparent); }
.porque h2 { margin-bottom: 52px; }
.dor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dor { padding: 30px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); transition: transform .4s var(--ease), border-color .4s; }
.dor:hover { transform: translateY(-6px); border-color: rgba(96, 165, 250, .4); }
.dor-p { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.dor-p::before { content: "— "; color: var(--blue); }
.dor-r { font-size: .95rem; }
.dor-r strong { color: var(--blue-soft); font-weight: 600; }
.porque-fecho { margin-top: 44px; font-family: var(--f-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-align: center; }
.porque-fecho a { color: var(--blue-soft); }
.porque-fecho a:hover { text-decoration: underline; }

/* ---------- PILARES K·O·R·I ---------- */
.pilares h2 { margin-bottom: 14px; }
.pilares-sub { margin-bottom: 52px; max-width: 52ch; font-size: 1.05rem; }
.pilares-sub strong { color: var(--ink); letter-spacing: .06em; }
.kori-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1100px; }
.pillar {
  position: relative; padding: 118px 26px 32px; border-radius: var(--r);
  background: linear-gradient(165deg, var(--bg-2), rgba(11, 15, 26, .4));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s;
  will-change: transform;
}
.pillar:hover { border-color: rgba(96, 165, 250, .45); box-shadow: 0 26px 60px -30px rgba(37, 99, 235, .55); }
.pillar-letter {
  position: absolute; top: 14px; left: 20px;
  font-family: var(--f-head); font-weight: 800; font-size: 5.2rem; line-height: 1;
  color: var(--ink);                                   /* letras brancas… */
  transform: translateZ(34px);
}
.pillar:nth-child(2) .pillar-letter { color: var(--blue); }  /* …só o O azul */
.pillar h3 { font-size: 1.12rem; margin-bottom: 10px; transform: translateZ(22px); }
.pillar p { font-size: .92rem; transform: translateZ(14px); }

/* ---------- cabeçalho de seção centralizado (como o modelo) ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.sec-head h2 { margin-inline: auto; }
.sec-head .eyebrow-c { justify-content: center; }
.sec-sub { margin-top: 14px; color: var(--mute); font-size: 1.02rem; }

/* ---------- SERVIÇOS (5 cartões em linha, como o modelo) ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.serv { padding: 30px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 15, 26, .55); text-align: center; transition: transform .4s var(--ease), border-color .4s; }
.serv:hover { transform: translateY(-7px); border-color: rgba(96, 165, 250, .4); }
.serv svg { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--blue-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.serv svg .fill { fill: var(--blue-soft); stroke: none; }
.serv h3 { font-size: 1rem; margin-bottom: 8px; }
.serv p { font-size: .87rem; }

/* ---------- SOBRE + LANDING PAGE (2 colunas, como o modelo) ---------- */
.duplo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.duplo-col h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.duplo-col p { max-width: 48ch; }
.duplo-col > .btn { margin-top: 26px; }
.duplo-col strong { color: var(--ink); }

.sphere-box { position: relative; height: 240px; margin: 26px 0 4px; }
#sphereCanvas { width: 100%; height: 100%; }

.check-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue-soft);
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}

/* ---------- CASES / RESULTADOS (como o modelo) ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 30px 26px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(11, 15, 26, .55);
  transition: transform .4s var(--ease), border-color .4s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(96, 165, 250, .4); }
.stat svg { width: 34px; height: 34px; margin-bottom: 16px; fill: none; stroke: var(--blue-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat svg .fill { fill: var(--blue-soft); stroke: none; }
.stat strong { display: block; font-family: var(--f-head); font-weight: 800; font-size: 2.1rem; color: var(--ink); line-height: 1.1; margin-bottom: 8px; }
.stat strong::before { content: "+"; color: var(--blue-soft); }
.stat p { font-size: .88rem; }

/* ---------- FAIXA CTA (como o modelo) ---------- */
.ctaband { padding: 90px 0; background: linear-gradient(180deg, transparent, rgba(30, 64, 175, .14) 50%, transparent); }
.ctaband-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.ctaband h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.ctaband p { margin-top: 12px; max-width: 44ch; }
.ctaband-btns { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.ctaband-btns .btn { justify-content: space-between; }

/* ---------- MANIFESTO ---------- */
.manifesto { background: linear-gradient(180deg, transparent, rgba(30, 64, 175, .12) 50%, transparent); }
.mline {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.3;
  color: rgba(148, 163, 184, .25);
  opacity: 0; transform: translateX(-36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), color 1s;
}
.mline span { color: rgba(255, 255, 255, .3); transition: color 1s; }
.mline.in { opacity: 1; transform: none; color: var(--mute); }
.mline.in span { color: var(--ink); }
.mline-blue.in span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mline:nth-child(2) { transition-delay: .12s; }
.mline:nth-child(3) { transition-delay: .24s; }
.mline:nth-child(4) { transition-delay: .36s; }

/* ---------- CONTATO ---------- */
.contato-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.contato-txt p { max-width: 46ch; }
.contato-txt strong { color: var(--ink); }
.contato-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.cform { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.cform label { display: flex; flex-direction: column; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.cform input, .cform textarea { font: inherit; color: var(--ink); background: rgba(0, 0, 0, .55); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .25s; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); }
.cform ::placeholder { color: rgba(148, 163, 184, .5); }
.cform-note { font-size: .88rem; text-align: center; min-height: 1.3em; }
.cform-note.ok { color: #34d399; }
.cform-note.err { color: #f87171; }

/* ---------- RODAPÉ (logo + tagline + redes, como o modelo) ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 26px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.foot .brand-word { font-size: 1.2rem; }
.foot small { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-soft); }
.foot-tag { color: var(--ink); font-weight: 500; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.socials a:hover { border-color: var(--blue-soft); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: var(--blue-soft); stroke: none; }
.foot-copy { text-align: center; font-size: .8rem; color: rgba(148, 163, 184, .6); margin-top: 22px; }

/* ==========================================================================
   KORI IA · BOAS-VINDAS — o "O" da marca aparece no centro,
   fala baixinho soltando ondas e depois vai embora. Só a bola, pura.
   ========================================================================== */
.welcome[hidden] { display: none; }
.welcome {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .8s var(--ease), background .9s, backdrop-filter .9s;
  pointer-events: none;                      /* não bloqueia a página */
}
.welcome.on { opacity: 1; }
.welcome.bye { background: transparent; backdrop-filter: none; }  /* fundo volta, bola fica */

.w-stage {
  position: relative; width: 150px; height: 150px; display: grid; place-items: center;
  transition: transform 1.2s var(--ease);    /* o voo até o cantinho */
  will-change: transform;
}

/* a bola — o "O" do logo, sem rosto, sem nada */
.w-ball {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 60px 6px rgba(37, 99, 235, .55);
  transform: scale(.4); opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.welcome.on .w-ball { transform: scale(1); opacity: 1; }
.welcome.speaking .w-ball { animation: ballTalk 1.15s ease-in-out infinite; }
@keyframes ballTalk {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* ondas saindo enquanto fala */
.w-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-soft); opacity: 0; }
.welcome.speaking .w-ring { animation: wwave 2s ease-out infinite; }
.welcome.speaking .wr2 { animation-delay: .65s; }
.welcome.speaking .wr3 { animation-delay: 1.3s; }
@keyframes wwave {
  0%   { transform: scale(.7); opacity: .85; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* --- a bolinha ancorada com brilhinho (destino do voo) --- */
.dock[hidden] { display: none; }
.dock {
  position: fixed; right: 26px; bottom: 26px; z-index: 94;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue);
  box-shadow: 0 0 18px 3px rgba(37, 99, 235, .7);
  animation: dockGlow 2.4s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.dock:hover { transform: scale(1.25); }
@keyframes dockGlow {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(37, 99, 235, .55); }
  50%      { box-shadow: 0 0 26px 7px rgba(96, 165, 250, .85); }
}

/* ==========================================================================
   KORI IA · CONVERSA — abre pela bolinha ancorada ou pelo "o" do logo
   ========================================================================== */
/* --- o "O" do logo: uma esfera-núcleo de IA, não uma letra --- */
.o-orb {
  position: relative; display: inline-block;
  width: .64em; height: .64em; margin: 0 .05em;
  vertical-align: baseline; transform: translateY(.045em);
  cursor: pointer; transition: transform .35s var(--ease);
}
.o-orb:hover, .o-orb:focus-visible { transform: translateY(.045em) scale(1.06); }
.o-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--blue-soft) 0%, var(--blue) 45%, var(--blue-deep) 78%, #142a75 100%);
  box-shadow:
    0 0 .10em rgba(96, 165, 250, .85),
    0 0 .45em rgba(37, 99, 235, .55),
    0 0 1.1em rgba(30, 64, 175, .45),
    inset -.05em -.09em .16em rgba(0, 0, 0, .5),
    inset .04em .06em .12em rgba(255, 255, 255, .28);
  animation: coreBreath 3.2s ease-in-out infinite;
}
@keyframes coreBreath {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.28); }
}
/* anel de energia — pulso de "estou viva" */
.o-ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: .035em solid rgba(96, 165, 250, .85);
  opacity: 0; transform: scale(.75);
  animation: oScan 3.2s var(--ease) infinite;
}
@keyframes oScan {
  0%   { transform: scale(.75); opacity: 0; }
  12%  { opacity: .9; }
  55%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.chatwrap[hidden] { display: none; }
.chatwrap {
  position: fixed; inset: 0; z-index: 96;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px);
}
.kia-panel {
  width: min(400px, calc(100vw - 36px)); max-height: min(600px, 82svh);
  display: flex; flex-direction: column;
  background: #05070D; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(37, 99, 235, .18);
  overflow: hidden;
  animation: panelIn .45s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }

.kia-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.kia-head-orb { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, var(--blue-soft), var(--blue) 60%, var(--blue-deep)); box-shadow: 0 0 14px rgba(37, 99, 235, .7); }
.kia-head strong { font-family: var(--f-head); color: var(--ink); font-size: .98rem; display: block; line-height: 1.2; }
.kia-head small { color: #34d399; font-size: .72rem; }
.kia-head div { flex: 1; }
.kia-mute, .kia-close { background: none; border: 0; color: var(--mute); font-size: 1rem; cursor: pointer; padding: 6px; border-radius: 8px; transition: color .2s, background .2s; }
.kia-mute:hover, .kia-close:hover { color: var(--ink); background: rgba(148, 163, 184, .12); }

.kia-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--blue-deep) transparent; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.55; animation: msgIn .35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.msg-bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); color: #cbd5e1; border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg-bot strong { color: var(--blue-soft); }

.kia-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.kia-chips button {
  font: 500 .78rem var(--f-body); color: var(--blue-soft);
  background: rgba(37, 99, 235, .1); border: 1px solid rgba(37, 99, 235, .35);
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s;
}
.kia-chips button:hover { background: var(--blue); color: #fff; }

.kia-form { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg-2); }
.kia-form input { flex: 1; min-width: 0; font: inherit; font-size: .92rem; color: var(--ink); background: rgba(0, 0, 0, .55); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 17px; }
.kia-form input:focus { outline: none; border-color: var(--blue); }
.kia-form button { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 1rem; cursor: pointer; transition: transform .25s; }
.kia-form button:hover { transform: scale(1.1); }
#kiaMic { background: rgba(37, 99, 235, .14); border: 1.5px solid rgba(37, 99, 235, .45); }
#kiaMic.listening { background: var(--grad); animation: micPulse 1.1s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .6); } 50% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); } }

/* ==========================================================================
   POP-UP · lead enviado
   ========================================================================== */
.leadpop[hidden] { display: none; }
.leadpop {
  position: fixed; inset: 0; z-index: 97;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px);
}
.leadpop-card {
  width: min(440px, calc(100vw - 40px));
  text-align: center; padding: 44px 36px 38px;
  background: #05070D; border: 1px solid rgba(37, 99, 235, .35); border-radius: 22px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .95), 0 0 60px -10px rgba(37, 99, 235, .35);
  animation: panelIn .5s var(--ease);
}
.leadpop-orb {
  display: block; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: radial-gradient(circle at 33% 27%, #7fb2ff, var(--blue) 50%, var(--blue-deep));
  box-shadow: 0 0 34px 6px rgba(37, 99, 235, .6);
  animation: aiBreath 3s ease-in-out infinite;
}
.leadpop-card h3 { font-size: 1.45rem; line-height: 1.3; margin-bottom: 14px; }
.leadpop-card h3 em { font-style: normal; color: var(--blue-soft); }
.leadpop-card p { font-size: .96rem; margin-bottom: 26px; }
.leadpop-card p strong { color: var(--ink); }

/* ==========================================================================
   ACESSIBILIDADE E RESPONSIVO
   ========================================================================== */
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 1060px) {
  .serv-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .mfase { grid-template-columns: 1fr; gap: 10px; text-align: center; align-content: center; }
  .mletra { font-size: clamp(8rem, 34vw, 13rem); }
  .mtxt { margin-inline: auto; }
  .kori-grid, .dor-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-cols, .contato-in, .hero-in, .duplo-in, .ctaband-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { text-align: center; padding-top: 110px; }
  .hero-copy { text-align: center; }
  .hero-title { align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .ctaband-btns { align-items: center; }
  .ctaband-btns .btn { width: min(340px, 100%); }
  .dotnav { display: none; }
}
@media (max-width: 640px) {
  .sec { padding: 88px 0; }
  .kori-grid, .serv-grid, .dor-grid, .stats-grid { grid-template-columns: 1fr; }
  .pillar { padding-top: 100px; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 76px 0 auto 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0, 0, 0, .96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .4s var(--ease);
    padding: 10px 0 18px;
  }
  .menu.open { transform: none; }
  .menu a { padding: 15px 28px; }
  .menu-cta { margin: 12px 28px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .mline { opacity: 1; transform: none; }
  .mq-track { animation: none; }
}
