:root {
  /* Clean Minimalist Light Mode */
  --background: #fafafa; 
  --foreground: #18181b; 
  --card: #ffffff; 
  --card-foreground: #18181b;
  --popover: #ffffff;
  --popover-foreground: #18181b;
  
  /* Brand color: #afa2ff */
  --primary: #afa2ff;
  --primary-foreground: #09090b; /* Dark text on light primary for contrast */
  --primary-hover: #9c8eeb;
  
  --secondary: #f4f4f5; 
  --secondary-foreground: #18181b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --accent: #afa2ff;
  --accent-foreground: #09090b;
  --border: #e4e4e7; 
  --input: #e4e4e7;
  --ring: #afa2ff;
  --radius: 0.5rem;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/helvetica-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Helvetica', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background-color: rgba(175, 162, 255, 0.3);
  color: var(--foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), #c4b5fd);
  border-radius: 99px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #9c8eeb, var(--primary));
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

/* Scroll progress bar (top of page) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--primary), #c4b5fd);
  z-index: 100;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1152px; /* max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease-out;
  padding: 1.5rem 0;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 5rem;
  width: auto;
  transition: opacity 0.2s;
  transform: scale(1.2);
  transform-origin: left center;
}
.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links button, .nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-links button:hover, .nav-links a:hover {
  color: var(--foreground);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.nav-actions .contact-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
}
.nav-actions .contact-link:hover {
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  background-color: var(--primary);
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  transition: opacity 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  transition: background-color 0.2s;
}

.btn-outline:hover {
  background-color: var(--muted);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--foreground);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem;
  color: var(--foreground);
}

.mobile-nav-link {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  width: 16rem;
}
.mobile-actions a, .mobile-actions button {
  padding: 1rem 1.5rem;
  text-align: center;
  width: 100%;
}

/* --- Advanced Animations & Micro-interactions --- */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

.btn-primary, .btn-outline {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-outline:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: var(--secondary);
}

@media (min-width: 768px) {
  .nav-links, .nav-actions {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .nav-logo img {
    height: 5rem;
  }
}

/* ============================================================
   Scroll Hero — Apple-style scroll animation
   ============================================================ */

.scroll-hero-section {
  height: 400vh;
  position: relative;
}

.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #f3f0ff; /* fallback while first frame loads */
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: contents;
}

/* Text overlay — left column (matches empty space in video) */
.scroll-hero-text {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* All text children start invisible; JS drives opacity + translateY */
.scroll-text-el {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}

.scroll-hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--foreground);
}

.scroll-hero-text p {
  font-size: clamp(0.9rem, 1.15vw, 1.1rem);
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 34rem;
  margin: 0;
}

/* CTA buttons inside scroll hero — always horizontal, left-aligned */
.scroll-hero-text .hero-buttons {
  padding-top: 0;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

/* Hero tags (checkmarks row) */
.hero-tags {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.hero-tags span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-tags svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.scroll-hint-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.scroll-hint-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--primary), transparent);
  transform-origin: top;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  25%  { opacity: 1; }
  75%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Mobile: text at bottom center, over the video */
@media (max-width: 768px) {
  .scroll-hero-section {
    height: 300vh;
  }

  .scroll-hero-text {
    left: 0;
    right: 0;
    width: 100%;
    top: auto;
    bottom: 10vh;
    transform: none;
    padding: 0 1.5rem;
    text-align: center;
    align-items: center;
    background: linear-gradient(to top, rgba(243, 240, 255, 0.92) 0%, transparent 100%);
    padding-top: 3rem;
  }

  .scroll-hero-text .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .scroll-hero-text .hero-buttons .btn-primary,
  .scroll-hero-text .hero-buttons .btn-outline {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .hero-tags {
    justify-content: center;
  }
}

/* ============================================================
   Legacy Hero (kept for reference / other pages)
   ============================================================ */

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(175, 162, 255, 0.05), var(--background));
  z-index: 0;
}

.orb-1, .orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: 10%;
  left: 15%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: rgba(175, 162, 255, 0.2);
}

.orb-2 {
  bottom: 10%;
  right: 15%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: rgba(162, 213, 255, 0.2);
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 50px) scale(1.1); }
  100% { transform: translate(-50px, 150px) scale(0.9); }
}

.watermark {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .watermark {
    right: 5%;
    width: 800px;
    height: 800px;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge-line {
  width: 2rem;
  height: 2px;
  background-color: var(--primary);
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }

.text-primary {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
}

.hero-buttons .btn-primary, .hero-buttons .btn-outline {
  width: 100%;
  padding: 1rem 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline {
    width: auto;
  }
}

/* Sections General */
.section {
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Solutions / Cards */
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(175, 162, 255, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover::before {
  opacity: 1;
}

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

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(175, 162, 255, 0.5);
  box-shadow: 0 10px 15px -3px rgba(175, 162, 255, 0.1), 0 4px 6px -2px rgba(175, 162, 255, 0.05);
}

.card-icon-wrapper {
  width: 5rem;
  height: 5rem;
  border-radius: 0.875rem;
  background: rgba(175, 162, 255, 0.1);
  border: 1.5px solid rgba(175, 162, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: background 0.3s, border-color 0.3s;
}

.card:hover .card-icon-wrapper {
  background: rgba(175, 162, 255, 0.18);
  border-color: rgba(175, 162, 255, 0.4);
}

.card-icon-wrapper svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Cases Section */
.bg-secondary-layer {
  background-color: rgba(244, 244, 245, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  background-color: rgba(175, 162, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Contact / Form */
.grid-2 {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

.contact-list {
  list-style: none;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(175, 162, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  background-color: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: all 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

textarea.form-input {
  resize: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

.footer-logo {
  height: 5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .footer-logo { height: 6rem; }
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* SVG Icons Utility */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Trust / Marquee Section */
.trust-section {
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  color: white;
  position: relative;
}

/* render1 flutuando na trust section (mix-blend-mode: screen elimina o fundo preto) */
.trust-render {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(28%, 280px);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .trust-render { display: none; }
}

/* ============================================================
   Pilares — símbolo watermark decorativo
   ============================================================ */
.pilares-section {
  position: relative;
  overflow: hidden;
}

.section-symbol {
  position: absolute;
  top: -6%;
  right: -4%;
  width: 340px;
  height: 340px;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ============================================================
   Cases — Bento Grid
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-card-featured { grid-column: span 1 !important; }
}

.case-card-featured {
  grid-column: span 2;
}

/* ============================================================
   Pilares — cards com numeração e benefício
   ============================================================ */

/* Número ordinal decorativo */
.pilares-card {
  overflow: hidden; /* contém o número que transborda */
}

.pilares-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.3s;
}

.pilares-card:hover .pilares-number {
  opacity: 0.14;
}

/* Ícone com glow sutil */
.pilares-card .card-icon-wrapper {
  box-shadow: 0 0 24px rgba(175,162,255,0.2);
}

.pilares-card:hover .card-icon-wrapper {
  box-shadow: 0 0 36px rgba(175,162,255,0.35);
}

/* Linha de benefício */
.pilares-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.pilares-benefit::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   Projetos — watermark de fundo
   ============================================================ */
.projetos-section {
  position: relative;
  overflow: hidden;
  background: var(--background);
}

.projetos-watermark {
  position: absolute;
  right: 30%;
  bottom: -25%;
  width: 1560px;
  height: 1560px;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

@media (max-width: 768px) {
  .projetos-watermark { width: 840px; height: 840px; right: -25%; bottom: -8%; }
}

/* ============================================================
   Type chips — mais refinados
   ============================================================ */
.case-type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem 0.32rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

/* Dot decorativo antes do texto */
.case-type::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.9;
}

.type-ai      { background: rgba(139,118,245,0.1);  color: #7c63f0; border-color: rgba(139,118,245,0.22); }
.type-auto    { background: rgba(5,150,105,0.08);   color: #047857; border-color: rgba(5,150,105,0.2);   }
.type-integ   { background: rgba(217,119,6,0.09);   color: #b45309; border-color: rgba(217,119,6,0.22);  }
.type-dash    { background: rgba(37,99,235,0.08);   color: #1d4ed8; border-color: rgba(37,99,235,0.2);   }
.type-sistema { background: rgba(190,24,93,0.08);   color: #9d174d; border-color: rgba(190,24,93,0.2);   }

/* Metric number on featured cards */
.case-metric {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0.75rem;
}

.case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-card-featured h3 {
  font-size: 1.5rem;
}

/* ============================================================
   Dark Section — Desafios
   ============================================================ */
.section-dark {
  /* mantido para retro-compatibilidade, mas desafios não usa mais */
  background: #1c1245 !important;
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.section-dark .section-title { color: #f0eeff; }
.section-dark .section-desc  { color: rgba(224,218,255,0.72); }
.section-dark .card           { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.09); backdrop-filter: blur(8px); }
.section-dark .card:hover     { border-color: rgba(175,162,255,0.35); background: rgba(255,255,255,0.08); }
.section-dark .card h3        { color: #fff; }
.section-dark .card li, .section-dark .card li span:last-child { color: rgba(255,255,255,0.78); }

/* render2 — 200% da seção, mix-blend-mode: screen elimina o fundo preto */
.desafios-render-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: auto;
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.desafios-section {
  min-height: 85vh;
  padding: 6rem 0;
}

.desafios-container {
  position: relative;
  z-index: 10;
}

/* Header da seção */
.desafios-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Grid dos dois cards */
.desafios-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .desafios-cards { grid-template-columns: 1fr; }
  .desafios-render-bg { width: 280%; opacity: 0.05; }
}

/* Card base */
.desafios-card {
  border-radius: 1.25rem;
  padding: 2.5rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  z-index: 1;
}

.desafios-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}

/* Card problema */
.desafios-card-problem {
  border-top: 3px solid #f87171;
}

.desafios-card-problem:hover {
  border-color: rgba(248,113,113,0.4);
  border-top-color: #f87171;
}

/* Card solução */
.desafios-card-solution {
  border-top: 3px solid #afa2ff;
}

.desafios-card-solution:hover {
  border-color: rgba(175,162,255,0.4);
  border-top-color: #afa2ff;
}

/* Header do card (ícone + título) */
.desafios-card-hd {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.desafios-card-hd h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Ícone do card */
.desafios-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon {
  background: rgba(248,113,113,0.18);
  border: 1.5px solid rgba(248,113,113,0.35);
  color: #fca5a5;
}

.solution-icon {
  background: rgba(175,162,255,0.18);
  border: 1.5px solid rgba(175,162,255,0.35);
  color: #c4b5fd;
}

/* Lista de itens */
.desafios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.desafios-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.80);
}

.dlist-icon {
  flex-shrink: 0;
  display: flex;
  margin-top: 2px;
}

.problem-dlist { color: #fca5a5; }
.solution-dlist { color: #c4b5fd; }

/* ============================================================
   Form — Honeypot (bots preenchem, humanos não veem)
   ============================================================ */
.form-hp {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  pointer-events: none;
  tabindex: -1;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

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

.metric-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.metric-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.trust-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.marquee-item {
  width: 160px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.marquee-item:hover {
  transform: translateY(-5px);
  background: #ffffff;
}

.marquee-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(80%);
  transition: all 0.3s ease;
}

.marquee-img:hover {
  filter: grayscale(0%) opacity(100%);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 3rem));
  }
}

/* ============================================================
   Utility classes (replace scattered inline styles)
   ============================================================ */

/* Section headings */
.section-heading-center {
  text-align: center;
  margin-bottom: 4rem;
}

/* Trust section headline */
.trust-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

/* Trust section subhead */
.trust-subhead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* Metrics section "ponta a ponta" */
.metrics-section {
  background: rgba(244, 244, 245, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.metric-card {
  text-align: center;
}

.metric-card-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.metric-card-label {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Pilares header */
.pilares-header {
  margin-bottom: 4rem;
  text-align: center;
}

/* Pilares grid */
.pilares-grid {
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Projetos section header */
.projetos-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Contact section text */
.contact-desc {
  margin-left: 0;
  text-align: left;
}

/* Footer paragraph */
.footer-desc {
  color: var(--muted-foreground);
  max-width: 24rem;
}

/* Footer links column */
.footer-links-col {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.footer-links-list a:hover {
  color: var(--foreground);
}

/* Projetos container — needs z-index above watermark */
.projetos-container {
  position: relative;
  z-index: 1;
}

/* Form — full-width submit button */
.btn-full {
  width: 100%;
}

/* Form — status message */
.form-status-msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  display: none;
}

/* ============================================================
   Depoimentos — placeholder section
   ============================================================ */
.depoimentos-section {
  background: rgba(244, 244, 245, 0.4);
  border-top: 1px solid var(--border);
}

.depo-grid {
  display: grid;
  gap: 1.5rem;
}

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

.depo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s, border-color 0.3s;
}

.depo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(175,162,255,0.4);
}

.depo-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
}

.depo-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  flex: 1;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.depo-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #c4b5fd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.depo-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.depo-role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.depo-coming-soon {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}

.depo-coming-soon strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
