/* ==========================================================================
   Kazama Studios — site institucional
   Sem build: CSS puro. Tokens no :root, componentes em ordem de página.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cor */
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #17171a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ededef;
  --muted: #a0a0a9;
  --dim: #7e7e88;
  --accent: #c8f25c; /* cor própria da Kazama: verde-lima */
  --accent-ink: #0a0a0b;

  /* Tipografia */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

@media (min-width: 1800px) {
  :root {
    --container: 1400px;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Rótulo técnico em mono: usado em eyebrows, números e metadados */
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.label--accent {
  color: var(--accent);
}

.label--head {
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Botões e links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 550;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link:hover svg {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

  .nav .btn {
    min-height: 48px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 128px);
  overflow: clip;
}

/* Malha discreta de fundo: desenho técnico, não enfeite */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--dim);
}

.hero__lead {
  max-width: 56ch;
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

/* Palco: três telas reais dos produtos */
.stage {
  --center-w: 60%;
  --side-w: 44%;
  --side-shift: 0%;
  position: relative;
  aspect-ratio: 1 / 0.3375; /* altura = 60% da largura em 16:9 */
  margin-top: clamp(48px, 7vw, 104px);
}

.stage__shot {
  position: absolute;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
}

.stage__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage__shot--center {
  z-index: 2;
  top: 0;
  left: 50%;
  width: var(--center-w);
  transform: translateX(-50%);
}

.stage__shot--left,
.stage__shot--right {
  z-index: 1;
  top: 13%;
  width: var(--side-w);
}

.stage__shot--left img,
.stage__shot--right img {
  opacity: 0.55;
}

.stage__shot--left {
  left: var(--side-shift);
  transform-origin: left center;
  transform: perspective(1600px) rotateY(16deg);
}

.stage__shot--right {
  right: var(--side-shift);
  transform-origin: right center;
  transform: perspective(1600px) rotateY(-16deg);
}

.stage__shot--right img {
  object-position: left center;
}

@media (max-width: 700px) {
  .stage {
    --center-w: 84%;
    --side-w: 60%;
    --side-shift: -12%;
    aspect-ratio: 1 / 0.4725;
  }

  .stage__shot {
    border-radius: var(--radius-sm);
  }
}

/* Índice dos produtos logo abaixo do palco */
.index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.index__item {
  display: grid;
  gap: 6px;
  padding: 22px 24px 26px 0;
  transition: color 0.2s var(--ease);
}

.index__item + .index__item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.index__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.index__kind {
  font-size: 0.9rem;
  color: var(--muted);
}

.index__item:hover .index__name {
  color: var(--accent);
}

@media (max-width: 700px) {
  .index {
    grid-template-columns: 1fr;
  }

  .index__item {
    grid-template-columns: 2.5rem 1fr;
    align-items: baseline;
    padding: 16px 0;
  }

  .index__item + .index__item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .index__kind {
    grid-column: 2;
  }
}

/* Entrada do hero: só CSS, funciona sem JavaScript */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .stage {
    animation: rise 0.9s var(--ease) both;
  }

  .hero__title {
    animation-delay: 0.06s;
  }

  .hero__lead {
    animation-delay: 0.14s;
  }

  .hero__actions {
    animation-delay: 0.2s;
  }

  .stage {
    animation-delay: 0.3s;
    animation-duration: 1.2s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(80px, 11vw, 168px);
}

.section--tight-bottom {
  padding-bottom: 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section__title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section__title .label {
  display: block;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.section__lead {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Produtos
   -------------------------------------------------------------------------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 104px);
  border-top: 1px solid var(--line);
}

.product:last-child {
  padding-bottom: 0;
}

.product--flip {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.product--flip .product__media {
  order: 2;
}

.product__media {
  display: grid;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.frame--main {
  aspect-ratio: 16 / 9;
}

.frame--left img {
  object-position: left center;
}

a.frame--main:hover img {
  transform: scale(1.02);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.thumbs .frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  border-color: var(--line);
}

.thumbs .frame img {
  object-position: top center;
}

.thumbs figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--dim);
}

.product__body {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text);
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.status--dev::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.product__name {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.product__tagline {
  margin-top: 14px;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

.product__desc {
  margin-top: 16px;
  color: var(--muted);
  text-wrap: pretty;
}

.features {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.features li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text);
}

.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 0.875rem;
}

.specs dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 2px;
}

.specs dd {
  color: var(--muted);
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.product__note {
  margin-top: 20px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--dim);
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
  }

  .product--flip .product__media {
    order: 0;
  }

  .product__body,
  .product__media {
    position: static;
  }
}

@media (max-width: 520px) {
  .thumbs {
    gap: 8px;
  }

  .thumbs figcaption {
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */

.about {
  border-top: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
}

.about__text {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.0625rem;
}

.about__text strong {
  color: var(--text);
  font-weight: 550;
}

.areas {
  border-bottom: 1px solid var(--line);
}

.area {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 4px 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.area__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.area__num {
  padding-top: 6px;
}

.area__desc {
  grid-column: 2;
  max-width: 54ch;
  color: var(--muted);
}

@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Filosofia
   -------------------------------------------------------------------------- */

.philosophy {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.philosophy__title {
  max-width: 12ch;
  font-size: clamp(2.75rem, 8.4vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.philosophy__title em {
  font-style: normal;
  color: var(--accent);
}

.philosophy__lead {
  max-width: 58ch;
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--muted);
  text-wrap: pretty;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line-strong);
}

.principle {
  padding: 28px 28px 0 0;
}

.principle + .principle {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.principle__title {
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.principle__desc {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle {
    padding: 28px 28px 32px 0;
  }

  .principle:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .principle:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .principle__title {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .principles {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle {
    padding: 24px 0 28px;
    border-left: 0;
  }

  .principle + .principle {
    border-top: 1px solid var(--line);
  }

  .principle__title {
    margin-top: 14px;
  }
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */

.contact {
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px clamp(32px, 5vw, 80px);
  align-items: end;
}

.contact__title {
  max-width: 14ch;
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.contact__lead {
  max-width: 44ch;
  margin-top: 24px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.contact__mail {
  display: inline-block;
  margin-top: 32px;
  font-size: clamp(1.125rem, 2.4vw, 1.75rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact__mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.company {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.company__list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.company__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.company__row dt {
  color: var(--dim);
}

.company__row dd {
  color: var(--text);
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 420px) {
  .company {
    padding: 20px;
  }

  .company__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: clamp(80px, 11vw, 168px);
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--dim);
}

.footer .brand {
  color: var(--text);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}

.footer__legal {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  line-height: 1.6;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 72px;
}

.footer__col h2 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Páginas de texto (privacidade, termos, 404)
   -------------------------------------------------------------------------- */

.doc {
  padding-top: clamp(56px, 8vw, 112px);
}

.doc__inner {
  max-width: 760px;
}

.doc__title {
  margin-top: 16px;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.doc__updated {
  margin-top: 20px;
  color: var(--dim);
  font-size: 0.9375rem;
}

.prose {
  margin-top: clamp(40px, 5vw, 64px);
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose h2 {
  margin: 56px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text);
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 16px;
}

.prose ul {
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
}

.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.prose a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.prose strong {
  color: var(--text);
  font-weight: 550;
}

.notfound {
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--header-h) - 260px);
  padding-block: 80px;
}

.notfound__code {
  font-size: clamp(5rem, 20vw, 14rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--surface-2);
}

.notfound p {
  max-width: 44ch;
  margin: 24px 0 32px;
  font-size: 1.125rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Revelação ao rolar (só com JS; sem JS o conteúdo já aparece)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    translate: 0 20px;
    transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header,
  .stage,
  .nav-toggle {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   Logo oficial
   -------------------------------------------------------------------------- */

.brand__logo {
  width: auto;
  height: 40px;
}

.brand--full .brand__logo {
  height: 52px;
}

.contact__logo {
  justify-self: end;
  width: min(100%, 420px);
  opacity: 0.92;
}

@media (max-width: 860px) {
  .contact__logo {
    justify-self: start;
    width: min(70%, 300px);
  }
}

/* --------------------------------------------------------------------------
   Produtos em abas + galeria
   Sem JS: os três produtos aparecem em sequência e a galeria mostra a 1ª imagem.
   -------------------------------------------------------------------------- */

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tabs[hidden] {
  display: none;
}

.tab {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 24px 24px 0;
  border: 0;
  background: none;
  color: var(--dim);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.tab + .tab {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.tab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.tab[aria-selected="true"]::before {
  transform: scaleX(1);
}

.tab .label {
  color: inherit;
}

.tab__name {
  font-size: clamp(1.0625rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.tab__kind {
  font-size: 0.9rem;
}

.tab:hover,
.tab[aria-selected="true"] {
  color: var(--text);
}

.tab[aria-selected="true"] .label {
  color: var(--accent);
}

.tab[aria-selected="true"] .tab__kind,
.tab:hover .tab__kind {
  color: var(--muted);
}

@media (max-width: 600px) {
  .tab,
  .tab + .tab {
    padding: 14px 10px 16px 0;
  }

  .tab + .tab {
    padding-left: 10px;
  }

  .tab__kind {
    display: none;
  }
}

.js .products .product {
  border-top: 0;
  padding-block: clamp(32px, 5vw, 64px) 0;
}

.product[hidden] {
  display: none;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery__stage {
  display: grid;
}

.gallery__slide {
  grid-area: 1 / 1;
  display: none;
}

.gallery__slide.is-active {
  display: block;
}

.gallery__slide--left {
  object-position: left center;
}

.gallery__slide--top {
  object-position: top center;
}

.js .gallery__slide {
  display: block;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.js .gallery__slide.is-active {
  opacity: 1;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery__thumb {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dim);
  font: inherit;
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.gallery__thumb .frame {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  border-color: var(--line);
  transition: border-color 0.2s var(--ease);
}

.gallery__thumb .frame img {
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}

.gallery__thumb:hover .frame img,
.gallery__thumb.is-active .frame img {
  opacity: 1;
}

.gallery__thumb.is-active,
.gallery__thumb:hover {
  color: var(--text);
}

.gallery__thumb.is-active .frame {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Barra de tempo da imagem atual */
.gallery__thumb .frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.gallery.is-playing .gallery__thumb.is-active .frame::after {
  animation: gallery-progress 5s linear forwards;
}

.gallery.is-paused .gallery__thumb.is-active .frame::after {
  animation-play-state: paused;
}

@keyframes gallery-progress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 520px) {
  .gallery__thumbs {
    gap: 8px;
  }

  .gallery__thumb {
    font-size: 0.6875rem;
  }
}
