/* Kognita, site v19
   Cores tiradas dos logos oficiais. Tipografia: Montserrat (arquivo local).
   Escala de texto: 13 / 15 / 17 / 19 / 21 / 28 / títulos fluidos. Nada abaixo de 13px. */

@font-face {
  font-family: Montserrat;
  src: url(assets/montserrat-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #201547;
  --navy-deep: #150d33;
  --navy-night: #0f0926;
  --magenta: #e31c79;
  --magenta-dark: #c21266;
  --magenta-text: #c8125f;      /* magenta para texto pequeno em fundo claro */
  --magenta-on-dark: #f4589f;   /* magenta para texto pequeno em fundo escuro */
  --cream: #f8f4ec;
  --white: #fff;
  --body: #4b4763;
  --muted: #736f88;
  --line: #e2dfea;
  --soft: #efecf7;

  --fs-xs: 13px;
  --fs-sm: 15px;
  --fs-md: 17px;
  --fs-lead: 19px;
  --fs-lg: 21px;
  --fs-xl: 28px;
  --fs-h2: clamp(30px, 3.8vw, 52px);
  --fs-h1: clamp(38px, 5.2vw, 70px);

  --wrap: 1200px;
  --gutter: 48px;
  --section: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.dot { color: var(--magenta); }
::selection { background: #f7c3dc; color: var(--navy); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { color: var(--navy); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 22ch; }
.kicker { font-size: var(--fs-xs); font-weight: 700; color: var(--magenta-on-dark); margin-bottom: 16px; }
.body-lg { font-size: var(--fs-lead); line-height: 1.5; max-width: 54ch; margin-top: 20px; }

/* Textos dentro das ilustrações */
.viz text { font-family: inherit; font-size: 17px; font-weight: 700; }
.viz .t-mag { fill: var(--magenta-on-dark); }
.viz .t-dim { fill: rgba(255, 255, 255, .7); font-weight: 600; }
.viz .t-mag-l { fill: var(--magenta-text); }
.viz .t-dim-l { fill: var(--muted); font-weight: 600; }
.viz .t-lav-l { fill: #5d52a6; }
.viz .t-navy-l { fill: var(--navy); }

/* Gráficos que se desenham quando entram na tela (só com JavaScript e sem preferência por menos movimento).
   --d: atraso; --t: duração. */
@media (prefers-reduced-motion: no-preference) {
  .js .anim .a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .anim .a-fade, .js .anim .a-cell { opacity: 0; }
  .js .anim .a-pop { opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; }
  .js .anim.is-in .a-draw { animation: a-draw var(--t, 1.4s) cubic-bezier(.4, 0, .2, 1) var(--d, 0s) forwards; }
  .js .anim.is-in .a-fade { animation: a-fade .5s ease var(--d, 0s) forwards; }
  .js .anim.is-in .a-cell { animation: a-fade .35s ease var(--d, 0s) forwards; }
  .js .anim.is-in .a-pop { animation: a-pop .45s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s) forwards; }
  .js .anim.is-in .a-halo { animation: a-pop .45s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s) forwards, a-halo 2.6s ease-in-out 2.4s infinite; }
}
@keyframes a-draw { to { stroke-dashoffset: 0; } }
@keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-pop { to { opacity: 1; transform: scale(1); } }
@keyframes a-halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }

/* Botões */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border-radius: 4px;
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; text-align: center;
  transition: background-color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--magenta); color: var(--white); }
.button-primary:hover { background: var(--magenta-dark); }
.button-ghost { border: 1px solid rgba(255, 255, 255, .42); color: var(--white); }
.button-ghost:hover { border-color: var(--white); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 13, 51, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.brand img { height: 38px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, .82); }
.primary-nav a:hover { color: var(--white); }
.primary-nav .nav-cta { padding: 12px 20px; border-radius: 4px; background: var(--magenta); color: var(--white); font-weight: 700; }
.primary-nav .nav-cta:hover { background: var(--magenta-dark); }
.menu-toggle { display: none; padding: 12px; margin-right: -12px; background: none; border: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); }

/* 1. Abertura */
.hero {
  color: var(--white); overflow: hidden;
  background: radial-gradient(60% 80% at 78% 40%, #2a1158 0%, var(--navy-deep) 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-block: 72px 88px; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.035em; color: var(--white); max-width: 12ch; }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 42ch; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { margin-right: -64px; }
.hero-art img { width: 100%; }

/* A IA, antes dos exemplos: continuação escura da abertura */
.intro { padding-block: 24px 88px; background: var(--navy-deep); color: rgba(255, 255, 255, .8); }
/* Título e texto ocupam a largura toda, alinhados aos três quadros. Cada frase do título cabe em uma linha na tela larga. */
.intro h2 { max-width: none; font-size: clamp(30px, 4.1vw, 58px); line-height: 1.08; letter-spacing: -0.035em; }
.intro h2 span { display: block; }
.intro h2 .past { color: rgba(255, 255, 255, .42); }
.intro h2 .future { color: var(--white); }
.intro h2 .dot { display: inline; }
.intro-lead { max-width: none; margin-top: 32px; font-size: clamp(18px, 1.9vw, 26px); line-height: 1.45; color: rgba(255, 255, 255, .86); }
.intro-does { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.intro-does li { padding: 14px 28px 30px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.intro-does svg { width: 100%; max-width: 300px; }
.intro-does h3 { margin-top: 10px; font-size: var(--fs-lg); line-height: 1.2; color: var(--white); }
.intro-does p { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.55; }
.viz .march { stroke-dasharray: 1 12; }
@media (prefers-reduced-motion: no-preference) {
  .js .anim.is-in .march { animation: a-fade .5s ease var(--d, 0s) forwards, march 1.6s linear infinite; }
}
@keyframes march { to { stroke-dashoffset: -26; } }

/* Faixa de clientes: fecha o bloco escuro do início */
.strip-logos { padding: 36px 0 40px; background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, .1); }
.strip-label { margin-bottom: 24px; text-align: center; font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, .6); }
.marquee-wrap {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 50s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { flex-shrink: 0; width: auto; max-width: none; height: 44px; margin: 0 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-wrap { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; row-gap: 24px; width: auto; padding-inline: var(--gutter); animation: none; }
  .marquee-track .dupe { display: none; }
}

/* 3. Como a previsão chega */
.answer-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.predict-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.predict-tabs button {
  position: relative; overflow: hidden;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: var(--fs-xs); font-weight: 700; color: var(--body);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.predict-tabs button:hover { border-color: var(--navy); color: var(--navy); }
.predict-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.predict-tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--magenta); }
.is-running .predict-tabs button[aria-selected="true"]::after { animation: tab-progress 5.2s linear both; }
@keyframes tab-progress { from { width: 0; } to { width: 100%; } }

.predict-card { display: grid; padding: 12px 28px 20px; border-radius: 12px; background: var(--white); color: var(--navy); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(32, 21, 71, .1); }
.predict-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s ease; }
.predict-panel.is-active { visibility: visible; opacity: 1; }
html:not(.js) .predict-panel { grid-area: auto; visibility: visible; opacity: 1; }
html:not(.js) .predict-tabs { display: none; }
.predict-rows li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.predict-rows li:last-child { padding-bottom: 6px; border-bottom: 0; }
.predict-who { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.predict-who b { font-size: var(--fs-md); font-weight: 700; }
.predict-who em { font-size: var(--fs-xs); font-weight: 700; font-style: normal; }
.predict-bar { height: 8px; margin: 10px 0; border-radius: 4px; background: var(--soft); overflow: hidden; }
.predict-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--navy); transform-origin: left; }
.predict-panel.is-active .predict-bar i { animation: bar-grow .8s cubic-bezier(.2, .7, .2, 1) both; }
.predict-panel.is-active li:nth-child(2) .predict-bar i { animation-delay: .12s; }
.predict-panel.is-active li:nth-child(3) .predict-bar i { animation-delay: .24s; }
.predict-rows p { font-size: var(--fs-xs); line-height: 1.45; color: var(--body); }
.is-high .predict-who em { color: var(--magenta-text); }
.is-high .predict-bar i { background: var(--magenta); }
.is-low .predict-who em { color: var(--muted); }
.is-low .predict-bar i { background: #b9b4cc; }
.predict-cap { padding: 14px 0 12px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.predict-chart { padding-top: 18px; }
.predict-panel { display: flex; flex-direction: column; }
.predict-key, .predict-legend, .predict-rows { margin-bottom: 12px; }
.predict-out { display: grid; gap: 4px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.45; color: var(--body); }
.predict-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 10px 0 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--body); }
.predict-legend span { display: inline-flex; align-items: center; gap: 8px; }
.predict-legend span::before { content: ""; width: 22px; height: 0; border-top: 3px solid var(--navy); }
.predict-legend .lg-fc::before { border-top: 3px dashed var(--magenta); }
.predict-key { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 12px 0 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--body); }
.predict-key span { display: inline-flex; align-items: center; gap: 8px; }
.predict-key span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ddd8ee; }
.predict-key .k-high::before { background: var(--magenta); }
.predict-key .k-mid::before { background: #8e84c4; }
.predict-key .k-navy::before { background: var(--navy); }
/* Os gráficos do painel se montam cada vez que a aba é aberta. */
.predict-panel.is-active .b-pop { transform-box: fill-box; transform-origin: center; animation: b-pop .5s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s) both; }
.predict-panel.is-active .b-fade { animation: a-fade .45s ease var(--d, 0s) both; }
.predict-panel.is-active .b-draw { stroke-dasharray: 1; animation: b-draw var(--t, 1.1s) cubic-bezier(.4, 0, .2, 1) var(--d, 0s) both; }
.predict-panel.is-active .b-wipe { animation: b-wipe .7s ease-out var(--d, 0s) both; }
@keyframes b-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes b-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes b-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.predict-foot { grid-row: 2; padding-top: 14px; font-size: var(--fs-xs); color: var(--muted); }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Seções */
.section { padding-block: var(--section); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section-navy h2 { color: var(--white); }
.section-head { margin-bottom: 52px; }

/* 2. O que dá para prever */
.examples { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.example { grid-column: span 3; display: flex; flex-direction: column; border-radius: 12px; background: var(--white); overflow: hidden; }
.example-fig { padding: 22px 20px 6px; }
.example-body { display: flex; flex-direction: column; flex: 1; padding: 14px 24px 24px; }
.example h3 { font-size: var(--fs-lg); line-height: 1.18; }
.example-body > p { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.5; }
/* Par "prevê / decide": o verbo abre a frase em destaque */
.pd b, .predict-out b { font-weight: 700; color: var(--navy); }
.pd-decide b, .predict-out .pd-decide b { color: var(--magenta-text); }
.example-body > .pd + .pd { margin-top: 4px; }
.example-lead .pd b { color: var(--white); }
.example-lead .pd-decide b { color: var(--magenta-on-dark); }
.example-lead .example-body > .pd { max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { padding: 4px 11px; border-radius: 999px; background: var(--soft); font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.example .example-body .delivered { margin-top: auto; padding-top: 18px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }

.example-lead { grid-column: span 6; background: var(--navy); color: rgba(255, 255, 255, .82); }
.example-lead .example-fig { padding: 30px 32px 0; }
.example-lead .example-body { padding: 20px 36px 32px; }
.example-lead h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; color: var(--white); }
.example-lead .example-body > p { margin-top: 12px; font-size: var(--fs-lead); max-width: 36ch; }
.example-lead .chips li { background: rgba(255, 255, 255, .12); color: var(--white); }
.example-lead .example-body .delivered { color: rgba(255, 255, 255, .66); }

.example-wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.example-wide .example-body { padding: 36px 20px 36px 40px; }
.example-wide .example-fig { padding: 28px 40px 24px 20px; }
.example-wide h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.example-wide .example-body > p { margin-top: 12px; font-size: var(--fs-md); max-width: 44ch; }
.example-cta .button { align-self: flex-start; margin-top: 24px; }

.examples-note { margin-top: 28px; font-size: var(--fs-sm); }
.examples-note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: 4px; }

/* 4. Como funciona */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; }
.step-fig { position: relative; padding: 8px 0; border-radius: 12px; background: var(--white); }
.step-fig svg { width: 100%; max-width: 250px; margin-inline: auto; }
.steps li + li .step-fig::before {
  content: ""; position: absolute; left: -28px; top: 50%; width: 28px; height: 0; border-top: 1.5px dashed #d9b9c9;
}
.steps h3 { margin-top: 20px; font-size: var(--fs-lg); line-height: 1.2; }
.steps h3::before { content: counter(step); margin-right: 10px; color: var(--magenta); }
.steps p { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.55; }
.proof { margin-top: 52px; padding: 24px 32px; border-left: 3px solid var(--magenta); background: var(--white); }
.proof p { max-width: 74ch; color: var(--navy); }
.proof b { font-weight: 800; }

/* 5. Menos hype */
.hype-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.side { padding: 18px 18px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; }
.side figcaption { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.4; color: rgba(255, 255, 255, .66); }
.side figcaption b { display: block; font-size: var(--fs-md); font-weight: 800; letter-spacing: -0.02em; color: rgba(255, 255, 255, .8); }
.side-main { border-color: var(--magenta); background: rgba(227, 28, 121, .1); }
.side-main figcaption { color: rgba(255, 255, 255, .88); }
.side-main figcaption b { color: var(--white); }

/* 8. Sobre */

/* 6. Contato */
.contact { padding-block: 96px; background: var(--cream); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.contact h2 { max-width: 15ch; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; }
.contact .body-lg { max-width: 44ch; margin: 24px 0 36px; }
.contact-mail { margin-top: 16px; font-size: var(--fs-sm); color: var(--muted); }
.contact-art { order: -1; margin-left: -64px; }
.contact-art img { width: 100%; }

/* Rodapé */
.footer { padding-block: 52px 30px; background: var(--navy-night); color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 56px; align-items: start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 8px; }
.footer a:hover { color: var(--white); }
/* 7. kirya: mesma chamada da versão 7 (cores e mapa originais) */
.kirya { padding-block: 114px; background: #141442; color: #fff; }
.kirya-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 36px; align-items: center; }
.kirya-wordmark { display: inline-block; margin-bottom: 17px; font-size: 32px; font-weight: 800; letter-spacing: -0.065em; color: #fff; }
.kirya-wordmark span { color: var(--magenta); }
.kirya-wordmark:hover { opacity: .85; }
.kirya .kicker { color: #e58bbb; }
.kirya h2 { max-width: 520px; font-size: clamp(31px, 2.9vw, 46px); line-height: 1.12; letter-spacing: -0.055em; color: #fff; }
.kirya-copy > p:not(.kicker) { max-width: 500px; margin: 20px 0; font-size: var(--fs-sm); line-height: 1.85; color: #d7d9ed; }
.kirya-facts { display: flex; gap: 32px; margin: 26px 0; padding: 20px 0; border-block: 1px solid #4e4e7c; }
.kirya-facts div { display: flex; flex-direction: column; gap: 3px; }
.kirya-facts strong { font-size: 29px; letter-spacing: -0.06em; }
.kirya-facts small { font-size: var(--fs-xs); color: #b7bcd9; }
.kirya .button { gap: 14px; }
.kirya-note { display: block; max-width: 460px; margin-top: 20px; font-size: var(--fs-xs); line-height: 1.7; color: #9d9fc5; }
.kirya-map { position: relative; min-height: 435px; }
.kirya-map svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.dotgrid { position: absolute; inset: 15%; opacity: .12; background-image: radial-gradient(#00b8d4 1px, transparent 1px); background-size: 15px 15px; }

/* Telas médias */
@media (max-width: 1100px) {
  :root { --gutter: 32px; --section: 88px; }
  .hero-grid { gap: 24px; }
  .hero-art { margin-right: -32px; }
  .contact-art { margin-left: -32px; }
  .contact-grid { gap: 40px; }
  .answer-grid { gap: 48px; }
  .example { grid-column: span 6; }
  .example-fig { padding-inline: 15%; }
  .example-lead .example-fig { padding-inline: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps li:nth-child(3) .step-fig::before { display: none; }
  .hype-grid { gap: 48px; }
}

/* Uma coluna, menu recolhido */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--navy-deep); border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; font-size: var(--fs-md); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .primary-nav .nav-cta { margin-top: 16px; padding: 16px 20px; border-bottom: 0; text-align: center; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 56px 40px; }
  .hero-art { margin: 0 -8% 0 0; }
  .contact { padding-block: 72px 48px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-art { order: 0; margin: 0 -8% 0 0; }
  .intro { padding-block: 16px 64px; }
  .intro-does { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 44px; }
  .intro-does li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); column-gap: 24px; align-items: center; padding: 18px 24px; }
  .intro-does svg { grid-row: span 2; }
  .intro-does h3 { margin-top: 0; align-self: end; }
  .intro-does p { align-self: start; }
  .answer-grid { grid-template-columns: minmax(0, 1fr); }
  .example-wide { grid-template-columns: minmax(0, 1fr); }
  .example-wide .example-body { padding: 32px 32px 0; }
  .example-wide .example-fig { padding: 20px 32px 28px; }
  .hero h1 { max-width: 16ch; }
  .predict { max-width: 560px; }
  .example-lead { grid-column: span 12; }
  .hype-grid, .kirya-grid { grid-template-columns: minmax(0, 1fr); }
  .kirya { padding-block: 80px; }
  .kirya-map { min-height: 320px; }
  .kirya-map svg { max-height: 370px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* Celular */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 68px; --fs-lead: 18px; }
  .section-head { margin-bottom: 36px; }
  .marquee-track img { height: 38px; margin: 0 22px; }
  .intro-does li { display: block; padding: 10px 22px 26px; }
  .intro-does svg { max-width: 260px; }
  .intro-does h3 { margin-top: 8px; }
  .actions .button { width: 100%; }
  .predict-card { padding: 8px 20px 18px; }
  .examples { gap: 14px; }
  .example { grid-column: span 12; }
  .example-fig { padding-inline: 20px; }
  .example-lead .example-fig { padding: 24px 16px 0; }
  .example-lead .example-body { padding: 16px 22px 26px; }
  .viz text { font-size: 23px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps li + li .step-fig::before { display: none; }
  .example-wide .example-body { padding: 24px 22px 0; }
  .example-wide .example-fig { padding: 16px 16px 22px; }
  .proof { padding: 22px 22px; }
  .sides { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact { padding-block: 64px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .predict-bar i, .predict-tabs button::after, .b-pop, .b-fade, .b-draw, .b-wipe { animation: none !important; }
  .predict-panel, .button, .predict-tabs button { transition: none; }
}
