/* ==========================================================================
   STIFF CONSULTORIA — home
   Design system extraído do build original para manter continuidade visual.
   Tokens idênticos aos do site atual.
   ========================================================================== */

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

:root {
  --color-cyan: #16caf5;
  --color-ice: #eaf3f8;
  --color-void: #070b12;
  --color-ink: #e7edf6;
  --color-muted: #9aa9bd;
  --color-faint: #74839a;

  --line: #e7edf617;
  --line-strong: #e7edf62b;
  --line-cyan: #16caf552;

  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 68px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--color-void);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--color-cyan);
  color: #041c26;
}

/* ------------------------------------------------------------- estrutura */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: var(--color-ink);
  color: var(--color-void);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ------------------------------------------------------------ tipografia */

.t-display {
  font-size: clamp(2.125rem, 6.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

.t-h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

.t-h3 {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 640;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
}

.t-lede {
  color: var(--color-muted);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
  text-wrap: pretty;
  margin: 0;
}

.t-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin: 0;
}

.t-label::before {
  content: "";
  flex: none;
  width: 22px;
  height: 1px;
  margin-top: 0.55em;
  background: var(--line-strong);
}

.grad-text {
  background: linear-gradient(96deg, #8ce6ff 0%, #16caf5 42%, #1278c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 22px;
  border-radius: 999px;
  border: 1px solid var(--btn-bd, var(--line-strong));
  background: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--color-ink));
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out-soft),
    background-color 0.15s var(--ease-out-soft),
    box-shadow 0.15s var(--ease-out-soft),
    border-color 0.15s var(--ease-out-soft);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.btn--wa {
  --btn-bg: linear-gradient(180deg, #2ee06f, #21c95c);
  --btn-fg: #04160c;
  --btn-bd: #25d3668c;
  font-weight: 620;
  box-shadow: inset 0 1px #ffffff47, 0 10px 26px -12px #25d3668c;
}

.btn--wa:hover {
  box-shadow: inset 0 1px #ffffff57, 0 14px 32px -10px #25d366a6;
}

.btn--ghost {
  --btn-bg: #e7edf60b;
  --btn-bd: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: #e7edf616;
  border-color: #e7edf647;
}

.btn--cyan {
  --btn-bg: linear-gradient(180deg, #23d6ff, #0fb4de);
  --btn-fg: #041c26;
  --btn-bd: #16caf58c;
  font-weight: 640;
  box-shadow: inset 0 1px #ffffff52, 0 10px 26px -12px #16caf58c;
}

.btn--lg {
  height: 52px;
  padding-inline: 28px;
  font-size: 1rem;
}

/* ----------------------------------------------------------------- card */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(#ffffff0a, #ffffff02), #1017228c;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s var(--ease-out-soft),
    transform 0.2s var(--ease-out-soft),
    background-color 0.2s var(--ease-out-soft);
}

/* --------------------------------------------------------------- header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 11, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 18px;
  height: 27px;
}

.brand__txt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
  color: var(--color-ink);
  background: #e7edf60a;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header .btn {
  height: 44px;
  padding-inline: 16px;
  font-size: 0.875rem;
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }
  .header__actions {
    margin-left: 0;
  }
}

@media (max-width: 979px) {
  .nav {
    display: none;
  }
}

/* ---------------------------------------------------------- animação */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out-soft);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}
