/* ============================================================
   Hatrix — Design System
   Style guide: style-guide.md
   ============================================================ */

@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("../fonts/ZalandoSansExpanded-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --ink:           #0A1012;
  --accent:        #ED580C;
  --accent-dark:   #DE6609;
  --accent-light:  #E8762E;
  --ember:         #E93012;
  --sand:          #CFC0AB;
  --cream:         #DFC8B6;
  --off-white:     #F9F9F9;
  --mute:          #646464;
  --line:          #333333;

  /* Glass */
  --glass-bg:      rgba(249, 249, 249, 0.025);
  --glass-bg-strong: rgba(249, 249, 249, 0.045);
  --glass-border:  rgba(249, 249, 249, 0.08)
  --glass-blur:    18px;

  /* Type */
  --font-display: "Agdasima", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* Layout */
  --max:          1240px;
  --gutter:       1.5rem;
  --gutter-lg:    2.5rem;

  /* Motion */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:     0.3s;
  --dur:          0.6s;
  --dur-slow:     1s;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 17px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

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

.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--accent); color: var(--off-white);
  padding: .75rem 1rem; border-radius: 6px; z-index: 100;
}
.skip-link:focus-visible { top: 1rem; }

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

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { .container { padding-inline: var(--gutter-lg); } }

/* ============================================================
   Glass surface
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
}

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(237, 88, 12, 0.7);
}

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1rem; height: 1rem; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.8rem; }

.btn--primary {
  background: var(--accent);
  color: var(--off-white);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
  border: 1px solid rgba(249, 249, 249, 0.18);
  color: var(--off-white);
}
.btn--ghost:hover { border-color: rgba(249, 249, 249, 0.55); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 16, 18, 0.65);
}
.nav__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .nav__inner { padding-inline: var(--gutter-lg); } }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.5rem;
}

.nav__logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
}

.nav__logo-text {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--off-white);
  min-width: 120px;
  display: inline-block;
}

.nav__links {
  display: none;
  gap: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(249, 249, 249, 0.7);
}
.nav__links a { transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover { color: var(--off-white); }
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-flex; border-color: rgba(237, 88, 12, 0.4); color: var(--accent); } }
.nav__cta:hover { background: var(--accent); color: var(--off-white); border-color: var(--accent); }

/* ---- Hamburger button ---- */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__burger:hover { background: rgba(249, 249, 249, 0.06); }
@media (min-width: 900px) { .nav__burger { display: none; } }

.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--off-white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Mobile nav panel ---- */
.nav__mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: rgba(10, 16, 18, 0.97);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid rgba(249, 249, 249, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav__mobile.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (min-width: 900px) { .nav__mobile { display: none; } }

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 2.5rem;
}
.nav__mobile li a {
  display: block;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  color: rgba(249, 249, 249, 0.65);
  transition: color var(--dur-fast) var(--ease-out);
  text-align: center;
}
.nav__mobile li a:hover { color: var(--off-white); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10, 16, 18, 0.45) 0%, rgba(10, 16, 18, 0) 30%, rgba(10, 16, 18, 0) 65%, var(--ink) 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(10, 16, 18, 0) 0%, rgba(10, 16, 18, 0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(5rem, 14svh, 9rem) var(--gutter) clamp(2.5rem, 6svh, 4rem);
}
@media (min-width: 768px) {
  .hero__content {
    padding: clamp(5.5rem, 11svh, 9rem) var(--gutter-lg) clamp(3rem, 6svh, 5rem);
  }
}

.hero__title {
  margin-top: clamp(1rem, 2.5svh, 1.5rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, min(11vw, 14svh), 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--off-white);
  max-width: 1100px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.12em 0 0.18em;
  margin: -0.12em 0 -0.18em;
}
.hero__title .line__inner {
  display: inline-block;
  will-change: transform, opacity;
  max-width: 100%;
}

.hero__lead {
  margin-top: clamp(1.25rem, 3svh, 2rem);
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(249, 249, 249, 0.72);
}

.hero__cta {
  margin-top: clamp(1.75rem, 4svh, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 560px) { .hero__cta { flex-direction: row; } }

@media (max-width: 430px) and (min-height: 750px) {
  .hero__title {
    font-size: clamp(3.5rem, 8svh, 6rem);
  }
  .hero__cta {
    margin-top: clamp(1.75rem, 5svh, 3rem);
  }
}

@media (max-height: 730px) { .hero__scroll { display: none; } }

.hero__scroll {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.45);
}

@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero__scroll {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: auto;
    padding-bottom: 2rem;
    align-self: center;
  }
}
.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: rgba(249, 249, 249, 0.4);
  animation: scrollHint 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3) translateY(0); opacity: 0.4; }
  50% { transform: scaleY(1) translateY(8px); opacity: 1; }
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  position: sticky;
  top: 64px;
  z-index: 40;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  background: var(--ink);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  color: rgba(249, 249, 249, 0.4);
}
.ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ============================================================
   Section base
   ============================================================ */
.section {
  position: relative;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--ink);
}
@media (min-width: 1024px) { .section { padding: 4rem 0; } }

.section__header {
  max-width: 720px;
  margin-bottom: 6rem;
}
.section__header--center {
  text-align: center;
  margin-inline: auto;
}
.section__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  color: var(--off-white);
}
.section__lead {
  margin-top: 1.5rem;
  max-width: 520px;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.6);
  line-height: 1.65;
}

/* ============================================================
   Grid
   ============================================================ */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Card
   ============================================================ */
.card {
  position: relative;
  padding: 2.5rem;
  border-radius: 16px;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(249, 249, 249, 0.15);
  transform: translateY(-2px);
}
@media (min-width: 1024px) { .card { padding: 3rem; } }
.card__icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 2rem; }
.card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.card__desc {
  color: rgba(249, 249, 249, 0.62);
  font-weight: 400;
  max-width: 36ch;
  line-height: 1.65;
}
.card__rule {
  display: block;
  height: 1px;
  width: 48px;
  margin-top: 2.5rem;
  background: rgba(237, 88, 12, 0.5);
  transition: width var(--dur-slow) var(--ease-out);
}
.card:hover .card__rule { width: 112px; }

.card--feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(249, 249, 249, 0.02);
  border: 1px solid rgba(249, 249, 249, 0.07);
  overflow: hidden;
}
.card--feature::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(237, 88, 12, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
}
.card--feature:hover::after { opacity: 1; }
.card--feature:hover {
  background: rgba(249, 249, 249, 0.032);
  border-color: rgba(249, 249, 249, 0.12);
  transform: translateY(-4px);
}
.card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(237, 88, 12, 0.1);
  border: 1px solid rgba(237, 88, 12, 0.22);
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}
.card--feature .card__icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0;
}
.card--feature .card__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.card--feature .card__desc {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 26ch;
  margin-inline: auto;
}
.card--feature .card__rule {
  margin-inline: auto;
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 6rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  color: var(--off-white);
  line-height: 1;
}
.stat__label {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(249, 249, 249, 0.5);
  letter-spacing: 0.02em;
}

/* ============================================================
   Sectors list
   ============================================================ */
.sectors { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
.sector:hover { background: rgba(255, 255, 255, 0.02); padding-left: 1.25rem; }
.sector__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  color: var(--off-white);
  transition: color var(--dur) var(--ease-out);
}
.sector:hover .sector__name { color: var(--accent); }
.sector__app {
  display: none;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.5);
  max-width: 420px;
  text-align: right;
}
@media (min-width: 768px) { .sector__app { display: block; } }

/* ============================================================
   Process + Testimonials — wrapper compartilhado para o canvas neuro
   ============================================================ */
.process-testi-wrap {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* canvas filho de #process, com bleed de 380px no fundo que entra nos depoimentos.
   z-index:1 no contexto do wrapper (isolation:isolate) pinta acima do fundo sólido
   da seção de depoimentos, permitindo que os cantos bl/br do shader apareçam lá. */
.process__wave-canvas {
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  bottom: -380px;
  width: 100%;
  height: calc(100% + 500px);
  pointer-events: none;
  z-index: 1;
  filter: blur(28px);
  mix-blend-mode: screen;
  opacity: 0.85;
  /* sólido durante o método; dissolução começa no fim do método e vai até o fim do bleed */
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 68%, transparent 100%);
}

/* ============================================================
   Process section — corner blobs
   ============================================================ */
#process {
  position: relative;
}

/* containers acima do canvas */
#process .container,
.process-testi-wrap > .section:last-child > .container {
  position: relative;
  z-index: 2;
}

/* ============================================================
   Steps (Process)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step__n {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.step__bar {
  position: relative;
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.step__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}
.step__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.6);
  line-height: 1.65;
}

/* ============================================================
   Process Card Stack
   ============================================================ */
.process-stack {
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

.process-stack__stage {
  position: relative;
  height: clamp(200px, 34vw, 300px);
  perspective: 1100px;
  perspective-origin: 50% 100%;
  touch-action: pan-y;
}

.process-stack__card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(280px, 82vw, 480px);
  height: clamp(190px, 26vw, 280px);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  background: rgba(249, 249, 249, 0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(249, 249, 249, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s var(--ease-out);
}

.process-stack__card.is-active {
  cursor: grab;
  box-shadow: 0 0 0 1px rgba(237, 88, 12, 0.35), 0 20px 48px rgba(0, 0, 0, 0.5);
}

.process-stack__card.is-active:active {
  cursor: grabbing;
}

.process-stack__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.process-stack__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: var(--off-white);
  margin-top: 0.6rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.process-stack__desc {
  margin-top: 0.65rem;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 300;
  color: rgba(249, 249, 249, 0.62);
  line-height: 1.55;
  flex: 1;
}

.process-stack__bar {
  display: block;
  margin-top: 1.25rem;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 1px;
  flex-shrink: 0;
}

.process-stack__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.process-stack__dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(249, 249, 249, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.process-stack__dots button.is-active {
  background: var(--accent);
  transform: scale(1.4);
}

.process-stack__dots button:hover:not(.is-active) {
  background: rgba(249, 249, 249, 0.5);
}

/* ============================================================
   Quote (Testimonials)
   ============================================================ */
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  min-height: 320px;
  border-radius: 16px;
}
@media (min-width: 1024px) { .quote { padding: 3rem; } }
.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.quote__text {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(249, 249, 249, 0.88);
}
.quote__author {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.quote__name { color: var(--off-white); font-size: 0.9rem; }
.quote__role { color: rgba(249, 249, 249, 0.5); font-size: 0.78rem; }

/* ============================================================
   Testimonials — Stacked Cards
   ============================================================ */
.tstack {
  display: grid;
  grid-template-areas: 'stack';
  place-items: start;
  width: fit-content;
  margin: 3rem auto 8rem;
  padding-right: 8rem;
}

.tcard {
  grid-area: stack;
  width: min(360px, 82vw);
  min-height: 172px;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(22, 30, 34, 0.92);
  border: 1px solid rgba(249, 249, 249, 0.1);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  transform: skewY(-8deg) translate(0, 0);
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Stack depth */
.tcard[data-card="1"] { transform: skewY(-8deg) translate(4rem, 2.5rem); }
.tcard[data-card="2"] { transform: skewY(-8deg) translate(8rem, 5rem); }

/* Mobile: translações contidas para não ultrapassar o viewport */
@media (max-width: 599px) {
  .tstack {
    width: fit-content;
    padding-right: 3rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6rem;
  }

  .tcard {
    width: min(280px, 72vw);
  }

  .tcard[data-card="1"] { transform: skewY(-8deg) translate(1.5rem, 2rem); }
  .tcard[data-card="2"] { transform: skewY(-8deg) translate(3rem,   4rem); }

  /* Hover / touch reveal */
  [data-hover="0"] .tcard[data-card="0"] {
    transform: skewY(-8deg) translate(0, -3.5rem);
  }
  [data-hover="0"] .tcard[data-card="1"] { transform: skewY(-8deg) translate(2.5rem,  7rem); }
  [data-hover="0"] .tcard[data-card="2"] { transform: skewY(-8deg) translate(4.5rem, 11rem); }
  [data-hover="1"] .tcard[data-card="1"] {
    transform: skewY(-8deg) translate(1.5rem, 0.75rem);
  }
  [data-hover="1"] .tcard[data-card="2"] { transform: skewY(-8deg) translate(4rem, 8.5rem); }
  [data-hover="2"] .tcard[data-card="2"] {
    transform: skewY(-8deg) translate(3rem, 0.75rem);
  }
}

/* Dark overlay on back cards */
.tcard[data-card="0"]::before,
.tcard[data-card="1"]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(10, 16, 18, 0.7);
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

/* Grayscale on back cards */
.tcard[data-card="0"],
.tcard[data-card="1"] { filter: grayscale(1); }

/* — Hover: own card rises and reveals — */
[data-hover="0"] .tcard[data-card="0"] {
  transform: skewY(-8deg) translate(0, -4rem);
  filter: grayscale(0);
}
[data-hover="0"] .tcard[data-card="0"]::before { opacity: 0; }

[data-hover="1"] .tcard[data-card="1"] {
  transform: skewY(-8deg) translate(4rem, 1rem);
  filter: grayscale(0);
}
[data-hover="1"] .tcard[data-card="1"]::before { opacity: 0; }

[data-hover="2"] .tcard[data-card="2"] {
  transform: skewY(-8deg) translate(8rem, 1rem);
}

/* — Hover: push cards in front further to reveal back card — */
[data-hover="0"] .tcard[data-card="1"] { transform: skewY(-8deg) translate(8rem, 11rem); }
[data-hover="0"] .tcard[data-card="2"] { transform: skewY(-8deg) translate(14rem, 16rem); }
[data-hover="1"] .tcard[data-card="2"] { transform: skewY(-8deg) translate(13rem, 13rem); }

/* Inner elements */
.tcard__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.tcard__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--ember));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--off-white);
  flex-shrink: 0;
}

.tcard__info { flex: 1; min-width: 0; }

.tcard__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--off-white);
  line-height: 1.3;
}

.tcard__handle {
  display: block;
  font-size: 0.875rem;
  color: rgba(249, 249, 249, 0.45);
}

.tcard__x {
  width: 1rem;
  height: 1rem;
  color: rgba(249, 249, 249, 0.35);
  flex-shrink: 0;
}

.tcard__body {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(249, 249, 249, 0.8);
  font-weight: 300;
  position: relative;
  z-index: 2;
  margin-bottom: 0.75rem;
}

.tcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.tcard__date { font-size: 0.82rem; color: rgba(249, 249, 249, 0.3); }

.tcard__likes {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: rgba(249, 249, 249, 0.35);
}
.tcard__likes svg { width: 0.85rem; height: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  .tcard { transition: none; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1.4fr; gap: 7rem; }
}

.contact-info__header { margin-bottom: 3rem; }

.contact-channels__heading {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.4);
  margin-bottom: 1.75rem;
}
.contact-channels__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-channels__list li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-channels__key {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-channels__val {
  font-size: 0.975rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.78);
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-channels__val:hover { color: var(--off-white); }

/* ---- Form ---- */
.contact-form-wrap {
  padding: 2.5rem;
  border-radius: 16px;
}
@media (min-width: 768px) { .contact-form-wrap { padding: 3rem; } }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .contact-form__row { grid-template-columns: 1fr; } }

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

.contact-form__label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(249, 249, 249, 0.5);
}
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: rgba(249, 249, 249, 0.04);
  border: 1px solid rgba(249, 249, 249, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--off-white);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  outline: none;
  -webkit-appearance: none;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(249, 249, 249, 0.22);
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: rgba(237, 88, 12, 0.55);
  background: rgba(249, 249, 249, 0.065);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 128px;
  font-family: var(--font-body);
  line-height: 1.6;
}
.contact-form__submit { width: 100%; margin-top: 0.25rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 1024px) { .cta { padding: 12rem 0; } }
.cta__tubes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  filter: saturate(0.8) brightness(0.75);
}

.cta__glow {
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(237, 88, 12, 0.1);
  filter: blur(180px);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; max-width: 960px; }
.cta__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.98;
  color: var(--off-white);
}
.cta__lead {
  margin-top: 2rem;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.6);
  max-width: 540px;
  margin-inline: auto;
}
.cta__buttons {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 560px) { .cta__buttons { flex-direction: row; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  padding: 0;
}

.footer__card {
  position: relative;
  max-width: calc(var(--max) + 4rem);
  margin-inline: auto;
  background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, 0.055), transparent);
  padding: 3.5rem 0 3.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .footer__card { padding: 5rem 0 4rem; }
}

.footer__glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 30%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.footer__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .footer__body { grid-template-columns: 1fr 2fr; align-items: start; gap: 3rem; }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo-img { height: 2.25rem; width: auto; display: block; }

.footer__logo-text {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--off-white);
}

.footer__tag {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.5);
  line-height: 1.65;
  max-width: 300px;
}

.footer__copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.32);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}
@media (min-width: 768px) {
  .footer__cols { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249, 249, 249, 0.4);
  margin-bottom: 1.25rem;
}

.footer__cols ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__cols a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.65);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__cols a:hover { color: var(--off-white); }

.footer__social-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-radius: 14px;
  background: rgba(10, 16, 18, 0.96);
  border: 1px solid rgba(249, 249, 249, 0.1);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  max-width: 340px;
  width: calc(100vw - 3rem);
  transform: translateY(calc(100% + 2.5rem));
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(237, 88, 12, 0.15);
  border: 1px solid rgba(237, 88, 12, 0.3);
  color: var(--accent);
  flex-shrink: 0;
}
.toast__icon svg { width: 1rem; height: 1rem; }
.toast__content { flex: 1; min-width: 0; }
.toast__title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.3;
}
.toast__desc {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.55);
}
.toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(249, 249, 249, 0.4);
  flex-shrink: 0;
  border-radius: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.toast__close svg { width: 0.85rem; height: 0.85rem; }
.toast__close:hover { color: var(--off-white); }

/* ============================================================
   Reveal initial states (only when JS available)
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}
.js .hero__title .line__inner {
  transform: translateY(110%);
}

/* ============================================================
   WhatsApp FAB
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.25);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), padding 0.25s var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
}

.wa-fab__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wa-fab__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.3s var(--ease-out), opacity 0.25s var(--ease-out);
}

.wa-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.2);
}

.wa-fab:hover .wa-fab__label {
  max-width: 180px;
  opacity: 1;
}

/* Mobile: label sempre visível, menor padding */
@media (max-width: 559px) {
  .wa-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.85rem;
    border-radius: 50%;
  }
  .wa-fab__label { display: none; }
}

/* ============================================================
   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;
  }
  .js [data-reveal],
  .js .hero__title .line__inner {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__scroll-line { animation: none; }
}
