/* ==========================================================================
   MATHEUS MAZZI — PORTFÓLIO PROFISSIONAL
   Web Designer Estratégico & UI/UX Specialist
   Style System: Floating Pill Nav, Viewport-Comfort Hero & Light Services
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette: Cyber Obsidian & High-Contrast */
  --bg-primary: #06070a;
  /* Fundo principal: Deep Void */
  --bg-secondary: #0c0f16;
  /* Fundo secundário: Midnight Slate */
  --bg-card: #111622;
  /* Cards: Dark Platinum */
  --bg-card-hover: #171f2f;
  /* Card hover state */
  --bg-glass: rgba(12, 15, 22, 0.85);
  --bg-footer: #040508;

  /* Ice White / Gelo High-Contrast Section Tokens */
  --bg-ice-section: #f1f5f9;
  /* Fundo da seção Cor Gelo / Ice White */
  --bg-ice-card: #ffffff;
  /* Cards em Branco Puro */
  --bg-ice-card-hover: #f8fafc;
  --text-ice-title: #090d16;
  /* Tipografia escura de alto contraste */
  --text-ice-body: #334155;
  --text-ice-muted: #64748b;
  --border-ice-card: rgba(203, 213, 225, 0.8);
  --shadow-ice-card: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.8);

  /* Striking High-Energy Accents: Royal Cyber Purple & Hyper Cyan */
  --accent-purple: #8b5cf6;
  /* Royal Cyber Purple */
  --accent-purple-light: #c084fc;
  /* Purple Glow / Destaques */
  --accent-purple-dark: #6d28d9;
  /* Deep Violet */
  --accent-purple-glow: rgba(139, 92, 246, 0.45);

  --accent-cyan: #00f2fe;
  /* Hyper Neon Cyan */
  --accent-cyan-light: #70f7ff;
  /* Cyan claro / Glow */
  --accent-cyan-glow: rgba(0, 242, 254, 0.35);

  /* High-Contrast Whites & Neutrals */
  --text-white: #ffffff;
  /* Branco Puro */
  --text-primary: #f8fafc;
  /* Off-white cristalino */
  --text-secondary: #94a3b8;
  /* Cinza azulado claro */
  --text-muted: #64748b;
  --text-dark: #06070a;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(139, 92, 246, 0.4);
  --border-glow: rgba(139, 92, 246, 0.65);
  --border-white-glow: rgba(255, 255, 255, 0.4);

  /* Modern Studio Typography: Outfit + Plus Jakarta Sans */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Fluid Spacing Tokens */
  --container-width: 100%;
  --container-padding: clamp(1.75rem, 5.5vw, 6.5rem);
  --section-spacing: clamp(5rem, 9.5vw, 8.5rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows & Illuminations */
  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.85);
  --shadow-glow-purple: 0 0 35px var(--accent-purple-glow);
  --shadow-glow-cyan: 0 0 35px var(--accent-cyan-glow);
  --glass-blur: blur(20px);

  /* Animation & Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.65s var(--ease-out-expo);
}

/* --------------------------------------------------------------------------
   02. CSS Reset & Base Elements
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

p,
span,
li,
a,
input,
textarea,
label {
  font-family: var(--font-body);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  font-weight: 700;
}

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

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

/* --------------------------------------------------------------------------
   03. Section Background Alternation System & Ice White Mode
   -------------------------------------------------------------------------- */
.section-dark-primary {
  background-color: var(--bg-primary);
}

.section-dark-secondary {
  background-color: var(--bg-secondary);
}

.section-ice-white {
  background: linear-gradient(180deg, #edf2f7 0%, var(--bg-ice-section) 50%, #e2e8f0 100%);
  color: var(--text-ice-body);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
}

.section-ice-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.title-dark {
  color: var(--text-ice-title) !important;
}

.subtitle-dark {
  color: var(--text-ice-body) !important;
}

.badge-ice {
  color: #6d28d9 !important;
  background-color: rgba(139, 92, 246, 0.12) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15) !important;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 45%, #8b5cf6 80%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(109, 40, 217, 0.2));
}

/* --------------------------------------------------------------------------
   04. Ambient Background & Parallax Visual Effects
   -------------------------------------------------------------------------- */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.38;
  will-change: transform;
}

.glow-1 {
  width: 650px;
  height: 650px;
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
  animation: floatGlow 14s infinite alternate ease-in-out;
}

.glow-2 {
  width: 750px;
  height: 750px;
  bottom: 8%;
  left: -15%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(0, 242, 254, 0) 70%);
  animation: floatGlow 18s infinite alternate-reverse ease-in-out;
}

.glow-3 {
  width: 550px;
  height: 550px;
  top: 45%;
  right: 15%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(192, 132, 252, 0) 70%);
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 40px) scale(1.15);
  }

  100% {
    transform: translate(-40px, 60px) scale(0.9);
  }
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.parallax-elem {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   05. Custom Interactive Cursor (Desktop)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {

  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none !important;
  z-index: 999999;
  overflow: hidden;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple-light);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent-purple-light);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(139, 92, 246, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background-color: rgba(139, 92, 246, 0.08);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.25s var(--ease-smooth), height 0.25s var(--ease-smooth), border-color 0.2s, background-color 0.2s, opacity 0.2s;
  will-change: transform;
}

.cursor-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  background-color: rgba(139, 92, 246, 0.22);
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 25px var(--accent-purple-glow);
}

body.cursor-view-project .cursor-ring {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 35px var(--accent-purple-glow);
}

body.cursor-view-project .cursor-dot {
  opacity: 0 !important;
}

body.cursor-view-project .cursor-text {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   06. Layout Helpers & Full Width Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: 1;
}

.section-spacing {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 4.8rem);
}

.section-header.text-center {
  text-align: center;
}

.center-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-badge-wrap {
  margin-bottom: 1.25rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-purple-light);
  background-color: rgba(139, 92, 246, 0.12);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.section-badge.badge-accent {
  color: var(--accent-cyan);
  background-color: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-white);
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin-top: 1.25rem;
  line-height: 1.65;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-purple-light) 55%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.3));
}

/* --------------------------------------------------------------------------
   07. Buttons & High-Contrast CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 50%, var(--accent-cyan) 100%);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 25px var(--accent-purple-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a855f7 0%, var(--accent-purple) 50%, #ffffff 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.6);
  color: var(--text-white);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1.5px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: var(--text-white);
  border-color: var(--text-white);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-glass {
  background-color: rgba(18, 24, 34, 0.75);
  color: var(--text-white);
  border: 1.5px solid var(--border-subtle);
  backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-purple-light);
  color: var(--accent-purple-light);
  transform: translateY(-2px);
}

.btn-circle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.btn:hover .btn-circle-icon {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   08. Floating Centered Pill Navigation
   -------------------------------------------------------------------------- */
.floating-header-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10002;
  pointer-events: none;
  padding: 0 1.25rem;
  opacity: 1 !important;
  visibility: visible !important;
}

.pill-nav-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: rgba(14, 11, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.65rem 0.45rem 1.4rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(139, 92, 246, 0.25);
  transition: all 0.35s var(--ease-smooth);
}

.pill-nav-container:hover {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85), 0 0 35px rgba(139, 92, 246, 0.35);
}

.pill-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
  white-space: nowrap;
}

.pill-brand-icon {
  font-size: 1.1rem;
  color: var(--accent-purple-light);
  animation: pulseStar 3s infinite ease-in-out;
}

@keyframes pulseStar {

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

  50% {
    transform: scale(1.2) rotate(45deg);
    opacity: 0.8;
  }
}

.pill-brand-text {
  font-weight: 800;
}

.pill-nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.pill-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.pill-nav-link:hover,
.pill-nav-link.active {
  color: var(--text-white);
}

.pill-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.pill-nav-link:hover::after,
.pill-nav-link.active::after {
  width: 100%;
}

.pill-nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(109, 40, 217, 0.6));
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
  white-space: nowrap;
}

.pill-nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  border-color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  z-index: 105;
}

.burger-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.mobile-menu-toggle.open .line-1 {
  transform: translateY(3.5px) rotate(45deg);
  background-color: var(--accent-purple-light);
}

.mobile-menu-toggle.open .line-2 {
  transform: translateY(-3.5px) rotate(-45deg);
  background-color: var(--accent-purple-light);
}

/* Mobile Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s, opacity 0.4s;
}

.mobile-nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 7, 10, 0.95);
  backdrop-filter: blur(25px);
}

.mobile-nav-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--container-padding) 3rem;
  z-index: 2;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-link::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-purple-light);
  font-weight: 600;
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
  transform: translateX(12px);
}

.mobile-nav-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.mobile-footer-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.mobile-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-purple-light);
  font-weight: 800;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   09. Centered Reference Hero (Compact & Viewport Fitted)
   -------------------------------------------------------------------------- */
.hero-centered-ref {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  position: relative;
  overflow: hidden;
}

.hero-capsule-left {
  position: absolute;
  left: -120px;
  top: 48%;
  transform: translateY(-50%) rotate(24deg);
  width: 290px;
  height: 580px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(109, 40, 217, 0.12) 60%, transparent 100%);
  filter: blur(35px);
  opacity: 0.85;
  pointer-events: none;
  border: 1.5px solid rgba(192, 132, 252, 0.3);
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.35);
  z-index: 1;
}

.hero-capsule-right {
  position: absolute;
  right: -120px;
  top: 48%;
  transform: translateY(-50%) rotate(-24deg);
  width: 290px;
  height: 580px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(109, 40, 217, 0.12) 60%, transparent 100%);
  filter: blur(35px);
  opacity: 0.85;
  pointer-events: none;
  border: 1.5px solid rgba(192, 132, 252, 0.3);
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.35);
  z-index: 1;
}

.hero-tech-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-tech-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-centered-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  background-color: rgba(18, 14, 28, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-white);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 92, 246, 0.15);
  margin-bottom: 1.6rem;
}

.badge-pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-purple-light);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.badge-text-content {
  font-weight: 600;
}

.hero-headline-wrap {
  margin-bottom: 1.4rem;
}

.hero-center-title {
  font-family: var(--font-heading);
  text-align: center;
  line-height: 1.08;
}

.hero-brand-name {
  display: block;
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-brand-tagline {
  display: block;
  font-size: clamp(1.45rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

.hero-dash {
  color: var(--accent-purple-light);
}

.highlight-purple-text {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 40%, #8b5cf6 80%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.5));
}

.hero-center-subtitle-wrap {
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero-center-subtitle {
  font-size: clamp(1.025rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-primary);
}

.subtitle-sub-line {
  display: block;
  margin-top: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.95em;
}

.hero-centered-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--text-white);
  margin-left: -9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.avatar-circle:first-child {
  margin-left: 0;
}

.av-1 {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.av-2 {
  background: linear-gradient(135deg, #00f2fe, #0284c7);
}

.av-3 {
  background: linear-gradient(135deg, #c084fc, #ec4899);
}

.av-4 {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.proof-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.proof-text strong {
  color: var(--text-white);
  font-weight: 700;
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.825rem;
  font-family: var(--font-mono);
  transition: color var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: var(--accent-purple-light);
}

.mouse-scroll-icon {
  width: 20px;
  height: 30px;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--accent-purple-light);
  border-radius: 2px;
  animation: wheelBounce 1.8s infinite ease-in-out;
}

@keyframes wheelBounce {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

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

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

/* --------------------------------------------------------------------------
   10. Infinite Client Logos Marquee Section
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-trusted-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 var(--container-padding);
}

.trusted-line {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15));
}

.trusted-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent);
}

.trusted-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  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-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding-right: 5rem;
}

.client-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 0.5rem;
  opacity: 0.88;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.client-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}

.client-brand-logo {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
}

.client-logo-item:hover .client-brand-logo {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

/* --------------------------------------------------------------------------
   11. Sobre & Filosofia Section (Modern Executive Bio & Bento Pillars)
   -------------------------------------------------------------------------- */
.about-executive-card {
  background: linear-gradient(135deg, rgba(28, 22, 45, 0.75) 0%, rgba(17, 22, 34, 0.85) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.35rem);
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(139, 92, 246, 0.15);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.about-executive-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple-light);
  box-shadow: var(--shadow-card), 0 0 35px rgba(139, 92, 246, 0.3);
}

.executive-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2.5px solid var(--accent-purple-light);
  box-shadow: 0 0 20px var(--accent-purple-glow);
  padding: 2px;
}

.executive-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.executive-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border: 2.5px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.executive-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.executive-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.executive-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-white);
}

.executive-role {
  font-size: 0.9rem;
  color: var(--accent-purple-light);
  font-weight: 700;
  display: block;
}

.executive-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(6, 7, 10, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-white);
}

.executive-bio-text {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-bento-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-pillars-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pillar-bento-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.pillar-bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple-light);
  background-color: var(--bg-card-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.25);
}

.pillar-bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.pillar-bento-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-purple-light);
}

.pillar-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(6, 7, 10, 0.6);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple-light);
  transition: all var(--transition-normal);
}

.pillar-bento-card:hover .pillar-bento-icon {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #ffffff;
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.pillar-bento-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-bento-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-specialties-bar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.specialties-bar-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  background-color: rgba(18, 24, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--accent-purple-light);
  color: var(--accent-purple-light);
  background-color: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

/* --------------------------------------------------------------------------
   12. Serviços Section (Clean Light / Ice White Background & Icon Cards)
   -------------------------------------------------------------------------- */
.services-grid-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card-clean {
  background-color: var(--bg-ice-card);
  border: 1.5px solid var(--border-ice-card);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-ice-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.service-card-clean:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 25px 45px -10px rgba(139, 92, 246, 0.2), 0 0 1px 1px var(--accent-purple);
}

.service-card-clean-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon-clean {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(0, 242, 254, 0.08));
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.service-card-clean:hover .service-icon-clean {
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  color: #ffffff;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
  border-color: var(--accent-purple);
}

.service-index-clean {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-ice-muted);
  font-weight: 700;
}

.service-badge-pill-clean {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.service-name-clean {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-ice-title);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.service-desc-clean {
  font-size: 0.95rem;
  color: var(--text-ice-body);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.service-features-clean {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 1.35rem;
}

.service-features-clean li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-ice-body);
  font-weight: 500;
}

.service-features-clean li svg {
  color: var(--accent-purple);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. Projetos Selecionados Section & Load More
   -------------------------------------------------------------------------- */
.projects-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.project-filters {
  display: flex;
  gap: 0.5rem;
  background-color: var(--bg-card);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
}

.filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-white);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: var(--text-white);
  box-shadow: 0 2px 15px var(--accent-purple-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2vw, 2.2rem);
}

.project-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.3);
}

.project-image-container {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #080a0f;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s var(--ease-out-expo);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 15, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.overlay-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: var(--text-white);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.project-card:hover .overlay-pill {
  transform: translateY(0);
}

.project-info {
  padding: clamp(1.4rem, 2vw, 1.85rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.project-category {
  color: var(--accent-purple-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.project-year {
  color: var(--text-muted);
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.project-summary {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.tag-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background-color: rgba(8, 10, 15, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-white);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.btn-load-more {
  padding: 1.1rem 2.6rem;
}

/* --------------------------------------------------------------------------
   14. Processo Estratégico (Modern Flow Cards Layout)
   -------------------------------------------------------------------------- */
.process-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.85rem;
  margin-top: 1.5rem;
}

.process-box {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 3.5vw, 2.75rem) 2.2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-box:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple-light);
  background-color: var(--bg-card-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
}

.process-box-num {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(139, 92, 246, 0.22);
  margin-bottom: 1.25rem;
  transition: color var(--transition-normal);
}

.process-box:hover .process-box-num {
  color: var(--accent-purple-light);
}

.process-tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-purple-light);
  margin-bottom: 0.4rem;
}

.process-box-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.95rem;
}

.process-box-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-box-featured {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, rgba(28, 22, 45, 0.95) 0%, var(--bg-card) 100%);
}

/* --------------------------------------------------------------------------
   15. Depoimentos Section (Ice White / Cor Gelo Editorial Theme)
   -------------------------------------------------------------------------- */
/* Google 5-Star Reviews Verified Badge */
.google-reviews-badge-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.google-reviews-badge {
  background: #ffffff;
  border: 1.5px solid rgba(203, 213, 225, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.6rem 0.65rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.google-reviews-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border-color: rgba(139, 92, 246, 0.5);
}

.google-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-badge-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.google-rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.google-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.google-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.google-review-count {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.google-review-count strong {
  color: #1e293b;
  font-weight: 700;
}

.google-verified-chip {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.testimonial-card-light {
  background-color: var(--bg-ice-card);
  border: 1.5px solid var(--border-ice-card);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 3.8vw, 2.85rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-ice-card);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card-light:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 25px 50px -10px rgba(139, 92, 246, 0.2), 0 0 1px 1px var(--accent-purple);
}

.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}

.stars-row {
  color: #7c3aed;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.quote-mark-dark {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(139, 92, 246, 0.25);
  font-weight: 900;
}

.quote-dark {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-ice-body);
  font-style: italic;
  margin-bottom: 2.25rem;
  font-weight: 500;
}

.author-light-border {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.avatar-purple {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.author-name-dark {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-ice-title);
}

.author-role-dark {
  font-size: 0.825rem;
  color: var(--text-ice-muted);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   16. Números & Prova de Experiência Section
   -------------------------------------------------------------------------- */
.stats-card-container {
  background: linear-gradient(135deg, #121822 0%, #0d121a 100%);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 4rem);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.stat-counter {
  color: var(--text-white);
}

.stat-suffix {
  color: var(--accent-purple-light);
}

.stat-infinity {
  font-size: clamp(3.6rem, 6.5vw, 5.5rem);
  color: var(--accent-cyan);
  line-height: 0.9;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.stat-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 250px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. CTA Final & Contato Direto (Streamlined & High-Converting)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.2) 0%, rgba(18, 24, 34, 0.95) 75%);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(3.2rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 3.5rem;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple-light), var(--accent-cyan), transparent);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
  color: var(--text-white);
}

.cta-banner-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.7;
}

.direct-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.direct-action-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.direct-action-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple-light);
  background-color: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
}

.card-wa-highlight {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(28, 22, 45, 0.9) 0%, rgba(17, 22, 34, 0.9) 100%);
}

.direct-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.direct-action-card:hover .direct-card-icon {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #ffffff;
  box-shadow: 0 0 25px var(--accent-purple-glow);
  border-color: var(--accent-purple-light);
}

.direct-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.direct-card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple-light);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.direct-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.direct-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.direct-card-btn-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.direct-action-card:hover .direct-card-btn-pill {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* --------------------------------------------------------------------------
   18. Project Modal (Fixed Mouse Scroll & Aligned Close Button)
   -------------------------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.35s, opacity 0.35s;
}

.project-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(25px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 2;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.95);
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-out-expo);
  padding: 0;
}

.project-modal.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: sticky;
  top: 1.25rem;
  right: 1.25rem;
  float: right;
  margin-top: 1.25rem;
  margin-right: 1.25rem;
  margin-bottom: -50px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(14, 11, 22, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-purple);
  border-color: #ffffff;
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

.modal-body {
  padding: clamp(2rem, 4.5vw, 3.5rem);
}

.modal-project-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
}

.modal-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.modal-project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--text-white);
}

.modal-desc-full {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   19. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  background-color: var(--bg-card);
  border: 1.5px solid var(--accent-purple);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-purple-glow);
  padding: 1rem 1.65rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s, visibility 0.4s;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.toast-message {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   20. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 5.5rem 0 2.75rem;
  position: relative;
  z-index: 1;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 3.5rem;
}

.footer-brand-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.footer-brand-role {
  display: block;
  color: var(--accent-purple-light);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.95rem;
}

.footer-bio-short {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.65;
}

.footer-nav-columns {
  display: flex;
  gap: 5rem;
}

.footer-group-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  letter-spacing: 0.1em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-purple-light);
}

.footer-bottom-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-time-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--text-white);
}

.time-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-purple-light);
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.back-to-top-btn:hover {
  color: var(--accent-purple-light);
}

/* --------------------------------------------------------------------------
   21. Responsive Media Queries (Mobile First Perfection)
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (max-width: 1140px) */
@media (max-width: 1140px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.85rem;
  }

  .about-pillars-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-light {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.25rem;
  }
}

/* Tablet Portrait & Large Handhelds (max-width: 880px) */
@media (max-width: 880px) {
  /* Navigation & Floating Pill Header */
  .floating-header-wrapper {
    top: 0.85rem;
    padding: 0 0.85rem;
    z-index: 10002;
  }

  .pill-nav-container {
    width: 100%;
    max-width: 540px;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.65rem 0.45rem 1.15rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(139, 92, 246, 0.2);
  }

  .pill-nav-list,
  .pill-nav-cta-wrap {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 10003;
  }

  /* Grid Reductions */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .direct-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 2.75rem;
  }

  .footer-nav-columns {
    gap: 3rem;
  }

  .hero-capsule-left,
  .hero-capsule-right {
    display: none !important;
  }
}

/* Standard Mobile Viewports (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  /* Section Spacings & Typography */
  .section-spacing {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.85rem, 6.8vw, 2.75rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
  }

  .section-subtitle {
    font-size: 0.985rem;
    line-height: 1.6;
    margin-top: 0.85rem;
  }

  /* Mobile Fullscreen Navigation Overlay */
  .mobile-nav-content {
    padding: clamp(5rem, 11vh, 6.5rem) var(--container-padding) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  }

  .mobile-nav-links {
    gap: clamp(0.65rem, 1.8vh, 1.15rem);
    margin: 1.25rem 0;
  }

  .mobile-nav-link {
    font-size: clamp(1.4rem, 5.2vw, 1.95rem);
    gap: 0.85rem;
  }

  .mobile-nav-link::before {
    font-size: 0.8rem;
  }

  /* Hero Section */
  .hero-section {
    padding: clamp(6.25rem, 14vh, 8.5rem) 0 3.25rem;
    min-height: auto;
  }

  .hero-badge-pill {
    max-width: 100%;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.25rem;
  }

  .badge-text-content {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    font-size: 0.75rem;
  }

  .hero-brand-name {
    font-size: clamp(2.35rem, 9.2vw, 4.4rem);
    letter-spacing: -0.03em;
    word-break: break-word;
  }

  .hero-brand-tagline {
    font-size: clamp(1.35rem, 5.2vw, 2.4rem);
    display: block;
    margin-top: 0.2rem;
  }

  .hero-dash {
    display: none;
  }

  .hero-center-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.12rem);
    line-height: 1.65;
  }

  .subtitle-sub-line {
    margin-top: 0.45rem;
    font-size: 0.9em;
  }

  .hero-centered-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 330px;
    margin: 1.75rem auto 0;
    gap: 0.85rem;
  }

  .hero-centered-ctas .btn {
    width: 100%;
    padding: 0.95rem 1.6rem;
    font-size: 0.95rem;
  }

  .hero-proof-strip {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
    margin-top: 2.25rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Marquee Section */
  .marquee-section {
    padding: 2.25rem 0;
  }

  .marquee-trusted-header {
    margin-bottom: 1.5rem;
    gap: 0.85rem;
  }

  .trusted-line {
    max-width: 45px;
  }

  .trusted-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .marquee-group {
    gap: 3.5rem;
    padding-right: 3.5rem;
  }

  .client-logo-item {
    height: 64px;
  }

  .client-brand-logo {
    max-height: 52px;
    max-width: 125px;
  }

  /* Sobre / Bio & Bento Section */
  .about-executive-card {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.25rem;
    border-radius: 20px;
  }

  .executive-avatar-wrap {
    width: 80px;
    height: 80px;
  }

  .executive-avatar-img {
    width: 80px;
    height: 80px;
  }

  .executive-header-row {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .executive-name {
    font-size: 1.35rem;
  }

  .executive-bio-text {
    font-size: 0.925rem;
    line-height: 1.6;
  }

  .about-pillars-bento {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .pillar-bento-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .pillar-bento-title {
    font-size: 1.15rem;
  }

  .pillar-bento-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about-specialties-bar {
    padding: 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
    border-radius: 16px;
  }

  .tags-cloud {
    justify-content: center;
    gap: 0.45rem;
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  /* Soluções / Services */
  .services-grid-light {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card-clean {
    padding: 1.75rem 1.35rem;
    border-radius: 18px;
  }

  .service-name-clean {
    font-size: 1.25rem;
  }

  .service-desc-clean {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .service-features-clean {
    padding-top: 1.15rem;
    gap: 0.65rem;
  }

  .service-features-clean li {
    font-size: 0.84rem;
  }

  /* Cases / Projects & Filter Carousel */
  .projects-header-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.35rem;
    margin-bottom: 2rem;
  }

  .project-filters {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.35rem;
    border-radius: var(--radius-pill);
    gap: 0.35rem;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    border-radius: 18px;
  }

  .project-info {
    padding: 1.35rem 1.15rem;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
  }

  .project-category {
    font-size: 0.72rem;
  }

  .project-year {
    font-size: 0.75rem;
  }

  .project-title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
  }

  .project-summary {
    font-size: 0.885rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }

  .project-tags {
    gap: 0.35rem;
  }

  .tag-item {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  .load-more-wrap {
    margin-top: 2.5rem;
  }

  .load-more-btn {
    width: 100%;
    max-width: 340px;
    padding: 0.95rem 1.5rem;
  }

  /* Project Modal (Ergonomic Mobile Bottom-Sheet) */
  .project-modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.95);
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 0;
    float: none;
    background-color: rgba(14, 11, 22, 0.94);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    z-index: 60;
  }

  .modal-body {
    padding: 1.25rem 1.25rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
  }

  .modal-project-img {
    margin-bottom: 1.25rem;
    border-radius: 14px;
    aspect-ratio: 16 / 10;
  }

  .modal-meta-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
  }

  .modal-project-title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    margin-bottom: 0.85rem;
    line-height: 1.25;
  }

  .modal-desc-full {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  /* Process & Testimonials */
  .process-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-box {
    padding: 1.65rem 1.25rem;
    border-radius: 18px;
  }

  .process-box-num {
    font-size: 2.75rem;
    margin-bottom: 0.85rem;
  }

  .process-box-title {
    font-size: 1.3rem;
  }

  .process-box-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonial-card-light {
    padding: 1.65rem 1.25rem;
    border-radius: 18px;
  }

  .testimonial-quote-light {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .google-reviews-badge {
    padding: 0.55rem 1.25rem;
    gap: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .stat-counter {
    font-size: 3.2rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  /* FAQ Accordion */
  .faq-accordion-container,
  .faq-accordion-list {
    gap: 0.85rem;
  }

  .faq-accordion-item {
    border-radius: 16px;
  }

  .faq-summary {
    padding: 1.15rem 1.15rem;
    font-size: 0.985rem;
    line-height: 1.4;
    gap: 0.75rem;
  }

  .faq-chevron-circle,
  .faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .faq-content-body {
    padding: 0 1.15rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  /* Contato / CTA Banner & Direct Cards */
  .cta-banner {
    padding: 2.25rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 2rem;
  }

  .cta-banner::before {
    max-width: 90%;
  }

  .cta-banner-title {
    font-size: clamp(1.7rem, 6.5vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .cta-banner-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .direct-contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .direct-action-card {
    padding: 1.4rem 1.2rem;
    gap: 0.85rem;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .direct-card-info {
    width: 100%;
  }

  .direct-card-title {
    font-size: 1.15rem;
    word-break: break-all;
  }

  .direct-card-btn-pill {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 2.25rem;
  }

  .footer-nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
  }

  .footer-time-wrap,
  .footer-back-to-top {
    width: 100%;
    justify-content: center;
  }

  .back-to-top-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  /* Floating WhatsApp Widget */
  .floating-whatsapp-widget {
    bottom: 20px;
    right: 20px;
    z-index: 9995;
  }

  .whatsapp-widget-content {
    padding: 12px;
  }

  .whatsapp-icon-svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-label-text {
    display: none !important;
  }
}

/* Extra-Compact Mobile Handhelds (max-width: 480px) */
@media (max-width: 480px) {
  .floating-header-wrapper {
    top: 0.65rem;
    padding: 0 0.65rem;
  }

  .pill-nav-container {
    padding: 0.4rem 0.5rem 0.4rem 0.95rem;
  }

  .pill-nav-brand {
    font-size: 0.95rem;
    gap: 0.45rem;
  }

  .pill-brand-icon {
    font-size: 0.95rem;
  }

  .section-spacing {
    padding: 3.75rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .footer-nav-columns {
    grid-template-columns: 1fr;
    gap: 1.85rem;
  }

  .floating-whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }

  .floating-whatsapp-widget:hover .whatsapp-label-text {
    max-width: 0;
    opacity: 0;
  }

  .floating-whatsapp-widget:hover .whatsapp-widget-content {
    gap: 0;
    padding: 12px;
  }
}

/* --------------------------------------------------------------------------
   22. Accessibility & Prefers Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }

  .ambient-glow {
    animation: none !important;
  }

  .marquee-track {
    animation: none !important;
    overflow-x: auto;
  }

  .parallax-elem {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON — Elegant Dark Glass & Glow
   -------------------------------------------------------------------------- */

/* === Container === */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
  animation: whatsappEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2s both;
}

@keyframes whatsappEntrance {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }

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

/* === Pulse Ring === */
.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: whatsappPulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

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

  50% {
    transform: scale(1.35);
    opacity: 0;
  }

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

/* === Widget Content (icon + label) === */
.whatsapp-widget-content {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(18, 140, 65, 0.25));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.2),
    0 2px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  color: #25d366;
  overflow: hidden;
}

.floating-whatsapp-widget:hover .whatsapp-widget-content {
  gap: 10px;
  padding: 14px 22px 14px 16px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(18, 140, 65, 0.4));
  box-shadow:
    0 12px 44px rgba(37, 211, 102, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.5);
}

.floating-whatsapp-widget:active .whatsapp-widget-content {
  transform: translateY(-1px) scale(0.97);
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

/* === WhatsApp Icon === */
.whatsapp-icon-svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.4));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-whatsapp-widget:hover .whatsapp-icon-svg {
  transform: rotate(-8deg) scale(1.1);
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.6));
}

/* === Label Text (hidden by default, shown on hover) === */
.whatsapp-label-text {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.floating-whatsapp-widget:hover .whatsapp-label-text {
  max-width: 200px;
  opacity: 1;
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
  .floating-whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-widget-content {
    padding: 12px;
  }

  .whatsapp-icon-svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-label-text {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .floating-whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }

  /* On very small screens, always show just the icon */
  .floating-whatsapp-widget:hover .whatsapp-label-text {
    max-width: 0;
    opacity: 0;
  }

  .floating-whatsapp-widget:hover .whatsapp-widget-content {
    gap: 0;
    padding: 12px;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & SKIP TO CONTENT (WCAG 2.1 AA / AAA Compliance)
   -------------------------------------------------------------------------- */
.skip-to-content {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--accent-purple);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 100000;
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.7);
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 2px solid #ffffff;
}

.skip-to-content:focus {
  top: 20px;
  outline: 3px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* High-Contrast Accessible Keyboard Focus Rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--accent-cyan) !important;
  outline-offset: 3px !important;
}

/* --------------------------------------------------------------------------
   FAQ SECTION (Google Rich Snippets & Organic Search Intent)
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  z-index: 1;
}

.faq-container-narrow {
  max-width: 920px;
  margin: 0 auto;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.faq-accordion-item {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  backdrop-filter: blur(12px);
}

.faq-accordion-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background-color: var(--bg-card-hover);
}

.faq-accordion-item[open] {
  border-color: var(--accent-purple-light);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(139, 92, 246, 0.2);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: var(--accent-purple-light);
}

.faq-chevron-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple-light);
  transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-chevron-circle {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.faq-content-body {
  padding: 0 1.85rem 1.75rem 1.85rem;
  color: var(--text-secondary);
  font-size: 0.985rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

.faq-content-body p + p {
  margin-top: 0.85rem;
}

.faq-content-body strong {
  color: var(--text-white);
}