/* ============================================================
   FIRMAMENT DIGITAL — Stylesheet
   Paleta: #041127 · #032c60 · #00C2FF · #FFFFFF
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #041127;
  --bg2:       #032c60;
  --cyan:      #00C2FF;
  --cyan-dim:  rgba(0,194,255,0.12);
  --cyan-glow: rgba(0,194,255,0.35);
  --white:     #FFFFFF;
  --white-70:  rgba(255,255,255,0.70);
  --white-40:  rgba(255,255,255,0.40);
  --white-15:  rgba(255,255,255,0.08);
  --glass-bg:  rgba(3,44,96,0.38);
  --glass-brd: rgba(0,194,255,0.14);
  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 8px 32px rgba(0,0,0,0.45);
  --ff-head:   'Space Grotesk', sans-serif;
  --ff-body:   'Inter', sans-serif;
  --ff-mono:   'Roboto Mono', monospace;
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── UTILITY ──────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(90deg, var(--cyan) 0%, #a0e9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan { color: var(--cyan); }
.tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
  border: 1px solid var(--glass-brd);
  border-radius: 4px;
  padding: 3px 10px;
  margin-top: auto;
}
.section-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-sub {
  color: var(--white-70);
  font-size: 1.05rem;
}
.section-header { margin-bottom: 3.5rem; }

/* ── GLASS CARD ───────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease, background .35s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%, rgba(0,194,255,0.04) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  border-radius: inherit;
}
.glass-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: skewX(-15deg) translateX(-100%);
  transition: transform .7s ease;
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(0,194,255,.45);
  box-shadow: 0 12px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(0,194,255,.15), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-3px);
  background: rgba(3,44,96,0.52);
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card:hover::after {
  transform: skewX(-15deg) translateX(280%);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  padding: 13px 26px;
  box-shadow: 0 0 0 rgba(0,194,255,0);
}
.btn-primary:hover {
  box-shadow: 0 0 28px var(--cyan-glow), 0 0 60px rgba(0,194,255,.12);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--white);
  padding: 12px 25px;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-sm  { padding: 10px 20px; font-size: .9rem; }
.btn-lg  { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.break-desktop { display: none; }

/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
.header.scrolled {
  background: rgba(4,17,39,.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,194,255,0.18);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(255,255,255,0.05);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__logo-img { height: 56px; width: auto; border-radius: 6px; }
.header__nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--white-70);
  transition: color .25s;
}
.nav-link:hover { color: var(--white); }
.header__actions {
  display: flex;
  gap: .75rem;
  margin-left: 1.5rem;
}
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}
.header__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE NAV ───────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4,17,39,.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-nav__link {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  transition: color .2s;
}
.mobile-nav__link:hover { color: var(--cyan); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(3,44,96,.7) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.hero__logo-wrap {
  position: relative;
  display: inline-block;
  cursor: default;
}
.hero__logo-img {
  width: clamp(160px, 22vw, 260px);
  filter: drop-shadow(0 0 40px rgba(0,194,255,.35));
  animation: logoFloat 5s ease-in-out infinite;
  transition: transform .08s linear;
  will-change: transform;
}
.hero__logo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(0,194,255,.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes glowPulse {
  0%,100% { opacity: .6; }
  50%      { opacity: 1; }
}
.hero__headline {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 860px;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--white-70);
  max-width: 560px;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__proof {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--white-40);
  letter-spacing: .02em;
}
.proof-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: .4rem;
  vertical-align: middle;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}
.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--cyan) 100%);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ── CREDIBILITY BAR ──────────────────────────────────────── */
.credibility {
  border-top: 1px solid var(--glass-brd);
  border-bottom: 1px solid var(--glass-brd);
  padding: 1.25rem 0;
  overflow: hidden;
  background: rgba(3,44,96,.15);
}
.credibility__strip {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cred-logo {
  font-family: var(--ff-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--white-40);
  white-space: nowrap;
  transition: color .2s;
}
.cred-logo:hover { color: var(--white-70); }
.cred-sep {
  font-size: .5rem;
  color: var(--cyan);
  opacity: .4;
}

/* ── PROBLEM ──────────────────────────────────────────────── */
.problem { padding: 8rem 0; }
.problem__noise-wrap {
  text-align: center;
  margin-bottom: 5rem;
}
.problem__noise-text {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  filter: blur(7px);
  opacity: .35;
  transition: filter 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
.problem__noise-text.unblur {
  filter: blur(0px);
  opacity: 1;
}
.problem__statement {
  text-align: center;
  margin-bottom: 4rem;
}
.problem__stmt-text {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.problem__card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
}
.problem__icon {
  font-size: 1.5rem;
  color: var(--cyan);
}
.problem__metric {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.problem__metric-unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white-70);
}
.problem__desc {
  font-size: .9rem;
  color: var(--white-70);
  line-height: 1.5;
  flex: 1;
}

/* ── ECOSYSTEM ────────────────────────────────────────────── */
.ecosystem { padding: 8rem 0; }
.eco-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.eco-tab {
  font-family: var(--ff-head);
  font-size: .9rem;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 50px;
  color: var(--white-70);
  border: 1px solid transparent;
  transition: all .25s ease;
  background: transparent;
}
.eco-tab:hover { color: var(--white); border-color: var(--glass-brd); }
.eco-tab.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: rgba(0,194,255,.3);
}
.eco-panels { position: relative; }
.eco-panel {
  display: none;
  animation: fadeInPanel .4s var(--ease-out);
}
.eco-panel.active { display: block; }
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eco-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.eco-label {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: .75rem;
  display: block;
}
.eco-problem-text {
  color: var(--white-70);
  font-size: 1rem;
  line-height: 1.65;
}
.eco-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.eco-list li {
  color: var(--white-70);
  font-size: .95rem;
  padding-left: 1.25rem;
  position: relative;
}
.eco-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .8rem;
}
.eco-panel__results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.eco-metric {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}
.eco-metric__num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.eco-metric__unit {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
}
.eco-metric__desc {
  color: var(--white-70);
  font-size: .9rem;
  width: 100%;
  margin-top: .1rem;
}
.eco-metric--time {
  align-items: center;
  gap: .75rem;
}
.eco-metric__before {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white-40);
  text-decoration: line-through;
}
.eco-metric__arrow { color: var(--white-40); font-size: 1rem; }
.eco-metric__after {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 800;
}
.eco-flow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-brd);
}
.flow-node {
  font-family: var(--ff-mono);
  font-size: .75rem;
  padding: .4rem .85rem;
  border: 1px solid var(--glass-brd);
  border-radius: 6px;
  color: var(--white-70);
  white-space: nowrap;
}
.flow-node--ai {
  background: var(--cyan-dim);
  border-color: rgba(0,194,255,.35);
  color: var(--cyan);
}
.flow-arrow { color: var(--cyan); font-size: 1rem; }

/* ── RESULTS ──────────────────────────────────────────────── */
.results { padding: 8rem 0; }
.results__bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.bento-card { padding: 1.75rem; }
.bento-card--case {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bento-card--metric {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.bento-card--metric:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.bento-card--metric:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.bento-card--wide {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bento-tag {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--white-40);
  letter-spacing: .06em;
}
.bento-compare {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.compare-col { display: flex; flex-direction: column; gap: .2rem; }
.compare-label {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--white-40);
}
.compare-val {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.compare-col--before .compare-val { color: var(--white-40); }
.compare-desc { font-size: .8rem; color: var(--white-70); }
.compare-arrow { font-size: 1.5rem; color: var(--white-40); }
.bento-quote {
  font-style: italic;
  color: var(--white-70);
  font-size: .95rem;
  line-height: 1.65;
  border-left: 2px solid var(--cyan);
  padding-left: 1rem;
}
.bento-author { font-family: var(--ff-mono); font-size: .75rem; color: var(--white-40); }
.metric-label { font-family: var(--ff-mono); font-size: .75rem; color: var(--white-40); letter-spacing: .05em; }
.metric-big {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.metric-context { font-size: .85rem; color: var(--white-40); }
.metric-bar {
  margin-top: auto;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.metric-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), rgba(0,194,255,.3));
  border-radius: 2px;
  width: 0%;
  transition: width 1.6s var(--ease-out);
}

/* ── PROCESS (Vertical Scroll 3D) ────────────────────────── */
.process {
  padding: 8rem 0;
  perspective: 1200px;
}
.process__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* — Sticky sidebar — */
.process__sidebar {
  position: sticky;
  top: calc(var(--header-h, 80px) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__nav-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem 0;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.process__nav-item::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 100%;
  width: 1px;
  height: 100%;
  background: var(--glass-brd);
  z-index: 0;
}
.process__nav-item:last-child::before { display: none; }
.proc-nav-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--white-40);
  background: var(--bg);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  transition: all .35s ease;
}
.proc-nav-label {
  font-family: var(--ff-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--white-40);
  line-height: 1.3;
  transition: color .35s ease;
}
.process__nav-item.active .proc-nav-dot {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,194,255,.35);
}
.process__nav-item.active .proc-nav-label { color: var(--white); }
.process__nav-item:hover:not(.active) .proc-nav-dot { border-color: rgba(0,194,255,.35); color: var(--white-70); }
.process__nav-item:hover:not(.active) .proc-nav-label { color: var(--white-70); }

/* — Step cards stack — */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.process__step {
  opacity: 0.35;
  transform: perspective(900px) rotateX(6deg) translateY(20px) scale(0.97);
  transition:
    opacity .55s var(--ease-out),
    transform .55s var(--ease-out),
    box-shadow .55s ease;
  will-change: transform, opacity;
}
.process__step.active {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0) scale(1);
}
.process__step.past {
  opacity: 0.55;
  transform: perspective(900px) rotateX(-4deg) translateY(-8px) scale(0.98);
}

/* — Individual card — */
.step-card {
  padding: 2rem 2.25rem;
  position: relative;
  cursor: default;
}
.step-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.step-num {
  font-family: var(--ff-mono);
  font-size: .75rem;
  font-weight: 500;
  color: var(--cyan);
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(0,194,255,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0,194,255,.15);
}
.step-badges { display: flex; gap: .5rem; align-items: center; }
.step-badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,194,255,.25);
  border-radius: 4px;
  padding: 3px 10px;
}
.step-badge--free { color: #4ade80; background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.25); }
.step-badge--warn { color: #f59e0b; background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.25); }
.step-title {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .65rem;
  color: var(--white);
}
.step-desc {
  font-size: .95rem;
  color: var(--white-70);
  line-height: 1.7;
}
.step-card__glow {
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(ellipse, rgba(0,194,255,.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .4s ease;
}
.process__step.active .step-card__glow { opacity: 1; }

/* ── ROI CALCULATOR ───────────────────────────────────────── */
.roi { padding: 8rem 0; }
.roi__card { max-width: 900px; margin: 0 auto; }
.roi__header { text-align: center; margin-bottom: 3rem; }
.roi__title {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.roi__sub { color: var(--white-70); }
.roi__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.roi__sliders { display: flex; flex-direction: column; gap: 2rem; }
.slider-group { display: flex; flex-direction: column; gap: .75rem; }
.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-label label { font-size: .9rem; color: var(--white-70); }
.slider-label output {
  font-family: var(--ff-mono);
  font-size: .9rem;
  color: var(--cyan);
  font-weight: 500;
}
.roi-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-glow);
  transition: box-shadow .2s;
}
.roi-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 20px var(--cyan-glow);
}
.roi__output { text-align: center; }
.roi__output-label { font-size: .9rem; color: var(--white-70); margin-bottom: .5rem; }
.roi__output-value {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: .4rem;
}
.roi__output-sub { font-size: .9rem; color: var(--white-70); margin-bottom: 1rem; }
.roi__payback {
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: #4ade80;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { padding: 8rem 0; }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  transition: border-color .25s;
}
.faq__item.open { border-color: rgba(0,194,255,.3); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
}
.faq__icon {
  font-size: 1.4rem;
  color: var(--cyan);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}
.faq__a p {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  color: var(--white-70);
  line-height: 1.7;
}
.faq__item.open .faq__a { max-height: 300px; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final {
  position: relative;
  padding: 9rem 0 8rem;
  overflow: hidden;
  text-align: center;
}
.cta-final__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(3,44,96,.5) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__content { position: relative; z-index: 2; }
.cta-final__headline {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.cta-final__sub {
  color: var(--white-70);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.cta-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-input {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--white-40); }
.form-input:focus { border-color: rgba(0,194,255,.5); }
.form-select { cursor: pointer; }
.form-select option { background: #041127; color: var(--white); }
.form-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: .73rem;
  color: var(--white-40);
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  position: relative;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(0,194,255,0.15);
  overflow: hidden;
  background: rgba(4,17,39,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.footer__watermark {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-head);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 800;
  color: rgba(255,255,255,.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: .05em;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer__logo { height: 48px; margin-bottom: 1rem; }
.footer__tagline { color: var(--white-70); font-size: .9rem; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.social-link:hover::before { opacity: 1; }
.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.social-link--linkedin:hover {
  color: #fff;
  border-color: #0A66C2;
  background: rgba(10,102,194,0.3);
  box-shadow: 0 8px 25px rgba(10,102,194,0.35);
}
.social-link--instagram:hover {
  color: #fff;
  border-color: #E1306C;
  background: linear-gradient(135deg, rgba(64,93,230,0.3), rgba(225,48,108,0.3));
  box-shadow: 0 8px 25px rgba(225,48,108,0.35);
}
.social-link--whatsapp:hover {
  color: #fff;
  border-color: #25D366;
  background: rgba(37,211,102,0.3);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}
.footer__col-title {
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white-70);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__link { font-size: .9rem; color: var(--white-40); transition: color .2s; }
.footer__link:hover { color: var(--white); }
.footer__email { font-family: var(--ff-mono); font-size: .85rem; color: var(--cyan); margin-bottom: 1.25rem; }
.footer__bottom {
  border-top: 1px solid var(--glass-brd);
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--white-40);
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { color: var(--white-40); transition: color .2s; }
.footer__bottom-links a:hover { color: var(--white); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process__layout { grid-template-columns: 200px 1fr; gap: 2.5rem; }
}

/* ── TOUCH DEVICES: desabilita hover transforms ───────────── */
@media (hover: none) {
  .glass-card:hover {
    transform: none;
    border-color: var(--glass-brd);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.07);
    background: var(--glass-bg);
  }
  .glass-card:hover::before { opacity: 0; }
  .glass-card:hover::after  { transform: skewX(-15deg) translateX(-100%); }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .btn-ghost:hover   { transform: none; }
  .eco-tab:hover     { color: var(--white-70); border-color: transparent; }
  .social-link:hover { transform: none; }
}

/* ── 768px — MOBILE ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Container */
  .container { padding: 0 1.25rem; }

  /* Header */
  .header__nav, .header__actions { display: none; }
  .header__hamburger { display: flex; }
  .header__logo-img  { height: 44px; }
  .break-desktop     { display: block; }

  /* Glass card: blur mais leve, borda mais visível */
  .glass-card {
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border-color: rgba(0,194,255,0.22);
    padding: 1.5rem;
  }

  /* Hero */
  .hero { padding: 5.5rem 0 4rem; min-height: auto; }
  .hero__headline {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -.01em;
  }
  .hero__sub  { font-size: .92rem; line-height: 1.6; }
  .hero__ctas { flex-direction: column; align-items: center; gap: .75rem; }
  .hero__ctas .btn { width: 100%; max-width: 340px; }
  .hero__proof {
    gap: .55rem;
    flex-direction: column;
    align-items: center;
    font-size: .72rem;
  }

  /* Section headers */
  .section-title  { font-size: clamp(1.55rem, 6vw, 2.1rem); line-height: 1.2; }
  .section-sub    { font-size: .92rem; }
  .section-header { margin-bottom: 2.5rem; }

  /* Problem */
  .problem { padding: 4rem 0; }
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .problem__noise-text { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .problem__stmt-text  { font-size: clamp(1.05rem, 4.5vw, 1.5rem); }
  .problem__card  { padding: 1.25rem; gap: .6rem; }
  .problem__metric { font-size: 2.1rem; }
  .problem__desc  { font-size: .84rem; }

  /* Ecosystem */
  .ecosystem { padding: 4rem 0; }
  .eco-panel__grid { grid-template-columns: 1fr; }

  /* Tabs: scroll horizontal sem quebra */
  .eco-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: .4rem;
    padding-bottom: .25rem;
    margin-bottom: 2rem;
  }
  .eco-tabs::-webkit-scrollbar { display: none; }
  .eco-tab { flex-shrink: 0; font-size: .8rem; padding: .5rem 1.1rem; }

  .eco-problem-text { font-size: .9rem; }
  .eco-list li      { font-size: .87rem; }
  .eco-metric__num  { font-size: 2rem; }

  /* Eco-flow: wrap em vez de cortar */
  .eco-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .4rem .3rem;
  }
  .flow-arrow { font-size: .85rem; }

  /* Results */
  .results { padding: 4rem 0 3rem; }

  /* Process */
  .process { padding: 4rem 0; }
  .process__layout { grid-template-columns: 1fr; gap: 0; }
  .process__sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.75rem;
    padding: .75rem;
    background: rgba(3,44,96,.25);
    border: 1px solid var(--glass-brd);
    border-radius: var(--radius-sm);
  }
  .process__nav-item { padding: .35rem .5rem; }
  .process__nav-item::before { display: none; }
  .proc-nav-dot  { width: 26px; height: 26px; font-size: .6rem; }
  .proc-nav-label { font-size: .72rem; }
  .process__step { opacity: 1; transform: none !important; }
  .step-card  { padding: 1.5rem; }
  .step-title { font-size: 1.05rem; }
  .step-desc  { font-size: .88rem; line-height: 1.65; }

  /* ROI */
  .roi { padding: 4rem 0; }
  .roi__card { box-sizing: border-box; max-width: 100%; overflow: visible; }
  .roi__body { grid-template-columns: 1fr; gap: 2rem; max-width: 100%; }
  .roi__sliders { max-width: 100%; min-width: 0; }
  .roi__title { font-size: clamp(1.35rem, 5vw, 1.8rem); }
  .roi__output-value { font-size: 2.4rem; }
  .roi-slider { width: 100%; max-width: 100%; box-sizing: border-box; }
  .roi-slider::-webkit-slider-thumb { width: 22px; height: 22px; }
  .slider-group { max-width: 100%; overflow: visible; padding: 10px 0; }
  .slider-label { display: flex; gap: .5rem; max-width: 100%; overflow: hidden; }
  .slider-label label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; }
  .slider-label output { flex-shrink: 0; white-space: nowrap; font-size: .82rem; padding-right: .25rem; }
  .roi__output-sub { word-break: break-word; overflow-wrap: break-word; }
  .roi__output .btn-primary { width: 100%; white-space: normal; text-align: center; }

  /* FAQ */
  .faq { padding: 4rem 0; }
  .faq__list { gap: .6rem; }
  .faq__q { font-size: .92rem; padding: 1rem 1.25rem; }
  .faq__a p { padding: 0 1.25rem 1rem; font-size: .88rem; }

  /* CTA Final */
  .cta-final { padding: 4.5rem 0 3.5rem; }
  .cta-final__headline { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.25; }
  .cta-final__sub { font-size: .92rem; margin-bottom: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-input { padding: .9rem 1rem; font-size: .95rem; min-height: 48px; }

  /* Footer */
  .footer { padding: 3rem 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__watermark { display: none; }
  .footer__logo    { height: 40px; margin-bottom: .75rem; }
  .footer__tagline { font-size: .85rem; margin-bottom: 1rem; }
  .footer__bottom-inner {
    flex-direction: column;
    gap: .6rem;
    text-align: center;
  }
  .footer__bottom-links { justify-content: center; }

  /* Popup */
  .popup-box { padding: 1.5rem; border-radius: var(--radius); }
  .popup-title { font-size: 1.25rem; }
  .popup-sub   { font-size: .75rem; }
}

/* ── 480px — SMALL MOBILE ─────────────────────────────────── */
@media (max-width: 480px) {

  /* Container */
  .container { padding: 0 1rem; }

  /* Glass card */
  .glass-card { padding: 1.25rem; }

  /* Hero */
  .hero { padding: 5rem 0 3.5rem; }
  .hero__headline { font-size: clamp(1.6rem, 8.5vw, 1.95rem); }
  .hero__ctas .btn { font-size: .92rem; padding: 14px 20px; }
  .hero__proof { display: none; }

  /* Sections: padding reduzido */
  .problem   { padding: 3rem 0; }
  .ecosystem { padding: 3rem 0; }
  .results   { padding: 3rem 0 2rem; }
  .process   { padding: 3rem 0; }
  .roi       { padding: 3rem 0; }
  .faq       { padding: 3rem 0; }
  .cta-final { padding: 3.5rem 0 3rem; }

  /* Problem */
  .problem__grid { grid-template-columns: 1fr; gap: .75rem; }
  .problem__card { padding: 1.1rem; }
  .problem__metric { font-size: 1.9rem; }
  .problem__desc   { font-size: .82rem; }

  /* Eco tabs */
  .eco-tab { font-size: .75rem; padding: .4rem .9rem; }
  .eco-metric__num { font-size: 1.8rem; }

  /* Process sidebar: só mostra números */
  .proc-nav-label { display: none; }
  .proc-nav-dot   { width: 30px; height: 30px; font-size: .65rem; }
  .step-badge     { font-size: .62rem; padding: 2px 8px; }
  .step-num       { width: 38px; height: 38px; font-size: .7rem; }

  /* Video carousel */
  .vid-track   { min-height: 320px; padding: 0 .75rem; }
  .vid-card    { width: 150px; height: 245px; border-radius: 16px; }
  .vid-card.active { width: 190px; height: 300px; }
  .vid-overlay { padding: .75rem; }
  .vid-name    { font-size: .8rem; }
  .vid-role    { font-size: .64rem; }
  .vid-mute-btn { bottom: 3.5rem; right: .75rem; width: 36px; height: 36px; }
  .vid-dots    { margin-top: 1.25rem; }

  /* ROI */
  .roi__output-value { font-size: 2rem; }
  .slider-label label  { font-size: .78rem; }
  .slider-label output { font-size: .78rem; }
  .roi__output .btn-primary { font-size: .88rem; padding: 13px 14px; }

  /* FAQ */
  .faq__q   { font-size: .88rem; }
  .faq__a p { font-size: .84rem; }

  /* CTA */
  .cta-final__headline { font-size: 1.4rem; }
  .cta-final__sub { font-size: .88rem; }

  /* Footer */
  .footer { padding: 2.5rem 0 0; }
  .footer__inner { gap: 1.5rem; }
  .footer__social { gap: .6rem; }
  .social-link { width: 38px; height: 38px; }
  .footer__bottom-inner p { font-size: .68rem; }
  .footer__bottom-links { gap: 1rem; }
}

/* ── POPUP MODAL ──────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4,17,39,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.popup-box {
  width: 100%;
  max-width: 640px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform .35s var(--ease-out);
  max-height: 92vh;
  overflow-y: auto;
}
.popup-overlay.open .popup-box {
  transform: translateY(0) scale(1);
}
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white-70);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.popup-close:hover { background: rgba(255,255,255,.18); color: var(--white); }
.popup-title {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.popup-sub {
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--cyan);
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.popup-form { display: flex; flex-direction: column; gap: 1rem; }

/* ── VIDEO CAROUSEL ───────────────────────────────────────── */
.results { padding: 8rem 0 5rem; }
.results .section-header { margin-bottom: 3rem; }

.vid-carousel {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 5rem;
  perspective: 1400px;
  touch-action: pan-y;
}
.vid-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
  min-height: 520px;
  padding: 0 2rem;
}

/* Base card */
.vid-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    transform .4s cubic-bezier(.25,.8,.25,1),
    opacity .4s ease,
    box-shadow .4s ease,
    filter .4s ease;

  /* side cards defaults */
  width: 200px;
  height: 350px;
  opacity: 0.55;
  filter: blur(1.5px);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.vid-card[data-index="0"] { transform: perspective(1400px) rotateY(14deg) scale(0.82) translateX(16px); }
.vid-card[data-index="4"] { transform: perspective(1400px) rotateY(-14deg) scale(0.82) translateX(-16px); }
.vid-card[data-index="1"],
.vid-card[data-index="3"] { transform: perspective(1400px) rotateY(9deg) scale(0.89) translateX(8px); }
.vid-card[data-index="2"] { transform: perspective(1400px) rotateY(-9deg) scale(0.89) translateX(-8px); }

/* Active (center) card */
.vid-card.active {
  width: 280px;
  height: 470px;
  opacity: 1;
  filter: blur(0);
  transform: perspective(1400px) rotateY(0deg) scale(1) translateZ(40px) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 0 1.5px rgba(0,194,255,.25);
  z-index: 2;
}
/* hover on non-active */
.vid-card:not(.active):hover {
  opacity: 0.75;
  filter: blur(0);
  box-shadow: 0 16px 50px rgba(0,0,0,.6);
}

.vid-el {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  border-radius: 20px;
  background: #041127;
}
.vid-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(4,17,39,.92) 0%, transparent 100%);
  border-radius: 0 0 20px 20px;
}
.vid-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.vid-role {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--cyan);
  margin-top: .2rem;
  letter-spacing: .04em;
}

/* Dots */
.vid-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.vid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
}
.vid-dot.active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0,194,255,.5);
}

/* Arrow buttons */
.vid-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(3,44,96,.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,194,255,.2);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10;
}
.vid-arrow:hover { background: rgba(0,194,255,.2); border-color: var(--cyan); }
.vid-arrow--prev { left: 1.5rem; }
.vid-arrow--next { right: 1.5rem; }

@media (max-width: 768px) {
  /* Carousel: scroll nativo — sem clipping lateral */
  .vid-carousel {
    overflow: visible;
    touch-action: pan-x pan-y;
  }
  .vid-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 12px;
    /* padding lateral centra o card ativo e mostra peek dos adjacentes */
    padding: 1rem calc(50vw - 105px);
    min-height: 340px;
    scrollbar-width: none;
  }
  .vid-track::-webkit-scrollbar { display: none; }
  .vid-card {
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 210px !important;
    height: 330px !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: box-shadow .3s ease !important;
  }
  .vid-card.active {
    width: 210px !important;
    height: 330px !important;
    box-shadow: 0 0 0 2px rgba(0,194,255,.55), 0 16px 40px rgba(0,0,0,.5) !important;
  }
  .vid-arrow { display: none; }
}
@media (max-width: 480px) {
  .vid-card { width: 160px; height: 260px; }
  .vid-card.active { width: 200px; height: 310px; }
  .vid-overlay { padding: 1rem; }
  .vid-name { font-size: .85rem; }
}

/* ── VIDEO MUTE TOGGLE ────────────────────────────────────── */
.vid-mute-btn {
  position: absolute;
  bottom: 5.5rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(4,17,39,.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,194,255,.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10;
}
.vid-mute-btn:hover {
  background: rgba(0,194,255,.2);
  border-color: var(--cyan);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .vid-mute-btn { bottom: 4rem; right: 1rem; width: 36px; height: 36px; }
}

/* ── HERO HEADLINE — 3 LINES ──────────────────────────────── */
.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.18;
  max-width: 880px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* ── ECO TEAM PHOTO ───────────────────────────────────────── */
.eco-team-photo {
  position: relative;
  width: 82%;
  margin: 2.5rem auto 3rem;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.eco-team-photo__img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.eco-team-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  display: block;
  filter: brightness(0.88) saturate(1.1);
}
.eco-team-photo__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,17,39,.75) 0%, transparent 40%, transparent 60%, rgba(4,17,39,.75) 100%),
    linear-gradient(0deg,  rgba(4,17,39,.65) 0%, transparent 55%);
}
.eco-team-photo__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  padding: .75rem 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.eco-team-badge__title {
  font-family: var(--ff-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .15rem;
}
.eco-team-badge__sub {
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--cyan);
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .eco-team-photo { aspect-ratio: 16 / 9; width: 95%; margin: 1.5rem auto 2rem; }
  .eco-team-photo__badge { bottom: 1rem; left: 1rem; }
}
@media (max-width: 480px) {
  .eco-team-photo { aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* ── ERP section: responsive ─────────────────────────────── */

/* Tablet (≤ 1024px): 3 colunas */
@media (max-width: 1024px) {
  .erp-modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .erp-diff-grid    { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile (≤ 768px): 1 coluna, padding ajustado, botão contido */
@media (max-width: 768px) {
  #erp .roi__card.glass-card { padding: 0 !important; }
  #erp .roi__header { margin-bottom: 1.5rem; }
  .erp-top-pad      { padding: 1.75rem 1.25rem 0 !important; }
  .erp-bot-pad      { padding: 0 1.25rem 1.75rem !important; }
  .erp-screenshot   { margin-top: 1.25rem !important; }
  .erp-screenshot img { max-height: 260px; object-fit: cover; object-position: top left; }
  .erp-modules-grid { grid-template-columns: 1fr !important; gap: 0.7rem !important; }
  .erp-diff-grid    { grid-template-columns: 1fr !important; }
  .erp-cta-wrap     { padding: 0 !important; }
  .erp-cta-wrap .btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* Mobile pequeno (≤ 480px) */
@media (max-width: 480px) {
  .erp-top-pad  { padding: 1.25rem 1rem 0 !important; }
  .erp-bot-pad  { padding: 0 1rem 1.5rem !important; }
  .erp-screenshot img { max-height: 200px; }
}

/* ── ERP section: neutralize glass-card hover so image stays seamless ── */
#erp .roi__card.glass-card:hover {
  background: #080f1e !important;
  transform: none !important;
  border-color: rgba(0,194,255,0.2) !important;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.07) !important;
}
#erp .roi__card.glass-card:hover::before { opacity: 0 !important; }
#erp .roi__card.glass-card:hover::after  { transform: skewX(-15deg) translateX(-100%) !important; }

#erp .glass-card:hover {
  transform: none !important;
}
