/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:      #145DFF;
  --purple:    #7B2CFF;
  --dark-blue: #081B52;
  --black:     #050810;
  --white:     #F0F4FF;
  --grey:      #8A93B0;
  --card-bg:   rgba(255, 255, 255, 0.04);
  --border:    rgba(255, 255, 255, 0.08);
  --gradient:  linear-gradient(135deg, var(--blue), var(--purple));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* SELECTION */
::selection { background: var(--purple); color: #fff; }

/* TYPOGRAPHY HELPERS */
.syne { font-family: 'Syne', sans-serif; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradiente animado: azul → roxo → ciano → azul (hero title) */
.gradient-text-anim {
  background: linear-gradient(
    90deg,
    #50BEFF 0%,
    #145DFF 25%,
    #7B2CFF 50%,
    #145DFF 75%,
    #50BEFF 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 5s ease-in-out infinite;
}

@keyframes gradient-flow {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 120px 0; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

nav.scrolled {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter:
    brightness(1.1)
    drop-shadow(0 0 8px rgba(20, 93, 255, 0.55))
    drop-shadow(0 0 20px rgba(123, 44, 255, 0.25));
  transition: filter 0.3s;
}

.nav-logo:hover img {
  filter:
    brightness(1.25)
    drop-shadow(0 0 14px rgba(20, 93, 255, 0.80))
    drop-shadow(0 0 32px rgba(123, 44, 255, 0.45));
}

.nav-logo-text {
  /* sempre visível — complementa a logo */
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ffffff 0%, #c0d8ff 50%, #a07bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;          /* nunca menor que a viewport */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 92px 0 60px;
}

#vortex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, transparent 35%, rgba(5, 8, 16, 0.55) 100%),
    linear-gradient(to right, rgba(5, 8, 16, 0.98) 38%, rgba(5, 8, 16, 0.55) 58%, rgba(5, 8, 16, 0.1) 75%, transparent 100%);
  z-index: 1;
}

/* Grid 2 colunas: texto | vórtice */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: 0;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 93, 255, 0.12);
  border: 1px solid rgba(20, 93, 255, 0.3);
  color: #7AABFF;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(20, 93, 255, 0.35);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(20, 93, 255, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 500;
}

/* SECTION HEADERS */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7AABFF;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
  line-height: 1.7;
}

/* SOBRE */
#sobre {
  background: var(--black);
  position: relative;
  padding: 80px 0;
}

#sobre::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), var(--purple), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
}

.about-card:last-child { margin-bottom: 0; }

.about-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card-title.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card-text {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

.about-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(123, 44, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(20, 93, 255, 0.12);
  border: 1px solid rgba(20, 93, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg { width: 18px; height: 18px; }

.value-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}


.about-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-header-sub { max-width: 580px; margin: 0 auto; text-align: center; }

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 28px;
}

/* LEFT: pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon.blue {
  background: rgba(20, 93, 255, 0.12);
  border: 1px solid rgba(20, 93, 255, 0.25);
}

.pillar-icon.purple {
  background: rgba(123, 44, 255, 0.12);
  border: 1px solid rgba(123, 44, 255, 0.25);
}

.pillar-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.pillar-icon.purple svg { stroke: var(--purple); }

.pillar-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-content p {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}

/* RIGHT: bento */
.about-right { width: 100%; }

@media (max-width: 900px) {
  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SERVIÇOS */
#servicos {
  background: linear-gradient(180deg, var(--black) 0%, #080c1a 100%);
  position: relative;
}

.services-header { text-align: center; margin-bottom: 70px; }
.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(20, 93, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(20, 93, 255, 0.12);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-card:nth-child(1) .service-card-glow { background: radial-gradient(circle, rgba(20,93,255,0.12) 0%, transparent 70%); }
.service-card:nth-child(2) .service-card-glow { background: radial-gradient(circle, rgba(123,44,255,0.12) 0%, transparent 70%); }
.service-card:nth-child(3) .service-card-glow { background: radial-gradient(circle, rgba(123,44,255,0.12) 0%, transparent 70%); }
.service-card:nth-child(4) .service-card-glow { background: radial-gradient(circle, rgba(20,93,255,0.12) 0%, transparent 70%); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(20, 93, 255, 0.1);
  border: 1px solid rgba(20, 93, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg { width: 24px; height: 24px; }

.service-icon.purple {
  background: rgba(123, 44, 255, 0.1);
  border-color: rgba(123, 44, 255, 0.2);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7AABFF;
  background: rgba(20, 93, 255, 0.1);
  border: 1px solid rgba(20, 93, 255, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

.service-tag.purple {
  color: #B47BFF;
  background: rgba(123, 44, 255, 0.1);
  border-color: rgba(123, 44, 255, 0.2);
}


/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
  border-color: rgba(20, 93, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20, 93, 255, 0.1);
}

/* O que entregamos */
.bento-what {
  grid-column: 1 / -1;
  background: linear-gradient(rgba(6,10,24,0.72), rgba(6,10,24,0.72)),
              url('assets/images/o que entregamos.png');
  background-size: cover;
  background-position: center;
}

.bento-what-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(20,93,255,0.15);
  border: 1px solid rgba(20,93,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.bento-what h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.bento-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bento-list li {
  background: rgba(20,93,255,0.1);
  border: 1px solid rgba(20,93,255,0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--grey);
}

/* Metric cards */
.bento-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 160px;
}

.bento-metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.bento-metric-label {
  font-size: 0.85rem;
  color: var(--grey);
  max-width: 160px;
}

/* Diferencial card */
.bento-diff-card {
  grid-column: 1 / -1;
  background: linear-gradient(rgba(6,10,24,0.72), rgba(6,10,24,0.72)),
              url('assets/images/diferencial.png');
  background-size: cover;
  background-position: center;
  border-color: rgba(20,93,255,0.14);
}

.bento-diff-tag {
  display: inline-block;
  background: rgba(20,93,255,0.15);
  border: 1px solid rgba(20,93,255,0.3);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5BB8FF;
  margin-bottom: 20px;
}

.bento-diff-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-diff-card p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 20px;
}

.bento-diff-dots {
  display: flex;
  gap: 8px;
}

.bento-diff-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.bento-diff-dots span:nth-child(1) { background: #145DFF; }
.bento-diff-dots span:nth-child(2) { background: #7B2CFF; }
.bento-diff-dots span:nth-child(3) { background: rgba(255,255,255,0.15); }

@media (max-width: 540px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-what { grid-column: 1 / -1; }
  .bento-diff-card { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* DIFERENCIAIS */
#diferenciais {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.diff-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(20, 93, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.diff-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  flex-shrink: 0;
  width: 48px;
}

.diff-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-content p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
}

.diff-cards { display: grid; gap: 16px; }

.diff-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.3s;
}

.diff-card:hover { border-color: rgba(123, 44, 255, 0.3); }

.diff-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-card-icon.purple {
  background: linear-gradient(135deg, #7B2CFF, #9B4DFF);
}

.diff-card-icon svg { width: 22px; height: 22px; }

.diff-card-text h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.diff-card-text p {
  font-size: 0.82rem;
  color: var(--grey);
}

/* PROCESSO */
#processo {
  background: linear-gradient(180deg, #080c1a 0%, var(--black) 100%);
}

.process-header { text-align: center; margin-bottom: 70px; }
.process-header .section-sub { margin: 0 auto; }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), var(--purple), transparent);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.process-step:hover .step-circle {
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(20, 93, 255, 0.3);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
}


.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.process-card:hover {
  border-color: rgba(20, 93, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20, 93, 255, 0.1);
}

.process-card:hover::before { transform: scaleX(1); }

.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.4ch;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
  transition: opacity 0.35s;
}

.process-card:hover .process-card-num { opacity: 0.55; }

.process-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(20, 93, 255, 0.1);
  border: 1px solid rgba(20, 93, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue);
}

.process-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.process-card-list {
  list-style: none;
  margin-bottom: 16px;
}

.process-card-list li {
  font-size: 0.82rem;
  color: var(--grey);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-card-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.6;
}

.process-card-desc {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .process-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .process-cards-grid { grid-template-columns: 1fr; }
}

/* CTA FINAL */
#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#contato .container { position: relative; z-index: 1; }

#contato {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 27, 82, 0.8) 0%, rgba(20, 93, 255, 0.1) 50%, rgba(123, 44, 255, 0.15) 100%);
}

.cta-glow-1 {
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 93, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-glow-2 {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123, 44, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-border {
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner .section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.cta-inner p {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.7;
  margin: 20px 0 44px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary { font-size: 1rem; padding: 18px 40px; }
.cta-buttons .btn-secondary { padding: 17px 40px; }

.cta-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--grey);
}

.cta-feature svg { width: 16px; height: 16px; color: var(--blue); }

/* FOOTER */
footer {
  background: #030508;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text {
  display: none;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy { font-size: 0.82rem; color: var(--grey); }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* SERVIÇOS CAROUSEL */
#servicos.carousel-section {
  background: linear-gradient(180deg, #080c1a 0%, var(--black) 100%);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

#servicos.carousel-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), var(--purple), transparent);
}

/* Controls bar */

/* Track */
.carousel-track {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
}

/* Slides */
.carousel-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.carousel-slide.leaving {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  overflow: hidden;
}

.slide-visual-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slide-visual-glow.blue {
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(20,93,255,0.14) 0%, transparent 70%);
}

.slide-visual-glow.purple {
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(123,44,255,0.14) 0%, transparent 70%);
}

.slide-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 1;
}

.slide-content {
  padding: 40px 56px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.slide-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.78;
  margin-bottom: 28px;
  max-width: 420px;
}

.slide-content .service-tags { margin-bottom: 36px; }

.carousel-progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}

.carousel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--blue), var(--purple));
  will-change: width;
}

@media (max-width: 768px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    min-height: auto;
    position: relative;
  }
  .carousel-track { min-height: auto; overflow: visible; }
  .slide-visual { display: none; }
  .slide-content { padding: 40px 24px; }
}

.carousel-controls-bar {
  padding-bottom: 28px;
}

.carousel-controls-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.carousel-header .section-tag { margin-bottom: 12px; }

.carousel-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Navigation group (pause + arrows + counter) */
.carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.carousel-pause {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  margin-right: 6px;
}

.carousel-pause:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
}

.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-arrow:hover {
  background: rgba(20,93,255,0.18);
  border-color: rgba(20,93,255,0.42);
}

.carousel-counter {  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.05em;
}

/* =====================================================
   MOBILE RESPONSIVENESS — 768px e abaixo
   ===================================================== */
@media (max-width: 768px) {

  /* CONTAINER */
  .container {
    padding: 0 20px;
  }

  /* SECTIONS */
  section {
    padding: 80px 0;
  }

  #sobre {
    padding: 80px 0;
  }

  #contato {
    padding: 80px 0;
  }

  /* NAV — mostrar hamburger e esconder links */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    font-size: 1.1rem !important;
    padding: 12px 32px !important;
  }

  /* HERO — coluna única, texto centralizado */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 28px;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  #hero {
    padding: 110px 0 72px;
    align-items: flex-start;
  }

  /* Overlay adaptado para mobile (texto sobre o vórtice) */
  .hero-overlay {
    background: rgba(5, 8, 16, 0.62);
  }

  /* SOBRE */
  .about-header {
    max-width: 100%;
  }

  .about-header-sub {
    max-width: 100%;
  }

  /* BENTO — padding reduzido */
  .bento-card {
    padding: 24px;
  }

  .bento-metric {
    min-height: 130px;
  }

  .bento-metric-num {
    font-size: 2.4rem;
  }

  /* DIFERENCIAIS — coluna única (breakpoint AUSENTE no original) */
  .diff-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* SERVIÇOS CAROUSEL */
  .carousel-controls-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /*
   * FIX CRÍTICO: O breakpoint original muda slides para position:relative,
   * mas todos os 4 slides ficam no fluxo normal empilhados verticalmente.
   * Os 3 inativos (opacity:0) ainda ocupam espaço → ~900px de vazio.
   * Solução: esconder slides inativos com display:none.
   */
  .carousel-slide {
    display: none;
    position: relative;
    grid-template-columns: 1fr;
    min-height: 0;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: none;
  }

  .carousel-slide.active {
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
    pointer-events: all;
    animation: mobile-slide-in 0.3s ease;
  }

  .carousel-slide.leaving {
    display: none;
  }

  @keyframes mobile-slide-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .carousel-track {
    min-height: auto;
    overflow: visible;
  }

  .slide-visual {
    display: none;
  }

  .slide-content {
    padding: 32px 20px 40px;
  }

  .slide-content h2 {
    font-size: clamp(1.7rem, 5.5vw, 2.2rem);
    margin-bottom: 16px;
  }

  .slide-content p {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .slide-content .service-tags {
    margin-bottom: 28px;
  }

  .carousel-progress-bar {
    margin-top: 24px;
  }

  /* PROCESSO */
  .process-header {
    margin-bottom: 48px;
  }

  .process-card {
    padding: 28px;
  }

  /* CTA — botões empilhados e centralizados */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: 16px 32px;
  }

  .cta-features {
    gap: 16px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* =====================================================
   MOBILE RESPONSIVENESS — 480px e abaixo (smartphones pequenos)
   ===================================================== */
@media (max-width: 480px) {

  /* CONTAINER */
  .container {
    padding: 0 16px;
  }

  /* SECTIONS */
  section {
    padding: 64px 0;
  }

  #sobre {
    padding: 64px 0;
  }

  #contato {
    padding: 64px 0;
  }

  /* HERO */
  #hero {
    padding: 96px 0 60px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
  }

  /* BOTÕES */
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* SECTION TITLE */
  .section-title {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }

  /* BENTO */
  .bento-card {
    padding: 20px;
  }

  .bento-metric {
    min-height: 110px;
  }

  .bento-metric-num {
    font-size: 2rem;
  }

  /* DIFERENCIAIS */
  .diff-number {
    font-size: 2rem;
    width: 40px;
  }

  /* CAROUSEL */
  .carousel-heading {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .slide-content {
    padding: 24px 16px 32px;
  }

  .slide-content h2 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  /* PROCESSO */
  .process-card {
    padding: 22px;
  }

  .process-card-num {
    font-size: 2.2rem;
  }

  /* CTA */
  .cta-inner .section-title {
    font-size: clamp(1.65rem, 7vw, 2.8rem);
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    max-width: 100%;
  }

  .cta-inner p {
    font-size: 0.98rem;
  }

  /* FOOTER */
  .footer-copy {
    font-size: 0.78rem;
  }
}
