/* =========================================================================
   KOD Creative Web · Ezequiel Sá — landing page
   Tudo prefixado com kod- para conviver com o tema e o Elementor no WordPress.
   ========================================================================= */

/* ---------- tokens ---------- */
:root {
  --k-bg: #0a0a0b;
  --k-bg2: #141416;
  --k-bg3: #1d1d20;
  --k-ink: #f2efe9;
  --k-muted: #a29e96;
  --k-word: #d9d5cd;
  --k-line: rgba(242, 239, 233, .14);
  --k-accent: #ec5b1d;
  --k-accent-2: #ff7a3d;
  --k-on-accent: #ffffff;
  --k-shade: 0, 0, 0;
  --k-display: "Archivo", "Inter Tight", system-ui, sans-serif;
  --k-text: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --k-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --k-gutter: clamp(16px, 3.4vw, 56px);
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
:root[data-kod-theme="light"] {
  --k-bg: #f3f0ea;
  --k-bg2: #e8e4dc;
  --k-bg3: #ddd8ce;
  --k-ink: #141312;
  --k-muted: #5d5952;
  --k-word: #1d1c1a;
  --k-line: rgba(20, 19, 18, .16);
  --k-accent: #e0521a;
  --k-accent-2: #f06a2e;
  --k-shade: 40, 30, 20;
  color-scheme: light;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.kod-body { margin: 0; background: var(--k-bg); }
.kod {
  position: relative;
  background: var(--k-bg);
  color: var(--k-ink);
  font-family: var(--k-text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .5s var(--k-ease), color .5s var(--k-ease);
}
.kod *, .kod *::before, .kod *::after { box-sizing: border-box; }
.kod :where(img, svg, canvas, video) { display: block; max-width: none; }
.kod :where(a) { color: inherit; }
.kod a.kod-cta { color: var(--k-on-accent); }
.kod a.kod-float__btn { color: #f2efe9; }
/* resets com :where para não ganhar das classes das seções (só do tema) */
.kod :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
.kod :where(ul, ol) { list-style: none; }
.kod :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: none; letter-spacing: inherit; box-shadow: none; }
/* proteção contra estilos do tema/Elementor (ex.: Hello Elementor pinta botões no hover) */
.kod :where(h1, h2, h3, h4) { font-family: var(--k-text); color: inherit; text-transform: none; }
.kod button:is(:hover, :focus) { background-color: transparent; color: inherit; border-color: transparent; }
.kod button.kod-lang, .kod button.kod-theme { background-color: var(--k-bg2); }
.kod button.kod-cf__close { background-color: rgba(0, 0, 0, .6); color: #fff; }
.kod .kod-cf__dock button:hover { background-color: var(--k-bg3); }
.kod ::selection { background: var(--k-accent); color: #fff; }
.kod :focus-visible { outline: 2px solid var(--k-accent); outline-offset: 4px; border-radius: 4px; }
.kod-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kod svg use { pointer-events: none; }

/* grão fixo por cima da página */
.kod::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- loading ---------- */
.kod-loader { position: fixed; inset: 0; z-index: 200; color: #f2efe9; pointer-events: auto; }
.kod-loader.is-done { pointer-events: none; }
.kod-loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #070708; will-change: transform; }
.kod-loader__panel--a { top: 0; }
.kod-loader__panel--b { bottom: 0; }
.kod-loader__inner { position: absolute; inset: 0; padding: calc(var(--k-gutter) + 8px) var(--k-gutter); display: grid; grid-template-rows: 1fr auto; }
.kod-loader__term {
  margin: 0; font-family: var(--k-mono); font-size: clamp(11px, 1.05vw, 14px); line-height: 1.7; color: #8f8b84;
  white-space: pre-wrap; max-width: 62ch; overflow: hidden;
}
.kod-loader__term .ok { color: #f2efe9; }
.kod-loader__term .hl { color: var(--k-accent); }
.kod-loader__term .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--k-accent); animation: kod-blink .8s steps(1) infinite; }
.kod-loader__mark {
  position: absolute; left: 50%; top: 50%; width: clamp(140px, 18vw, 240px); transform: translate(-50%, -50%);
  clip-path: inset(100% 0 0 0);
}
.kod-loader__mark img { width: 100%; height: auto; }
.kod-loader__foot { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 48px); }
.kod-loader__count {
  font-family: var(--k-display); font-variation-settings: "wdth" 118; font-weight: 800;
  font-size: clamp(72px, 15vw, 230px); line-height: .78; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.kod-loader__count small { font-size: .32em; color: var(--k-accent); letter-spacing: 0; margin-left: .08em; }
.kod-loader__bar { flex: 1; height: 3px; background: rgba(242, 239, 233, .12); margin-bottom: .9vw; position: relative; overflow: hidden; }
.kod-loader__bar i { position: absolute; inset: 0; background: var(--k-accent); transform-origin: left; transform: scaleX(0); }
@keyframes kod-blink { 50% { opacity: 0; } }

/* ---------- nav ---------- */
.kod-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--k-gutter);
  transition: transform .5s var(--k-ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.kod-nav.is-hidden { transform: translateY(-110%); }
.kod-nav.is-solid {
  background: color-mix(in srgb, var(--k-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--k-line);
}
.kod-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.kod-nav__brand img { width: 62px; height: auto; }
:root[data-kod-theme="light"] .kod-nav__brand img { content: url("../img/kod-logo.png"); }
.kod-nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 15px; }
.kod-nav__links a { text-decoration: none; position: relative; padding: 6px 0; color: var(--k-muted); transition: color .25s; }
.kod-nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--k-accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--k-ease); }
.kod-nav__links a:hover { color: var(--k-ink); }
.kod-nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.kod-nav__tools { display: flex; align-items: center; gap: 10px; }
.kod-lang, .kod-theme {
  height: 40px; border-radius: 999px; background: var(--k-bg2); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; transition: background-color .3s;
}
.kod-lang { position: relative; padding: 0 4px; gap: 0; }
.kod-lang span { position: relative; z-index: 1; width: 36px; text-align: center; color: var(--k-muted); transition: color .3s; }
.kod-lang::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: 36px; border-radius: 999px; background: var(--k-accent); transition: transform .45s var(--k-ease); }
.kod-lang span[data-l="pt"] { color: #fff; }
:root[lang="en"] .kod-lang::before { transform: translateX(36px); }
:root[lang="en"] .kod-lang span[data-l="pt"] { color: var(--k-muted); }
:root[lang="en"] .kod-lang span[data-l="en"] { color: #fff; }
.kod-theme { width: 40px; overflow: hidden; position: relative; }
.kod-theme svg { width: 19px; height: 19px; position: absolute; transition: transform .6s var(--k-ease), opacity .4s; }
.kod-theme__moon { transform: translateY(140%) rotate(-60deg); opacity: 0; }
:root[data-kod-theme="light"] .kod-theme__sun { transform: translateY(-140%) rotate(60deg); opacity: 0; }
:root[data-kod-theme="light"] .kod-theme__moon { transform: none; opacity: 1; }
.kod-nav__cta {
  height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--k-ink); color: var(--k-bg) !important; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background-color .3s, transform .3s var(--k-ease);
}
.kod-nav__cta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k-accent); }
.kod-nav__cta:hover { background: var(--k-accent); color: #fff !important; }
.kod-nav__cta:hover::before { background: #fff; }

/* ---------- CTA principal ---------- */
.kod-cta {
  --h: 64px;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h);
  padding: 0 8px 0 8px; border-radius: 999px; background: var(--k-accent); color: var(--k-on-accent);
  text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; isolation: isolate;
  transition: background-color .35s, box-shadow .45s var(--k-ease);
  will-change: transform;
}
.kod-cta::before {
  /* anel que pulsa: "estou online" */
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--k-accent); z-index: -1;
  animation: kod-pulse 2.6s var(--k-ease) infinite;
}
.kod-cta::after {
  /* faixa de brilho que atravessa no hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; overflow: hidden;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%) no-repeat;
  background-size: 220% 100%; background-position: 130% 0; transition: background-position .9s var(--k-ease);
}
.kod-cta:hover { background: var(--k-accent-2); box-shadow: 0 18px 50px -12px rgba(236, 91, 29, .65); }
.kod-cta:hover::after { background-position: -40% 0; }
.kod-cta__border { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; pointer-events: none; }
.kod-cta__border rect { fill: none; stroke: var(--k-accent); stroke-width: 1.5; stroke-dasharray: 14 86; stroke-linecap: round; animation: kod-run 3.2s linear infinite; opacity: .9; }
.kod-cta__icon { width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%; background: rgba(20, 8, 2, .28); display: grid; place-items: center; flex: none; }
.kod-cta__icon svg { width: 24px; height: 24px; }
.kod-cta__label { white-space: nowrap; font-variant-ligatures: none; }
.kod-cta__arrow { position: relative; width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%; background: #fff; color: var(--k-accent); overflow: hidden; flex: none; }
.kod-cta__arrow svg { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; transition: transform .55s var(--k-ease); }
.kod-cta__arrow svg + svg { transform: translate(-180%, 180%); }
.kod-cta:hover .kod-cta__arrow svg:first-child { transform: translate(180%, -180%); }
.kod-cta:hover .kod-cta__arrow svg + svg { transform: none; }
.kod-cta--small { --h: 54px; font-size: 16px; gap: 12px; }
.kod-cta .kod-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: kod-ripple .7s var(--k-ease) forwards; pointer-events: none; }
@keyframes kod-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.18, 1.5); opacity: 0; } }
@keyframes kod-run { to { stroke-dashoffset: -100; } }
@keyframes kod-ripple { to { transform: scale(1); opacity: 0; } }

.kod-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; position: relative; }
.kod-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform-origin: left; transition: transform .45s var(--k-ease); }
.kod-link:hover::after { transform: scaleX(.3); }

/* ---------- 01 hero ---------- */
.kod-hero { position: relative; min-height: 100svh; padding: 110px var(--k-gutter) 56px; display: flex; align-items: center; overflow: hidden; }
.kod-hero__code { position: absolute; inset: 0; width: 100%; height: 100%; }
.kod-hero::before { /* vinheta para o código não brigar com o texto */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 62% 80% at 24% 55%, var(--k-bg) 0%, color-mix(in srgb, var(--k-bg) 88%, transparent) 45%, transparent 100%);
}
.kod-hero__grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 72px); }
.kod-hero__text { grid-column: 1; grid-row: 1; max-width: 760px; }
.kod-hero__who { font-size: clamp(17px, 1.4vw, 21px); color: var(--k-muted); margin-bottom: 22px; }
.kod-hero__who strong { color: var(--k-ink); font-weight: 600; }
.kod-hero__who span { color: var(--k-accent); padding: 0 .2em; }
.kod-hero__title {
  font-family: var(--k-display); font-variation-settings: "wdth" 100; font-weight: 780;
  font-size: clamp(40px, min(5.6vw, 9.6svh), 100px); line-height: .94; letter-spacing: -.035em; text-wrap: balance;
}
.kod-hero__title .w { display: inline-block; }
.kod-hero__lead { margin-top: 28px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; max-width: 34em; }
.kod-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.kod-hero__place { margin-top: 36px; font-size: 15px; color: var(--k-muted); display: flex; align-items: center; gap: 10px; }
.kod-hero__place::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fd36b; box-shadow: 0 0 0 4px rgba(47, 211, 107, .18); }

/* retrato: disco + recorte que deixa a cabeça sair por cima */
.kod-hero__portrait { --d: clamp(260px, 30vw, 480px); grid-column: 2; grid-row: 1; justify-self: center; position: relative; width: calc(var(--d) * 1.42); height: calc(var(--d) * 1.6); }
.kod-portrait__disc {
  position: absolute; left: calc(var(--d) * .21); bottom: calc(var(--d) * .18); width: var(--d); height: var(--d); border-radius: 50%;
  background: var(--k-accent); overflow: hidden; z-index: 1;
}
.kod-portrait__disc::before { /* linhas de varredura como uma tela */
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.5) 0 1px, transparent 1px 4px);
}
.kod-portrait__disc::after { /* sombra interna para dar volume */
  content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 -40px 80px rgba(0,0,0,.35);
}
.kod-portrait__clip {
  position: absolute; left: calc(var(--d) * .21); bottom: calc(var(--d) * .18); width: var(--d); height: calc(var(--d) * 1.4);
  border-radius: 0 0 50% 50% / 0 0 35.7% 35.7%; overflow: hidden; z-index: 2;
}
.kod-portrait__img {
  position: absolute; width: calc(var(--d) * 1.16); height: auto; left: calc(var(--d) * -.12); top: calc(var(--d) * -.14);
  transition: filter .2s;
}
.kod-portrait__scan { position: absolute; left: -10%; right: -10%; height: 2px; top: 100%; background: #fff; box-shadow: 0 0 18px 4px var(--k-accent); opacity: 0; }
.kod-hero__portrait:hover .kod-portrait__img { animation: kod-glitch .5s steps(2) infinite; }
@keyframes kod-glitch {
  0% { filter: drop-shadow(4px 0 0 rgba(255, 0, 80, .75)) drop-shadow(-4px 0 0 rgba(0, 220, 255, .75)); transform: translate(0); }
  25% { filter: drop-shadow(-3px 1px 0 rgba(255, 0, 80, .75)) drop-shadow(3px -1px 0 rgba(0, 220, 255, .75)); transform: translate(2px, -1px); }
  50% { filter: drop-shadow(2px 0 0 rgba(255, 0, 80, .6)) drop-shadow(-2px 0 0 rgba(0, 220, 255, .6)); transform: translate(-1px, 1px); }
  75% { filter: none; transform: translate(0); }
  100% { filter: drop-shadow(5px 0 0 rgba(255, 0, 80, .7)) drop-shadow(-5px 0 0 rgba(0, 220, 255, .7)); transform: translate(1px, 0); }
}
.kod-ring { position: absolute; left: 0; width: calc(var(--d) * 1.42); height: calc(var(--d) * 1.42); bottom: calc(var(--d) * -.03); z-index: 1; pointer-events: none; }
.kod-rec { position: absolute; width: calc(var(--d) * 1.2); height: calc(var(--d) * 1.2); left: calc(var(--d) * .11); bottom: calc(var(--d) * .08); z-index: 3; overflow: visible; pointer-events: none; }
.kod-rec__track { fill: none; stroke: var(--k-line); stroke-width: .6; }
.kod-rec__arc { fill: none; stroke: var(--k-accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0 100; transform-origin: 100px 100px; }
.kod-rec__tc {
  position: absolute; z-index: 4; right: 0; top: calc(var(--d) * .26); font-family: var(--k-mono); font-size: 12px; letter-spacing: .02em;
  padding: 6px 10px 6px 8px; border-radius: 999px; background: var(--k-bg2); color: var(--k-ink); display: inline-flex; align-items: center; gap: 7px; opacity: 0;
}
.kod-rec__tc i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: kod-blink 1.2s steps(1) infinite; }
.kod-rec__tc b { font-weight: 500; font-variant-numeric: tabular-nums; }
.kod-orbit { position: absolute; left: calc(var(--d) * .71); bottom: calc(var(--d) * .68); width: 0; height: 0; }
.kod-orbit span {
  position: absolute; left: -23px; top: -23px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--k-bg2); color: var(--k-ink); display: grid; place-items: center; opacity: 0;
  box-shadow: 0 10px 24px -10px rgba(var(--k-shade), .7);
}
.kod-orbit span svg { width: 22px; height: 22px; }
.kod-orbit span:nth-child(odd) { color: var(--k-accent); }

/* ---------- 02 no que sou melhor ---------- */
.kod-best { position: relative; min-height: 100svh; padding: 140px var(--k-gutter) clamp(220px, 34svh, 360px); overflow: hidden; background: var(--k-bg); }
.kod-best__grass { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(240px, 38svh, 400px); pointer-events: auto; }
.kod-best__wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; column-gap: clamp(24px, 4vw, 80px); pointer-events: none; }
.kod-best__wrap > * { pointer-events: auto; }
.kod-best__head { grid-column: 1; grid-row: 1; }
.kod-best__title { display: flex; align-items: center; gap: 16px; font-family: var(--k-display); font-variation-settings: "wdth" 112; font-weight: 760; font-size: clamp(38px, 4.6vw, 76px); line-height: .95; letter-spacing: -.035em; }
.kod-best__spark { width: .5em; height: .5em; flex: none; position: relative; }
.kod-best__spark::before, .kod-best__spark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 22%; background: var(--k-accent); transform: translate(-50%, -50%); border-radius: 2px; animation: kod-spin 6s linear infinite; }
.kod-best__spark::after { transform: translate(-50%, -50%) rotate(90deg); animation-name: kod-spin2; }
@keyframes kod-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes kod-spin2 { from { transform: translate(-50%, -50%) rotate(90deg); } to { transform: translate(-50%, -50%) rotate(450deg); } }
.kod-best__lead { margin-top: 22px; font-size: clamp(17px, 1.3vw, 20px); max-width: 26em; }
.kod-best__stage { grid-column: 2; grid-row: 1 / span 2; height: clamp(320px, 42vh, 440px); perspective: 1000px; position: relative; }
.kod-best__drum { position: absolute; inset: 0; transform-style: preserve-3d; }
.kod-best__drum li {
  position: absolute; left: 50%; top: 50%; width: min(560px, 92%); height: 104px; margin: -52px 0 0 calc(min(560px, 92%) / -2);
  display: flex; align-items: center; gap: 22px; padding: 0 30px; border-radius: 18px;
  background: var(--k-bg2); color: var(--k-muted); font-size: clamp(20px, 2vw, 30px); font-weight: 560; letter-spacing: -.02em;
  backface-visibility: hidden; transition: transform .9s var(--k-ease), opacity .9s var(--k-ease), color .5s, background-color .5s;
}
.kod-best__drum li svg { width: 36px; height: 36px; flex: none; }
.kod-best__drum li.is-on { color: var(--k-ink); background: var(--k-bg3); box-shadow: 0 30px 60px -30px rgba(var(--k-shade), .9); }
.kod-best__drum li.is-on svg { color: var(--k-accent); }
.kod-best__desc { grid-column: 2; grid-row: 3; text-align: center; font-size: clamp(17px, 1.3vw, 20px); min-height: 3em; max-width: 30em; justify-self: center; margin-top: 18px; }
.kod-best__list { grid-column: 1; grid-row: 2 / span 2; align-self: end; margin-top: 40px; counter-reset: none; }
.kod-best__list button { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 17px; color: var(--k-muted); transition: color .3s, transform .4s var(--k-ease); text-align: left; }
.kod-best__list button::before { content: ""; width: 0; height: 2px; background: var(--k-accent); transition: width .45s var(--k-ease); }
.kod-best__list button:hover { color: var(--k-ink); }
.kod-best__list button.is-on { color: var(--k-ink); }
.kod-best__list button.is-on::before { width: 26px; }

/* ---------- 03 portfólio ---------- */
.kod-work { position: relative; background: var(--k-bg); }
.kod-work__pin { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.kod-work__head { padding: 0 var(--k-gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: end; z-index: 2; }
.kod-work__title { font-family: var(--k-display); font-variation-settings: "wdth" 112; font-weight: 760; font-size: clamp(36px, 4.4vw, 72px); line-height: .95; letter-spacing: -.035em; }
.kod-work__lead { font-size: 18px; max-width: 26em; }
.kod-work__count { font-family: var(--k-display); font-variation-settings: "wdth" 110; font-size: 22px; color: var(--k-muted); font-variant-numeric: tabular-nums; }
.kod-work__count b { color: var(--k-accent); font-weight: 700; }
.kod-work__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--k-gutter); margin-top: clamp(24px, 4svh, 48px); will-change: transform; align-items: center; }
.kod-work__item { flex: none; width: min(60vw, calc((100svh - 340px) * 1.6)); min-width: 280px; }
.kod-work__link { display: block; text-decoration: none; }
/* cena: parede do tema, círculo na cor da marca do cliente, chão e o aparelho desenhado em CSS */
.kod-scene { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--k-bg2); display: grid; place-items: center; isolation: isolate; }
.kod-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 17%; background: var(--k-bg3); z-index: 0; }
.kod-scene__sun { position: absolute; z-index: 0; width: 64%; aspect-ratio: 1; border-radius: 50%; background: var(--acc, var(--k-accent)); left: 18%; top: 56%; margin-top: -32%; transition: scale 1s var(--k-ease); }
.kod-device { position: relative; z-index: 1; width: 70%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); transition: scale .9s var(--k-ease); }
.kod-device__screen { position: relative; background: #0b0b0c; padding: 2% 2% 2.6%; border-radius: 12px 12px 3px 3px; box-shadow: inset 0 0 0 1.5px #2c2c2f; overflow: hidden; }
.kod-device__screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 3px; }
.kod-device__screen::after { /* reflexo do vidro */ content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 38%); }
.kod-device__base { position: relative; width: 118%; margin-left: -9%; aspect-ratio: 100 / 3.2; background: linear-gradient(#d9d9db, #8e8e92); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.kod-device__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 45%; transform: translateX(-50%); background: #a9a9ad; border-radius: 0 0 8px 8px; }
.kod-scene--laptop .kod-device { width: 66%; translate: 0 4%; }
.kod-scene--monitor .kod-device { width: 64%; translate: 0 -3%; }
.kod-scene--monitor .kod-device__screen { padding: 1.5%; border-radius: 10px; }
.kod-device__stand { position: relative; width: 15%; margin: 0 auto; aspect-ratio: 1 / .85; background: linear-gradient(90deg, #77777b, #c9c9cc 50%, #77777b); }
.kod-device__stand::after { content: ""; position: absolute; left: 50%; bottom: -8%; width: 260%; height: 14%; transform: translateX(-50%); background: linear-gradient(#cfcfd2, #8a8a8e); border-radius: 6px 6px 3px 3px; }
.kod-work__item:hover .kod-device { scale: 1.035; }
.kod-work__item:hover .kod-scene__sun { scale: 1.08; }
.kod-work__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-top: 16px; font-size: 17px; }
.kod-work__cap strong { font-weight: 600; }
.kod-work__cap span { grid-column: 1; color: var(--k-muted); font-size: 15px; }
.kod-work__cap em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 14px; color: var(--k-muted); transition: color .3s; }
.kod-work__link:hover .kod-work__cap em, .kod-work__link:focus-visible .kod-work__cap em { color: var(--k-accent); }
.kod-work__item--end { width: min(40vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 28px; align-self: stretch; }
.kod-work__item--end p { font-family: var(--k-display); font-variation-settings: "wdth" 112; font-weight: 760; font-size: clamp(34px, 3.6vw, 60px); line-height: .98; letter-spacing: -.035em; }

/* ---------- 04 apps (cartão que vira app) ---------- */
.kod-app { position: relative; background: var(--k-bg); }
.kod-app__stage { position: relative; height: 100svh; overflow: hidden; }
.kod-app__word {
  position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); text-align: center; white-space: nowrap;
  font-family: var(--k-display); font-variation-settings: "wdth" 115; font-weight: 800; letter-spacing: -.04em; line-height: .8;
  color: var(--k-word); font-size: 18vw; user-select: none;
}
.kod-app__card { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.kod-phone {
  --pw: min(330px, 25vw, 38svh);
  position: absolute; z-index: 2; width: var(--pw); height: calc(var(--pw) * 2.06); left: calc(50% - var(--pw) / 2); top: 11svh;
  border-radius: calc(var(--pw) * .15); background: #050505; padding: calc(var(--pw) * .035);
  box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 50px 90px -30px rgba(0,0,0,.8); opacity: 0;
}
.kod-phone__island { position: absolute; z-index: 2; top: calc(var(--pw) * .06); left: 50%; width: 30%; height: calc(var(--pw) * .085); margin-left: -15%; border-radius: 999px; background: #000; }
.kod-phone__screen {
  position: relative; height: 100%; border-radius: calc(var(--pw) * .12); background: #111113; color: #f2efe9; overflow: hidden;
  padding: calc(var(--pw) * .2) calc(var(--pw) * .065) 0; font-size: calc(var(--pw) * .041); display: flex; flex-direction: column; gap: calc(var(--pw) * .045);
}
.kod-appui__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.kod-appui__head b { font-weight: 500; color: #a29e96; }
.kod-appui__slot { width: 100%; aspect-ratio: 85.6 / 54; border-radius: calc(var(--pw) * .04); }
.kod-appui__info p { font-size: 1em; color: #d9d5cd; }
.kod-appui__info small { display: block; margin-top: .6em; font-size: .82em; color: #8f8b84; }
.kod-appui__info strong { display: block; font-family: var(--k-display); font-variation-settings: "wdth" 100; font-weight: 680; font-size: 2.3em; letter-spacing: -.03em; line-height: 1.1; }
.kod-appui__bar { display: block; height: 4px; border-radius: 4px; background: #2a2a2d; margin-top: .6em; overflow: hidden; }
.kod-appui__bar i { display: block; height: 100%; width: 64%; background: var(--k-accent); border-radius: inherit; transform-origin: left; }
.kod-appui__actions { display: flex; justify-content: space-between; color: #a29e96; font-size: .9em; padding: .4em 0; }
.kod-appui__actions span { flex: 1; text-align: center; padding: .55em 0; border-radius: .6em; background: #1c1c1f; margin: 0 .2em; color: #f2efe9; }
.kod-appui__list li { display: flex; align-items: center; gap: .6em; padding: .75em 0; font-size: .92em; color: #d9d5cd; border-top: 1px solid #222225; }
.kod-appui__list li span { flex: 1; }
.kod-appui__list b { font-weight: 500; font-variant-numeric: tabular-nums; }
.kod-dot { width: .55em; height: .55em; border-radius: 50%; background: var(--k-accent); flex: none; }
.kod-app__hero, .kod-app__verso { position: absolute; z-index: 4; left: var(--k-gutter); right: var(--k-gutter); bottom: clamp(36px, 7svh, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.kod-app__title, .kod-app__big { font-size: clamp(28px, 3vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 520; }
.kod-specs { min-width: 0; width: min(380px, 34vw); font-size: 15px; }
.kod-specs li { padding: 12px 0; border-top: 1px solid var(--k-line); display: flex; align-items: center; gap: 12px; }
.kod-specs li:last-child { border-bottom: 1px solid var(--k-line); }
.kod-specs li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--k-accent); flex: none; }
.kod-app__verso { opacity: 0; visibility: hidden; }
.kod-app__dock { position: absolute; z-index: 4; left: var(--k-gutter); top: 50%; transform: translateY(-50%); width: min(30vw, 440px); display: flex; flex-direction: column; gap: 22px; opacity: 0; visibility: hidden; }
.kod-app__dockspecs { position: absolute; z-index: 4; right: var(--k-gutter); top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.kod-app__text { font-size: 18px; }
.kod-app__dock .kod-cta { align-self: flex-start; }
.kod-app__scroll { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 13px; color: var(--k-muted); font-variant-numeric: tabular-nums; }
.kod-app__scroll b { color: var(--k-ink); font-weight: 600; }
.kod-appui__in { opacity: 0; }

/* ---------- 05 vídeos (coverflow 9:16) ---------- */
.kod-videos { position: relative; padding: 140px 0 100px; background: var(--k-bg); overflow: hidden; }
.kod-videos::before { content: ""; position: absolute; left: 50%; top: 55%; width: 80vw; height: 60vh; transform: translate(-50%, -50%); background: radial-gradient(ellipse, color-mix(in srgb, var(--k-accent) 18%, transparent), transparent 70%); pointer-events: none; }
.kod-videos__head { position: relative; padding: 0 var(--k-gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.kod-videos__title { font-family: var(--k-display); font-variation-settings: "wdth" 112; font-weight: 760; font-size: clamp(36px, 4.4vw, 72px); line-height: .95; letter-spacing: -.035em; }
.kod-videos__lead { font-size: 18px; max-width: 26em; justify-self: end; }
.kod-cf { position: relative; margin-top: 40px; }
.kod-cf__stage { position: relative; height: clamp(440px, 70svh, 720px); display: flex; align-items: center; justify-content: center; perspective: 1100px; touch-action: pan-y; user-select: none; cursor: grab; }
.kod-cf__stage.is-drag { cursor: grabbing; }
.kod-cf__card {
  position: absolute; width: var(--cw, 280px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--k-bg2);
  transition: transform .7s var(--k-ease), opacity .5s; will-change: transform; padding: 0; color: #fff; text-align: left;
  box-shadow: 0 30px 60px -20px rgba(var(--k-shade), .8);
}
.kod-cf__stage.is-drag .kod-cf__card { transition: none; }
.kod-cf__card video, .kod-cf__card img, .kod-cf__card .kod-slate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.kod-cf__shade { position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); transition: opacity .4s; pointer-events: none; }
.kod-cf__watch {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 44px; padding: 0 18px; border-radius: 999px; background: var(--k-accent); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .3s, transform .4s var(--k-ease);
}
.kod-cf__card.is-on .kod-cf__watch { opacity: 1; }
.kod-cf__card.is-on:hover .kod-cf__watch { transform: translateX(-50%) scale(1.06); }
.kod-slate { display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: #161618; font-family: var(--k-mono); font-size: 12px; color: #a29e96; }
.kod-slate b { font-family: var(--k-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 64px; line-height: .85; letter-spacing: -.04em; color: #f2efe9; }
.kod-slate i { font-style: normal; color: var(--k-accent); }
.kod-slate .kod-slate__bars { display: flex; height: 18px; }
.kod-slate .kod-slate__bars span { flex: 1; background: repeating-linear-gradient(-45deg, #f2efe9 0 8px, #161618 8px 16px); }
.kod-cf__bottom { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px var(--k-gutter) 0; text-align: center; }
.kod-cf__info { min-height: 60px; }
.kod-cf__info h3 { font-size: 26px; font-weight: 560; letter-spacing: -.02em; }
.kod-cf__info p { font-size: 15px; color: var(--k-muted); margin-top: 4px; }
.kod-cf__dock { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 20px; border-radius: 999px; background: color-mix(in srgb, var(--k-bg2) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.kod-cf__pos { font-size: 13px; color: var(--k-muted); font-variant-numeric: tabular-nums; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--k-line); }
.kod-cf__pos b { color: var(--k-ink); font-weight: 600; }
.kod-cf__dock button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.kod-cf__dock button:hover { background: var(--k-bg3); }
.kod-cf__dock svg { width: 20px; height: 20px; }
.kod-cf__play { background: var(--k-bg3) !important; }
.kod-cf__play .kod-cf__ico-pause, .kod-cf__play[aria-pressed="true"] .kod-cf__ico-play { display: none; }
.kod-cf__play[aria-pressed="true"] .kod-cf__ico-pause { display: inline; }
.kod-cf__hint { font-size: 13px; color: var(--k-muted); }
.kod-cf__dialog { padding: 0; border: 0; border-radius: 20px; background: var(--k-bg2); color: var(--k-ink); width: min(440px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; }
.kod-cf__dialog::backdrop { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.kod-cf__dialog[open] { animation: kod-modal .4s var(--k-ease); }
@keyframes kod-modal { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.kod-cf__dpanel { padding: 12px; position: relative; }
.kod-cf__player { position: relative; aspect-ratio: 9 / 16; max-height: calc(100svh - 170px); margin: 0 auto; border-radius: 12px; overflow: hidden; background: #000; }
.kod-cf__player video, .kod-cf__player .kod-slate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.kod-cf__dialog.is-wide { width: min(960px, calc(100vw - 24px)); }
.kod-cf__dialog.is-wide .kod-cf__player { aspect-ratio: 16 / 9; }
.kod-cf__dpanel h3 { font-size: 20px; font-weight: 600; margin: 14px 4px 4px; }
.kod-cf__dpanel p { font-size: 14px; color: var(--k-muted); margin: 0 4px 6px; }
.kod-cf__close { position: absolute; z-index: 2; top: 22px; right: 22px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- contato ---------- */
.kod-contact { position: relative; padding: 160px var(--k-gutter) 140px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; background: var(--k-bg); }
.kod-contact__title { font-family: var(--k-display); font-variation-settings: "wdth" 112; font-weight: 760; font-size: clamp(44px, 6vw, 104px); line-height: .94; letter-spacing: -.04em; }
.kod-contact__side { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.kod-contact__side > p { font-size: 19px; max-width: 26em; }
.kod-contact__list { display: grid; gap: 6px; font-size: 18px; }
.kod-contact__list a { text-decoration: none; position: relative; }
.kod-contact__list a:hover { color: var(--k-accent); }

/* ---------- rodapé halftone ---------- */
.kod-foot { position: relative; height: 560px; overflow: hidden; isolation: isolate; container-type: inline-size; background: var(--k-bg); color: var(--k-ink); }
.kod-foot__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.kod-foot__top {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 24px;
  padding: clamp(22px, 3.4cqw, 40px) var(--k-gutter) 0; font-family: var(--k-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.85;
}
.kod-foot__brand strong { display: block; font-weight: 500; }
.kod-foot__brand span { opacity: .55; }
.kod-foot__col h3 { font: inherit; opacity: .45; font-weight: 500; }
.kod-foot__col a, .kod-foot__up {
  color: inherit; text-decoration: none; opacity: .85; font: inherit; letter-spacing: inherit; text-transform: inherit;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: opacity .25s, background-size .35s var(--k-ease); text-transform: none;
}
.kod-foot__col a:hover, .kod-foot__up:hover { opacity: 1; background-size: 100% 1px; color: var(--k-accent); }
.kod-foot__rule { position: relative; z-index: 1; display: flex; justify-content: flex-end; margin: clamp(18px, 2.6cqw, 30px) var(--k-gutter) 0; padding-top: 12px; border-top: 1px solid var(--k-line); font-family: var(--k-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.kod-foot__up { text-transform: uppercase; }
@container (max-width: 720px) {
  .kod-foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 18px; }
  .kod-foot__brand { grid-column: 1 / -1; }
}

/* ---------- botão flutuante ---------- */
.kod-float { position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transform: translateY(140%); opacity: 0; transition: transform .7s var(--k-ease), opacity .5s; }
.kod-float.is-on { transform: none; opacity: 1; }
.kod-float__bubble {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px 16px 4px 16px;
  background: var(--k-ink); color: var(--k-bg); font-size: 14px; font-weight: 500; transform-origin: bottom right;
  transform: scale(.4) translateY(20px); opacity: 0; pointer-events: none; transition: transform .6s var(--k-ease), opacity .3s;
}
.kod-float__bubble.is-on { transform: none; opacity: 1; pointer-events: auto; }
.kod-float__bubble button { width: 24px; height: 24px; border-radius: 50%; font-size: 16px; line-height: 1; opacity: .6; }
.kod-float__bubble button:hover { opacity: 1; }
.kod-float__btn {
  display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px; text-decoration: none;
  background: #121214; color: #f2efe9; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .5s var(--k-ease), box-shadow .4s;
}
.kod-float__btn:hover { box-shadow: 0 24px 50px -14px rgba(236, 91, 29, .55), inset 0 0 0 1px rgba(236,91,29,.6); }
.kod-float__avatar { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #070708; display: grid; place-items: center; flex: none; }
.kod-float__avatar img { width: 38px; height: auto; }
.kod-float__avatar::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--k-accent); border-right-color: var(--k-accent); animation: kod-rot 2.4s linear infinite; }
@keyframes kod-rot { to { transform: rotate(360deg); } }
.kod-float__online { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #2fd36b; box-shadow: 0 0 0 3px #121214; }
.kod-float__text { display: flex; flex-direction: column; line-height: 1.2; padding-right: 4px; }
.kod-float__text small { font-size: 11px; color: #a29e96; }
.kod-float__text span { font-size: 15px; font-weight: 600; white-space: nowrap; }
.kod-float__go { width: 46px; height: 46px; border-radius: 50%; background: var(--k-accent); color: #fff; display: grid; place-items: center; flex: none; transition: transform .5s var(--k-ease); }
.kod-float__go svg { width: 20px; height: 20px; }
.kod-float__btn:hover .kod-float__go { transform: rotate(45deg); }

/* ---------- celular e tablet ---------- */
@media (max-width: 1080px) {
  .kod-nav__links { display: none; }
}
@media (max-width: 900px) {
  .kod-hero { padding-top: 92px; align-items: flex-start; }
  .kod-hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 8px; }
  .kod-hero__portrait { --d: min(58vw, 30svh, 300px); grid-column: 1; grid-row: 1; }
  .kod-hero__text { grid-column: 1; grid-row: 2; justify-self: center; }
  .kod-hero__who { margin-bottom: 14px; }
  .kod-hero__title { font-size: clamp(34px, min(10.4vw, 6.6svh), 64px); }
  .kod-hero__lead { margin: 18px auto 0; }
  .kod-hero__actions { justify-content: center; margin-top: 28px; }
  .kod-hero__place { justify-content: center; margin-top: 24px; }
  .kod-hero::before { background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--k-bg) 40%, transparent) 30%, color-mix(in srgb, var(--k-bg) 92%, transparent) 50%, var(--k-bg) 100%); }
  .kod-rec__tc { top: calc(var(--d) * .2); font-size: 11px; }
  .kod-orbit span { width: 38px; height: 38px; left: -19px; top: -19px; }
  .kod-orbit span svg { width: 18px; height: 18px; }

  .kod-best { padding: 110px var(--k-gutter) 100px; }
  .kod-best__wrap { grid-template-columns: minmax(0, 1fr); }
  .kod-best__head, .kod-best__stage, .kod-best__desc, .kod-best__list { grid-column: 1; grid-row: auto; }
  .kod-best__stage { height: 300px; margin-top: 20px; }
  .kod-best__drum li { --w: 92%; height: 84px; margin-top: -42px; padding: 0 20px; gap: 16px; font-size: 20px; }
  .kod-best__drum li svg { width: 28px; height: 28px; }
  .kod-best__list { margin-top: 24px; }

  .kod-work__pin { height: auto; padding: 110px 0 80px; }
  .kod-work__head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kod-work__count { display: none; }
  .kod-work__track { margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; scroll-padding: var(--k-gutter); }
  .kod-work__track::-webkit-scrollbar { display: none; }
  .kod-work__item { width: 86vw; scroll-snap-align: start; }
  .kod-work__item--end { width: 70vw; }

  .kod-app__word { top: 30%; }
  .kod-phone { --pw: min(80vw, 360px); top: auto; bottom: calc(var(--pw) * -.55); }
  .kod-app__hero, .kod-app__verso { flex-direction: column; align-items: stretch; gap: 22px; bottom: 28px; }
  .kod-specs { width: 100%; font-size: 14px; }
  .kod-specs li { padding: 10px 0; }
  .kod-app__title, .kod-app__big { font-size: clamp(26px, 7vw, 36px); }
  .kod-app__dock { top: 88px; transform: none; width: auto; right: var(--k-gutter); gap: 16px; text-align: left; }
  .kod-app__dock .kod-app__text, .kod-app__dockspecs { display: none; }
  .kod-app__scroll { display: none; }

  .kod-videos { padding: 110px 0 80px; }
  .kod-videos__head { grid-template-columns: minmax(0, 1fr); }
  .kod-videos__lead { justify-self: start; }
  .kod-cf__stage { height: min(68svh, 560px); }

  .kod-contact { grid-template-columns: minmax(0, 1fr); padding: 120px var(--k-gutter) 100px; }
  .kod-foot { height: 440px; }
}
@media (max-width: 600px) {
  .kod-nav { height: 64px; }
  .kod-nav__brand span { display: none; }
  .kod-nav__brand img { width: 54px; }
  .kod-nav__cta { display: none; }
  .kod-cta { --h: 58px; font-size: 16px; gap: 10px; }
  .kod-float__text small { display: none; }
  .kod-float__text span { font-size: 14px; }
  .kod-float__avatar { width: 44px; height: 44px; }
  .kod-float__avatar img { width: 32px; }
  .kod-float__go { width: 42px; height: 42px; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .kod *, .kod *::before, .kod *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .kod-cta::before, .kod-cta__border { display: none; }
}
