@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800;900&family=Bricolage+Grotesque:wght@300;400;500;600;700;800&family=Alex+Brush&display=swap');

/* ═══ TOKENS ═══════════════════════════════════════════════ */
:root {
  --bg:           #FFFFFF;
  --bg-section:   #FFFFFF;
  --bg-dark:      #E6EFF5;
  --glass:        rgba(255, 255, 255, 0.75);
  --glass-border: rgba(28, 163, 224, 0.12);
  --glass-glow:   rgba(28, 163, 224, 0.25);
  --blue:         #0E5EFA;
  --cyan:         #1CA3E0;
  --accent:       #FFC400;
  --blue-soft:    rgba(14, 94, 250, 0.08);
  --cyan-soft:    rgba(28, 163, 224, 0.08);
  --t1:           #0F172A;
  --t2:           #475569;
  --t3:           #64748B;
  --title:        'Unbounded', sans-serif;
  --body:         'Bricolage Grotesque', sans-serif;
  --sig:          'Alex Brush', cursive;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:      cubic-bezier(0.4, 0, 0.2, 1);

  /* Standardized type scale — consistent across the entire site */
  --text-xs:   13px;
  --text-sm:   15px;
  --text-base: 17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  42px;
  --text-4xl:  56px;
  --text-hero: clamp(48px, 7vw, 88px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
}

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

strong { color: var(--t1); font-weight: 700; }

/* ═══ CUSTOM CURSOR ═════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  
  z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--cyan);
  transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(28,163,224,.35);
  border-radius: 50%;
  
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}

/* ═══ BACKGROUND ════════════════════════════════════════════ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  
  overflow: hidden;
}
.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  
}
.orb-1 {
  width: 900px; height: 900px;
  top: -300px; left: -300px;
  background: radial-gradient(circle, rgba(14,94,250,.10) 0%, transparent 70%);
  filter: blur(80px);
  animation: orb-drift 20s ease-in-out infinite alternate;
}
.orb-2 {
  width: 800px; height: 800px;
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(28,163,224,.08) 0%, transparent 70%);
  filter: blur(80px);
  animation: orb-drift 25s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.1); }
}

/* ═══ LAYOUT UTILITIES ══════════════════════════════════════ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(14, 94, 250, 0.06);
  border: 1px solid rgba(14, 94, 250, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--title);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--t1);
  margin-bottom: 20px;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--t2);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* ═══ GLASS CARDS ═══════════════════════════════════════════ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: border-color .35s, transform .4s var(--ease), box-shadow .4s;
}
.glass-card:hover {
  border-color: var(--glass-glow);
  box-shadow: 0 24px 48px rgba(0,0,0,.4), 0 0 30px rgba(0,240,255,.04);
}

/* ═══ TYPOGRAPHY ════════════════════════════════════════════ */
.gradient-text {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  display: inline-block;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

/* ═══ BUTTONS ═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 8px 24px rgba(0,82,255,.3);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,240,255,.3);
}
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--title);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--t2);
  transition: all .3s;
}
.btn-ghost:hover { border-color: var(--glass-glow); color: var(--cyan); }

/* ═══ SCROLL REVEAL ════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .30s; }

/* ═══ HEADER ════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(28, 163, 224, 0.10);
  padding: 14px 0;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--t2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .25s, background .25s;
}

.nav-link.nav-cta {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  margin-left: 8px;
  transition: transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 4px 14px rgba(0,82,255,.3);
}
.nav-link.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,240,255,.3); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ MOBILE DRAWER ════════════════════════════════════════ */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 450;
  background: rgba(243, 247, 250, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.drawer-link {
  font-family: var(--title);
  font-size: 18px;
  font-weight: 700;
  color: var(--t2);
  padding: 12px 32px;
  border-radius: 12px;
  transition: color .25s, background .25s;
}
.drawer-link:hover { color: var(--t1); }
.drawer-link.cta {
  margin-top: 16px;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 20px;
}

/* ═══ HERO ══════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-title {
  font-family: var(--title);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
  color: var(--t1);
  margin-bottom: 28px;
}
.hero-desc {
  font-size: var(--text-lg);
  color: var(--t2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .5px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  color: var(--t2);
  background: rgba(28, 163, 224, 0.02);
  transition: all .25s;
}
.tag.active {
  background: rgba(14, 94, 250, 0.08);
  border-color: rgba(14, 94, 250, 0.2);
  color: var(--blue);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  padding: 36px 32px;
  width: 100%;
  max-width: 360px;
}
.card-badge {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,240,255,.06);
  border: 1px solid rgba(0,240,255,.15);
  border-radius: 6px;
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: 24px;
}
.hero-metric { margin-bottom: 32px; }
.metric-val {
  display: block;
  font-family: var(--title);
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--t1), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-desc {
  font-size: var(--text-sm);
  color: var(--t2);
}
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.bar {
  flex: 1;
  background: rgba(0,82,255,.2);
  border-radius: 4px 4px 0 0;
  transition: background .3s;
}
.bar.active { background: linear-gradient(to top, var(--blue), var(--cyan)); }

.hero-float-badge {
  position: absolute;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 10px 18px;
  background: rgba(5,7,13,.9);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: badge-float 6s ease-in-out infinite;
}
.badge-top { top: 10%; right: -10%; animation-delay: 0s; }
.badge-bottom { bottom: 10%; left: -5%; animation-delay: -3s; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .3; height: 40px; }
  50%       { opacity: 1;  height: 60px; }
}

/* ═══ SOBRE ═════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.about-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card:hover { transform: translateY(-6px); }
.about-icon { font-size: 32px; }
.about-card h3 {
  font-family: var(--title);
  font-size: var(--text-xl);
  font-weight: 700;
}
.about-card p { font-size: var(--text-base); color: var(--t2); line-height: 1.75; }

.quote-banner {
  text-align: center;
  padding: 48px 64px;
  background: linear-gradient(135deg, rgba(0,82,255,.06), rgba(0,240,255,.04));
  border: 1px solid rgba(0,240,255,.1);
  border-radius: 20px;
}
.quote-banner blockquote {
  font-family: var(--title);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--t1);
  line-height: 1.4;
  font-style: italic;
}

/* ═══ PROBLEMA ══════════════════════════════════════════════ */
.problem-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}
.vs-label {
  font-family: var(--title);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 32px;
}
.vs-label.bad  { background: rgba(244,63,94,.1);  border: 1px solid rgba(244,63,94,.2);  color: #f43f5e; }
.vs-label.good { background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.2);  color: var(--cyan); }

.problem-list { display: flex; flex-direction: column; gap: 16px; }
.problem-item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(244,63,94,.08);
  border-radius: 14px;
  align-items: flex-start;
  transition: border-color .3s;
}
.problem-item.good { border-color: rgba(0,240,255,.08); }
.problem-item:hover { border-color: rgba(244,63,94,.2); }
.problem-item.good:hover { border-color: rgba(0,240,255,.2); }
.problem-x     { color: #f43f5e; font-size: 18px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.problem-check { color: var(--cyan); font-size: 18px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.problem-item strong { display: block; font-size: var(--text-sm); color: var(--t1); margin-bottom: 4px; }
.problem-item p { font-size: var(--text-sm); color: var(--t2); line-height: 1.65; }

.vs-divider {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}
.vs-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--t3);
}

/* ═══ SERVIÇOS ══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-8px); }
.service-icon { font-size: 36px; }
.service-card h3 {
  font-family: var(--title);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--t1);
}
.service-card > p { font-size: var(--text-sm); color: var(--t2); line-height: 1.75; }
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}
.service-list li {
  font-size: var(--text-sm);
  color: var(--t2);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: var(--text-xs);
}

/* ═══ PROCESSO ══════════════════════════════════════════════ */
.process-steps-list { display: flex; flex-direction: column; gap: 0; }
.process-step-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 32px 40px;
  border: 1px solid var(--glass-border);
  border-bottom: none;
  background: rgba(255,255,255,.015);
  transition: background .3s, border-color .3s;
}
.process-step-row:first-child { border-radius: 20px 20px 0 0; }
.process-step-row:last-child  { border-radius: 0 0 20px 20px; border-bottom: 1px solid var(--glass-border); }
.process-step-row:hover { background: rgba(0,240,255,.02); border-color: rgba(0,240,255,.12); }
.step-num-wrap { text-align: center; }
.step-num {
  font-family: var(--title);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-content h3 {
  font-family: var(--title);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p { font-size: var(--text-base); color: var(--t2); line-height: 1.7; }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.step-tags span {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0,82,255,.08);
  border: 1px solid rgba(0,82,255,.15);
  color: var(--t2);
  white-space: nowrap;
}

/* ═══ IA ════════════════════════════════════════════════════ */
.ia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ia-text { display: flex; flex-direction: column; gap: 0; }
.ia-text .section-title { text-align: left; margin-bottom: 16px; }
.ia-text .section-desc  { text-align: left; margin: 0 0 40px; }
.ia-uses { display: flex; flex-direction: column; gap: 16px; }
.ia-use-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color .3s;
}
.ia-use-item:hover { border-color: var(--glass-glow); }
.ia-icon { font-size: 22px; flex-shrink: 0; }
.ia-use-item strong { display: block; font-size: var(--text-sm); margin-bottom: 3px; }
.ia-use-item p { font-size: var(--text-sm); color: var(--t2); }

.ia-card { padding: 40px; }
.ia-chip {
  display: inline-block;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(0,240,255,.08);
  border: 1px solid rgba(0,240,255,.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.ia-quote-text {
  font-family: var(--title);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--t1);
  line-height: 1.35;
  margin-bottom: 36px;
  font-style: italic;
}
.ia-stats-row { display: flex; gap: 32px; }
.ia-stat strong {
  display: block;
  font-family: var(--title);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--t1), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ia-stat span { font-size: var(--text-sm); color: var(--t2); }

/* ═══ CLIENTES ══════════════════════════════════════════════ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .35s var(--ease), border-color .3s;
}
.client-card:hover { transform: translateY(-5px); }
.client-sector {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
}
.client-card > strong {
  font-family: var(--title);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--t1);
}

/* ═══ NÚMEROS ═══════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-border);
}
.stat-block {
  background: var(--glass);
  backdrop-filter: blur(20px);
  padding: 60px 32px;
  text-align: center;
  transition: background .3s;
}
.stat-block:hover { background: rgba(0,240,255,.03); }
.stat-num {
  font-family: var(--title);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--t1) 20%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--title);
  font-weight: 600;
}

/* ═══ COMPROMISSO ═══════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s var(--ease), border-color .3s;
}
.pillar-card:hover { transform: translateY(-6px); }
.pillar-num {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan);
}
.pillar-card h3 {
  font-family: var(--title);
  font-size: var(--text-2xl);
  font-weight: 800;
}
.pillar-card p { font-size: var(--text-base); color: var(--t2); line-height: 1.75; }

/* ═══ CONTATO ═══════════════════════════════════════════════ */
.contact-section { background: var(--bg-section); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 0; }
.contact-left .section-tag { text-align: left; margin-bottom: 20px; }
.contact-title {
  font-size: var(--text-3xl);
  text-align: left;
  margin-bottom: 20px;
}
.contact-left .section-desc { text-align: left; margin: 0 0 40px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color .3s, background .3s;
}
.channel-card:hover { border-color: var(--glass-glow); background: rgba(0,240,255,.02); }
.ch-icon { font-size: 22px; flex-shrink: 0; }
.channel-card strong { display: block; font-size: var(--text-sm); color: var(--t1); }
.channel-card p { font-size: var(--text-sm); color: var(--t2); }
.ch-arrow { margin-left: auto; color: var(--t3); font-size: 18px; }

/* Form */
.contact-form { padding: 40px; }
.form-title {
  font-family: var(--title);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }
.form-group label {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--t3);
}
.form-group input,
.form-group textarea {
  font-family: var(--body);
  font-size: var(--text-base);
  color: var(--t1);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 18px;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0,240,255,.3);
  background: rgba(0,240,255,.02);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--t3); }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--t2);
  padding: 10px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: auto;
  transition: border-color .25s, background .25s;
}
.check-item:hover { border-color: rgba(0,240,255,.2); background: rgba(0,240,255,.02); color: var(--t1); }
.check-item input { accent-color: var(--cyan); }

/* ═══ FOOTER ════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 72px 40px 60px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: var(--text-sm); color: var(--t2); max-width: 240px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 4px;
}
.footer-col a { font-size: var(--text-sm); color: var(--t2); transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--glass-border); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}
.footer-bottom p { font-size: var(--text-xs); color: var(--t3); }

/* ═══ BACK TO TOP ═════════════════════════════════════/* ═══ VARIACAO DE CORES DE SECAO ══════════════════════════ */
.section-white {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}
.section-white h1, .section-white h2, .section-white h3, .section-white h4, .section-white strong {
  color: #0F172A !important;
}
.section-white p, .section-white li, .section-white span {
  color: #475569 !important;
}
.section-white .section-tag {
  color: var(--blue) !important;
  background: rgba(14, 94, 250, 0.06) !important;
  border-color: rgba(14, 94, 250, 0.15) !important;
}
.section-white .glass-card {
  background: rgba(243, 247, 250, 0.75) !important;
  border-color: rgba(28, 163, 224, 0.12) !important;
}

.section-blue {
  background-color: #0E5EFA !important;
  color: #FFFFFF !important;
}
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4, .section-blue strong {
  color: #FFFFFF !important;
}
.section-blue p, .section-blue li, .section-blue span:not(.step-num):not(.vs-circle) {
  color: #E2E8F0 !important;
}
.section-blue .section-tag {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.section-blue .glass-card {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.section-blue .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
}
.section-blue .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
.section-blue .channel-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.section-blue .channel-card strong {
  color: #FFFFFF !important;
}
.section-blue .channel-card p {
  color: #E2E8F0 !important;
}
.section-blue .ia-chip {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}
.section-blue .ia-stat strong {
  background: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
.section-blue .ia-stat span {
  color: #E2E8F0 !important;
}

.section-yellow {
  background-color: #FFC400 !important;
  color: #0F172A !important;
}
.section-yellow h1, .section-yellow h2, .section-yellow h3, .section-yellow h4, .section-yellow strong {
  color: #0F172A !important;
}
.section-yellow p, .section-yellow li, .section-yellow span:not(.vs-circle):not(.problem-check) {
  color: #1E293B !important;
}
.section-yellow .section-tag {
  color: #0F172A !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
.section-yellow .glass-card {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
.section-yellow .client-sector {
  color: #475569 !important;
}
.section-yellow .problem-item {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.section-black {
  background-color: #0C1428 !important;
  color: #F8FAFC !important;
}
.section-black h1, .section-black h2, .section-black h3, .section-black h4, .section-black strong {
  color: #F8FAFC !important;
}
.section-black p, .section-black li, .section-black span {
  color: #94A3B8 !important;
}
.section-black .section-tag {
  color: #1CA3E0 !important;
  background: rgba(28, 163, 224, 0.08) !important;
  border-color: rgba(28, 163, 224, 0.2) !important;
}
.section-black .glass-card {
  background: rgba(18, 25, 44, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.section-black .stat-block {
  background: rgba(255, 255, 255, 0.02) !important;
}
.section-black .stat-num {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--cyan) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}
.section-black .stat-label {
  color: #94A3B8 !important;
}

/* Forçar o formulário de contato a ser sempre legível e limpo */
.contact-form {
  background: #FFFFFF !important;
  border: 1px solid rgba(28, 163, 224, 0.15) !important;
  color: #0F172A !important;
  box-shadow: var(--shadow-lg) !important;
}
.contact-form .form-title {
  color: #0F172A !important;
}
.contact-form label {
  color: #475569 !important;
}
.contact-form input, .contact-form textarea {
  background: #F8FAFC !important;
  border: 1px solid rgba(28, 163, 224, 0.15) !important;
  color: #0F172A !important;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--blue) !important;
  background: #FFFFFF !important;
}
.contact-form .check-item {
  border-color: rgba(28, 163, 224, 0.15) !important;
  color: #475569 !important;
  background: #F8FAFC !important;
}
.contact-form .check-item:hover {
  border-color: var(--blue) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}
olor: #475569 !important;
}

.section-blue {
  background-color: #0E5EFA !important;
  color: #FFFFFF !important;
}
.section-blue .section-title, .section-blue strong, .section-blue h3, .section-blue h4 {
  color: #FFFFFF !important;
}
.section-blue .section-desc, .section-blue p {
  color: #E2E8F0 !important;
}
.section-blue .section-tag {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.section-blue .glass-card {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}
.section-blue .glass-card p, .section-blue .glass-card li {
  color: #F1F5F9 !important;
}
.section-blue .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
}
.section-blue .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}

.section-yellow {
  background-color: #FFC400 !important;
  color: #0F172A !important;
}
.section-yellow .section-title, .section-yellow strong, .section-yellow h3, .section-yellow h4 {
  color: #0F172A !important;
}
.section-yellow .section-desc, .section-yellow p {
  color: #2D3748 !important;
}
.section-yellow .section-tag {
  color: #0F172A !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
.section-yellow .glass-card {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #0F172A !important;
}
.section-yellow .glass-card p, .section-yellow .glass-card li {
  color: #2D3748 !important;
}

.section-black {
  background-color: #0C1428 !important;
  color: #F8FAFC !important;
}
.section-black .section-title, .section-black strong, .section-black h3, .section-black h4 {
  color: #F8FAFC !important;
}
.section-black .section-desc, .section-black p {
  color: #94A3B8 !important;
}
.section-black .section-tag {
  color: #1CA3E0 !important;
  background: rgba(28, 163, 224, 0.08) !important;
  border-color: rgba(28, 163, 224, 0.2) !important;
}
.section-black .glass-card {
  background: rgba(18, 25, 44, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #F8FAFC !important;
}
.section-black .glass-card p, .section-black .glass-card li {
  color: #94A3B8 !important;
}


/* --- HERO PARALLAX FLOATING ELEMENTS (home only) --- */
.hero-home {
  position: relative;
  background: url('assets/fundo--.jpg') no-repeat center center !important;
  background-size: cover !important;
  overflow: hidden;
  z-index: 1;
}

/* Background overlay to make text highly readable */
.hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 160, 255, 0.05) 0%, rgba(10, 80, 180, 0.15) 100%);
  z-index: 1;
}

.hero-home .hero-container {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.hero-home .hero-content {
  align-items: center !important;
}

.hero-title {
  color: #FFFFFF !important;
  
  font-size: clamp(38px, 6vw, 76px) !important;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-desc {
  color: #E2E8F0 !important;
  
  max-width: 700px !important;
  margin-bottom: 40px;
}

/* Parallax floating images */
.hero-float-img {
  position: absolute;
  pointer-events: none !important;
  z-index: 1;
  opacity: 0.85;
}





@keyframes floatUpDown {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes floatLeftRight {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-40px, -20px) rotate(-3deg); }
}

@keyframes floatBubbles {
  0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-100vh) scale(1.2); opacity: 0; }
}

.logos-carousel-wrapper {
  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);
}
.logos-track {
  display: flex;
  gap: 60px; /* increased gap for bigger logos */
  width: max-content;
  will-change: transform;
}
.logo-item {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item:hover {
  opacity: 1;
}
.logo-item img {
  height: 65px; /* Increased from 45px to 65px */
  width: auto;
  max-width: 250px; /* Added max width to scale properly */
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: all 0.3s ease;
}
.logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Header Dark Mode (during fish section) */
.site-header.header-dark-mode {
  background: rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
  mix-blend-mode: normal;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-header.header-dark-mode .nav-link {
  color: #fff !important;
}
.site-header.header-dark-mode .hamburger span {
  background: #fff !important;
}
.site-header.header-dark-mode .logo-img {
  filter: brightness(0) invert(1) !important;
}

/* White logo header overlay style when transparent */
.site-header {
  background: rgba(12, 20, 40, 0.8) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Force header links light on dark bg */
.site-header .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--accent) !important;
}

/* Adjust projects card styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan);
}

.project-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.project-info {
  padding: 24px;
}

.project-sector {
  font-size: var(--text-xs);
  color: var(--cyan);
  font-family: var(--title);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.project-title {
  font-size: var(--text-lg);
  color: var(--t1);
  font-family: var(--title);
  font-weight: 700;
}

/* Logo list grid */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 20px;
}

.logo-item {
  width: clamp(100px, 12vw, 150px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) brightness(0.9) contrast(1.2);
  opacity: 0.65;
  transition: all 0.3s var(--ease);
}

.logo-item:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Form Styles and Layouts */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Pricing Toggle Switch Styles */
.toggle-label {
  color: var(--t2);
}
.toggle-label.active {
  color: var(--cyan) !important;
}


/* ═══ HERO SPLIT (páginas de serviço) ══════════════════════════════════════ */
.hero-split-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
  width: 100%;
}
.hero-split-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-split-img img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.45));
}
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
/* Links color */
.site-header .nav-link { color: #FFFFFF !important; }
.site-header.scrolled .nav-link { color: rgba(255, 255, 255, 0.9) !important; font-weight: 600; }
.site-header.scrolled 
/* Logo color on scroll */
.site-header.scrolled .logo-img { filter: none !important; }
/* Hamburger on mobile */
.site-header.scrolled .hamburger span { background: #FFFFFF !important; }

/* --- FIX 5: HEADER SCROLLED AND LOGO --- */
.site-header.scrolled .logo-img {
  filter: none !important;
}
.site-header.scrolled .main-nav { gap: 16px !important; }
.site-header.scrolled .nav-link { font-size: 12px !important; padding: 4px 8px !important; }

/* Ensure header container is wide enough */
.site-header .header-inner { max-width: 98% !important; padding: 0 1% !important; }

/* --- FIX 5: WIDER SERVICES CARDS --- */
#servicos .container { max-width: 1440px !important; padding: 0 40px !important; }
.service-colored-card { min-height: 520px !important; }

/* --- FIX 5: SECTION HEADER TEXT COLOR --- */
#servicos { background-color: transparent !important; }
#servicos .section-title, #servicos .section-desc { color: #FFFFFF !important; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* --- FIX 6: LOGO COLORS --- */
.site-header:not(.scrolled) .logo-img { filter: none !important; }

@media (max-width: 900px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
    text-align: center;
  }
  .hero-split-img {
    order: -1;
  }
  .hero-split-img img {
    max-height: 300px;
  }
  .hero-content .hero-actions {
    justify-content: center;
  }
}

.cursor-dot, .cursor-ring { display: none !important; }

.nav-link, .drawer-link { text-transform: uppercase; }


/* Client Logos Grayscale */
.logo-item img { filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.logo-item img:hover { filter: grayscale(0%); opacity: 1; }

/* --- FOOTER GRID FIX --- */
.site-footer {
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--t2);
  font-size: var(--text-sm);
}
.footer-col h4 {
  color: var(--t1);
  font-family: var(--title);
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--t2);
  margin-bottom: 12px;
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  color: var(--t2);
  font-size: var(--text-xs);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* --- HERO FIXES: Texts and Parallax --- */
.hero-section .eyebrow { color: #FFFFFF !important; font-weight: 400; text-shadow: none; }
.hero-section .gradient-text { background: none !important; -webkit-text-fill-color: #F3E91E !important; color: #F3E91E !important; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* GIGANTIC PARALLAX */




/* HEADER TRANSPARENT TO WHITE ON SCROLL */
.site-header {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}
/* Links color */
.site-header .nav-link { color: #FFFFFF !important; }
.site-header.scrolled .nav-link { color: #0F172A !important; font-weight: 700; }
.site-header.scrolled 
/* Logo color on scroll */
.site-header.scrolled .logo-img { filter: brightness(0.1); }
/* Hamburger on mobile */
.site-header.scrolled .hamburger span { background: #0F172A !important; }

/* --- FIX 5: HEADER SCROLLED AND LOGO --- */
.site-header.scrolled .logo-img {
  /* This filter turns white into Onda Blue (#1CA3E0) */
  filter: none !important;
}
.site-header.scrolled .main-nav { gap: 16px !important; }
.site-header.scrolled .nav-link { font-size: 12px !important; padding: 4px 8px !important; }

/* Ensure header container is wide enough */
.site-header .header-inner { max-width: 98% !important; padding: 0 1% !important; }

/* --- FIX 5: WIDER SERVICES CARDS --- */
#servicos .container { max-width: 1440px !important; padding: 0 40px !important; }
.service-colored-card { min-height: 520px !important; }

/* --- FIX 5: SECTION HEADER TEXT COLOR --- */
#servicos { background-color: transparent !important; }
#servicos .section-title, #servicos .section-desc { color: #FFFFFF !important; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* --- FIX 6: LOGO COLORS --- */
.site-header:not(.scrolled) .logo-img { filter: brightness(0) invert(1) !important; }

/*.ticker-item {
  width: 75vw !important;
  max-width: 1100px !important;
  height: 600px !important;
  margin: 0 16px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.ticker-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1.22) !important;
  transition: transform 0.4s ease !important;
  border-radius: 0 !important;
}
.ticker-item:hover img {
  transform: scale(1.28) !important;
}*/

/* --- FIX 6: GIANT PARALLAX CENTERED --- */



/* --- FIX 7: PORTFOLIO SLIDER & LIGHTBOX --- */
.projects-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth;
  gap: 30px !important;
  padding-bottom: 20px !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.projects-grid::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 350px;
  scroll-snap-align: center;
  cursor: pointer;
}
@media (max-width: 768px) {
  .project-card { flex: 0 0 calc(80% - 20px); min-width: 280px; }
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.slider-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 24px;
}
.slider-arrow:hover { background: #1CA3E0; border-color: #1CA3E0; }

.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox.show { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}
.lightbox-close:hover { color: #1CA3E0; }

/* --- FIX 7: MEGA PARALLAX OVERRIDES --- */




/* --- FIX 8: TEXT READABILITY AND TICKER --- */
#servicos .section-title, #servicos .section-desc { color: #0F172A !important; text-shadow: none !important; }

.ticker-container { overflow: hidden; width: 100%; padding: 40px 0; }
.ticker-track { display: flex; animation: ticker 40s linear infinite; width: max-content; }
/* Simple elegant images for portfolio */
.ticker-item {
  /* Remove glass frame and keep just the clean bounds */
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: 16px !important;
  overflow: hidden;
  
  /* Premium shadow applied directly to the image bounds */
  box-shadow: 0 15px 35px rgba(0, 30, 70, 0.15) !important; 
}
.ticker-item img {
  border-radius: 16px !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- FIX 9: TICKER FULLWIDTH AND PROFESSIONAL SHADOW --- */
.ticker-container {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 40px 0 80px 0 !important; /* Extra bottom padding for the shadow */
}
.ticker-item {
  width: 48vw !important; max-width: 800px; 
  height: 400px !important;
  border-radius: 12px !important;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5) !important; /* Professional bottom shadow */
}
.ticker-item::after {
  display: none !important; /* Remove fake inset shadow */
}

/* Ensure parallax elements are completely smooth when moving */
.hero-float-img {
  will-change: transform;
}

/* --- FIX 10: ANIMATED GRADIENT & GLASSMORPHISM --- */

/* Section Animated Gradient Background */
.section-animated-glass {
  background: linear-gradient(135deg, #ffffff, #e0f2fe, #f0f9ff, #ffffff);
  background-size: 300% 300%;
  animation: bgGradientShift 12s ease infinite;
}
@keyframes bgGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Ensure text inside this section is dark since the background is light */
.section-animated-glass .section-title, 
.section-animated-glass .section-desc {
  color: #0F172A !important;
}
.section-animated-glass .section-tag {
  background: rgba(0, 0, 0, 0.05);
  color: #1CA3E0;
}

/* Smoother Ticker Track */
.ticker-track {
  animation: ticker 60s linear infinite !important; /* Slower and more elegant */
  will-change: transform;
  transform: translateZ(0); /* Force hardware acceleration */
}

/* Glassmorphism Cards */
.ticker-item {
  /* Glass frame */
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  padding: 12px !important;
  box-sizing: border-box;
  border-radius: 24px !important;
  
  /* Softer, more premium shadow for the light background */
  box-shadow: 0 20px 50px -10px rgba(0, 50, 100, 0.15) !important; 
}
.ticker-item img {
  border-radius: 14px !important;
}

/* --- FIX: 4-COLUMN STEPS (No Wrap) --- */
.process-grid, .steps-grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
@media (min-width: 768px) {
  .process-grid, .steps-grid, .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .process-grid, .steps-grid, .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .container {
    max-width: 1400px
  }
}

/* ═══ Ticker / Marquee Auto-scroll for Resource Cards ═══ */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}

/* Portfolio Track and Items (Grandão e bonitão) */
.portfolio-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  padding: 20px 0 40px;
}

.portfolio-item {
  width: 60vw;
  max-width: 900px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 30, 70, 0.2);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 30, 70, 0.3);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-item {
    width: 85vw;
    height: 350px;
  }
}


/* Individual resource cards inside ticker */
.ticker-card {
  flex: 0 0 auto;
  width: 280px;
  background: var(--bg-card, rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              background 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient shimmer on top */
.ticker-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(42, 196, 234, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  
}

.ticker-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(42, 196, 234, 0.35);
  background: rgba(42, 196, 234, 0.05);
  box-shadow:
    0 0 0 1px rgba(42, 196, 234, 0.18),
    0 12px 40px rgba(42, 196, 234, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.ticker-card img.feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(42, 196, 234, 0.3));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ticker-card:hover img.feature-icon {
  transform: scale(1.12) rotate(-3deg);
}

.ticker-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary, #f0f4ff);
  margin: 0;
  line-height: 1.3;
}

.ticker-card p {
  font-size: 0.875rem;
  color: var(--text-secondary, rgba(200, 215, 240, 0.75));
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Dark section variant (section-white has light bg) */
.section-white .ticker-card {
  background: #ffffff;
  border-color: #e8edf5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.section-white .ticker-card h3 {
  color: #0F172A;
}

.section-white .ticker-card p {
  color: #475569;
}

.section-white .ticker-card:hover {
  background: #f0fbff;
  border-color: rgba(42, 196, 234, 0.4);
  box-shadow:
    0 0 0 1px rgba(42, 196, 234, 0.2),
    0 16px 48px rgba(42, 196, 234, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

.section-white .ticker-card::before {
  background: linear-gradient(135deg, rgba(42, 196, 234, 0.08) 0%, transparent 60%);
}

/* --- FIX: TICKER 16:9 NO PADDING/BORDERS --- */
.ticker-item {
  width: 48vw !important; max-width: 800px;
  height: 27vw !important; max-height: 450px; /* 16:9 ratio */
  padding: 0 !important; /* Remove glass padding */
  border: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.ticker-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Guarantee no stretch */
  border-radius: 12px !important;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}
@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote {
  font-size: 40px;
  color: #1CA3E0;
  line-height: 1;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
}
.testimonial-author {
  font-weight: 700;
  color: #0F172A;
  font-size: 16px;
}
.testimonial-title {
  font-size: 14px;
  color: #64748b;
}
.star-rating {
  color: #fbbf24;
  margin-top: 10px;
  font-size: 18px;
}

.testimonials-carousel::-webkit-scrollbar { display: none; }
.testimonials-carousel .testimonial-card {
  scroll-snap-align: start;
  min-width: 320px;
  max-width: 400px;
  flex: 0 0 auto;
}
/* --- Custom Service Pages Layout Additions --- */
.hero-split-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.hero-split-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}
.hero-split-image {
  flex: 1;
  min-width: 300px;
  text-align: right;
  transform-style: preserve-3d !important;
  perspective: 1000px !important;
  position: relative !important;
  overflow: visible !important;
  cursor: pointer;
}
.hero-split-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateZ(40px) !important;
  transition: transform 0.3s ease !important;
  border-radius: 20px !important;
  will-change: transform;
}
.hero-split-image:hover img {
  transform: translateZ(65px) scale(1.03) !important;
}

@media (max-width: 768px) {
  .hero-split-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;
  }
  .hero-split-text, .hero-split-image {
    text-align: center;
    width: 100%;
  }
}

/* Horizontal Scroll Container */
.horizontal-scroll-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) rgba(255, 255, 255, 0.05);
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--brand);
  border-radius: 4px;
}
.horizontal-scroll-wrapper .pillar-card {
  scroll-snap-align: start;
  min-width: 280px;
  flex: 0 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.horizontal-scroll-wrapper .pillar-card img.feature-icon {
  max-width: 50px;
  margin-bottom: 16px;
  display: block;
}

/* ---------------------------------------------------
   TICKER / MARQUEE  Resource Cards
   --------------------------------------------------- */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  padding: 16px 0;
}

/* removed hover pause */

.ticker-card {
  flex: 0 0 auto;
  width: 270px;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ticker-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(42,196,234,0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  
}

.ticker-card:hover {
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(42, 196, 234, 0.45);
  background: #f0fbff;
  box-shadow:
    0 0 0 1px rgba(42, 196, 234, 0.2),
    0 20px 48px rgba(42, 196, 234, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.06);
}

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

.ticker-card img.feature-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(42, 196, 234, 0.25));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ticker-card:hover img.feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.ticker-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.ticker-card p {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ---------------------------------------------------
   MODIFICATIONS: Increased card sizes by 20% & Custom Sections
   --------------------------------------------------- */

/* Increase ticker card sizes by ~20% */
.ticker-card {
  width: 324px !important;
  padding: 34px 28px !important;
  gap: 16px !important;
}

.ticker-card img.feature-icon {
  width: 55px !important;
  height: 55px !important;
}

.ticker-card h3 {
  font-size: 1.15rem !important;
}

.ticker-card p {
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
}

/* Fix overall body and container scrollbars */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

main {
  overflow-x: hidden !important;
  width: 100%;
}

/* Portfolio Gallery/Slider Section */
.portfolio-slider-section {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.portfolio-slider-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #0F172A;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.portfolio-slider-title em {
  font-style: normal;
  color: #2ac4ea;
}

/* Infinite portfolio slider (using ticker track for smooth scrolling animation) */
.portfolio-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
  padding: 20px 0;
}

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

.portfolio-item {
  flex: 0 0 auto;
  width: 450px;
  height: 253px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Yellow Cuidamos Section */
.cuidamos-section {
  background: #F5E642;
  padding: 100px 0;
  color: #0C1428;
  position: relative;
}

.cuidamos-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.cuidamos-content {
  text-align: left;
}

.cuidamos-tag {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0C1428;
  opacity: 0.8;
  margin-bottom: 16px;
  display: inline-block;
}

.cuidamos-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0C1428;
  margin-bottom: 40px;
}

.cuidamos-title em {
  font-style: normal;
  border-bottom: 4px solid #2ac4ea;
  padding-bottom: 4px;
}

.cuidamos-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cuidamos-list li {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cuidamos-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2ac4ea;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

.cuidamos-image-container {
  display: flex;
  justify-content: center;
}

.cuidamos-image-container img {
  width: 100%;
  max-width: 440px;
  height: 440px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .cuidamos-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cuidamos-image-container img {
    max-width: 320px;
    height: 320px;
  }
}

/* ---------------------------------------------------
   ADDITIONS: Interactive Scroll Controls & Arrow Navigation
   --------------------------------------------------- */

/* Remove CSS animations so JS scrollLeft handles ticker */
.ticker-outer .ticker-track, .ticker-outer .portfolio-track { animation: none !important; }

.ticker-outer {
  overflow-x: auto !important;
  scroll-behavior: auto; /* Required for fast tick updates */
  user-select: none;
  position: relative;
  scrollbar-width: none !important;
}

.ticker-outer::-webkit-scrollbar {
  display: none !important;
}

/* Relative container wrapper for navigation arrows */
.ticker-container-wrapper {
  position: relative;
  width: 100%;
}

.ticker-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #0F172A;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.ticker-arrow:hover {
  background: var(--brand, #2ac4ea);
  color: #ffffff;
  border-color: var(--brand, #2ac4ea);
  box-shadow: 0 6px 20px rgba(42, 196, 234, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.ticker-arrow.left {
  left: 20px;
}

.ticker-arrow.right {
  right: 20px;
}

@media (max-width: 768px) {
  .ticker-arrow {
    display: none !important; /* Hide arrows on mobile for clean touch swipe */
  }
}

/* FAQ Accordion Styles for design-por-assinatura.html */
.faq-section {
  padding: 100px 0;
  background: #ffffff;
}

.faq-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #0F172A;
  text-align: center;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(42, 196, 234, 0.4);
  box-shadow: 0 8px 24px rgba(42, 196, 234, 0.06);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.faq-header:hover {
  background: #f8fafc;
}

.faq-header h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item.active .faq-header h3 {
  color: var(--brand, #2ac4ea);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--brand, #2ac4ea);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: #ffffff;
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.faq-content-inner p {
  margin: 0 0 12px 0;
}

.faq-content-inner p:last-child {
  margin: 0;
}

.faq-content-inner ul {
  padding-left: 20px;
  margin: 12px 0;
}

.faq-content-inner li {
  margin-bottom: 8px;
}

/* Two-column layout for Quem Cuida do seu Design */
.design-team-section {
  background: #2ac4ea;
  padding: 100px 0;
  color: #ffffff;
}

.design-team-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.design-team-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.design-team-image-container img {
  width: 100%;
  max-width: 440px;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.design-team-content {
  text-align: left;
}

.design-team-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 30px;
}

.design-team-content p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.design-team-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .design-team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .design-team-image-container img {
    max-width: 320px;
    height: 350px;
  }
}
/* --- HERO INTERACTIVE --- */
@keyframes floatUp {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes floatDown {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(30px) rotate(-3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}





/* Drag interactions */
.hero-float-img {
   will-change: left, top, transform;
   user-select: none;
   -webkit-user-drag: none;
   pointer-events: auto !important;
   z-index: 55 !important;
}

@keyframes reactJump {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.1) translateY(-30px); }
  100% { transform: scale(1) translateY(0); }
}
.react-jump { 
  animation: reactJump 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; 
}

/* Cursor Bubbles */
.cursor-bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(28, 163, 224, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  
  z-index: 50;
  animation-name: bubbleRise;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  box-shadow: 0 0 10px rgba(255,255,255,0.2), inset 0 0 10px rgba(255,255,255,0.5);
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-200px) scale(1.5);
    opacity: 0;
  }
}


.hero-service { background-image: none !important; }

.cursor-dot, .cursor-ring { pointer-events: none !important; }
.bg-layer, .bg-grid { pointer-events: none !important; }

.hero-home::before { pointer-events: none !important; }

/* ─── INTRO SCROLLYTELLING ─────────────────── */
body.intro-playing {
  overflow: hidden; /* prevent scroll until JS re-enables it */
}
#intro-section {
  position: relative;
  z-index: 9999 !important;
}
#sticky-video-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9999;
}
#intro-flow-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Hide site-header during intro */
body.intro-active .site-header {
  display: none !important;
}
/* Keep bg-layer below intro */
.bg-layer {
  z-index: 0 !important;
}


/* ═══ HERO PARALLAX — CLEAN FINAL RULES ════════════════════════ */
/* All floats are behind the hero-container content (z-index:2) */
.hero-float-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Água-viva: canto superior esquerdo */

/* Cavalo marinho: canto inferior direito */

/* Mergulhador: centro, colado no fundo */

/* Anzóis: topo, bem menor */

/* Bolhas: fundo decorativo */

/* Hero content must be above all floats */
.hero-home .hero-container,
.hero-home .hero-content {
  position: relative !important;
  z-index: 10 !important;
}

/* --- HERO TEXT TOP-CENTER + DIVER 3x BIGGER -------------------- */
/* Position hero text at top-center */
.hero-home.hero-section {
  align-items: flex-start !important;
  padding-top: 120px !important;
}

.hero-home .hero-container {
  justify-content: flex-start !important;
  padding-top: 0 !important;
}

/* Diver: 3x bigger (was ~950px max, now ~2850px) */

/* --- SEAHORSE + JELLYFISH 4x + DIVER HIGHER ------------------- */


/* Diver: push up so less is cut */

/* ═══ CLIENT CAROUSEL ══════════════════════════════════════════ */
.logos-carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.logos-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 60px;
}
.logos-track-left {
  animation: scrollLeft 30s linear infinite;
}
.logos-track-right {
  animation: scrollRight 30s linear infinite;
}
.logos-carousel-wrapper:hover .logos-track {
  animation-play-state: paused;
}
.logos-track .logo-item {
  width: clamp(120px, 15vw, 180px);
  flex-shrink: 0;
  opacity: 0.6;
  filter: grayscale(1) brightness(0.8);
  transition: all 0.3s ease;
  pointer-events: none;
}
.logos-track .logo-item:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}


/* ═══ HEADER NAV & HIGHLIGHT MARKER ════════════════════════════ */
.nav-link {
  text-transform: uppercase !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

.marker-highlight {
  background: linear-gradient(180deg, transparent 60%, #F3E91E 60%) !important;
  color: #FFFFFF !important;
  padding: 0 8px;
  -webkit-text-fill-color: initial !important;
  display: inline-block;
  line-height: 1.1;
}

/* Improve readability for cyan background in Social Media page */
body.page-midias-sociais .hero-title,
body.page-midias-sociais .hero-desc,
body.page-midias-sociais .eyebrow {
  color: #FFFFFF !important;
  text-shadow: none !important;
}
body.page-midias-sociais .eyebrow {
  border-color: rgba(255,255,255,0.3) !important;
  background: rgba(255,255,255,0.1) !important;
}


/* ═══ TÍTULOS, MENU SCROLL E LOGO ════════════════════════════════ */
.hero-title, .section-title {
  text-transform: uppercase !important;
}

/* Diminui os títulos ligeiramente */
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
}

/* Remove filtros que alteram a cor da logo */
.site-header .logo-img,
.site-header.scrolled .logo-img,
.site-header:not(.scrolled) .logo-img {
  filter: none !important;
}

/* Mantém o tamanho da fonte do menu igual ao rolar */
.site-header.scrolled .nav-link {
  font-size: 13px !important;
  padding: 8px 12px !important; 
}
.site-header .nav-link {
  padding: 8px 12px !important;
}

/* Botão Orçamento no Menu */
.eyebrow {
  display: inline-block;
  font-family: var(--title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(14, 94, 250, 0.06);
  border: 1px solid rgba(14, 94, 250, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.btn-nav-orcamento {
  background: #1CA3E0 !important;
  color: #FFFFFF !important;
  border-radius: 24px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nav-orcamento:hover {
  background: #1480B2 !important;
  transform: scale(1.05);
}


/* ═══ TEXT ANIMATION (WORD BY WORD) ═════════════════════════════ */
.animate-words {
  opacity: 1 !important; /* Keep container visible */
  transform: none !important;
}
.animate-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes wordFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ═══ MENU FONT LIGHTER & FOOTER FIX ═════════════════════════════ */
.nav-link {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

/* Remove gray stripe below footer */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer {
  margin-bottom: 0 !important;
}


/* ═══ MODERN SIDE DRAWER ═════════════════════════════════════════ */
.side-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.side-menu-drawer.open {
  pointer-events: auto;
}
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.side-menu-drawer.open .drawer-overlay {
  opacity: 1;
}
.drawer-content {
  position: relative;
  width: clamp(300px, 80vw, 450px);
  height: 100%;
  background: #0F172A;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.1, 1);
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.side-menu-drawer.open .drawer-content {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s;
}
.drawer-close:hover {
  transform: rotate(90deg) scale(1.1);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.drawer-link {
  color: #fff;
  font-size: clamp(16px, 4vw, 22px);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  overflow: hidden;
  display: block;
  white-space: nowrap;
}
.drawer-link:hover {
  color: #1CA3E0;
}
.drawer-link.highlighted {
  color: #F3E91E;
}
.drawer-text {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}
.side-menu-drawer.open .drawer-text {
  transform: translateY(0);
}
/* Staggered delays for nav items */
.side-menu-drawer.open .drawer-link:nth-child(1) .drawer-text { transition-delay: 0.1s; }
.side-menu-drawer.open .drawer-link:nth-child(2) .drawer-text { transition-delay: 0.15s; }
.side-menu-drawer.open .drawer-link:nth-child(3) .drawer-text { transition-delay: 0.2s; }
.side-menu-drawer.open .drawer-link:nth-child(4) .drawer-text { transition-delay: 0.25s; }
.side-menu-drawer.open .drawer-link:nth-child(5) .drawer-text { transition-delay: 0.3s; }
.side-menu-drawer.open .drawer-link:nth-child(6) .drawer-text { transition-delay: 0.35s; }
.side-menu-drawer.open .drawer-link:nth-child(7) .drawer-text { transition-delay: 0.4s; }

.drawer-footer {
  margin-top: auto;
}
.drawer-socials a:hover {
  background: #1CA3E0;
  border-color: #1CA3E0;
}

/* ═══ WHITE LOGO FIX ON TRANSPARENT HEADER ══════════════════════ */
.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1) !important; /* Make white */
}


/* ═══ UI CORRECTIONS ═══════════════════════════════════════════ */
/* Fix menu hover and active state */

/* For pages with bright headers like Contato, fix active color */
body.page-contato .site-header:not(.scrolled) .nav-link {
  color: #0F172A !important;
}
body.page-contato .site-header:not(.scrolled) .nav-link:hover,
body.page-contato .site-header:not(.scrolled) .nav-link.active {
  color: #1CA3E0 !important;
}
/* Make logo black on Contato page (yellow background) */
body.page-contato .site-header:not(.scrolled) .logo-img {
  filter: brightness(0) !important;
}

/* Fix Marcio photo (remove shadow, overlap section above) */
.design-team-image-container img {
  box-shadow: none !important;
  margin-top: -80px !important;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .design-team-image-container img {
    margin-top: -40px !important;
  }
}

/* FAQ section sizing on Design por Assinatura */
.faq-section {
  padding: 60px 0 !important;
}
.faq-container {
  max-width: 800px !important;
  margin: 0 auto;
}


.faq-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  max-width: 1000px !important;
  align-items: start;
}
@media (max-width: 800px) {
  .faq-container {
    grid-template-columns: 1fr !important;
  }
}

/* ═══ MENU HOVER ANIMATION & NO RESIZE ═════════════════════════ */
/* Ensure header height and font size don't jump */
.site-header, .site-header.scrolled {
  padding: 16px 0 !important; /* Keep it consistent */
}
.site-header .nav-link,
.site-header.scrolled .nav-link {
  font-size: 13px !important;
  padding: 8px 12px !important;
}

/* Animated underline from left to right on hover */
.main-nav .nav-link {
  position: relative;
  overflow: visible; /* To allow pseudo element to show */
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #1CA3E0;
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Exclude the 'Orçamento' button from having the underline */
.main-nav .btn-nav-orcamento::after {
  display: none !important;
}


/* ═══ MENU TEXT SELECTION & HEADER SHADOW ══════════════════════ */
.nav-link, .drawer-link, .hamburger {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Shadow gradient to improve readability on bright backgrounds (Removed per user request) */
.site-header:not(.scrolled)::before {
  display: none !important;
}

/* When scrolled, the gradient is hidden because header is white */
.site-header.scrolled::before {
  opacity: 0;
}


/* ═══ BIG PHOTO BOTTOM ALIGNED ═══════════════════════════════ */
.design-team-section {
  overflow: visible !important;
}
.design-team-grid {
  align-items: flex-end !important; /* Align content to bottom */
}
.design-team-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.design-team-image-container img {
  width: 100% !important;
  max-width: 700px !important; /* Much larger */
  height: auto !important; /* Keep proportions */
  margin-top: -200px !important; /* Overlap yellow section above */
  margin-bottom: -100px !important; /* Flush with bottom (assuming section padding is 100px) */
  position: relative;
  z-index: 10;
  border-radius: 0 !important; /* Remove border radius if it's a transparent cutout */
  object-fit: contain !important;
  box-shadow: none !important;
  transform-origin: bottom center;
}
@media (max-width: 900px) {
  .design-team-image-container img {
    margin-top: -100px !important;
    margin-bottom: -50px !important;
    max-width: 100% !important;
  }
}


/* ═══ SUPER MASSIVE PHOTO ════════════════════════════════════ */
.design-team-image-container {
  overflow: visible !important;
}
.design-team-image-container img {
  width: 180% !important; /* Forces it to break out of its grid column */
  max-width: 1400px !important;
  min-width: 800px !important;
  margin-left: -20% !important; /* Pull it to the left to center it relatively */
  margin-top: -350px !important; /* Higher overlap */
  margin-bottom: -100px !important;
  position: relative;
  z-index: 10;
  object-fit: contain !important;
}
@media (max-width: 900px) {
  .design-team-image-container img {
    width: 150% !important;
    min-width: 500px !important;
    margin-left: -25% !important;
    margin-top: -150px !important;
    margin-bottom: -50px !important;
  }
}


/* ═══ FIX BUTTON CURSOR ══════════════════════════════════════ */
a, button, .btn-primary, .btn-ghost, .nav-link, .drawer-link, .magnetic, .cuidamos-tag, .btn-nav-orcamento {
  cursor: pointer !important;
}
/* Ensure elements inside buttons don't trigger the text cursor (I-beam) */
a *, button *, .btn-primary *, .btn-ghost *, .btn-nav-orcamento * {
  cursor: pointer !important;
}


/* ═══ 3D GLASSMORPHISM TESTIMONIALS ════════════════════════════════════ */
.testimonial-glass-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  min-width: 380px !important;
  max-width: 450px !important;
  height: auto !important; /* Let content determine height */
  min-height: 400px !important; /* Ensure a decent size */
  flex: 0 0 auto !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04) !important; /* Soft premium shadow, no white inset */
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform-style: preserve-3d !important;
  will-change: transform;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.1s ease !important;
  overflow: visible !important; /* Don't clip internal elements */
}
.testimonial-glass-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.9);
}
.testimonial-glass-card > * {
  transform: translateZ(30px);
}
.testimonial-quote {
  font-size: 5rem;
  color: #1ca3e0;
  opacity: 0.3;
  line-height: 0.8;
  font-family: serif;
  margin-bottom: 10px;
  transform: translateZ(40px);
}
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 30px;
}
.testimonial-author {
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f172a;
  font-family: 'Unbounded', sans-serif;
}
.testimonial-title {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 15px;
}
.star-rating {
  display: flex;
  gap: 4px;
}
.star-rating span {
  color: #facc15;
  font-size: 1.2rem;
  display: inline-block;
}
@keyframes starPop {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.3) rotate(15deg); color: #fbbf24; }
  100% { transform: scale(1) rotate(0deg); }
}
.testimonial-glass-card:hover .star-rating span {
  animation: starPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.testimonial-glass-card:hover .star-rating span:nth-child(1) { animation-delay: 0s; }
.testimonial-glass-card:hover .star-rating span:nth-child(2) { animation-delay: 0.1s; }
.testimonial-glass-card:hover .star-rating span:nth-child(3) { animation-delay: 0.2s; }
.testimonial-glass-card:hover .star-rating span:nth-child(4) { animation-delay: 0.3s; }
.testimonial-glass-card:hover .star-rating span:nth-child(5) { animation-delay: 0.4s; }

.testimonials-carousel::-webkit-scrollbar {
  display: none !important;
}

/* ═══ STANDARDIZED PORTFOLIO TICKER ════════════════════════════════════ */
.portfolio-ticker-item {
  width: 400px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), box-shadow 0.4s ease;
}
.portfolio-ticker-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  z-index: 10;
}
.portfolio-ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-ticker-item:hover img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .portfolio-ticker-item {
    width: 280px;
    height: 350px;
  }
}


.testimonials-carousel {
  display: flex !important;
  align-items: stretch !important; /* Make all cards same height */
  overflow-x: auto !important;
  overflow-y: visible !important; /* Allow 3D tilt without clipping */
}

/* Header Dark Mode Override */
.site-header.header-dark-mode, 
.site-header.scrolled.header-dark-mode {
  background: rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
  mix-blend-mode: normal;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.site-header.header-dark-mode .nav-link,
.site-header.scrolled.header-dark-mode .nav-link {
  color: #fff !important;
}
.site-header.header-dark-mode .hamburger span,
.site-header.scrolled.header-dark-mode .hamburger span {
  background: #fff !important;
}
.site-header.header-dark-mode .logo-img,
.site-header.scrolled.header-dark-mode .logo-img {
  filter: brightness(0) invert(1) !important;
}


/* --- LIGHTBOX ANIMATION FIX --- */
.lightbox {
    visibility: hidden;
    opacity: 0;
    display: flex !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.show { 
    visibility: visible;
    opacity: 1;
}
.lightbox-content {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.show .lightbox-content {
    transform: scale(1);
}


/* --- STRONGER GAUSSIAN BLUR HEADER --- */
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.site-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
}
.site-header.scrolled .logo-img {
  filter: none !important;
}
.site-header.scrolled .hamburger span {
  background: #FFFFFF !important;
}



/* --- ADJUSTED GLASSMORPHIC BLUR HEADER --- */
.site-header {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

/* Base transparent state link and logo styles */
.site-header .nav-link {
  color: #FFFFFF !important;
  transition: color 0.3s;
}
.site-header .logo-img {
  filter: none !important;
}
.site-header .hamburger span {
  background: #FFFFFF !important;
}

/* Scrolled state with strong blur, faded bottom edge */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(45px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(45px) saturate(180%) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  
  -webkit-
}

/* Overrides when scrolled over white/light backgrounds (default state) */
.site-header.scrolled .nav-link {
  color: #0F172A !important;
}
.site-header.scrolled 
.site-header.scrolled .logo-img {
  filter: none !important;
}
.site-header.scrolled .hamburger span {
  background: #0F172A !important;
}

/* Special ScrollTrigger mode: Header Dark Mode during canvas section animations (dark backgrounds) */
.site-header.scrolled.header-dark-mode {
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(45px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(45px) saturate(160%) !important;
  
  -webkit-
}
.site-header.scrolled.header-dark-mode .nav-link {
  color: #FFFFFF !important;
}
.site-header.scrolled.header-dark-mode 
.site-header.scrolled.header-dark-mode .logo-img {
  filter: none !important;
}
.site-header.scrolled.header-dark-mode .hamburger span {
  background: #FFFFFF !important;
}

/* --- PREMIUM CAROUSEL NAVIGATION ARROWS & DRAG INDICATOR --- */
.ticker-container-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.ticker-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #0F172A;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
}

.ticker-container-wrapper:hover .ticker-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.ticker-arrow:hover {
  background: #1CA3E0;
  color: #FFFFFF;
  border-color: #1CA3E0;
  box-shadow: 0 10px 25px rgba(28, 163, 224, 0.35);
}

.ticker-arrow.left {
  left: 24px;
}

.ticker-arrow.right {
  right: 24px;
}

/* Custom drag and drop cursor indicator */
.carousel-drag-indicator {
  position: fixed;
  pointer-events: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 99999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.carousel-drag-indicator.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.carousel-drag-indicator svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-bottom: 6px;
}

.ticker-outer, .ticker-container {
  position: relative;
}

/* --- 3D DEPTH PARALLAX FOR TICKER, PORTFOLIO AND SERVICE CARDS --- */
.ticker-item, .portfolio-item, .service-colored-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Ensure contents float inside when tilted */
.ticker-item img, .portfolio-item img {
  transform: translateZ(30px) scale(0.96);
  transition: transform 0.3s var(--ease);
}

.service-colored-card > div {
  transform: translateZ(40px);
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
}

.service-colored-card img {
  transform: translateZ(60px) scale(1.05);
  transition: transform 0.3s var(--ease);
}

/* Hover scales and depth adjustments */
.ticker-item:hover img, .portfolio-item:hover img {
  transform: translateZ(50px) scale(1.02);
}

.service-colored-card:hover img {
  transform: translateZ(80px) scale(1.1);
}

/* --- APPLE-LEVEL MINIMALIST SCROLLBAR --- */
html {
  scrollbar-width: thin;
  scrollbar-color: #0084ff #ffffff;
}

/* Webkit browser scrollbars (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
}

::-webkit-scrollbar-thumb {
  background: #0084ff !important;
  border-radius: 4px !important;
  border: none !important;
  box-shadow: none !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #0066cc !important;
}

/* --- TEXT JITTER & SHAKING PREVENTION DURING SMOOTH SCROLL --- */
h1, h2, h3, h4, h5, h6, p, span, a, li {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Dynamic holographic shine/glare overlay for 3D cards */
.card-shine {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.15s ease;
}

/* Hide card-shine on hero-split-image elements to prevent square borders around transparent PNGs */
.hero-split-image .card-shine {
  display: none !important;
}

/* Force white and yellow header fonts on Midias Sociais transparent header */
.page-midias-sociais .site-header:not(.scrolled) .nav-link {
  color: #FFFFFF !important;
}
.page-midias-sociais .site-header:not(.scrolled) .nav-link.active {
  color: #eeee22 !important;
}
.page-midias-sociais .site-header:not(.scrolled) 
.page-midias-sociais .site-header:not(.scrolled) .nav-link.active::after {
  background-color: #eeee22 !important;
}
.page-midias-sociais .site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1) !important;
}

/* Force white title words in hero sections with transparent/blue backgrounds */
.hero-section .hero-title,
.hero-section .hero-title .word {
  color: #FFFFFF !important;
}

/* Allow em elements to keep their custom color (like yellow #eeee22) */
.hero-section .hero-title em,
.hero-section .hero-title em .word {
  color: #eeee22 !important;
}

/* Slide header out of view smoothly on scroll down */
.site-header {
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s !important;
}
.site-header.header-hidden {
  transform: translateY(-100%) !important;
}


/* ═══ DISABLE TEXT SELECTION ON MENU ═════════════════════════ */
.nav-link, .drawer-link, .hamburger {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}


/* ═══ HERO PARALLAX — CLEAN FINAL RULES ════════════════════════ */
/* All floats are behind the hero-container content (z-index:2) */
.hero-float-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Água-viva: canto superior esquerdo */
.float-jellyfish {
  left: -350px !important;
  top: -150px !important;
  z-index: 1 !important;
  max-width: none !important;
}

/* Cavalo marinho: canto inferior direito */
.float-seahorse {
  right: -400px !important;
  bottom: -200px !important;
  left: auto !important;
  top: auto !important;
  z-index: 1 !important;
  max-width: none !important;
}

/* Mergulhador: centro, colado no fundo */
.float-diver {
  left: 50% !important;
  bottom: -150px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  z-index: 2 !important;
  max-width: none !important;
}

/* Anzóis: topo, bem menor */
.float-lure {
  right: 30% !important;
  top: -2% !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  pointer-events: none !important;
  max-width: none !important;
}

/* Bolhas: fundo decorativo */
.float-bubbles {
  right: 10% !important;
  top: 10% !important;
  left: auto !important;
  opacity: 0.7 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Hero content must be above all floats */
.hero-home .hero-container,
.hero-home .hero-content {
  position: relative !important;
  z-index: 10 !important;
}

/* Active menu link styled with border outline (layout-stable) */
.main-nav .nav-link {
  border: 2px solid transparent !important;
  border-radius: 30px !important;
  padding: 6px 14px !important;
  transition: all 0.3s ease !important;
}
.main-nav .nav-link.active {
  background-color: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
.site-header.scrolled .main-nav .nav-link.active {
  border-color: #000000 !important;
  color: #000000 !important;
}
.page-midias-sociais .site-header:not(.scrolled) .nav-link.active {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Hide the animated hover underline for the active/pill link */
.main-nav .nav-link.active::after {
  display: none !important;
}


/* ═══ MODERN SIDE DRAWER ═════════════════════════════════════════ */
.side-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.side-menu-drawer.open {
  pointer-events: auto;
}
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.side-menu-drawer.open .drawer-overlay {
  opacity: 1;
}
.drawer-content {
  position: relative;
  width: clamp(300px, 80vw, 450px);
  height: 100%;
  background: #0F172A;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.1, 1);
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.side-menu-drawer.open .drawer-content {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s;
}
.drawer-close:hover {
  transform: rotate(90deg) scale(1.1);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.drawer-link {
  color: #fff;
  font-size: clamp(24px, 5vw, 36px);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  overflow: hidden;
  display: block;
}
.drawer-link:hover {
  color: #1CA3E0;
}
.drawer-link.highlighted {
  color: #F3E91E;
}
.drawer-text {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}
.side-menu-drawer.open .drawer-text {
  transform: translateY(0);
}
/* Staggered delays for nav items */
.side-menu-drawer.open .drawer-link:nth-child(1) .drawer-text { transition-delay: 0.1s; }
.side-menu-drawer.open .drawer-link:nth-child(2) .drawer-text { transition-delay: 0.15s; }
.side-menu-drawer.open .drawer-link:nth-child(3) .drawer-text { transition-delay: 0.2s; }
.side-menu-drawer.open .drawer-link:nth-child(4) .drawer-text { transition-delay: 0.25s; }
.side-menu-drawer.open .drawer-link:nth-child(5) .drawer-text { transition-delay: 0.3s; }
.side-menu-drawer.open .drawer-link:nth-child(6) .drawer-text { transition-delay: 0.35s; }
.side-menu-drawer.open .drawer-link:nth-child(7) .drawer-text { transition-delay: 0.4s; }

.drawer-footer {
  margin-top: auto;
}
.drawer-socials a:hover {
  background: #1CA3E0;
  border-color: #1CA3E0;
}

/* ═══ WHITE LOGO FIX ON TRANSPARENT HEADER ══════════════════════ */
.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1) !important; /* Make white */
}


/* ═══ MOBILE HEADER & HAMBURGER RESPONSIVENESS ══════════════════ */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
    z-index: 100000 !important;
  }
}

/* Color of hamburger lines based on scrolled state */
.site-header .hamburger span {
  background: #ffffff !important;
}
.site-header.scrolled .hamburger span {
  background: #0f172a !important;
}


/* ═══ CLEAN & PREMIUM NAVIGATION HOVER STATES ══════════════════ */
.main-nav .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 30px !important;
  padding: 6px 14px !important;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Hover: text changes to pure white, no background shifts */
.main-nav .nav-link:hover {
  color: #ffffff !important;
  background: transparent !important;
}

/* Scrolled: grey text by default, turns brand blue on hover */
.site-header.scrolled .main-nav .nav-link {
  color: #475569 !important;
}
.site-header.scrolled .main-nav .nav-link:hover {
  color: #1CA3E0 !important;
  background: transparent !important;
}

/* Active links: outline capsule button */
.main-nav .nav-link.active {
  background-color: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
.site-header.scrolled .main-nav .nav-link.active {
  border-color: #000000 !important;
  color: #000000 !important;
}

/* ═══ PRICING TABLE STYLING ════════════════════════════════ */
.section-pricing {
  background-color: #F8FAFC !important;
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #FFF;
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
  margin-top: 20px;
}

.toggle-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s;
  color: #64748B;
}

.toggle-label.active {
  color: #0EA5E9 !important;
}

.pricing-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
  margin: 0;
}

.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-slider {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #0EA5E9;
  border-radius: 50%;
  transition: .4s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

.pricing-switch-bg {
  position: absolute;
  inset: 0;
  background-color: #E2E8F0;
  border-radius: 34px;
  transition: .4s;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFF !important;
  border-radius: 20px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 40px !important;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}

.pricing-card.popular {
  border: 2px solid #0EA5E9 !important;
  box-shadow: 0 20px 40px rgba(14,165,233,0.08) !important;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.pricing-card.popular:hover {
  box-shadow: 0 20px 40px rgba(14,165,233,0.15) !important;
}

.plan-btn {
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  padding: 14px 24px;
  border-radius: 30px;
  background: #0F172A;
  color: #FFF !important;
  font-weight: 700;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
}

.pricing-card.popular .plan-btn {
  background: #0EA5E9;
  box-shadow: 0 10px 20px rgba(14,165,233,0.2);
}

.plan-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ═══ GLASSMORPHISM ULTRA-PRO (3D LUXURY GLASS) ═══ */
.glass-card-pro,
.fancy-card-pro {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.glass-card-pro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  pointer-events: none;
}

.glass-card-pro:hover,
.fancy-card-pro:hover {
  transform: translateY(-6px) scale(1.01) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    0 35px 70px -15px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(28, 163, 224, 0.25),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.7) !important;
}

/* Light mode Glassmorphism variant */
.glass-card-light {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(28, 163, 224, 0.2) !important;
  border-radius: 24px !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}
.glass-card-light:hover {
  border-color: #1CA3E0 !important;
  box-shadow: 0 20px 45px rgba(28, 163, 224, 0.15), inset 0 1px 1px #fff !important;
}

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO SLIDERS BALANCED MIDDLE-GROUND (ELEGANT & SHARP)
   ══════════════════════════════════════════════════════════════════ */
.portfolio-item,
.ticker-item {
  width: 52vw !important;
  max-width: 720px !important;
  height: 420px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 12px !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.portfolio-item::before,
.portfolio-item::after,
.ticker-item::before,
.ticker-item::after {
  display: none !important;
  content: none !important;
}

.portfolio-item img,
.ticker-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  /* Moderate zoom of 1.10x crops out white edges while maintaining crisp sharp resolution */
  transform: scale(1.10) !important;
  transition: transform 0.4s ease !important;
  border-radius: 0 !important;
}

.portfolio-item:hover img,
.ticker-item:hover img {
  transform: scale(1.14) !important;
}

@media (max-width: 768px) {
  .portfolio-item,
  .ticker-item {
    width: 82vw !important;
    height: 280px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   GIANT CLIENT LOGOS CAROUSEL
   ══════════════════════════════════════════════════════════════════ */
.logo-item {
  width: clamp(200px, 24vw, 320px) !important;
  height: 110px !important;
  margin: 0 15px !important;
  opacity: 0.85 !important;
  filter: none !important;
}

.logo-item img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: scale(1.5) !important;
  transition: transform 0.3s ease !important;
}

.logo-item:hover img {
  transform: scale(1.7) !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════════════════
   100% SOLID OPAQUE SCROLLED HEADER (ZERO TRANSPARENCY)
   ══════════════════════════════════════════════════════════════════ */
.site-header.scrolled {
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
  opacity: 1 !important;
}

.site-header.scrolled .nav-link {
  color: #0F172A !important;
  font-weight: 700 !important;
}

.site-header.scrolled .hamburger span {
  background: #0F172A !important;
}

/* ══════════════════════════════════════════════════════════════════
   STAT NUMBERS ULTRA-BRIGHT OPAQUE WHITE OVERRIDE
   ══════════════════════════════════════════════════════════════════ */
#numeros .stat-num,
.stat-block .stat-num {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

#numeros .stat-label,
.stat-block .stat-label {
  color: #CBD5E1 !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════════════════
   3D CARD TILT & REFLECTIVE SHINE GLOSS FOR SERVICE CARDS
   ══════════════════════════════════════════════════════════════════ */
.card-shine {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none !important;
  z-index: 1 !important;
  border-radius: inherit;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
}









/* ════════════════════════════════════════════════════════════════
   HERO OCEANO (home) — composição harmônica + parallax  [2026-10-25]
   ════════════════════════════════════════════════════════════════ */
.hero-home.hero-ocean {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #04214d !important;
}
.hero-home.hero-ocean::before { display: none !important; }

.hero-ocean .ocean-bg {
  position: absolute; inset: -40px;
  background: url('assets/hero/oceano-1920.webp') center 35% / cover no-repeat;
  z-index: 0;
  animation: oceanDrift 28s ease-in-out infinite alternate;
}
@keyframes oceanDrift {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.10) translate3d(-14px, 10px, 0); }
}
/* Sombra para leitura: claro no topo (superfície), profundo embaixo */
.hero-ocean .ocean-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(3, 30, 80, 0.55) 0%, rgba(3, 30, 80, 0) 70%),
    linear-gradient(180deg, rgba(2, 24, 66, 0.35) 0%, rgba(4, 44, 110, 0.10) 35%, rgba(2, 22, 60, 0.55) 78%, #021638 100%);
}
/* Raios de luz vindos da superfície */
.hero-ocean .ocean-rays { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.hero-ocean .ocean-rays span {
  position: absolute; top: -20%; width: 18vw; height: 140%;
  background: linear-gradient(180deg, rgba(190, 235, 255, 0.35) 0%, rgba(190, 235, 255, 0) 70%);
  filter: blur(18px); transform-origin: top center; opacity: .55;
  animation: raySway 9s ease-in-out infinite alternate;
}
.hero-ocean .ocean-rays span:nth-child(1) { left: 18%; transform: rotate(18deg); }
.hero-ocean .ocean-rays span:nth-child(2) { left: 42%; width: 10vw; transform: rotate(10deg); animation-delay: -3s; opacity: .4; }
.hero-ocean .ocean-rays span:nth-child(3) { left: 66%; width: 14vw; transform: rotate(-8deg); animation-delay: -6s; }
@keyframes raySway { 0% { opacity: .25; } 100% { opacity: .6; } }

/* Camadas com parallax */
.hero-ocean .ocean-el {
  position: absolute; z-index: 3; pointer-events: none; will-change: transform;
}
.hero-ocean .ocean-el img {
  display: block; width: 100%; height: auto; max-width: none;
  pointer-events: auto; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 18px 30px rgba(0, 18, 60, 0.35));
}
.hero-ocean .el-jelly   { width: clamp(150px, 19vw, 330px); left: clamp(-60px, -2vw, 0px); top: 11%; }
.hero-ocean .el-jelly img   { animation: jellyFloat 7s ease-in-out infinite alternate; opacity: .95; }
.hero-ocean .el-seahorse{ width: clamp(130px, 17vw, 300px); right: clamp(-30px, 1vw, 40px); top: 40%; }
.hero-ocean .el-seahorse img{ animation: seaFloat 6s ease-in-out infinite alternate; }
.hero-ocean .el-lure    { width: clamp(40px, 3.8vw, 58px); right: 15%; top: 70px; z-index: 2; }
.hero-ocean .el-lure img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
.hero-ocean .el-lure img    { animation: lureSwing 5s ease-in-out infinite alternate; transform-origin: top center; opacity: .9; filter: none; }
.hero-ocean .el-bubbles { width: min(1500px, 115vw); left: 50%; margin-left: max(-750px, -57.5vw); top: 8%; z-index: 2; opacity: .55; }
.hero-ocean .el-bubbles img { pointer-events: none; filter: none; animation: bubblesRise 12s ease-in-out infinite alternate; }
.hero-ocean .el-diver   { width: clamp(300px, 36vw, 560px); left: 50%; margin-left: calc(clamp(300px, 36vw, 560px) / -2); bottom: -2px; z-index: 4; }
.hero-ocean .el-diver img   { animation: diverBob 6.5s ease-in-out infinite alternate; filter: drop-shadow(0 -10px 40px rgba(0, 20, 60, 0.45)); }

@keyframes jellyFloat { 0% { transform: translateY(0) rotate(-4deg); } 100% { transform: translateY(-26px) rotate(3deg); } }
@keyframes seaFloat   { 0% { transform: translateY(0) rotate(3deg); }  100% { transform: translateY(-20px) rotate(-3deg); } }
@keyframes lureSwing  { 0% { transform: rotate(-3deg); } 100% { transform: rotate(3deg) translateY(8px); } }
@keyframes bubblesRise{ 0% { transform: translateY(0); } 100% { transform: translateY(-30px); } }
@keyframes diverBob   { 0% { transform: translateY(6px); } 100% { transform: translateY(-8px); } }

/* Conteúdo acima de tudo, com espaço para o mergulhador embaixo */
.hero-ocean .hero-container { position: relative !important; z-index: 10 !important; width: 100%; }
.hero-ocean .hero-content {
  padding-top: 140px !important;
  padding-bottom: clamp(220px, 22vw, 330px) !important;
  max-width: 920px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-ocean .eyebrow {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #E6F6FF !important; letter-spacing: .22em !important;
  padding: 9px 20px !important; border-radius: 999px !important;
  font-size: 12px !important; line-height: 1.4 !important; white-space: normal;
}
.hero-ocean .hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 4px 30px rgba(0, 20, 60, 0.45);
  letter-spacing: -0.02em;
}
.hero-ocean .hero-title em { color: #F3E91E !important; text-shadow: 0 4px 30px rgba(0, 20, 60, 0.35); }
.hero-ocean .hero-desc {
  color: rgba(235, 247, 255, 0.92) !important;
  text-shadow: 0 2px 14px rgba(0, 20, 60, 0.55);
}
.hero-ocean .btn-ghost {
  background: rgba(255, 255, 255, 0.10) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.45) !important; color: #fff !important;
}
.hero-ocean .cursor-bubble { z-index: 6; }

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-ocean .el-seahorse { top: auto; bottom: 16%; width: 170px; right: -10px; }
  .hero-ocean .el-jelly { width: 170px; }
  .hero-ocean .el-lure { right: 8%; }
  .hero-ocean .el-diver { width: 440px; margin-left: -220px; }
  .hero-ocean .hero-content { padding-bottom: 300px !important; }
}

/* Celular: tudo nas bordas, texto livre no centro */
@media (max-width: 767px) {
  .hero-ocean .ocean-bg { background-image: url('assets/hero/oceano-mobile.webp'); background-position: center top; }
  .hero-ocean .ocean-rays span { width: 34vw; }
  .hero-ocean .ocean-shade {
    background:
      linear-gradient(180deg, rgba(2, 24, 66, 0.45) 0%, rgba(3, 36, 92, 0.42) 40%, rgba(2, 22, 60, 0.55) 75%, #021638 100%);
  }
  .hero-ocean .el-jelly    { width: 118px; left: -34px; top: 82px; opacity: .85; }
  .hero-ocean .el-lure     { width: 24px; right: 27%; top: 6px; }
  .hero-ocean .el-seahorse { width: 92px; right: -16px; top: auto; bottom: 120px; opacity: .9; }
  .hero-ocean .el-bubbles  { width: 160vw; margin-left: -80vw; top: 14%; opacity: .4; }
  .hero-ocean .el-diver    { width: 320px; margin-left: -160px; }
  .hero-ocean .hero-content { padding: 118px 8px 205px !important; }
  .hero-ocean .eyebrow { font-size: 9.5px !important; letter-spacing: .12em !important; padding: 8px 14px !important; margin-bottom: 18px !important; white-space: nowrap !important; }
  .hero-ocean .hero-title { font-size: clamp(24px, 7.3vw, 34px) !important; line-height: 1.08 !important; margin-bottom: 16px !important; }
  .hero-ocean .hero-title br { display: none; }
  .hero-ocean .hero-title em { display: block; margin-top: 4px; }
  .hero-ocean .hero-desc { font-size: 16px !important; line-height: 1.55 !important; margin-bottom: 26px !important; max-width: 330px !important; }
  .hero-ocean .hero-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 10px !important; }
  .hero-ocean .hero-actions a { padding: 14px 22px !important; font-size: 15px !important; min-width: 0 !important; width: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ocean .ocean-bg, .hero-ocean .ocean-el img, .hero-ocean .ocean-rays span { animation: none !important; }
}


/* ════════════════════════════════════════════════════════════════
   MENU MOBILE (drawer) — tela cheia, legível, sem cortes  [2026-10-25]
   ════════════════════════════════════════════════════════════════ */
.side-menu-drawer { position: fixed !important; inset: 0 !important; z-index: 100001 !important; display: block !important; pointer-events: none; visibility: hidden; }
.side-menu-drawer.open { pointer-events: auto; visibility: visible; }
.side-menu-drawer .drawer-overlay {
  position: absolute; inset: 0; background: rgba(2, 12, 32, 0.55) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s ease;
}
.side-menu-drawer.open .drawer-overlay { opacity: 1; }
.side-menu-drawer .drawer-content {
  position: absolute !important; top: 0; right: 0; bottom: 0;
  width: min(100vw, 440px) !important; height: 100% !important; height: 100dvh !important;
  padding: 22px 24px calc(24px + env(safe-area-inset-bottom)) !important;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(28, 163, 224, 0.28) 0%, rgba(28, 163, 224, 0) 60%),
    linear-gradient(180deg, #071a3d 0%, #04112b 100%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45) !important;
  display: flex !important; flex-direction: column !important;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1) !important;
}
.side-menu-drawer.open .drawer-content { transform: translateX(0); }
.side-menu-drawer .drawer-header {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  margin: 0 0 26px !important; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.side-menu-drawer .drawer-logo { height: 30px !important; width: auto; }
.side-menu-drawer .drawer-close {
  width: 44px !important; height: 44px !important; border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important; background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important; font-size: 26px !important; line-height: 1 !important;
  display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 0 3px !important;
}
.side-menu-drawer .drawer-nav { display: flex !important; flex-direction: column !important; align-items: stretch !important; text-align: left !important; gap: 0 !important; flex: 0 0 auto !important; width: 100% !important; counter-reset: dnav; }
.side-menu-drawer .drawer-link { width: 100% !important; justify-content: flex-start !important; text-align: left !important; }
.side-menu-drawer .drawer-link {
  counter-increment: dnav;
  display: flex !important; align-items: center !important; gap: 14px;
  padding: 15px 4px !important; margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--title) !important; font-weight: 600 !important;
  font-size: clamp(15px, 4.4vw, 19px) !important; line-height: 1.2 !important;
  letter-spacing: 0.01em !important; text-transform: none !important;
  white-space: normal !important; overflow: visible !important;
  transition: color .25s, padding-left .25s !important;
}
.side-menu-drawer .drawer-link::before {
  content: counter(dnav, decimal-leading-zero);
  font-family: var(--body); font-size: 12px; font-weight: 500; color: rgba(28, 163, 224, 0.9); min-width: 20px;
}
.side-menu-drawer .drawer-link::after {
  content: '→'; margin-left: auto; font-family: var(--body); font-size: 18px; color: rgba(255, 255, 255, 0.35);
  transition: transform .25s, color .25s;
}
.side-menu-drawer .drawer-link:hover, .side-menu-drawer .drawer-link:active, .side-menu-drawer .drawer-link.is-current { color: #fff !important; padding-left: 8px !important; }
.side-menu-drawer .drawer-link:hover::after, .side-menu-drawer .drawer-link.is-current::after { color: #1CA3E0; transform: translateX(3px); }
.side-menu-drawer .drawer-link.is-current::before { color: #F3E91E; }
.side-menu-drawer .drawer-text { transform: none !important; display: inline !important; }
.side-menu-drawer .drawer-link {
  opacity: 0; transform: translateX(24px);
}
.side-menu-drawer.open .drawer-link { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.2, 1, .3, 1), color .25s, padding-left .25s !important; }
.side-menu-drawer.open .drawer-link:nth-child(1) { transition-delay: .12s !important; }
.side-menu-drawer.open .drawer-link:nth-child(2) { transition-delay: .16s !important; }
.side-menu-drawer.open .drawer-link:nth-child(3) { transition-delay: .20s !important; }
.side-menu-drawer.open .drawer-link:nth-child(4) { transition-delay: .24s !important; }
.side-menu-drawer.open .drawer-link:nth-child(5) { transition-delay: .28s !important; }
.side-menu-drawer.open .drawer-link:nth-child(6) { transition-delay: .32s !important; }
.side-menu-drawer.open .drawer-link:nth-child(7) { transition-delay: .36s !important; }
.side-menu-drawer.open .drawer-link:nth-child(8) { transition-delay: .40s !important; }
/* Orçamento vira botão de destaque */
.side-menu-drawer .drawer-link.highlighted {
  margin-top: 22px !important; border: 0 !important; border-radius: 999px !important;
  background: #F3E91E !important; color: #0F172A !important;
  justify-content: center !important; padding: 16px 20px !important; font-weight: 700 !important; font-size: 16px !important;
  box-shadow: 0 10px 30px rgba(243, 233, 30, 0.25);
}
.side-menu-drawer .drawer-link.highlighted::before { display: none; }
.side-menu-drawer .drawer-link.highlighted::after { content: '→'; margin-left: 10px; color: #0F172A; }
.side-menu-drawer .drawer-link.highlighted:hover { padding-left: 20px !important; }
.side-menu-drawer .drawer-footer { margin-top: auto !important; padding-top: 28px; }
.side-menu-drawer .drawer-socials a { width: 44px !important; height: 44px !important; }
body.drawer-open { overflow: hidden !important; touch-action: none; }
/* Hamburguer sempre visível sobre o drawer não é necessário: o drawer tem o próprio X */
body.drawer-open .site-header .hamburger { opacity: 0; pointer-events: none; }
