/* Locally hosted Sora variable font: one WOFF2 supports weights 400–700. */
@font-face{font-family:"Sora";font-style:normal;font-weight:400 700;font-display:swap;src:url("../assets/fonts/sora-latin-wght-normal.woff2") format("woff2")}
/* ==========================================================================
   ORVION — Stacking Card Panels Architecture & Dark/Light System
   ========================================================================== */

:root {
  --bg-dark: #0b0c0e;
  --bg-dark-card: #121318;
  --bg-light: #f5f5f7;
  --bg-light-card: #ffffff;
  --ink: #111215;
  --ink-2: #050608;
  --gray: #5e6066;
  --gray-2: #8a8d94;
  --accent: #01B3EF;
  --accent-turquoise: #01B3EF;
  --accent-cyan: #01B3EF;
  --accent-dark: #011ECA;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-strong: rgba(255, 255, 255, 0.16);
  --line-light: rgba(0, 0, 0, 0.08);
  --line-light-strong: rgba(0, 0, 0, 0.15);
  --panel-radius: 56px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-dark);
  overflow-x: hidden;
}

body {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #ffffff;
  background: var(--bg-dark);
  overflow-x: hidden;
}

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

h1, h2, h3, .wordmark {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

::selection { background: var(--accent-dark); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-turquoise); outline-offset: 3px; border-radius: 4px; }

section { scroll-margin-top: calc(var(--nav-h) + 24px); }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

/* ==========================================================================
   Rotating Blue Gradient Buttons ("gradiente azul girando na margem")
   ========================================================================== */

@keyframes rotate-border {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Conic beam spinning around border margin */
.btn::before {
  content: "";
  position: absolute;
  inset: -140%;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 200deg,
    rgba(1, 30, 202, 0.5) 260deg,
    var(--accent-turquoise) 310deg,
    var(--accent-dark) 345deg,
    var(--accent-cyan) 360deg
  );
  animation: rotate-border 7.5s linear infinite;
}

/* Button solid inner face leaving 1.5px glowing beam */
.btn::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--btn-bg, #111216);
  transition: background-color 0.25s var(--ease);
}

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

.btn-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.45em;
}
.btn-label span {
  display: block;
  transition: transform 0.32s var(--ease);
}
.btn-label span:nth-child(2) {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.btn:hover .btn-label span { transform: translateY(-100%); }

.btn-icon {
  position: relative;
  display: flex;
  gap: 10px;
  flex: none;
  width: 16px;
  height: 16px;
  overflow: hidden;
}
.btn-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.btn-icon svg:nth-child(2) {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
}
.btn:hover .btn-icon svg { transform: translateX(-26px); }

/* Primary Button */
.btn-primary {
  --btn-bg: #111216;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(1, 179, 239, 0.18);
}
.btn-primary:hover {
  --btn-bg: #16181f;
  box-shadow: 0 8px 30px rgba(1, 179, 239, 0.4);
}

/* Secondary Button */
.btn-secondary {
  --btn-bg: #1b1d22;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.btn-secondary:hover {
  --btn-bg: #23262d;
  box-shadow: 0 6px 24px rgba(1, 179, 239, 0.3);
}

/* In Light Panels: Secondary Button adjustments */
.panel--light .btn-secondary {
  --btn-bg: #ffffff;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.panel--light .btn-secondary:hover {
  --btn-bg: #f8f8fa;
}

.btn-lg { padding: 14px 28px; font-size: 15.5px; }

/* Hero secondary CTA: text link */
.hero-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.hero-project-link span {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s ease, color 0.25s ease;
}
.hero-project-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.25s ease;
}
.hero-project-link:hover span {
  color: #ffffff;
  text-decoration-color: currentColor;
}
.hero-project-link:hover svg {
  transform: translateX(3px);
}


/* ==========================================================================
   Custom Cursor
   ========================================================================== */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--accent-turquoise);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cursor-dot.is-hidden { opacity: 0; }

@media (min-width: 1200px) and (pointer: fine) {
  .cursor-dot { display: flex; }
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(1, 179, 239, 0.18) 0%, rgba(1, 179, 239, 0.05) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-glow.is-active { opacity: 1; }

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--accent-turquoise);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

/* ==========================================================================
   Navbar (Dark Theme)
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(11, 12, 14, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px dashed var(--line-dark);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(11, 12, 14, 0.85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: 40px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.logo::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  border-radius: 14px;
  background: radial-gradient(closest-side, rgba(1, 179, 239, 0.55), rgba(1, 30, 202, 0.3), transparent);
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
}

.logo img {
  position: relative;
  width: auto;
  height: 36px;
  filter: drop-shadow(0 2px 10px rgba(1, 179, 239, 0.45));
  transition: transform 0.3s var(--ease);
}
.logo:hover img {
  transform: scale(1.05);
}

.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.menu-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 30px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.menu-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.menu-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--line-dark-strong);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(1, 179, 239, 0.3);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 14px rgba(1, 179, 239, 0.15);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle:hover {
  border-color: rgba(1, 179, 239, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 22px rgba(1, 179, 239, 0.35);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #01B3EF, #011ECA);
  box-shadow: 0 0 8px rgba(1, 179, 239, 0.6);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav.open .nav-toggle {
  border-color: rgba(1, 179, 239, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 24px rgba(1, 179, 239, 0.45);
}
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ==========================================================================
   00. HERO SECTION (Completamente FORA do Stacking - Scroll Normal)
   ========================================================================== */

.top-zone {
  position: relative;
  background: var(--bg-dark);
  z-index: 1;
  padding-bottom: 0;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 76% 48%, rgba(1, 30, 202, 0.2) 0%, rgba(11, 12, 14, 0) 70%),
    radial-gradient(ellipse 45% 45% at 18% 28%, rgba(1, 30, 202, 0.1) 0%, transparent 60%),
    var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 40px;
  width: 100%;
  min-height: calc(100vh - 80px);
  min-height: calc(100svh - 80px);
  margin-inline: 40px;
  padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 40px clamp(40px, 5vw, 68px);
  border-left: 1px dashed var(--line-dark);
  border-right: 1px dashed var(--line-dark);
  z-index: 1;
}

.hero-content {
  text-align: left;
  align-self: center;
  z-index: 2;
}

.hero-title {
  margin-top: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 490px;
  margin-inline: 0;
}
.hero-title .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.35em);
}
.hero-title .w.hl {
  color: var(--accent-turquoise);
  background: linear-gradient(135deg, #01B3EF 0%, #011ECA 60%, #01B3EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  filter: drop-shadow(0 2px 14px rgba(1, 179, 239, 0.4));
  padding-right: 0.12em;
  margin-right: -0.12em;
}
.hero-title.in .w {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.hero-sub {
  margin-top: 16px;
  max-width: 490px;
  margin-inline: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.hero-proof-avatars {
  display: flex;
  align-items: center;
}
.hero-proof-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -8px;
  object-fit: cover;
}
.hero-proof-avatars img:first-child { margin-left: 0; }
.hero-proof strong { color: #ffffff; font-weight: 600; }

/* ==========================================================================
   Hero Stage / Mockup Coverflow
   (Cards laterais somem com opacidade 20% e gradiente)
   ========================================================================== */

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 480px;
  perspective: 1400px;
  perspective-origin: center center;
  overflow: visible;
  user-select: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 105%;
  height: 105%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 30, 202, 0.22) 0%, rgba(1, 30, 202, 0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
}

.mockup-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-scene.is-empty::after {
  content: "Adicione imagens 'hero section N' na pasta public/mockups.";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  padding: 18px 20px;
  border: 1px dashed var(--line-dark-strong);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

/* Card Mockup Frame */
.cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  --cf-w: clamp(360px, 36vw, 530px);
  width: var(--cf-w);
  border-radius: 16px;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
  will-change: transform, opacity, filter;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.mockup-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  background: #0f1013;
}

.mockup-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.mockup-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(11, 12, 14, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.mockup-overlay-badge .badge-icon {
  font-size: 11px;
}

/* Center Active Card */
.cf-card.is-center {
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  opacity: 1;
  filter: blur(0);
  z-index: 4;
  pointer-events: auto;
  -webkit-mask-image: none;
  mask-image: none;
}
.cf-card.is-center:hover {
  transform: translate(-50%, -52%) scale(1.02) rotateY(0deg);
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(1, 179, 239, 0.45);
}
.cf-card.is-center:hover .mockup-viewport img {
  transform: scale(1.02);
}

/* Side Cards: apenas 20% de opacidade e gradiente desvanecendo */
.cf-card.is-left {
  transform: translate(-50%, -50%) translateX(calc(var(--cf-w) * -0.78)) scale(0.82) rotateY(20deg);
  opacity: 0.20;
  filter: blur(1.5px);
  z-index: 2;
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 100%);
}
.cf-card.is-left:hover {
  opacity: 0.75;
  filter: blur(0);
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate(-50%, -50%) translateX(calc(var(--cf-w) * -0.74)) scale(0.86) rotateY(12deg);
}

.cf-card.is-right {
  transform: translate(-50%, -50%) translateX(calc(var(--cf-w) * 0.78)) scale(0.82) rotateY(-20deg);
  opacity: 0.20;
  filter: blur(1.5px);
  z-index: 2;
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 100%);
}
.cf-card.is-right:hover {
  opacity: 0.75;
  filter: blur(0);
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate(-50%, -50%) translateX(calc(var(--cf-w) * 0.74)) scale(0.86) rotateY(-12deg);
}

.cf-card.is-hidden {
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
}

/* Arrows */
.cf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  z-index: 6;
  opacity: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hero-stage:hover .cf-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.cf-arrow:hover {
  background: #252833;
  color: var(--accent-turquoise);
  border-color: var(--accent-turquoise);
  box-shadow: 0 6px 20px rgba(1, 179, 239, 0.4);
  transform: translateY(-50%) scale(1.08);
}
.cf-arrow--prev { left: -8px; }
.cf-arrow--next { right: -8px; }

/* Stage Dots / Progress */
.stage-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(20, 22, 28, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.sd {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.sd:hover {
  background: rgba(255, 255, 255, 0.5);
}
.sd.active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-turquoise);
  box-shadow: 0 2px 10px rgba(1, 179, 239, 0.5);
}

/* ==========================================================================
   Logos Strip (Integrada à Primeira Dobra Escura)
   ========================================================================== */

.logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px dashed var(--line-dark);
  background: var(--bg-dark);
}

.logos-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border-left: 1px dashed var(--line-dark);
  border-right: 1px dashed var(--line-dark);
  border-bottom: 1px dashed var(--line-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.02);
}
.logos-caption::before,
.logos-caption::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--line-dark-strong);
  opacity: 0.4;
}

.logos-strip {
  position: relative;
  display: flex;
  width: 100%;
  border-left: 1px dashed var(--line-dark);
  border-right: 1px dashed var(--line-dark);
}

.logo-cell {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 84px;
  overflow: hidden;
  border-left: 1px dashed var(--line-dark);
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.3s var(--ease);
}
.logo-cell:first-child { border-left: 0; }
.logo-cell:hover {
  background: rgba(255, 255, 255, 0.05);
}

.logo-roll {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: logo-roll 3.2s linear infinite;
}
.logo-cell:hover .logo-roll { animation-play-state: paused; }

.logo-cell:nth-child(2) .logo-roll { animation-delay: 0.13s; }
.logo-cell:nth-child(3) .logo-roll { animation-delay: 0.26s; }
.logo-cell:nth-child(4) .logo-roll { animation-delay: 0.39s; }
.logo-cell:nth-child(5) .logo-roll { animation-delay: 0.52s; }
.logo-cell:nth-child(6) .logo-roll { animation-delay: 0.65s; }

@keyframes logo-roll {
  0%, 30%   { transform: translateY(0);     filter: blur(0); }
  65%       { transform: translateY(-100%); filter: blur(6px); }
  85%, 100% { transform: translateY(-100%); filter: blur(0); }
}

.logo-roll img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  opacity: 0.75;
  transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.logo-cell:hover .logo-roll img {
  opacity: 1;
  transform: scale(0.96);
}

/* ==========================================================================
   STACKING STICKY SECTIONS (Apenas Sections Intermediárias entre Hero e Footer)
   - Section 01 (#sobre) começa normalmente após a Hero (sem cobrir a Hero)
   - Cada section intermediária seguinte é sticky e sobe por cima da anterior
   - Footer fica completamente FORA do sistema em scroll convencional
   ========================================================================== */

.section-panel {
  position: sticky;
  top: 0;
  width: 100%;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 -35px 85px rgba(0, 0, 0, 0.42),
    0 -14px 35px rgba(0, 0, 0, 0.22),
    0 -3px 10px rgba(0, 0, 0, 0.1);
  will-change: transform;
  transform: translateZ(0);
}

.section-panel > .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;
  border-left: 1px dashed var(--panel-line);
  border-right: 1px dashed var(--panel-line);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px);
}

.section-panel[hidden] { display: none !important; }

/* Stacking Order & Layering */
#sobre        { z-index: 2; margin-top: 0; }
#servicos     { z-index: 3; }
#projetos     { z-index: 4; }
#sobre-orvion { z-index: 5; }
#performance  { z-index: 6; }
#parceria     { z-index: 7; }
#time         { z-index: 8; }
#depoimentos  { z-index: 9; }
#faq          { z-index: 10; }
#contato      { z-index: 11; }

/* Projetos: sticky para participar do efeito de stacking/dobra */
#projetos {
  justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   LIGHT PANEL (Branco #f5f5f7)
   -------------------------------------------------------------------------- */
.panel--light {
  --panel-bg: var(--bg-light);
  --panel-ink: var(--ink);
  --panel-gray: var(--gray);
  --panel-card: var(--bg-light-card);
  --panel-line: var(--line-light);
  --panel-line-strong: var(--line-light-strong);

  background: var(--panel-bg);
  color: var(--panel-ink);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: none;
  box-shadow:
    0 -32px 80px rgba(0, 0, 0, 0.22),
    0 -12px 28px rgba(0, 0, 0, 0.1),
    0 -2px 6px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.panel--light .section-head h2 { color: var(--ink-2); }
.panel--light .section-sub,
.panel--light .section-copy { color: var(--panel-gray); }
.panel--light .section-copy strong { color: var(--ink-2); }

.panel--light .card {
  background: var(--panel-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--panel-ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.panel--light .card h3 { color: var(--ink-2); }
.panel--light .card p { color: var(--panel-gray); }

/* --------------------------------------------------------------------------
   DARK PANEL (Preto #0e0f13)
   -------------------------------------------------------------------------- */
.panel--dark {
  --panel-bg: #0e0f13;
  --panel-ink: #ffffff;
  --panel-gray: rgba(255, 255, 255, 0.68);
  --panel-card: #14151b;
  --panel-line: var(--line-dark);
  --panel-line-strong: var(--line-dark-strong);

  background: var(--panel-bg);
  color: var(--panel-ink);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: none;
  box-shadow:
    0 -35px 85px rgba(0, 0, 0, 0.48),
    0 -14px 35px rgba(0, 0, 0, 0.28),
    0 -3px 8px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.panel--dark .section-head h2 { color: #ffffff; }
.panel--dark .section-sub,
.panel--dark .section-copy { color: var(--panel-gray); }
.panel--dark .section-copy strong { color: #ffffff; }

.panel--dark .card {
  background: var(--panel-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--panel-ink);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.panel--dark .card h3 { color: #ffffff; }
.panel--dark .card p { color: var(--panel-gray); }

/* ==========================================================================
   Section Heads & Labels
   ========================================================================== */

.section-head { max-width: 720px; }

.cases > .container > .section-head {
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); }

.section-sub {
  margin-top: 14px;
  font-size: 17px;
  max-width: 560px;
}

.section-copy {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  max-width: 680px;
}

/* ==========================================================================
   Section 01: Sobre a ORVION (Segunda Dobra - Light) & Watermark ORVION
   ========================================================================== */

.about {
  min-height: auto;
  justify-content: center;
}

.about > .container {
  align-items: center;
  text-align: center;
  padding: clamp(52px, 6vw, 76px) clamp(16px, 3vw, 40px) 60px;
  position: relative;
  z-index: 2;
}

.about-head {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-head h2 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  margin-top: 22px;
}

.about-desc {
  margin-top: 18px;
  font-size: clamp(16px, 1.2vw, 18.5px);
  line-height: 1.65;
  color: var(--gray);
  max-width: 720px;
}

/* Watermark ORVION: texto no topo com letras aparecendo e sumindo em loop */
.about-watermark {
  position: absolute;
  top: clamp(24px, 3vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(90px, 15vw, 240px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  user-select: none;
}

.about-watermark span {
  display: inline-block;
  opacity: 0;
  animation: orvion-appear-loop 6s ease-in-out infinite;
}

.about-watermark span:nth-child(1) { animation-delay: 0s; }
.about-watermark span:nth-child(2) { animation-delay: 0.4s; }
.about-watermark span:nth-child(3) { animation-delay: 0.8s; }
.about-watermark span:nth-child(4) { animation-delay: 1.2s; }
.about-watermark span:nth-child(5) { animation-delay: 1.6s; }
.about-watermark span:nth-child(6) { animation-delay: 2s; }

@keyframes orvion-appear-loop {
  0%   { opacity: 0; transform: translateY(30px) scale(0.92); filter: blur(8px); }
  12%  { opacity: 1; transform: none; filter: none; }
  70%  { opacity: 1; transform: none; filter: none; }
  88%  { opacity: 0; transform: translateY(-30px) scale(0.95); filter: blur(6px); }
  100% { opacity: 0; transform: translateY(-30px) scale(0.95); filter: blur(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-watermark span,
  .cases-watermark span {
    opacity: 1;
    animation: none;
    transform: none;
    filter: none;
  }
}

/* ==========================================================================
   Section 07: QUEM SOMOS / NOSSO TIME (Light)
   ========================================================================== */

.team {
  min-height: auto;
  justify-content: center;
}

.team > .container {
  align-items: stretch;
  text-align: left;
  padding: 40px clamp(16px, 3vw, 40px);
  gap: clamp(32px, 4vw, 48px);
  position: relative;
  z-index: 2;
}

.team-head {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-head h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.team-desc {
  margin-top: 14px;
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--gray);
  max-width: 680px;
}

/* Cards dos Fundadores */
.about-founders {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

.founders-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

.founders-dots {
  display: none;
}

.fdot {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fdot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-dark);
  box-shadow: 0 2px 10px rgba(1, 30, 202, 0.35);
}

.founder-card {
  position: relative;
  display: grid;
  grid-template-columns: 32% 68%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.03),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 30, 202, 0.35);
  box-shadow:
    0 16px 36px -8px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(1, 30, 202, 0.15);
}

/* Founder Media - Grayscale por padrão, ganha cor apenas no hover (igual aos projetos) */
.founder-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: #eaedf2;
  overflow: hidden;
}

.founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(1);
  opacity: 0.85;
  transition:
    filter 0.5s var(--ease),
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}

.founder-card:hover .founder-media img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

.founder-badge-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(17, 18, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Founder Content */
.founder-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.4vw, 32px);
  gap: 18px;
  background: #ffffff;
}

.founder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.founder-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-family: "Sora", sans-serif;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

.founder-role {
  font-family: "Sora", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: -0.005em;
}

.founder-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: rgba(1, 30, 202, 0.08);
  border: 1px solid rgba(1, 30, 202, 0.18);
  color: var(--accent-dark);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.founder-card:hover .founder-mark {
  background: var(--accent-dark);
  color: #ffffff;
  transform: rotate(8deg) scale(1.05);
}

/* Founder Quote */
.founder-quote {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.6;
  color: #2b2d33;
  font-style: normal;
  border-left: 2px solid rgba(1, 30, 202, 0.4);
  padding-left: 14px;
}

.founder-quote p {
  color: #2b2d33;
  margin: 0;
}

/* Founder Footer */
.founder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-light);
  margin-top: auto;
}

.founder-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 30px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  font-size: 12px;
  font-weight: 500;
  color: #065f46;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.founder-pillar {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-2);
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.founder-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(1, 30, 202, 0.18);
  background: linear-gradient(135deg, rgba(1, 179, 239, 0.06), rgba(1, 30, 202, 0.08));
  color: var(--ink-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.founder-social svg,
.founder-social img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}
.founder-social:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 30, 202, 0.5);
  background: linear-gradient(135deg, #01b3ef, #011eca);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(1, 30, 202, 0.25);
}

/* Manifesto -> CTA strip at bottom */
.about-manifesto {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Section 03: Projetos / Case Studies (Showcase + Screenshot Auto-Scroll)
   ========================================================================== */

.cases-showcase {
  position: relative;
  width: 100%;
}

.cases-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  width: 100%;
}

/* --- Main Glass Card --- */
.cases-main {
  position: relative;
  flex: 1 1 auto;
  max-width: 640px;
  min-width: 0;
}

.cases-main-glass {
  position: relative;
  border-radius: 22px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55)),
    rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.32),
    0 40px 90px -30px rgba(1, 30, 202, 0.28),
    0 4px 16px -4px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

/* Page-pull transition when swapping the active project */
.cases-main-glass.switching {
  animation: cases-pull 0.6s var(--ease);
}
@keyframes cases-pull {
  0%   { transform: perspective(900px) translateX(36px) rotateY(-5deg) scale(0.97); opacity: 0.3; }
  55%  { transform: perspective(900px) translateX(-8px) rotateY(1.5deg) scale(1.006); opacity: 1; }
  100% { transform: perspective(900px) translateX(0) rotateY(0) scale(1); }
}

/* Fake browser chrome bar on top of the glass frame */
.cases-main-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}
.cases-main-glass::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 4;
  width: 52px;
  height: 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.cases-main-screen {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vh, 520px);
  border-radius: 14px;
  overflow: hidden;
  background: #0d0f13;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.12);
}

.cases-main-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  will-change: transform;
}

/* Title overlay: hidden by default, revealed on hover with diffuse glow */
.cases-main-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  margin-inline: auto;
  width: max-content;
  max-width: 90%;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.cases-main:hover .cases-main-title,
.cases-main-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.cases-main-title::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 40px rgba(1, 30, 202, 0.35), 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}
.cases-main-num {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-turquoise);
}
.cases-main-name {
  position: relative;
  z-index: 1;
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Subtle glass reflection overlay on the bottom of the screen */
.cases-main-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* --- Thumbnails Stack --- */
.cases-thumbs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
  width: clamp(92px, 12vw, 150px);
}

.cases-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 12px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.45s var(--ease);
}

.cases-thumb-img {
  position: relative;
  width: 100%;
  height: clamp(96px, 13vh, 150px);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 6px 18px -6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cases-thumb-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.9);
  opacity: 0.9;
  transform: scale(1.02);
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.cases-thumb-label {
  position: absolute;
  bottom: 6px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: rgba(10, 12, 16, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Active thumbnail: pulled forward like a page from a stack */
.cases-thumb.active {
  transform: translateX(-10px) scale(1.06);
  z-index: 2;
}
.cases-thumb.active .cases-thumb-img {
  border-color: var(--accent-turquoise);
  box-shadow:
    0 0 0 1px rgba(1, 179, 239, 0.4),
    0 10px 28px -8px rgba(1, 30, 202, 0.45),
    0 4px 12px -4px rgba(0, 0, 0, 0.3);
}
.cases-thumb.active .cases-thumb-img img {
  filter: grayscale(0);
  opacity: 1;
}

/* Prevent active thumb from being highlighted differently on hover */
.cases-thumb:hover {
  transform: translateX(-6px) scale(1.03);
}
.cases-thumb:hover .cases-thumb-img {
  border-color: var(--line-light-strong);
}
.cases-thumb.active:hover {
  transform: translateX(-10px) scale(1.06);
}
.cases-thumb.active:hover .cases-thumb-img {
  border-color: var(--accent-turquoise);
}

/* --- Cases More Button --- */
.cases-more {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* --- Watermark PROJETOS --- */
.cases-watermark {
  position: absolute;
  top: clamp(20px, 3vw, 44px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.07);
  pointer-events: none;
  user-select: none;
}

.cases-watermark span {
  display: inline-block;
  opacity: 0;
  animation: projetos-appear-loop 7s ease-in-out infinite;
}

.cases-watermark span:nth-child(1) { animation-delay: 0s; }
.cases-watermark span:nth-child(2) { animation-delay: 0.5s; }
.cases-watermark span:nth-child(3) { animation-delay: 1s; }
.cases-watermark span:nth-child(4) { animation-delay: 1.5s; }
.cases-watermark span:nth-child(5) { animation-delay: 2s; }
.cases-watermark span:nth-child(6) { animation-delay: 2.5s; }
.cases-watermark span:nth-child(7) { animation-delay: 3s; }
.cases-watermark span:nth-child(8) { animation-delay: 3.5s; }

@keyframes projetos-appear-loop {
  0%   { opacity: 0; transform: translateY(30px) scale(0.92); filter: blur(8px); }
  12%  { opacity: 1; transform: none; filter: none; }
  70%  { opacity: 1; transform: none; filter: none; }
  88%  { opacity: 0; transform: translateY(-30px) scale(0.95); filter: blur(6px); }
  100% { opacity: 0; transform: translateY(-30px) scale(0.95); filter: blur(6px); }
}

/* ==========================================================================
   Section 02: Serviços / O que fazemos (Light)
   ========================================================================== */

.services .section-head {
  text-align: center;
  margin-inline: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.services-row {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 16px 0;
  width: 100%;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.services-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1400px, 130vw);
  height: 130%;
  min-height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32) 0%, rgba(139, 92, 246, 0.12) 45%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: so-glow-drift 8s ease-in-out infinite alternate;
}

.services-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: services-ticker 55s linear infinite;
  position: relative;
  z-index: 1;
}
.services-row:hover .services-track {
  animation-play-state: paused;
}

@keyframes services-ticker {
  to { transform: translateX(-50%); }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(280px, 26vw, 340px);
  flex-shrink: 0;
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.panel--dark .service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(37, 99, 235, 0.06),
    inset 0 0 0 1px rgba(59, 130, 246, 0.16);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 45%);
}

.service-card > * { position: relative; z-index: 1; }

.panel--dark .service-card:hover {
  transform: scale(1.05);
  border-color: rgba(1, 179, 239, 0.6);
  box-shadow:
    0 0 0 1px rgba(1, 179, 239, 0.3),
    0 0 26px rgba(1, 179, 239, 0.4),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.service-card h3 { font-size: 22px; }
.service-card p { font-size: 15px; }

/* ==========================================================================
   Section 05: Performance (Light)
   ========================================================================== */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px dashed var(--line-light);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-light-card);
}

.metric-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border-left: 1px dashed var(--line-light);
}
.metric-cell:first-child { border-left: 0; }

.metric-value {
  font-family: "Sora", sans-serif;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.metric-value-text {
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
}

.metric-label {
  font-size: 14px;
  color: var(--gray);
  max-width: 200px;
}

.footnote {
  font-size: 13px;
  color: var(--gray-2);
  text-align: center;
  margin-top: -10px;
}

/* Performance: texto centralizado, watermark ORVION atrás e métricas em vidro */
#performance .container { position: relative; z-index: 1; }

#performance .section-head {
  text-align: center;
  margin-inline: auto;
}

#performance .section-sub { margin-inline: auto; }

.about-watermark.performance-watermark {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 20vw, 320px);
  color: rgba(1, 30, 202, 0.07);
}

#performance .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

#performance .metric-cell {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 3.4vw, 46px) clamp(18px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(1, 30, 202, 0.06);
}

/* ==========================================================================
   Section 06: Parceria (Dark)
   ========================================================================== */

.alliance .section-head {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-block: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--line-dark-strong);
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  animation: pill-neon 7s var(--ease) infinite;
}
.pill:nth-child(1) { animation-delay: 0s; }
.pill:nth-child(3) { animation-delay: 1.2s; }
.pill:nth-child(5) { animation-delay: 2.4s; }
.pill:nth-child(7) { animation-delay: 3.6s; }
.pill:nth-child(9) { animation-delay: 4.8s; }

.plus {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-turquoise);
  animation: plus-pulse 7s var(--ease) infinite;
}
.plus:nth-child(2)  { animation-delay: 0.6s; }
.plus:nth-child(4)  { animation-delay: 1.8s; }
.plus:nth-child(6)  { animation-delay: 3s; }
.plus:nth-child(8)  { animation-delay: 4.2s; }

@keyframes pill-neon {
  0%, 22%, 100% {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line-dark-strong);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.55);
  }
  6% {
    background: rgba(1, 179, 239, 0.16);
    border-color: rgba(1, 179, 239, 0.85);
    box-shadow:
      0 0 0 1px rgba(1, 179, 239, 0.35),
      0 0 22px rgba(1, 179, 239, 0.55),
      0 0 44px rgba(1, 179, 239, 0.22);
    color: #ffffff;
  }
  18% {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line-dark-strong);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.55);
  }
}

@keyframes plus-pulse {
  0%, 22%, 100% { opacity: 0.25; transform: scale(0.85); }
  8% { opacity: 1; transform: scale(1.15); text-shadow: 0 0 14px rgba(1, 179, 239, 0.9); }
  20% { opacity: 0.25; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .pill { animation: none; color: #ffffff; }
  .plus { animation: none; opacity: 1; transform: none; }
}

.alliance-note {
  font-size: 16px;
  color: var(--panel-gray);
  max-width: 600px;
  text-align: center;
  margin-inline: auto;
}

/* ==========================================================================
   Section 04: Sobre a ORVION (Dark — Alta Conversão & Design Futurista)
   ========================================================================== */

#sobre-orvion {
  position: sticky;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 75% 50%, rgba(30, 58, 138, 0.25) 0%, rgba(14, 15, 19, 0.98) 55%), #080a10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.so-bg-glow {
  position: absolute;
  top: 15%;
  right: 8%;
  width: clamp(340px, 45vw, 620px);
  height: clamp(340px, 45vw, 620px);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(139, 92, 246, 0.1) 42%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.section-panel .so-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  padding: clamp(48px, 5vw, 76px) clamp(20px, 3.5vw, 48px);
  position: relative;
  z-index: 2;
}

/* Coluna Esquerda: Texto & Métricas */
.so-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.so-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 26px;
}

.so-highlight {
  background: linear-gradient(135deg, #01B3EF 0%, #011ECA 60%, #01B3EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  filter: drop-shadow(0 2px 14px rgba(1, 179, 239, 0.4));
}

.so-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
  max-width: 560px;
}

.so-body p {
  font-size: clamp(15px, 1.08vw, 16.5px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

/* Ação CTA (usa o mesmo CSS dos botões da hero: .btn .btn-primary) */
.so-action {
  margin-bottom: 46px;
}

/* Stats Row */
.so-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 36px);
  width: 100%;
  max-width: 580px;
}

.so-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.so-stat-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.so-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.35;
  max-width: 130px;
}

/* Coluna Direita: Dashboard Tech — Glassmorphism (100% CSS) */
.so-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.so-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 560px;
  height: clamp(400px, 46vw, 540px);
  margin-inline: auto;
}

.so-stage::before {
  content: "";
  position: absolute;
  inset: -70px -50px;
  z-index: -1;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 65%);
  filter: blur(100px);
  animation: so-glow-drift 8s ease-in-out infinite alternate;
}

@keyframes so-glow-drift {
  from { transform: translate(-5%, -4%) scale(1); opacity: 0.7; }
  to { transform: translate(5%, 4%) scale(1.1); opacity: 1; }
}

/* Glass Card base */
.so-card {
  position: absolute;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(37, 99, 235, 0.06),
    inset 0 0 0 1px rgba(59, 130, 246, 0.16);
  color: #ffffff;
  overflow: hidden;
  will-change: transform;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.so-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 45%);
}

.so-card > * { position: relative; z-index: 1; }

/* Posicionamento dos cards (interface flutuante) */
.so-card--perf {
  top: 0;
  left: 0;
  width: 46%;
  --tilt: -4deg;
  transform: rotate(var(--tilt, 0deg));
  animation: so-float 6.5s ease-in-out infinite;
}

.so-card--sec {
  top: 48%;
  left: 2%;
  width: 43%;
  --tilt: 3deg;
  transform: rotate(var(--tilt, 0deg));
  animation: so-float 7.4s ease-in-out 0.5s infinite;
}

.so-card--seo {
  bottom: 2%;
  left: 44%;
  width: 42%;
  --tilt: -2.5deg;
  transform: rotate(var(--tilt, 0deg));
  animation: so-float 5.9s ease-in-out 1.1s infinite;
}

.so-card--solutions {
  top: 5%;
  right: 0;
  width: 49%;
  --tilt: 2deg;
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.so-card--solutions:hover,
.so-card--perf:hover,
.so-card--sec:hover,
.so-card--seo:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(59, 130, 246, 0.3),
    inset 0 0 30px rgba(37, 99, 235, 0.1),
    inset 0 0 0 1px rgba(59, 130, 246, 0.3);
}

@keyframes so-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.so-stage:hover .so-card { animation-play-state: paused; }

/* Conteúdo dos cards */
.so-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.so-card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.so-card-icon svg {
  width: 15px;
  height: 15px;
}

.so-card-title {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.so-card-metric {
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.so-card-metric small {
  font-size: 0.45em;
  color: #7dd3fc;
}

.so-card-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* Chip de status (Ativa / Otimizado) */
.so-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.so-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  animation: so-chip-pulse 1.8s ease-out infinite;
}

@keyframes so-chip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  100% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
}

/* Card Performance: barra animada */
.so-bar {
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.so-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  animation-fill-mode: forwards;
}

.so-visual.visible .so-bar-fill {
  animation: so-bar-fill 5s ease-in-out 0.2s infinite;
}

@keyframes so-bar-fill {
  0% { width: 0%; }
  30% { width: 98%; }
  46% { width: 90%; }
  66% { width: 98%; }
  82% { width: 94%; }
  100% { width: 98%; }
}

.so-bar-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-150%);
  animation: so-bar-shine 2.6s ease-in-out 0.7s infinite;
}

@keyframes so-bar-shine {
  0% { transform: translateX(-160%); }
  55%, 100% { transform: translateX(380%); }
}

/* Card Segurança: cadeado (SVG) com pulso azul de "protegido" */
.so-card-icon--lock {
  animation: so-lock-pulse 2s ease-in-out infinite;
}

@keyframes so-lock-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(96, 165, 250, 0.65); }
  50% { box-shadow: 0 0 18px rgba(96, 165, 250, 1); }
}

/* Card SEO: lupa + gráfico de crescimento */
.so-card--seo .so-card-icon {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.3);
  animation: so-icon-glow 3.2s ease-in-out infinite alternate;
}

@keyframes so-icon-glow {
  from { box-shadow: 0 0 8px rgba(167, 139, 250, 0.2); }
  to { box-shadow: 0 0 20px rgba(167, 139, 250, 0.55); }
}

.so-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 14px;
  padding: 4px 6px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.16);
}

.so-chart-bar {
  display: block;
  width: 7px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #c4b5fd, #6366f1);
  transform: scaleY(0);
  transform-origin: bottom;
}

.so-visual.visible .so-chart-bar {
  animation: so-chart-grow 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.so-chart-bar-1 { height: 55%; animation-delay: 0.35s; }
.so-chart-bar-2 { height: 85%; animation-delay: 0.55s; }
.so-chart-bar-3 { height: 40%; animation-delay: 0.75s; }

@keyframes so-chart-grow { to { transform: scaleY(1); } }

.so-chart-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.9);
  opacity: 0;
  animation: so-dot-rise 3.4s ease-in-out infinite;
}

.so-chart-dot-1 { left: 10%; bottom: 12%; animation-delay: 0.2s; }
.so-chart-dot-2 { left: 49%; bottom: 20%; animation-delay: 0.8s; }
.so-chart-dot-3 { left: 85%; bottom: 14%; animation-delay: 1.4s; }

@keyframes so-dot-rise {
  0% { opacity: 0; transform: translateY(8px); }
  25% { opacity: 1; }
  70% { opacity: 1; transform: translateY(-16px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Card Nossas Soluções: lista com stagger */
.so-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.so-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.so-list-item::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.so-visual.visible .so-list-item {
  opacity: 1;
  transform: none;
}

.so-visual.visible .so-list-item:nth-child(1) { transition-delay: 0.35s; }
.so-visual.visible .so-list-item:nth-child(2) { transition-delay: 0.5s; }
.so-visual.visible .so-list-item:nth-child(3) { transition-delay: 0.65s; }
.so-visual.visible .so-list-item:nth-child(4) { transition-delay: 0.8s; }
.so-visual.visible .so-list-item:nth-child(5) { transition-delay: 0.95s; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .section-panel .so-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 40px;
  }
  
  .so-content {
    align-items: center;
    text-align: center;
  }

  .so-body {
    margin-inline: auto;
  }

  .so-stat-item {
    align-items: center;
    text-align: center;
  }

  .so-stats {
    justify-items: center;
    margin-inline: auto;
  }

  .so-visual {
    order: 2;
    margin-inline: auto;
    max-width: 580px;
  }
}

@media (max-width: 640.98px) {
  #sobre-orvion {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: hidden;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  /* Garante que os textos e botão fiquem 100% visíveis no mobile sem atraso de observer */
  #sobre-orvion .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .section-panel .so-container {
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .so-title {
    font-size: clamp(23px, 6.5vw, 28px);
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .so-body {
    gap: 10px;
    margin-bottom: 14px;
  }

  .so-body p {
    text-align: center;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .so-body p:nth-child(n + 2) {
    display: none;
  }

  .so-action {
    order: 4;
    margin-top: 10px;
    margin-bottom: 0;
    margin-inline: auto;
    width: 100%;
    max-width: 340px;
  }

  .so-action .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 13px 20px;
  }

  .btn .btn-label {
    height: auto;
    overflow: visible;
  }

  .btn .btn-label span {
    position: relative;
    display: inline;
    transition: none;
  }

  .btn .btn-label span:nth-child(2) {
    display: none;
  }

  /* Mobile: botão abaixo dos cards do dashboard */
  .so-content {
    display: contents;
  }

  .so-title {
    order: 1;
  }

  .so-body {
    order: 2;
  }

  .so-visual {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .so-stats {
    display: none;
  }

  .so-stage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .so-stage::before {
    inset: -20px -15px;
    filter: blur(40px);
  }

  .so-card {
    position: static;
    width: 100%;
    transform: none;
    animation: none;
    padding: 12px 14px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
  }

  .so-card--solutions {
    display: none;
  }

  .so-card-head {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    gap: 6px;
  }

  .so-card-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .so-card-icon svg {
    width: 12px;
    height: 12px;
  }

  .so-card-title {
    font-size: 11px;
  }

  .so-card-metric {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: clamp(18px, 5vw, 22px);
  }

  .so-card-desc {
    display: none;
  }

  .so-chip {
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 3px 9px;
    font-size: 9.5px;
  }

  .so-bar {
    flex: 0 0 100%;
    height: 5px;
    margin-top: 2px;
  }

  .so-chart {
    flex: 0 0 auto;
    height: 22px;
    margin-top: 2px;
  }

  /* Performance: cards compactos cabendo em qualquer tela */
  #performance .metrics-grid {
    gap: 10px;
  }

  #performance .metric-cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    text-align: left;
  }

  #performance .metric-value {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: clamp(24px, 7vw, 36px);
  }

  #performance .metric-value-text {
    font-size: clamp(14px, 4.2vw, 20px);
  }

  #performance .metric-label {
    min-width: 0;
    max-width: 60%;
    text-align: right;
    white-space: normal;
    font-size: clamp(10px, 2.9vw, 12.5px);
    line-height: 1.25;
  }

  /* Parceria: tags bem distribuídas sem sinal '+' solto na linha */
  .pill-row {
    gap: 8px 10px;
    margin-block: 14px;
    max-width: 360px;
    margin-inline: auto;
  }

  .pill {
    padding: 8px 16px;
    font-size: 13.5px;
  }

  .plus {
    font-size: 15px;
  }

  /* ORVION atrás do título no mobile */
  .about-watermark.performance-watermark {
    top: clamp(20px, 5vw, 40px);
    transform: translateX(-50%);
    font-size: clamp(88px, 26vw, 140px);
  }
}

/* ==========================================================================
   Section 08: Depoimentos (Dark)
   ========================================================================== */

.reviews-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  margin-inline: -40px;
  padding-inline: 40px;
}

.reviews-row {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.reviews-track {
  display: flex;
  gap: 20px;
  animation: ticker 32s linear infinite;
  width: max-content;
}
.reviews-row:hover .reviews-track {
  animation-play-state: paused;
}

.row-reverse .reviews-track {
  animation-direction: reverse;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: clamp(320px, 30vw, 420px);
  padding: 28px 24px;
  border-radius: 20px;
  background: #14151b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.review-card blockquote {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
}
.review-card figcaption div strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}
.review-card figcaption div span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Section 09: FAQs (Light)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-top: 1px dashed var(--line-light);
  transition: background-color 0.2s;
}
.faq-item:last-child {
  border-bottom: 1px dashed var(--line-light);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q em {
  font-style: normal;
  color: var(--accent-dark);
  font-weight: 600;
  margin-right: 8px;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(1, 30, 202, 0.22);
  background: linear-gradient(135deg, rgba(1, 179, 239, 0.08), rgba(1, 30, 202, 0.1));
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faq-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  color: var(--accent-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.faq-icon .faq-chevron { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
.faq-icon .faq-close { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0.4); }
.faq-item[open] .faq-icon {
  border-color: rgba(1, 30, 202, 0.45);
  box-shadow: 0 0 14px rgba(1, 30, 202, 0.18);
}
.faq-item[open] .faq-icon .faq-chevron { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(0.4); }
.faq-item[open] .faq-icon .faq-close { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }

.faq-a {
  overflow: hidden;
  max-width: 760px;
  padding: 0 8px 0 34px;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.35s var(--ease), padding-bottom 0.4s var(--ease);
}
.faq-a p {
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Section 10: Contato / CTA Final (Dark - Último Painel Intermediário)
   ========================================================================== */

.cta-final {
  min-height: 100vh;
  min-height: 100svh;
  justify-content: center;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.cta-block h2 {
  font-size: clamp(36px, 5.2vw, 68px);
  color: #ffffff;
  margin-bottom: 16px;
}
.cta-block .section-copy {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 28px;
}
.cta-block .hero-buttons {
  justify-content: center;
}

/* ==========================================================================
   MARQUEE CTA & FOOTER (Completamente FORA do Stacking - Scroll Normal)
   ========================================================================== */

.cta {
  position: relative;
  z-index: 12;
  background: #090a0c;
  padding-block: clamp(32px, 4.5vw, 56px);
  overflow: hidden;
  border-top: 1px dashed var(--line-dark);
  border-bottom: 1px dashed var(--line-dark);
}

.cta-marquee { display: block; }
.cta-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: max-content;
  animation: ticker 51.5s linear infinite;
}
.cta-marquee:hover .cta-track {
  animation-play-state: paused;
}
.cta-marquee:hover .cta-text { color: var(--accent-turquoise); }

.cta-text {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(54px, 8.5vw, 120px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #ffffff;
  transition: color 0.3s;
}
.cta-text svg { width: 0.55em; height: 0.55em; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Footer */
.footer {
  position: relative;
  z-index: 12;
  background: #090a0c;
  padding-top: clamp(48px, 7vw, 80px);
  padding-inline: clamp(20px, 4vw, 48px);
  overflow: hidden;
}

.footer > .container {
  display: flex;
  flex-direction: column;
  border-left: 1px dashed var(--line-dark);
  border-right: 1px dashed var(--line-dark);
  padding: 0 clamp(16px, 3vw, 40px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  display: block;
  width: clamp(130px, 12vw, 180px);
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}
.brand-tag { font-size: 16px; color: rgba(255, 255, 255, 0.9); }
.brand-sub { color: rgba(255, 255, 255, 0.6); font-size: 15px; max-width: 380px; margin-bottom: 8px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s, transform 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--accent-turquoise);
  transform: translateX(3px);
}

.wordmark {
  margin-top: clamp(30px, 5vw, 60px);
  text-align: center;
  font-weight: 700;
  font-size: clamp(78px, 17.5vw, 270px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px dashed var(--line-dark);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--accent-turquoise); }

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* CTA "Fale com a Orvion" (final do time): entrada mais lenta e com mais delay */
.about-manifesto {
  transition-delay: 0.45s;
  transition-duration: 1.4s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .hero-title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
  :root { --panel-radius: 40px; }
  .section-panel { width: 100%; }
  .hero-layout { margin-inline: 15px; padding-inline: 15px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-cell:nth-child(odd) { border-left: 0; }
  .metric-cell:nth-child(n+3) { border-top: 1px dashed var(--line-light); }
  .logos-strip { grid-template-columns: repeat(4, 1fr); }
  .logo-cell:nth-child(4n + 1) { border-left: 0; }
  .logo-cell:nth-child(n + 5) { border-top: 1px dashed var(--line-dark); }
  .founder-card { grid-template-columns: 34% 66%; }
}

@media (max-width: 899.98px) {
  .cases-layout { flex-direction: column; align-items: stretch; }
  .cases-main { width: 90vw; max-width: calc(100vw - 28px); margin-inline: auto; flex: 0 0 auto; }
  .cases-thumbs {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  .cases-thumb { width: 22%; }
  .cases-thumb.active { transform: translateY(-8px) scale(1.06); }
  .cases-thumb:hover { transform: translateY(-4px) scale(1.03); }
  .cases-thumb.active:hover { transform: translateY(-8px) scale(1.06); }
  .footer-top { grid-template-columns: 1fr; }
  .cf-card { --cf-w: clamp(320px, 44vw, 440px); }
  .about-founders { grid-template-columns: 1fr; gap: 24px; max-width: 640px; }
}

@media (max-width: 809.98px) {
  :root { --panel-radius: 28px; }
  /* Os painéis curtos (#sobre, #servicos, #projetos, #performance, #parceria, #time)
     continuam sticky no mobile para preservar o efeito de empilhamento. Apenas os
     painéis longos abaixo (#sobre-orvion, #faq, #contato) fluem naturalmente para
     não cortar conteúdo inalcançável. O anti-flicker vem do min-height: 100svh. */
  .section-panel {
    width: 100%;
    padding-inline: 14px;
    will-change: auto;
    transform: none;
    box-shadow: none;
  }
  .section-panel > .container { padding-inline: 10px; gap: 36px; }

  /* Sobre a ORVION: fluxo natural sem travamento sticky de overflow.
     overflow: hidden clipa os decorativos (glows que vazam 50px+) mas o
     conteudo segue acessivel porque min-height: auto deixa a altura = conteudo. */
  #sobre-orvion {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: hidden;
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(40px, 6vw, 64px);
  }

  .about { min-height: auto; }

  /* FAQs & Contato: fluxo natural sem travamento sticky de overflow */
  #faq {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: hidden;
    padding-top: clamp(48px, 7vw, 72px);
    padding-bottom: clamp(48px, 7vw, 72px);
  }

  #contato {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: hidden;
    padding-top: clamp(56px, 8vw, 84px);
    padding-bottom: clamp(56px, 8vw, 84px);
  }
  .about-founders { grid-template-columns: 1fr; gap: 20px; max-width: 100%; }

  /* Mobile: decorativos pesados do #sobre-orvion viram estáticos.
     Blur(100px) animado + so-float + backdrop-filter causam repaint por frame e
     flicker fixo na transição #projetos -> #sobre-orvion. */
  .so-stage::before { animation: none; filter: blur(48px); }
  .so-card--perf, .so-card--sec, .so-card--seo { animation: none; will-change: auto; }
  .so-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .so-chip::before { animation: none; }
  .so-visual.visible .so-bar-fill { animation: none; }
  .so-bar-fill { width: 98%; }
  .so-bar-shine { animation: none; transform: none; }
  .so-card-icon--lock { animation: none; }
  .so-card--seo .so-card-icon { animation: none; }
  .so-visual.visible .so-chart-bar { animation: none; }
  .so-chart-bar { transform: scaleY(1); }
  .so-chart-dot { animation: none; opacity: 1; }
  .founder-card { grid-template-columns: 1fr; border-radius: 16px; }
  .founder-media { min-height: 280px; height: clamp(260px, 60vw, 340px); }
  .founder-content { padding: 22px 18px; gap: 16px; }
  .about-manifesto { padding: 6px 0 2px; }
  .founder-socials { justify-content: flex-start; }

  .menu, .nav-btn { display: none; }
  .nav-toggle { display: flex; }

  .cases-thumb { width: 26%; }
  .cases-thumb-img { height: clamp(70px, 16vw, 110px); }
  .cases-main-screen { height: clamp(280px, 48vh, 420px); }
  .cases-main-title { opacity: 1; transform: none; pointer-events: none; }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50vw;
    min-width: 300px;
    max-width: 420px;
    height: 100vh;
    padding: calc(var(--nav-h) + 42px) 28px 34px;
    background:
      linear-gradient(135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.012)),
      rgba(10, 10, 10, 0.55);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      -16px 0 40px rgba(0, 0, 0, 0.35),
      inset 1px 0 0 rgba(255, 255, 255, 0.04);
    z-index: 1;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .nav.open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease), visibility 0s;
  }
  .nav.open {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  body.nav-open { overflow: hidden; }
  .nav-inner { position: relative; z-index: 2; }
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .mobile-menu .menu-link {
    padding: 10px 12px;
    font-size: 19px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
  }
  .mobile-menu .menu-link:hover { color: #fff; }
  .mobile-menu .menu-link.is-active {
    color: #ffffff;
    background: rgba(1, 179, 239, 0.14);
  }

  .hero-sub { font-size: 16px; }
  .hero-layout {
    grid-template-columns: 1fr;
    margin-inline: 0;
    padding-inline: 12px;
    min-height: auto;
    height: auto;
    overflow: visible;
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 40px;
  }
  .hero-content { text-align: left; order: 1; }
  .hero-title { margin-inline: 0; }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin-inline: 0;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-project-link { align-self: flex-start; padding-block: 8px; }
  .hero-proof { justify-content: flex-start; }
  .hero-stage { order: 2; height: 320px; perspective: 800px; }
  .cf-card { --cf-w: min(86vw, 440px); }
  .cf-card.is-left { transform: translate(-50%, -50%) translateX(-30vw) rotateY(20deg) scale(0.6); }
  .cf-card.is-right { transform: translate(-50%, -50%) translateX(30vw) rotateY(-20deg) scale(0.6); }
  .cf-arrow { width: 36px; height: 36px; font-size: 15px; }
  .cf-arrow--prev { left: 4px; }
  .cf-arrow--next { right: 4px; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric-cell { border-left: 0 !important; }
  .metric-cell + .metric-cell { border-top: 1px dashed var(--line-light); }

  .logos-strip { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(n + 7) { display: none; }
  .logo-cell { border-left: 1px dashed var(--line-dark); }
  .logo-cell:nth-child(3n + 1) { border-left: 0; }
  .logo-cell:nth-child(n + 5) { border-top: 0; }
  .logo-cell:nth-child(n + 4) { border-top: 1px dashed var(--line-dark); }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
}

/* ==========================================================================
   Team (NOSSO TIME): cards lado a lado no mobile/tablet — pós Responsive
   (vence a cascata dos breakpoints 899/809 do bloco Responsive acima)
   ========================================================================== */

@media (max-width: 899.98px) {
  .founders-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2.5vw, 20px);
  }
}

@media (max-width: 809.98px) {
  .founder-card {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .founder-media {
    min-height: 0;
    height: clamp(150px, 38vw, 210px);
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
  }

  .founder-media img {
    filter: grayscale(0);
    opacity: 1;
    object-position: center 40%;
  }

  .founder-content {
    padding: 16px 14px;
    gap: 10px;
  }
}

@media (max-width: 640.98px) {
  #time {
    min-height: auto;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 28px;
    overflow: visible;
  }

  #time > .container {
    gap: 12px;
    padding-block: 4px;
  }

  .team-head h2 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .team-desc {
    font-size: 13px;
    margin-top: 4px;
  }

  .about-founders {
    overflow: hidden;
  }

  .founders-track {
    display: flex;
    transition: transform 0.55s var(--ease);
  }

  .founder-card {
    flex: 0 0 80%;
    margin-inline: 10%;
    border-radius: 12px;
  }

  .founder-media {
    min-height: 0;
    height: clamp(200px, 54vw, 280px);
    width: 88%;
    margin-top: 12px;
    margin-inline: auto;
    border-radius: 12px;
    overflow: hidden;
  }

  .founder-media img {
    filter: grayscale(0);
    opacity: 1;
  }

  .founder-badge-tag {
    bottom: 8px;
    left: 8px;
    font-size: 9px;
    padding: 3px 8px;
  }

  .founder-content {
    padding: 14px 16px 16px;
    gap: 8px;
  }

  .founder-header {
    gap: 6px;
  }

  .founder-mark {
    display: none;
  }

  .founder-name {
    font-size: clamp(18px, 5vw, 23px);
  }

  .founder-role {
    font-size: 12px;
  }

  .founder-quote {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 10px;
  }

  .founder-footer {
    padding-top: 8px;
    gap: 6px;
  }

  .founder-status {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .founder-pillar {
    font-size: 9px;
  }

  .founder-socials {
    gap: 6px;
  }

  .founder-social {
    width: 30px;
    height: 30px;
  }

  .founder-social svg,
  .founder-social img {
    width: 14px;
    height: 14px;
  }

  .founders-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
  }
}

/* Mobile refinements: hero order, centered CTAs and 2-column logo marquee */
.logo-cell.logo-clone { display: none; }

@media (max-width: 809.98px) {
  .hero-stage { order: 1; }
  .hero-content { order: 2; }

  .hero-buttons {
    align-items: center;
    width: auto;
    max-width: none;
    margin-inline: auto;
  }
  .hero-buttons .btn { width: auto; }
  .hero-project-link { align-self: center; }

  .logos { overflow: hidden; }
  .logos-strip {
    width: 600%;
    grid-template-columns: none;
    display: flex;
    animation: mobile-logo-marquee 18s linear infinite;
    will-change: transform;
  }
  .logo-cell,
  .logo-cell.logo-clone {
    display: block !important;
    flex: 0 0 calc(100% / 12);
    border-top: 0 !important;
    border-left: 1px dashed var(--line-dark) !important;
  }
  .logo-cell:first-child { border-left: 0 !important; }
  .logo-roll {
    position: static;
    height: 100%;
    animation: none !important;
    filter: none !important;
  }
  .logo-roll img {
    height: 100%;
  }
  .logo-roll img:nth-child(2) { display: none; }
}

@keyframes mobile-logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile global horizontal spacing */
@media (max-width: 809.98px) {
  section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
  }
}

/* ========================================================================== 
   Mobile refinements v8
   Hero: title > slides > copy > CTAs; compact sections; swipeable logo loop
   ========================================================================== */
@media (max-width: 809.98px) {
  /* Consistent section rhythm on mobile */
  section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
  }

  .section-panel {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .section-panel > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #time,
  #sobre-orvion,
  #faq,
  #contato {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }

  /* Hero mobile order: title > slides > copy > buttons > proof */
  .hero {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: calc(var(--nav-h) + 35px);
    padding-bottom: 35px;
  }

  .hero-content {
    display: contents;
  }

  .hero-title {
    order: 1;
    width: 100%;
    max-width: 620px;
    margin: 0 auto 24px;
    text-align: center;
  }

  .hero-stage {
    order: 2;
    width: 100%;
    margin: 0 auto 26px;
  }

  .hero-sub {
    order: 3;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-buttons {
    order: 4;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 24px auto 0;
  }

  .hero-buttons .btn-primary {
    width: auto;
    min-width: min(270px, 88vw);
    padding-left: 30px;
    padding-right: 30px;
    justify-content: center;
  }

  .hero-project-link {
    align-self: center;
    margin-bottom: 20px;
  }

  .hero-proof {
    order: 5;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    margin: 34px auto 0;
    text-align: center;
  }

  /* First light section: more breathing room between heading and copy */
  #sobre .about-head .section-sub {
    margin-top: 20px;
  }

  /* Client logos: 2 visible columns, automatic + touch/mouse scrolling */
  .logos {
    overflow: hidden;
    padding-top: 35px !important;
    padding-bottom: 0 !important;
  }

  .logos-strip {
    display: flex;
    width: 100%;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    animation: none !important;
    will-change: scroll-position;
    scrollbar-width: none;
    cursor: grab;
  }

  .logos-strip::-webkit-scrollbar { display: none; }
  .logos-strip.is-dragging { cursor: grabbing; }

  .logo-cell,
  .logo-cell.logo-clone {
    display: block !important;
    flex: 0 0 50%;
    min-width: 50%;
    border-top: 0 !important;
    border-left: 1px dashed var(--line-dark) !important;
  }

  .logo-cell:first-child { border-left: 0 !important; }
}


/* ========================================================================== 
   Mobile refinements v9
   20px outer margins; slides > title > copy > CTAs; 55px section rhythm
   ========================================================================== */
@media (max-width: 809.98px) {
  /* Replace the previous 15px inner padding with 20px outer margins. */
  section {
    width: auto !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* Standard vertical rhythm for content sections. */
  .section-panel,
  #time,
  #sobre-orvion,
  #faq,
  #contato {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  .section-panel > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero mobile order: slides > title > copy > buttons > proof. */
  .hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: calc(var(--nav-h) + 55px);
    padding-bottom: 55px;
  }

  .hero-stage {
    order: 1;
    margin: 0 auto 28px;
  }

  .hero-title {
    order: 2;
    margin: 0 auto 18px;
    text-align: center;
  }

  .hero-sub {
    order: 3;
    margin: 0 auto;
    text-align: center;
  }

  .hero-buttons {
    order: 4;
    margin-top: 24px;
  }

  .hero-buttons .btn-primary {
    min-width: min(290px, 92vw);
    padding-left: 50px;
    padding-right: 50px;
  }

  .hero-proof {
    order: 5;
    margin-top: 20px;
  }

  /* Keep the client logo strip automatic and swipeable, two visible at a time. */
  .logos-strip {
    overflow-x: auto;
    animation: none !important;
  }

  .logo-cell,
  .logo-cell.logo-clone {
    flex: 0 0 50%;
    min-width: 50%;
  }
}


/* ========================================================================== 
   Mobile refinements v10
   20px inner padding; compact hero; larger proof gap; arrows hidden
   ========================================================================== */
@media (max-width: 809.98px) {
  /* Use inner padding instead of outer margins on mobile. */
  section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .section-panel {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Hero only: 20px above content after the navigation, no bottom spacing. */
  .hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 0 !important;
  }

  .hero-layout {
    margin-inline: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: calc(var(--nav-h) + 20px) !important;
    padding-bottom: 0 !important;
  }

  /* More breathing room before the proof line. */
  .hero-proof {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
  }

  /* Hide carousel navigation arrows only on mobile. */
  .hero-stage .cf-arrow {
    display: none !important;
  }

  /* Two client logos visible at a time. Autoplay is handled in JS and remains swipeable. */
  .logos-strip {
    width: 100% !important;
    overflow-x: auto !important;
    animation: none !important;
  }

  .logo-cell,
  .logo-cell.logo-clone {
    flex: 0 0 50% !important;
    min-width: 50% !important;
  }
}

/* ========================================================================== 
   Mobile refinements v11
   Fix logo autoplay, compact hero and restore mobile About content
   ========================================================================== */
@media (max-width: 809.98px) {
  /* Standard mobile heading size. */
  h2,
  .section-head h2,
  .about-head h2,
  .team-head h2,
  .so-title,
  .cta-block h2 {
    font-size: clamp(29px, 7.8vw, 34px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }

  /* Hero: no artificial height or bottom spacing. */
  .hero {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }
  .hero-layout {
    min-height: 0 !important;
    height: auto !important;
    padding-top: calc(var(--nav-h) + 20px) !important;
    padding-bottom: 0 !important;
  }
  .hero-proof {
    justify-content: center !important;
    text-align: center !important;
    margin-top: 48px !important;
    margin-bottom: 0 !important;
  }
  .hero-proof-avatars { display: none !important; }

  /* Restore the full About copy on mobile. */
  #sobre-orvion .so-body p:nth-child(n + 2) {
    display: block !important;
  }

  /* Logo rail: two cards visible, native swipe enabled. */
  .logos-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    will-change: scroll-position;
  }
  .logos-strip::-webkit-scrollbar { display: none; }
  .logos-strip .logo-cell {
    display: block !important;
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 50% !important;
  }
}

/* ========================================================================== 
   Mobile refinements v12
   Container gutters; compact hero proof; zero top-zone bottom spacing
   ========================================================================== */
@media (max-width: 809.98px) {
  /* Keep sections full width and move the horizontal gutter to their containers. */
  section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .section-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero sits flush with the logos section at the bottom. */
  .top-zone {
    padding-bottom: 0 !important;
  }

  .hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-layout {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 0 !important;
  }

  /* Keep the project-count proof visually close to the hero content. */
  .hero-proof {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }
}


/* ==========================================================================
   Mobile refinements v13
   Standard 20px container gutters; restore hero avatars; shorter team title
   ========================================================================== */
.team-title-mobile { display: none; }

@media (max-width: 809.98px) {
  /* Standard horizontal gutter for every section container. */
  section > .container,
  .section-panel > .container,
  .footer > .container,
  .top-zone > .container,
  .container {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* Restore the client avatars beside the project count on mobile. */
  .hero-proof {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .hero-proof-avatars {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }
  .hero-proof-avatars img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    object-fit: cover !important;
  }

  /* Shorter copy only on mobile. */
  .team-title-desktop { display: none !important; }
  .team-title-mobile { display: inline !important; }
}

/* ========================================================================== 
   Mobile refinements v15
   About/Orvion dashboard cards keep a loose desktop-like composition
   ========================================================================== */
@media (max-width: 809.98px) {
  #sobre-orvion .so-visual {
    width: 100%;
  }

  #sobre-orvion .so-stage {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 320px;
    margin-inline: auto;
    display: block;
    aspect-ratio: auto;
  }

  #sobre-orvion .so-stage::before {
    inset: -24px -18px;
    filter: blur(44px);
  }

  #sobre-orvion .so-card {
    position: absolute;
    inset: auto;
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
    animation: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
  }

  #sobre-orvion .so-card--perf {
    top: 0;
    left: 0;
    width: 47%;
    min-height: 142px;
    transform: rotate(-3deg);
  }

  #sobre-orvion .so-card--sec {
    top: 156px;
    left: 10px;
    width: 46%;
    min-height: 122px;
    transform: rotate(1.5deg);
  }

  #sobre-orvion .so-card--seo {
    top: 178px;
    right: 0;
    width: 46%;
    min-height: 132px;
    transform: rotate(-2deg);
  }

  #sobre-orvion .so-card--solutions {
    display: none !important;
  }

  #sobre-orvion .so-card-head {
    width: 100%;
    flex: 0 0 auto;
    margin-bottom: 10px;
    gap: 7px;
  }

  #sobre-orvion .so-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  #sobre-orvion .so-card-icon svg {
    width: 14px;
    height: 14px;
  }

  #sobre-orvion .so-card-title {
    font-size: 11px;
  }

  #sobre-orvion .so-card-metric {
    flex: 0 0 auto;
    margin: 0 0 7px;
    font-size: clamp(24px, 8vw, 34px);
  }

  #sobre-orvion .so-card-desc {
    display: block;
    margin: 0 0 10px;
    font-size: 9.5px;
    line-height: 1.35;
  }

  #sobre-orvion .so-chip {
    flex: 0 0 auto;
    margin: 0 0 9px;
    padding: 4px 9px;
  }

  #sobre-orvion .so-bar {
    width: 100%;
    margin-top: auto;
  }

  #sobre-orvion .so-bar-fill {
    width: 97%;
    animation: none;
  }

  #sobre-orvion .so-bar-shine {
    display: none;
  }

  #sobre-orvion .so-chart {
    width: 100%;
    margin-top: auto;
  }
}


/* ========================================================================== 
   Mobile refinements v16
   Centered landscape Performance card + loose supporting cards
   ========================================================================== */
@media (max-width: 809.98px) {
  #sobre-orvion .so-stage {
    max-width: 340px;
    height: 330px;
  }

  #sobre-orvion .so-card--perf {
    top: 0;
    left: 50%;
    width: 78%;
    min-height: 112px;
    transform: translateX(-50%) rotate(-1.5deg);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
  }

  #sobre-orvion .so-card--perf .so-card-head {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  #sobre-orvion .so-card--perf .so-card-metric {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    align-self: center;
  }

  #sobre-orvion .so-card--perf .so-card-desc {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    max-width: 130px;
  }

  #sobre-orvion .so-card--perf .so-bar {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 6px;
  }

  #sobre-orvion .so-card--sec {
    top: 142px;
    left: 8px;
    width: 46%;
    min-height: 126px;
    transform: rotate(-1.5deg);
  }

  #sobre-orvion .so-card--seo {
    top: 165px;
    right: 6px;
    width: 46%;
    min-height: 138px;
    transform: rotate(2deg);
  }
}


/* ==========================================================================
   Mobile refinements v20
   Hero title in 3 lines; move logo spacing to project proof
   ========================================================================== */
.hero-mobile-break { display: none; }

@media (max-width: 809.98px) {
  .hero-mobile-break { display: block; }

  .hero-title {
    font-size: clamp(28px, 8.2vw, 32px) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }

  .hero-proof {
    padding-bottom: 20px !important;
  }

  .logos {
    padding-top: 0 !important;
  }
}


/* ========================================================================== 
   Refinements v21
   Services drag support + mobile hero composition
   ========================================================================== */
.services-row {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.services-row.is-dragging { cursor: grabbing; }
.services-row.is-dragging .services-track { animation-play-state: paused !important; }

@media (max-width: 809.98px) {
  .hero-stage {
    height: 250px !important;
  }

  .hero-stage .cf-card {
    --cf-w: min(74vw, 340px) !important;
  }

  .hero-stage .cf-card.is-left {
    transform: translate(-50%, -50%) translateX(-27vw) rotateY(18deg) scale(0.68) !important;
    opacity: 0.34 !important;
  }

  .hero-stage .cf-card.is-right {
    transform: translate(-50%, -50%) translateX(27vw) rotateY(-18deg) scale(0.68) !important;
    opacity: 0.34 !important;
  }

  .hero-stage .cf-card.is-center {
    transform: translate(-50%, -50%) scale(0.90) rotateY(0deg) !important;
  }
}


/* ========================================================================== 
   Floating WhatsApp CTA
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  text-decoration: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
  opacity: 0;
  transform: translateY(22px) scale(0.82);
  animation: whatsapp-float-enter 0.72s cubic-bezier(.2,.8,.2,1) 0.8s forwards;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.28s var(--ease),
    filter 0.28s var(--ease);
}


.whatsapp-float img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.055);
  filter:
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 12px rgba(1, 179, 239, 0.22));
}


.whatsapp-float:active {
  transform: translateY(0) scale(0.93);
  transition-duration: 0.09s;
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(1, 179, 239, 0.9);
  outline-offset: 5px;
}

@keyframes whatsapp-float-enter {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.82) rotate(6deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.035) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@media (max-width: 809.98px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }
}



.back-to-top-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9998;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  text-decoration: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
  opacity: 0;
  transform: translateY(22px) scale(0.82);
  animation: whatsapp-float-enter 0.72s cubic-bezier(.2,.8,.2,1) 1s forwards;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}

.back-to-top-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.back-to-top-float:hover {
  transform: translateY(-4px) scale(1.055);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 12px rgba(1, 179, 239, 0.22));
}

.back-to-top-float:active {
  transform: translateY(0) scale(0.93);
  transition-duration: 0.09s;
}

.back-to-top-float:focus-visible {
  outline: 3px solid rgba(1, 179, 239, 0.9);
  outline-offset: 5px;
}

@media (max-width: 809.98px) {
  .back-to-top-float {
    left: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

}


/* ==========================================================================
   Projects expansion v25
   ========================================================================== */
@media (min-width: 900px) {
  .cases-thumbs {
    max-height: clamp(430px, 64vh, 650px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 4px;
  }
  .cases-thumbs::-webkit-scrollbar { width: 4px; }
  .cases-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
  }
}
@media (max-width: 899.98px) {
  .cases-thumbs {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 10px 4px 8px;
  }
  .cases-thumbs::-webkit-scrollbar { display: none; }
  .cases-thumb {
    flex: 0 0 26%;
    width: 26%;
    scroll-snap-align: center;
  }
}


/* ========================================================================== 
   Projects navigation v26
   Hero-style bullet navigation + reliable mobile swipe
   ========================================================================== */
.cases-nav-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex: 0 0 auto;
}

.cases-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 7px;
  background: rgba(20, 22, 28, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,.24);
}

.cases-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.cases-dot:hover { transform: scale(1.2); background: rgba(255,255,255,.55); }
.cases-dot.active {
  background: var(--accent-turquoise);
  box-shadow: 0 0 0 3px rgba(1,179,239,.15), 0 0 12px rgba(1,179,239,.55);
  transform: scale(1.18);
}

@media (min-width: 900px) {
  .cases-thumbs {
    overflow-y: auto;
    scrollbar-width: none;
    padding-right: 0;
  }
  .cases-thumbs::-webkit-scrollbar { display: none; }
  .cases-dots {
    flex-direction: column;
    align-self: center;
  }
}

@media (max-width: 899.98px) {
  .cases-nav-wrap {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .cases-thumbs {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .cases-thumbs::-webkit-scrollbar { display: none; }
  .cases-dots {
    flex-direction: row;
    align-self: center;
  }
  .cases-main-glass {
    touch-action: pan-y;
  }
}


/* ========================================================================== 
   Projects mobile arrows v27
   ========================================================================== */
.cases-mobile-arrows {
  display: none;
}

@media (max-width: 899.98px) {
  .cases-dots {
    display: none !important;
  }

  .cases-mobile-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin: 14px 0 10px;
  }

  .cases-mobile-arrow {
    appearance: none;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(12, 18, 28, 0.14);
    background: transparent;
    color: #11151d;
    cursor: pointer;
    transition: transform .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
  }

  .cases-mobile-arrow svg {
    width: 17px;
    height: 17px;
  }

  .cases-mobile-arrow:active {
    transform: scale(.92);
    background: rgba(1, 179, 239, .08);
    border-color: rgba(1, 179, 239, .35);
    color: var(--accent-turquoise);
  }

  .cases-nav-wrap {
    gap: 0;
  }
}


/* Projects CTA spacing v28 */
#projetos .cases-more {
  padding-top: 20px;
}


/* ========================================================================== 
   Language selector
   ========================================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.language-switcher {
  position: relative;
  color: #fff;
}
.language-switcher summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { opacity: .78; }
.language-switcher summary:active { transform: scale(.96); }
.language-switcher summary svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.language-switcher[open] summary svg { transform: rotate(180deg); }
.lang-flag { font-size: 23px; line-height: 1; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 180px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(11,12,14,.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.language-menu a:hover { background: rgba(255,255,255,.08); color:#fff; }
.lang-name { white-space: nowrap; }

@media (max-width: 809.98px) {
  .nav-inner { gap: 6px; }
  .nav-actions { margin-left: auto; gap: 2px; }
  .nav-actions .nav-btn {
    display: inline-flex !important;
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }
  .nav-actions .nav-btn .btn-icon { display: none; }
  .language-switcher summary { width: 38px; min-width: 38px; height: 38px; padding: 0; gap: 3px; }
  .language-switcher summary svg { width: 11px; height: 11px; }
  .lang-flag { font-size: 20px; }
  .language-menu { min-width: 168px; }
}

@media (max-width: 480px) {
  .nav-inner { padding-inline: 14px; }
  .logo img { height: 29px; }
  .nav-actions .nav-btn { padding-inline: 9px; }
  .nav-actions .nav-btn .btn-label span { font-size: 10px; }
  .nav-toggle { width: 38px; height: 38px; }
}


/* ========================================================================== 
   Language switcher v30 - image flags only
   ========================================================================== */
.language-switcher summary {
  padding: 0;
  width: 44px;
  min-width: 44px;
  height: 36px;
  justify-content: center;
  gap: 5px;
}

.lang-flag-img {
  display: block;
  width: 25px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
}

.language-menu {
  min-width: 54px;
  width: 54px;
  padding: 6px;
  gap: 4px;
}

.language-menu a {
  min-height: 38px;
  padding: 6px;
  justify-content: center;
  border-radius: 8px;
}

.language-menu .lang-flag-img {
  width: 30px;
  height: 21px;
}

@media (max-width: 809.98px) {
  /* Mobile header keeps only logo, language selector and menu toggle. */
  .nav-actions .nav-btn {
    display: none !important;
  }

  .language-switcher summary {
    width: 40px;
    min-width: 40px;
    height: 36px;
  }

  .lang-flag-img {
    width: 24px;
    height: 17px;
  }

  .language-menu {
    min-width: 52px;
    width: 52px;
  }
}


/* ========================================================================== 
   Language switcher v32 - flag + short language code, no arrow
   ========================================================================== */
.language-switcher summary svg {
  display: none !important;
}

.language-switcher summary {
  width: auto;
  min-width: 58px;
  height: 38px;
  padding: 0 9px;
  gap: 7px;
  justify-content: center;
}

.lang-code {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: currentColor;
}

.language-menu {
  width: auto;
  min-width: 78px;
  padding: 6px;
}

.language-menu a {
  justify-content: flex-start;
  gap: 8px;
  min-height: 38px;
  padding: 7px 9px;
}

.language-menu .lang-code {
  font-size: 12px;
}

@media (max-width: 809.98px) {
  .language-switcher summary {
    width: auto;
    min-width: 56px;
    height: 36px;
    padding: 0 8px;
    gap: 6px;
  }

  .language-menu {
    min-width: 74px;
  }
}


/* ==========================================================================
   Performance + agentic readiness v37
   Keep the LCP headline paintable immediately; JS can still enhance layout.
   ========================================================================== */
.hero-title .w {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.hero-title.in .w {
  transition: none !important;
}


/* Footer social links with icons */
.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
}
.footer-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}
@media (max-width: 809.98px) {
  .footer-social-link img {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}


/* ========================================================================== 
   Section 01 split layout: visual left, copy right
   ========================================================================== */
#sobre.about-split {
  padding: 0 !important;
  min-height: clamp(520px, 72vh, 760px);
  align-items: stretch;
  justify-content: stretch;
}

#sobre.about-split > .about-split-container {
  width: 100%;
  max-width: none;
  min-height: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  text-align: initial;
}

.about-split-media {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.about-split-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#sobre.about-split .about-head {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(56px, 7vw, 110px) clamp(44px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

#sobre.about-split .about-head h2 {
  margin-top: 0;
  max-width: 760px;
}

#sobre.about-split .about-head .section-sub {
  max-width: 650px;
  margin-top: 24px;
  line-height: 1.65;
}

@media (max-width: 809.98px) {
  #sobre.about-split {
    padding: 0 !important;
    min-height: auto !important;
  }

  #sobre.about-split > .about-split-container {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0 !important;
    gap: 0;
  }

  .about-split-media {
    width: 100%;
    height: clamp(235px, 62vw, 340px);
    min-height: 0;
    margin: 0;
  }

  .about-split-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  #sobre.about-split .about-head {
    width: 100%;
    padding: 42px 20px 55px;
    align-items: center;
    text-align: center;
  }

  #sobre.about-split .about-head h2 {
    margin: 0;
    max-width: 680px;
    text-align: center;
    text-wrap: balance;
  }

  #sobre.about-split .about-head .section-sub {
    margin-top: 20px;
    max-width: 620px;
    text-align: center;
  }
}

/* Legal links in main footer */
.footer-bottom-legal{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-legal-links{display:flex;gap:26px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.footer-legal-links a{color:inherit;transition:color .2s ease}.footer-legal-links a:hover{color:#fff}@media(max-width:809.98px){.footer-bottom-legal{flex-direction:column;align-items:flex-start}.footer-legal-links{justify-content:flex-start;gap:10px 18px}}

/* Performance and accessibility corrections — October 2026 */
.footer-col > span { color: rgba(255,255,255,.72); }
/* Invisible hit areas preserve the original indicator design. */
.stage-dots .sd { position:relative; min-width:24px; min-height:32px; background:transparent; box-shadow:none; display:grid; place-items:center; }
.stage-dots .sd::before {content:"";display:block;width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.3);transition:width .2s,background .2s;}
.stage-dots .sd.active::before {width:22px;background:var(--accent-turquoise);}
.stage-dots .sd:hover::before {background:rgba(255,255,255,.75);}
.stage-dots .sd.active:hover::before {background:var(--accent-turquoise);}
@media (prefers-reduced-motion:reduce) {
  .hero-stage .cf-card,.mockup-viewport img,.founders-track,.services-track,.logos-strip,.footer-social-link {animation-duration:.01ms!important;transition-duration:.01ms!important;}
}


/* LCP: hero heading must paint without JS; keep typography and highlighted word. */
.hero-title .w { opacity:1; transform:none; filter:none; }
.hero-title.in .w { opacity:1; transform:none; filter:none; transition:none; }
/* Preserve highlighted gradient/shadow while removing initial blur from ordinary words. */
.hero-title .w.hl { filter:drop-shadow(0 2px 14px rgba(1,179,239,.4)); }
/* HTML-first hero slide appears immediately, prior to coverflow initialization. */
.mockup-scene > .cf-card[data-initial-slide] { z-index:4; }


/* Hero slide navigation: restore compact, thin indicator rail below the mockups.
   Touch hit targets remain generous without increasing the visual bar's height. */
.hero-stage .stage-dots {
  bottom: -18px;
  height: 12px;
  padding: 0 5px;
  gap: 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
}
.hero-stage .stage-dots .sd {
  box-sizing: border-box;
  width: 24px;
  min-width: 24px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
}
.hero-stage .stage-dots .sd::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  transition: width .2s ease, background .2s ease;
}
.hero-stage .stage-dots .sd.active::before {
  width: 16px;
  height: 6px;
  background: var(--accent-turquoise);
}
.hero-stage .stage-dots .sd:hover::before { background: rgba(255,255,255,.85); }
.hero-stage .stage-dots .sd.active:hover::before { background: var(--accent-turquoise); }
.hero-stage .stage-dots .sd:focus-visible { outline: 2px solid var(--accent-turquoise); outline-offset: 0; border-radius: 5px; }
@media (max-width: 809.98px) {
  .hero-stage .stage-dots { bottom: -14px; }
}


/* Slim horizontal hero progress rail (visual only; touch targets stay 30px). */
.hero-stage .stage-dots{bottom:4px;height:22px;padding:0 9px;gap:5px;min-width:160px;border-radius:999px;background:rgba(18,21,30,.68);border:1px solid rgba(255,255,255,.12);box-shadow:0 2px 12px rgba(0,0,0,.22);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hero-stage .stage-dots .sd{width:20px;min-width:20px;height:30px;min-height:30px;flex:0 0 20px}
.hero-stage .stage-dots .sd::before{width:5px;height:5px}
.hero-stage .stage-dots .sd.active::before{width:15px;height:5px}
@media(max-width:809.98px){.hero-stage .stage-dots{bottom:0;min-width:150px;height:20px;gap:4px}}


/* LCP: paint the server-rendered hero image without effects or transitions.
   Coverflow motion remains enabled as soon as a slide actually changes. */
.hero-stage:not(.is-interactive) .cf-card,
.hero-stage:not(.is-interactive) .mockup-viewport img {
  transition: none !important;
  will-change: auto;
}
.hero-stage .cf-card.is-center {
  filter: none;
}
/* The large decorative blur need not be rasterized during the first mobile paint.
   Its radial gradient is retained, so the effect stays visually close. */
@media (max-width: 809.98px) {
  .hero-stage::before { filter: none; }
  .hero-stage:not(.is-interactive) .cf-card.is-left,
  .hero-stage:not(.is-interactive) .cf-card.is-right { filter: none; }
}

/* Portfólio (desktop): a miniatura ativa avança para a esquerda e cresce.
   Com o overflow da coluna rolável ela era cortada na borda esquerda;
   o respiro interno dá espaço para ela aparecer inteira, à frente. */
@media (min-width: 900px) {
  .cases-thumbs {
    width: calc(clamp(92px, 12vw, 150px) + 26px);
    padding: 12px 8px 12px 18px;
    margin-left: -18px;
  }
  .cases-thumb.active { z-index: 3; }
}


/* ============ MURAL DE SITES (2ª dobra) ============ */
.about-split-media.sites-wall {
  position: relative;
  isolation: isolate;
  background: radial-gradient(120% 90% at 30% 20%, #1a1d24 0%, #0b0c0e 62%);
  perspective: 1800px;
}
.sites-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, #0b0c0e 0%, rgba(11, 12, 14, 0) 16%, rgba(11, 12, 14, 0) 84%, #0b0c0e 100%),
    radial-gradient(60% 50% at 70% 60%, rgba(1, 179, 239, 0.16), transparent 70%);
}
.sites-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
}
.sw-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  transform: translate(-50%, -50%) rotateX(24deg) rotateZ(-14deg) scale(1.02);
  transform-style: preserve-3d;
}
.sw-col {
  width: clamp(120px, 11.5vw, 190px);
  flex: 0 0 auto;
  height: 160vh;
  min-height: 1100px;
  overflow: hidden;
}
.sw-col:nth-child(even) { margin-top: -140px; }
.sw-track {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 24px);
  animation: swUp 70s linear infinite;
  will-change: transform;
}
.sw-col:nth-child(2) .sw-track { animation-duration: 86s; animation-direction: reverse; }
.sw-col:nth-child(3) .sw-track { animation-duration: 62s; }
.sw-col:nth-child(4) .sw-track { animation-duration: 94s; animation-direction: reverse; }
.sw-col:nth-child(5) .sw-track { animation-duration: 76s; }
.sites-wall.is-paused .sw-track { animation-play-state: paused; }
@keyframes swUp { to { transform: translateY(calc(-50% - clamp(7px, 0.8vw, 12px))); } }
.sw-card {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #16181d;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.sw-card img { display: block; width: 100%; height: auto; }
.sw-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font: 600 11px/1 "Sora", system-ui, sans-serif;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(11, 12, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
@media (max-width: 809.98px) {
  .about-split-media.sites-wall { height: clamp(300px, 82vw, 420px); }
  .sw-plane { transform: translate(-50%, -50%) rotateX(22deg) rotateZ(-14deg) scale(1); }
  .sw-col { width: clamp(96px, 27vw, 150px); height: 900px; min-height: 0; }
  .sw-col:nth-child(even) { margin-top: -90px; }
  .sw-card figcaption { font-size: 9.5px; padding: 5px 8px; left: 7px; bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-track { animation: none; }
}
