/* ─── NEXTONE PREMIUM — DARK EDITORIAL ─── */

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

:root {
  --bg: #0A0A0B;
  --bg-2: #111114;
  --bg-3: #1a1a1e;
  --orange: #FF5418;
  --orange-2: #FF7A3D;
  --orange-glow: rgba(255, 84, 24, 0.5);
  --text: #ECECEC;
  --text-dim: #888;
  --text-mute: #7a7a7a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.04);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

::selection {
  background: var(--orange);
  color: #000;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #222;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ─── NOISE OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ─── GRID / CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 64px;
  }
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 24px;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  --nav-bg-w: 200px;
}

/* Left accent: slim white trapezoid behind logo */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--nav-bg-w);
  background: #ECECEC;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  z-index: -1;
}

/* Orange chevron accent */
.nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--nav-bg-w) + 8px);
  bottom: 0;
  width: 36px;
  background: var(--orange);
  clip-path: polygon(0 0, 14px 0, 36px 50%, 14px 100%, 0 100%, 20px 50%);
  filter: drop-shadow(20px 0 0 var(--orange));
  z-index: -1;
}

.nav.scrolled {
  background: rgba(10, 10, 11, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  padding: 5px 24px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-tech {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-bracket {
  color: var(--orange);
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.nav-logo img {
  height: 14px;
  filter: none;
  box-shadow: none;
}

/* ─── SECTION FRAME ENHANCEMENTS ─── */

.nav-menu {
  display: none;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  font-size: 11px;
  font-weight: 400;
  color: rgba(220, 220, 220, 0.75);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.25s, box-shadow 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 84, 24, 0.35);
}

.nav-cta .arrow {
  transition: transform 0.25s;
}

.nav-cta:hover .arrow {
  transform: rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav {
    padding: 6px 64px;
    --nav-bg-w: 280px;
  }

  .nav.scrolled {
    padding: 6px 64px;
  }

  .nav-menu {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 4px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #E0E0E0;
  transition: all 0.3s;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

/* ─── SIDE LABELS (vertical text) ─── */
.side-label {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  display: none;
}

.side-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 12px;
}

@media (min-width: 1024px) {
  .side-label {
    display: block;
  }
}

.coords {
  position: fixed;
  left: 16px;
  top: 90px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  z-index: 10;
  display: none;
  line-height: 1.6;
}

.coords .dot {
  color: var(--orange);
}

@media (min-width: 1024px) {
  .coords {
    display: block;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 100px 24px 80px;
  overflow: hidden;
  z-index: 2;
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .hero {
    background-image: none;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 120px 64px 100px 100px;
  }
}

.hero-3d {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 50%, transparent 0%, rgba(10, 10, 11, 0.25) 55%, rgba(10, 10, 11, 0.85) 100%),
    linear-gradient(to left, transparent 20%, rgba(10, 10, 11, 0.55) 55%, var(--bg) 80%),
    linear-gradient(to bottom, transparent 0%, transparent 65%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-headline {
  font-family: 'Anton', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 5vw, 71px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-headline .line {
  display: block;
  margin-bottom: 4px;
}

.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-headline .word>span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-headline .word:nth-child(1)>span {
  animation-delay: 0.15s;
}

.hero-headline .word:nth-child(2)>span {
  animation-delay: 0.28s;
}

.hero-headline .word:nth-child(3)>span {
  animation-delay: 0.4s;
}

.hero-headline .word:nth-child(4)>span {
  animation-delay: 0.52s;
}

.hero-headline .orange {
  color: var(--orange);
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-top: 28px;
  max-width: 620px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-sub .h-orange {
  color: var(--orange);
  font-weight: 600;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange-2);
  box-shadow: 0 0 32px var(--orange-glow);
  transform: translateY(-1px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn .arrow-icon {
  transition: transform 0.25s;
}

.btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* ─── HERO BOTTOM (scroll cue + meta) ─── */
.hero-meta {
  position: absolute;
  bottom: 32px;
  right: 24px;
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .hero-meta {
    display: flex;
    right: 64px;
    bottom: 48px;
  }
}

.scroll-circle {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: bob 2.4s ease-in-out infinite;
}

.scroll-circle::before {
  content: '';
  width: 1px;
  height: 14px;
  background: var(--orange);
  position: absolute;
  top: 14px;
  animation: scrollDot 2s linear infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* ─── DIVIDER QUOTE ─── */
.divider-quote {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.divider-quote .brackets {
  font-family: 'Anton', sans-serif;
  position: absolute;
  font-size: 56px;
  color: var(--orange);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.divider-quote .b-left {
  left: 24px;
}

.divider-quote .b-right {
  right: 24px;
}

.divider-quote h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.divider-quote .orange {
  color: var(--orange);
}

/* ─── SECTION COMMON ─── */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

@media (min-width: 1024px) {
  .section {
    padding: 140px 0;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-header::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.section-header .num {
  color: var(--orange);
  margin-right: 4px;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-title .orange {
  color: var(--orange);
}

.section-title .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

/* ─── SERVICES ─── */
.services {
  border-top: 1px solid var(--line);
}

.services-header-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .services-header-row {
    grid-template-columns: 2fr 3fr;
    align-items: end;
  }
}

.services-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 480px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}

@media (min-width: 768px) {
  .service-card {
    padding: 36px 28px;
    border-right: 1px solid var(--line);
    border-bottom: none;
  }

  .service-card:last-child {
    border-right: none;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: rgba(255, 84, 24, 0.025);
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--orange);
}

.service-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.1;
}

.service-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.2s, gap 0.2s;
}

.service-card:hover .service-arrow {
  color: var(--orange);
  gap: 12px;
}

/* ─── PORTFOLIO HERO (featured project) ─── */
.portfolio-section {
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.portfolio-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(140px, 28vw, 360px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.portfolio-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .portfolio-feature {
    grid-template-columns: 1fr 2fr;
    gap: 56px;
  }
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-counter .num {
  color: var(--orange);
  font-size: 64px;
  font-weight: 300;
  line-height: 0.9;
  font-family: 'Anton', sans-serif;
}

.feature-counter .total {
  color: var(--text-mute);
}

.feature-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

.feature-tags {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 380px;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
  align-self: flex-start;
  margin-top: 8px;
}

.feature-cta:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 24px var(--orange-glow);
}

.feature-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1a1e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-image-wrap:hover img {
  transform: scale(1.04);
}

.feature-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 84, 24, 0) 0%, rgba(255, 84, 24, 0.1) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.feature-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  position: absolute;
  right: 0;
  bottom: -70px;
}

@media (max-width: 1023px) {
  .feature-controls {
    position: static;
    margin-top: 24px;
  }
}

.feat-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.feat-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 20px var(--orange-glow);
}

/* ─── PROCESS ─── */
.process-section {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-step {
  padding: 36px 24px 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

@media (min-width: 768px) {
  .process-step {
    padding: 40px 24px;
    border-right: 1px solid var(--line);
    border-bottom: none;
  }

  .process-step:last-child {
    border-right: none;
  }
}

.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.6s;
}

.process-step:hover::before {
  width: 100%;
}

.step-marker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.step-marker .dash {
  flex: 1;
  height: 1px;
  background: var(--orange);
  max-width: 40px;
}

.step-marker .num {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.step-icon {
  width: 28px;
  height: 28px;
  color: var(--orange);
  margin-bottom: 14px;
}

.step-name {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ─── BRANDING GRID ─── */
.branding-section {
  border-top: 1px solid var(--line);
}

.branding-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .branding-row {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
  }
}

.branding-text .section-title {
  margin-bottom: 24px;
}

.branding-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 360px;
  margin-bottom: 28px;
}

.branding-text .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 4px;
  transition: gap 0.2s;
}

.branding-text .arrow-link:hover {
  gap: 14px;
}

.branding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .branding-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Monitor Showcase ── */
.monitor-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.monitor-wrap {
  width: 100%;
  max-width: 560px;
}

.monitor-frame {
  background: #111;
  border-radius: 14px 14px 8px 8px;
  padding: 8px 8px 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.monitor-cam {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a2a2a;
  margin: 0 auto 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.monitor-screen {
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
  position: relative;
}

.monitor-chin {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e1e1e;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.monitor-neck {
  width: 56px;
  height: 34px;
  background: #111;
  margin: 0 auto;
  clip-path: polygon(18% 0%, 82% 0%, 100% 100%, 0% 100%);
}

.monitor-base {
  width: 150px;
  height: 9px;
  background: #111;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.site-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.site-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.site-slide.active {
  opacity: 1;
}

.site-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.monitor-meta {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.monitor-site-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.monitor-site-name {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #fff;
}

.monitor-site-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.03em;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.monitor-site-url:hover {
  opacity: 1;
}

.monitor-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.monitor-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.monitor-btn:hover {
  border-color: var(--orange);
  background: rgba(232, 93, 46, 0.1);
}

.monitor-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.mon-dot.active {
  background: var(--orange);
  transform: scale(1.35);
}

/* ── MacBook Scroll Hijack Section ── */
.sites-outer {
  position: relative;
  height: 480vh;
  /* tall enough for dead-zone + inner scroll + release */
}

.sites-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sites-sticky>.container {
  width: 100%;
}

.sites-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}

/* Left column */
.sites-text .section-header {
  margin-bottom: 20px;
}

.sites-text p {
  max-width: 300px;
}

/* MacBook column — Mac is the centrepiece */
.sites-mac-col {
  position: relative;
  padding-top: 126px;
}

.macbook-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Flex row: [←arrow] [mac frame] [→arrow] */
.mac-slider-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Flanking arrow buttons */
.mac-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.mac-arrow:hover {
  border-color: var(--orange);
  background: rgba(255, 84, 24, 0.08);
  color: var(--orange);
}

.mac-arrow:active {
  background: rgba(255, 84, 24, 0.15);
  transform: scale(0.94);
}

/* isolation: isolate creates a self-contained stacking context so z-indices
   of mac-screen (z:1) and macbook-img (z:2) never leak into the page */
.macbook-frame-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  isolation: isolate;
  /* PNG is square (1024×1024) — cap width = cap height.
     Ensures Mac never exceeds 100vh so sticky flex centering works. */
  /* max-width removed — Mac keeps its natural size */
}

/* LAYER 2 — MacBook PNG frame, in normal flow (sets container height), on top */
.macbook-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  /* above mac-screen */
  pointer-events: none;
  filter: brightness(0.82) saturate(0.88);
}

/* ─── LAYER 1 — true masked screen viewport ────────────────────────────────
   Pixel-measured from MacBook PNG (1024×1024 RGBA):
   top=170 (16.60%) | bottom=738 (27.93% from bottom) | left=80 (7.81%) | right=939 (8.30% from right)
   ────────────────────────────────────────────────────────────────────────── */
.mac-screen {
  position: absolute;
  top: 20%;
  left: 13%;
  right: 13%;
  bottom: 27.93%;
  z-index: 1;
  overflow: hidden;
  border-radius: 3px;
  /* no background — transparent */
}

/* Inner shadow — depth illusion */
.mac-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 32px rgba(0, 0, 0, 0.50),
    inset 4px 0 12px rgba(0, 0, 0, 0.22),
    inset -4px 0 12px rgba(0, 0, 0, 0.22),
    inset 0 -8px 18px rgba(0, 0, 0, 0.35),
    inset 0 3px 6px rgba(0, 0, 0, 0.40);
}

/* Diagonal glass reflection */
.mac-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(126deg,
      rgba(255, 255, 255, 0.065) 0%,
      rgba(255, 255, 255, 0.028) 28%,
      rgba(255, 255, 255, 0.008) 52%,
      transparent 68%);
}

.mac-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mac-slide.active {
  opacity: 1;
}

.mac-track {
  will-change: transform;
  transform-origin: 0 0;
  width: calc(100% / 0.6);
  /* fills screen width after scale(0.6): 100% / 0.6 = 166.67% */
}

.mac-track img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: brightness(0.88) contrast(1.04) saturate(1.06);
}

/* Below MacBook */
.mac-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.mac-site-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mac-site-name {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #fff;
}

.mac-site-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.mac-site-url:hover {
  opacity: 1;
}

.mac-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.mac-sep {
  color: rgba(255, 255, 255, 0.2);
}

.mac-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
  transition: opacity 0.5s;
  user-select: none;
}

/* Mobile: disable sticky hijack */
@media (max-width: 900px) {
  .sites-outer {
    height: auto;
  }

  .sites-sticky {
    position: relative;
    height: auto;
    padding: 80px 0;
  }

  .sites-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sites-mac-col {
    max-width: 560px;
    margin: 0 auto;
  }

  .macbook-frame-wrap {
    max-width: 100%;
    /* no height cap needed on mobile — not sticky */
  }

  .mac-arrow {
    width: 36px;
    height: 36px;
  }

  .mac-scroll-hint {
    display: none;
  }
}

/* ─── MOBILE + TABLET OVERRIDES (≤ 1023px) ─── */
@media (max-width: 1023px) {

  /* Hero: botões mais abaixo */
  .hero {
    align-items: center;
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .hero-headline {
    font-size: clamp(34px, 9vw, 52px);
  }

  .hero-actions {
    margin-top: 96px;
  }

  /* Sites: card largura total — remove padding do container */
  .sites-sticky > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .sites-text {
    padding-left: 24px;
    padding-right: 24px;
  }

  .sites-mac-col {
    padding-top: 0;
    max-width: none;
    width: 100%;
  }

  .macbook-frame-wrap {
    width: 100%;
    position: static;
    transform: none;
    isolation: auto;
  }

  .mac-slider-wrap {
    gap: 0;
  }

  .mac-arrow {
    display: none;
  }

  /* macbook-frame-wrap: contexto para setas absolutas */
  .macbook-frame-wrap {
    position: relative;
  }

  .macbook-frame-wrap {
    width: 100%;
    isolation: auto;
  }

  .mac-screen {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    aspect-ratio: 1.94 / 1;
    border-radius: 0;
    border: none;
    overflow: hidden;
    z-index: 1 !important;
  }

  .macbook-img {
    display: none !important;
  }

  .mac-slide {
    width: 100%;
    height: 100%;
  }

  .mac-track {
    transform: none !important;
    width: 100% !important;
    height: 100%;
  }

  .mac-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* Setas sobrepostas na imagem */
  .mac-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 10;
    pointer-events: none;
  }

  .mac-m-btn {
    background: none;
    border: none;
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    pointer-events: all;
    transition: opacity 0.2s;
  }

  .mac-m-btn:active {
    opacity: 0.6;
  }

  #mac-prev-m {
    animation: nudge-left 2s ease-in-out infinite;
  }

  #mac-next-m {
    animation: nudge-right 2s ease-in-out infinite;
  }

  @keyframes nudge-left {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(-5px); }
  }

  @keyframes nudge-right {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(5px); }
  }

  /* mac-footer com padding lateral */
  .mac-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mac-m-btn:hover {
    border-color: var(--orange);
    background: rgba(255, 84, 24, 0.08);
    color: var(--orange);
  }
}

/* Desktop: hide mobile nav */
@media (min-width: 1024px) {
  .mac-mobile-nav {
    display: none;
  }
}

.brand-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1a1e;
  cursor: pointer;
  transition: transform 0.4s;
  text-decoration: none;
  display: block;
}

.brand-card:hover {
  transform: translateY(-6px);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.4s;
  filter: saturate(0.85);
}

.brand-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 50%);
  pointer-events: none;
}

.brand-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
}

.brand-card-name {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.brand-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.brand-card-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  z-index: 2;
  transition: all 0.25s;
}

.brand-card:hover .brand-card-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-45deg) scale(1.1);
}

/* ─── CTA FINAL ─── */
.cta-section {
  border-top: 1px solid var(--line);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 140px 0;
  }
}

.cta-3d {
  display: none;
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .cta-3d {
    display: block;
  }
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .cta-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
}

.cta-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
}

.cta-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4.2vw, 59px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta-headline .orange {
  color: var(--orange);
}

.cta-headline .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

.cta-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}

.cta-side {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 420px;
}

.cta-side strong {
  color: var(--text);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.cta-social-btn:hover {
  border-color: var(--orange);
  background: rgba(255, 84, 24, 0.08);
  color: var(--orange);
}

.cta-meta {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-meta .dot {
  color: var(--orange);
  margin: 0 8px;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-meta a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-meta a:hover {
  color: var(--orange);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(30px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 32px;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: color 0.2s, transform 0.2s;
}

.mobile-menu a:hover {
  color: var(--orange);
  transform: translateX(8px);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mobile-cta-orange {
  color: var(--orange) !important;
}

/* ─── LOGO TECH TREATMENT ─── */
.logo-tech {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 4px 0;
}

.logo-tech img {
  height: 30px;
  display: block;
  filter: none;
  transition: transform 0.3s;
}

.logo-tech:hover img {
  filter: none;
}

.logo-bracket {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.logo-tech:hover .logo-bracket {
  opacity: 1;
}

.logo-tech:hover .logo-bracket:first-child {
  transform: translateX(-3px);
}

.logo-tech:hover .logo-bracket:last-child {
  transform: translateX(3px);
}

.footer-logo img {
  height: 30px;
  filter: none;
  opacity: 0.95;
}

/* ─── WHATSAPP FAB ─── */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 84, 24, 0.45), 0 0 0 0 rgba(255, 84, 24, 0.6);
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform 0.25s, background 0.25s;
}

.wa-fab:hover {
  transform: scale(1.08);
  background: var(--orange-2);
}

.wa-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 84, 24, 0.4);
  animation: waRing 2.4s ease-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(255, 84, 24, 0.45), 0 0 0 0 rgba(255, 84, 24, 0.5);
  }

  50% {
    box-shadow: 0 8px 30px rgba(255, 84, 24, 0.55), 0 0 0 14px rgba(255, 84, 24, 0);
  }
}

@keyframes waRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (min-width: 1024px) {
  .wa-fab {
    right: 32px;
    bottom: 32px;
    width: 64px;
    height: 64px;
  }
}

.frame-corners {
  position: relative;
}

.frame-corners::before,
.frame-corners::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--orange);
}

.frame-corners::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}

.frame-corners::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

/* ─── 3D CAROUSEL — efeito roda (coverflow) ─── */

.carousel-3d-wrap {
  position: relative;
  height: 370px;
  perspective: 900px;
  perspective-origin: 30% 50%;
  overflow: visible;
}

.carousel-spotlight {
  position: absolute;
  top: -50px;
  left: -16px;
  width: 480px;
  height: 480px;
  background: radial-gradient(ellipse at 34% 14%, rgba(255, 100, 40, 0.11) 0%, transparent 54%);
  pointer-events: none;
  z-index: 8;
}

.carousel-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-card {
  position: absolute;
  /* todos os cards começam no mesmo ponto —
     só left + rotateY diferem por posição */
  left: 0;
  top: 48px;
  /* (370 - 274) / 2 */
  width: 440px;
  height: 274px;
  border-radius: 5px;
  overflow: hidden;
  /* borda grossa e visível: é ela que aparece quando o card está de lado */
  border: 2px solid rgba(232, 93, 46, 0.38);
  transform-origin: center center;
  transition:
    left 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* ── ATIVO: frente da roda, levemente virado
   rotateY(-20deg) → direita mais perto do viewer (maior),
   esquerda mais distante (menor)                        ── */
.carousel-card[data-pos="0"] {
  left: 0;
  transform: rotateY(-20deg);
  opacity: 1;
  filter: none;
  border-color: rgba(232, 93, 46, 0.72);
  box-shadow:
    0 0 54px rgba(232, 93, 46, 0.32),
    0 0 16px rgba(232, 93, 46, 0.18),
    0 28px 64px rgba(0, 0, 0, 0.70);
  z-index: 5;
  cursor: default;
}

/* ── 1° na roda: girando de lado, começa a mostrar a borda ── */
.carousel-card[data-pos="1"] {
  left: 200px;
  transform: rotateY(-62deg);
  opacity: 0.75;
  filter: blur(0.5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.54);
  z-index: 4;
}

/* ── 2° na roda: quase de lado — só borda laranja visível ── */
.carousel-card[data-pos="2"] {
  left: 292px;
  transform: rotateY(-76deg);
  opacity: 0.46;
  filter: blur(1.3px);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.50);
  z-index: 3;
}

/* ── 3° na roda: praticamente sumindo ── */
.carousel-card[data-pos="3"] {
  left: 356px;
  transform: rotateY(-84deg);
  opacity: 0.20;
  filter: blur(2px);
  z-index: 2;
}

/* glow no chão */
.carousel-3d-wrap::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -8px;
  width: 450px;
  height: 28px;
  background: radial-gradient(ellipse 66% 50% at 28% 50%, rgba(232, 93, 46, 0.22) 0%, transparent 100%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.carousel-controls {
  position: absolute;
  bottom: -50px;
  right: 0;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.feat-btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.feat-btn-orange:hover {
  background: var(--orange-2);
  box-shadow: 0 0 20px var(--orange-glow);
}

.macbook-frame-wrap {
  width: min(100%, 900px);
}