/* ============================================================
   SALTO® MARKETING — Design System
   Hyperminimalism + Editorial Luxury · Preto / Branco / Cinza
   ============================================================ */

@layer reset, base, components, utilities;

/* ---------- TOKENS ---------- */
:root {
  /* Paleta monocromática */
  --black: #0a0a0a;
  --black-soft: #111111;
  --black-card: #161616;
  --white: #f5f5f2;
  --white-pure: #ffffff;
  --gray-100: #ededea;
  --gray-300: #b9b9b4;
  --gray-500: #8a8a85;
  --gray-700: #3a3a38;
  --gray-800: #232322;
  --line-dark: rgba(245, 245, 242, 0.12);
  --line-light: rgba(10, 10, 10, 0.12);

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Fraunces', serif;
  --font-body: 'Figtree', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Type scale fluida */
  --step--1: clamp(0.83rem, 0.76rem + 0.35vw, 1rem);
  --step-0: clamp(1rem, 0.91rem + 0.45vw, 1.25rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.75vw, 1.66rem);
  --step-2: clamp(1.56rem, 1.32rem + 1.2vw, 2.22rem);
  --step-3: clamp(1.95rem, 1.55rem + 2vw, 3rem);
  --step-4: clamp(2.44rem, 1.8rem + 3.2vw, 4.2rem);
  --step-5: clamp(3.05rem, 2rem + 5.25vw, 6rem);
  --step-hero: clamp(3.2rem, 1.6rem + 9vw, 9.5rem);

  /* Espaçamento fluido */
  --space-s: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  --space-l: clamp(2rem, 1.8rem + 1vw, 2.5rem);
  --space-xl: clamp(3rem, 2.7rem + 1.5vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4rem + 2.5vw, 6rem);
  --space-3xl: clamp(7rem, 6rem + 5vw, 11rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 20px;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  scrollbar-width: thin;
  scrollbar-color: var(--gray-700) transparent;
}

/* ---------- RESET ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  img, svg, canvas { display: block; max-width: 100%; }
  button, input, textarea { font: inherit; color: inherit; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
}

/* ---------- BASE ---------- */
@layer base {
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: 300;
    line-height: 1.6;
    background: var(--black);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }

  ::selection { background: var(--white); color: var(--black); }

  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 4px; }

  :focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
    border-radius: 3px;
  }
  .section--light :focus-visible { outline-color: var(--black); }
  :focus:not(:focus-visible) { outline: none; }

  em.serif-accent, .serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 380;
    letter-spacing: -0.01em;
    font-size: 1.15em;
    line-height: 0; /* não expande a linha ao crescer */
  }

  /* Efeito prateado em movimento (fundo escuro) */
  em.serif-accent, .serif-accent, .serif-accent .word {
    background-image: linear-gradient(105deg,
      #e8e8e4 0%, #8f8f8a 25%, #ffffff 48%, #9c9c97 70%, #e8e8e4 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: metal-sheen 6s ease-in-out infinite alternate;
  }

  /* Quando o SplitText divide em palavras, o gradiente vai para as
     palavras (senão o pai pintaria por cima do fade do scroll) */
  .serif-accent:has(.word) {
    background-image: none;
    animation: none;
  }

  /* As palavras precisam de altura própria: o line-height 0 herdado
     zeraria a área de pintura do gradiente */
  .serif-accent .word { line-height: 1.2; }

  /* Efeito preto com brilho (fundo claro) */
  .section--light .serif-accent,
  .section--light .serif-accent .word {
    background-image: linear-gradient(105deg,
      #0a0a0a 0%, #3e3e3b 28%, #75756f 48%, #2e2e2c 70%, #0a0a0a 100%);
  }
  .section--light .serif-accent:has(.word) { background-image: none; }

  @keyframes metal-sheen {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
  }

  section { position: relative; }
}

/* ---------- UTILITÁRIOS ---------- */
@layer utilities {
  .skip-link {
    position: absolute;
    top: -100%; left: 0;
    background: var(--white); color: var(--black);
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    font-weight: 500;
    transition: top 0.2s;
  }
  .skip-link:focus { top: 0; }

  .mono-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
  }

  .mono-label__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2.4s ease-in-out infinite;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: grid;
  place-items: center;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.preloader__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  overflow: hidden;
}
.preloader__counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-500);
  letter-spacing: 0.2em;
}

/* ============================================================
   CURSOR CUSTOMIZADO
   ============================================================ */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  translate: -50% -50%;
}

.cursor {
  width: 8px; height: 8px;
  background: var(--white);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 42px; height: 42px;
  border: 1px solid rgba(245, 245, 242, 0.4);
  mix-blend-mode: difference;
  display: grid;
  place-items: center;
  transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo),
              background-color 0.35s, border-color 0.35s;
}

.cursor-follower.is-active {
  width: 88px; height: 88px;
  background: var(--white);
  border-color: var(--white);
}

.cursor-follower__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor-follower.is-active .cursor-follower__label { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.5vw, 1.75rem) var(--gutter);
  mix-blend-mode: difference;
  transition: transform 0.5s var(--ease-out-expo);
}

.header.is-hidden { transform: translateY(-110%); }

.header__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.header__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  position: relative;
  padding: 0.25rem 0;
}

.header__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}
.header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  background: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease-out-expo);
}
.header__cta:hover { gap: 0.85rem; }

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.header__menu-btn span {
  width: 28px; height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s;
}
.header__menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (width < 768px) {
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }
}

/* ---------- MENU MOBILE ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  display: grid;
  place-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-smooth), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-menu__footer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-500);
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3xl) var(--gutter) var(--space-2xl);
  overflow: clip;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.hero__label { color: var(--gray-300); }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--step-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__title .serif-accent {
  text-transform: none;
  font-weight: 340;
  font-size: 1.22em;
  line-height: 0;
}

/* Mobile: garante que "marketing." caiba inteiro na tela */
@media (width < 640px) {
  .hero__title { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
}

.hero__dot { color: var(--gray-500); }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}

.hero__sub {
  max-width: 42ch;
  color: var(--gray-300);
  font-size: var(--step-0);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gray-500), transparent);
  animation: scroll-line 2s var(--ease-smooth) infinite;
  transform-origin: top;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (width < 900px) {
  .hero__scroll-hint { display: none; }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s,
              background-color 0.35s, transform 0.35s var(--ease-out-expo);
  will-change: transform;
}

.btn--primary {
  background: var(--white);
  color: var(--black);
}
.btn--primary:hover { background: var(--white-pure); transform: scale(1.03); }

.btn--ghost {
  border-color: var(--line-dark);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); }

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover { transform: scale(1.03); }

.btn--xl {
  padding: 1.25rem 2.75rem;
  font-size: 1.05rem;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  overflow: clip;
  background: var(--black-soft);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  white-space: nowrap;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gray-300);
}

.marquee__track i {
  font-style: normal;
  color: var(--gray-700);
  font-size: 0.85em;
}

/* ============================================================
   SEÇÕES — CABEÇALHOS
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  margin-bottom: var(--space-2xl);
}

.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.section--light {
  background: var(--gray-100);
  color: var(--black);
  border-radius: clamp(24px, 4vw, 48px);
  margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
}
.section--light .mono-label { color: var(--gray-700); }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: var(--space-3xl) var(--gutter);
  max-width: 1200px;
  margin-inline: auto;
}

.manifesto__label { margin-bottom: var(--space-l); }

.manifesto__text {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

.manifesto__text .word { opacity: 0.14; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services {
  padding: var(--space-3xl) var(--gutter);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.4rem);
}

.service-card {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
  grid-column: span 2;
  background: var(--white-pure);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo),
              border-color 0.3s;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.25);
}

.service-card--featured {
  grid-column: span 3;
  min-height: 420px;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.service-card__num {
  color: var(--gray-500);
}

.service-card__badge {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  color: var(--gray-300);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.service-card--featured .service-card__title {
  font-size: var(--step-3);
}

.service-card__desc {
  font-size: var(--step--1);
  color: var(--gray-500);
  max-width: 46ch;
}
.service-card--featured .service-card__desc { color: var(--gray-300); }

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.service-card__tags li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  color: var(--gray-300);
}

.service-card__partner {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-top: 0.35rem;
}

@media (width < 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card--featured { grid-column: span 2; min-height: 0; }
  .service-card--featured { min-height: 340px; }
}

@media (width >= 640px) and (width < 1024px) {
  .service-card:not(.service-card--featured) { grid-column: span 1; }
}

/* ============================================================
   SOBRE
   ============================================================ */
.about {
  padding: var(--space-3xl) var(--gutter);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  max-width: 1400px;
  margin-inline: auto;
}

.about__sticky {
  position: sticky;
  top: 15vh;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.about__portrait {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  margin-top: var(--space-l);
}

.about__portrait-initials {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-300);
}

.about__portrait-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed var(--gray-700);
  animation: spin-slow 24s linear infinite;
}

@keyframes spin-slow {
  to { rotate: 360deg; }
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  padding-top: var(--space-s);
}

.about__lead {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-s);
}
.about__lead .word { opacity: 0.14; }

.about__text {
  color: var(--gray-300);
  max-width: 58ch;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  margin-top: var(--space-l);
  padding-top: var(--space-l);
  border-top: 1px solid var(--line-dark);
}

.stat { display: flex; flex-direction: column; gap: 0.5rem; }

.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  max-width: 22ch;
}

.about__logos {
  margin-top: var(--space-l);
  gap: 1.25rem;
  color: var(--gray-500);
}
.about__logos i { font-style: normal; color: var(--gray-700); }

@media (width < 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__sticky { position: static; }
  .about__stats { grid-template-columns: 1fr 1fr; }
}

/* Telas estreitas: título do Sobre um pouco menor para não quebrar linha */
@media (width < 480px) {
  .about .section-title { font-size: clamp(2rem, 9.6vw, 2.5rem); }
}

/* ============================================================
   PROCESSO
   ============================================================ */
.process {
  padding: var(--space-3xl) var(--gutter);
  border-top: 1px solid var(--line-dark);
}

.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
  counter-reset: step;
}

.process__item {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.4s;
}
.process__item:hover { border-color: var(--white); }

.process__num { color: var(--gray-500); }

.process__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process__desc {
  font-size: var(--step--1);
  color: var(--gray-300);
  max-width: 34ch;
}

@media (width < 768px) {
  .process__list { grid-template-columns: 1fr; }
}

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.insights {
  padding: var(--space-3xl) var(--gutter);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.4rem);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white-pure);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  min-height: 320px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.25);
}

.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
}

.post-card__tag {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-light);
  border-radius: 99px;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.post-card__excerpt {
  font-size: var(--step--1);
  color: var(--gray-500);
}

.post-card__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.post-card__link::after {
  content: '→';
  transition: translate 0.3s var(--ease-out-expo);
}
.post-card:hover .post-card__link::after { translate: 6px 0; }

@media (width < 900px) {
  .insights__grid { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  padding: var(--space-3xl) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-l);
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.contact__sub {
  max-width: 46ch;
  color: var(--gray-300);
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: min(680px, 100%);
  margin-top: var(--space-m);
  text-align: left;
}

.field { position: relative; }
.field--full { grid-column: 1 / -1; }

.field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 1.1rem 0 0.8rem;
  color: var(--white);
  transition: border-color 0.3s;
}
.field input:focus {
  outline: none;
  border-color: var(--white);
}

.field label {
  position: absolute;
  left: 0;
  top: 1.1rem;
  color: var(--gray-500);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
  font-size: var(--step-0);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact__form .btn--xl {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: var(--space-s);
}

.contact__alt {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-s);
}

.contact__whats {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--gray-700);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.contact__whats:hover { border-color: var(--white); }

@media (width < 640px) {
  .contact__form { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-dark);
  padding: var(--space-2xl) var(--gutter) var(--space-l);
  overflow: clip;
}

.footer__giant {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 15.5vw, 15.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--black-card);
  -webkit-text-stroke: 1px var(--gray-800);
  user-select: none;
  margin-bottom: var(--space-xl);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.footer__nav a {
  color: var(--gray-300);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--white); }

.footer__top {
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  padding: 0.6rem 1.3rem;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.footer__top:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ============================================================
   BLOG (páginas internas)
   ============================================================ */
.blog-page {
  padding: calc(var(--space-3xl) + 2rem) var(--gutter) var(--space-3xl);
  max-width: 1200px;
  margin-inline: auto;
  min-height: 70vh;
}

.blog-page__title {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: var(--space-m) 0 var(--space-2xl);
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-l);
  padding: var(--space-l) 0;
  border-top: 1px solid var(--line-dark);
  transition: padding-left 0.4s var(--ease-out-expo);
}
.blog-list__item:hover { padding-left: 1rem; }
.blog-list__item:last-child { border-bottom: 1px solid var(--line-dark); }

.blog-list__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  min-width: 9ch;
}

.blog-list__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.blog-list__more {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  white-space: nowrap;
  transition: color 0.3s;
}
.blog-list__item:hover .blog-list__more { color: var(--white); }

@media (width < 640px) {
  .blog-list__item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- POST ---------- */
.post-page {
  padding: calc(var(--space-3xl) + 2rem) var(--gutter) var(--space-3xl);
  max-width: 760px;
  margin-inline: auto;
  min-height: 70vh;
}

.post-page__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: var(--space-m) 0 var(--space-l);
}

.post-page__content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: var(--gray-300);
  font-size: var(--step-0);
  line-height: 1.75;
}

.post-page__content h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: var(--space-m);
}

.post-page__content strong { color: var(--white); font-weight: 600; }

.post-page__content blockquote {
  border-left: 2px solid var(--white);
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--white);
}

.post-page__back {
  display: inline-flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  margin-bottom: var(--space-m);
  transition: color 0.3s;
}
.post-page__back:hover { color: var(--white); }

/* ============================================================
   ACESSIBILIDADE — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .manifesto__text .word,
  .about__lead .word { opacity: 1 !important; }
  .hero__canvas { display: none; }
}
