/* ===== IMAGENS COM TRANSPARÊNCIA 50% ===== */
.hero-bg,
.cta-bg {
  background-color: #05071a;
}

.hero-bg {
  background-image: linear-gradient(rgba(5, 7, 26, 0.5), rgba(5, 7, 26, 0.5)), url('../img/hero_bg.png');
  background-blend-mode: normal;
}

.cta-bg {
  background-image: linear-gradient(rgba(5, 7, 26, 0.5), rgba(5, 7, 26, 0.5)), url('../img/cta_bg.png');
  background-blend-mode: normal;
}

/* Sobrescreve o overlay para ajustar o tom */
.hero-bg .bg-overlay,
.cta-bg .bg-overlay {
  background: rgba(0, 10, 40, 0.25);
}

/* ===== BLUR AZUL DEGRADÊ NAS SEÇÕES SEM IMAGEM ===== */
.section:not(.hero-bg):not(.cta-bg)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(0, 113, 227, 0.06) 0%,
      rgba(100, 60, 255, 0.04) 40%,
      transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.section:not(.hero-bg):not(.cta-bg)>.container {
  position: relative;
  z-index: 1;
}

.section:not(.hero-bg):not(.cta-bg)>.portfolio-grid,
.section:not(.hero-bg):not(.cta-bg)>.reveal {
  position: relative;
  z-index: 1;
}

/* Blob azul sutil no section-light */
.section-light:not(.hero-bg):not(.cta-bg)::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 12s ease-in-out infinite alternate;
}

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

  100% {
    transform: scale(1.12) translate(-4%, 5%);
  }
}

/* ===== FOOTER UNIFICADO (igual ao contato.html) ===== */
.channels-strip {
  background: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 48px 0;
}

.channels-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.channel-item:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 113, 227, 0.25);
  transform: translateY(-3px);
}

.channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.channel-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
}

.channel-icon.email {
  background: rgba(0, 113, 227, 0.15);
}

.channel-icon.linkedin {
  background: rgba(0, 119, 181, 0.15);
}

.channel-info small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(29, 29, 31, 0.4);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.channel-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
}

.channel-item:hover .channel-info strong {
  color: #5aa9f8;
}

.contact-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-footer p {
  font-size: 13px;
  color: rgba(29, 29, 31, 0.4);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 767px) {
  .channels-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 16px;
  }
}
/* =====================================================
   INDEX PAGE – ENHANCEMENTS (extraído de index.html)
===================================================== */

/* ── HERO ENHANCEMENTS ── */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,113,227,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,113,227,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(64px, 64px); }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: #0071E3;
  top: -10%; left: -5%;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: #7c6aff;
  bottom: -5%; right: 5%;
  animation-delay: -4s;
}
@keyframes glowPulse {
  0%   { opacity: 0.12; transform: scale(1); }
  100% { opacity: 0.22; transform: scale(1.1); }
}
.hero-gradient-text {
  background: linear-gradient(90deg, #4fa8ff 0%, #a78bfa 50%, #60d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Trusted badge */
.trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.trusted-avatars {
  display: flex;
  gap: -6px;
}
.trusted-avatars span {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  color: #fff;
  margin-left: -6px;
  flex-shrink: 0;
}
.trusted-avatars span:first-child { margin-left: 0; }
.trusted-avatars span:nth-child(1) { background: #0071E3; }
.trusted-avatars span:nth-child(2) { background: #7c6aff; }
.trusted-avatars span:nth-child(3) { background: #25D366; }
.trusted-avatars span:nth-child(4) { background: #ff6b35; }
.trusted-badge-text {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trusted-badge-text strong {
  color: #fff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-indicator span {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-chevron {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: chevronBounce 2s ease-in-out infinite;
}
.scroll-chevron svg {
  opacity: 0.5;
}
@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── SOLUTIONS CARDS ── */
.solution-card-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(0,113,227,0.1);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-primary);
  transition: color 0.3s ease;
}
.card:hover .solution-card-number {
  color: rgba(0,113,227,0.2);
}
.solution-card-top-border {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(90deg, #0071E3, #7c6aff);
}
.solution-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(0,113,227,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}
.card:hover .solution-icon {
  background: rgba(0,113,227,0.18);
}
.solution-icon svg {
  width: 24px; height: 24px;
  stroke: #0071E3;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.solution-card-title {
  color: var(--color-black) !important;
  margin-bottom: 10px;
}

/* ── PORTFOLIO OVERLAY ── */
.portfolio-badge {
  position: absolute;
  top: 32px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
}
.portfolio-card {
  position: relative;
}
.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,20,60,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  border-radius: var(--radius-sm);
}
.portfolio-card:hover .portfolio-hover-overlay {
  opacity: 1;
}
.portfolio-hover-cta {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 22px;
  border-radius: 999px;
  transform: translateY(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.portfolio-card:hover .portfolio-hover-cta {
  transform: translateY(0);
  border-color: rgba(255,255,255,0.7);
}

/* ── NUMBERS DARK WITH DOT PATTERN ── */
.numbers-dark {
  background: #05071a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.numbers-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.numbers-dark .container {
  position: relative;
  z-index: 1;
}
.numbers-dark h2 {
  color: #fff;
  text-align: center;
}
.numbers-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  position: relative;
}
.numbers-dark-item {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.numbers-dark-item + .numbers-dark-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}
.numbers-dark-item h3 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.numbers-dark-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(to bottom, #0071E3, #7c6aff, rgba(0,113,227,0.2));
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071E3, #7c6aff);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.15);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
}
.timeline-year {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0071E3;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ── CTA EMAIL INPUT ── */
.cta-email-row {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 32px auto 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  backdrop-filter: blur(8px);
}
.cta-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: #fff;
  font-family: var(--font-secondary);
}
.cta-email-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-email-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-secondary);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-email-btn:hover {
  background: #0055b3;
  transform: scale(1.02);
}
.cta-divider {
  margin: 24px auto;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ── CHANNEL ICON – INSTAGRAM ── */
.channel-icon.instagram {
  background: rgba(225,48,108,0.15);
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .numbers-dark-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .numbers-dark-item + .numbers-dark-item::before {
    display: none;
  }
  .numbers-dark-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .numbers-dark-item h3 { font-size: 42px; }
  .cta-email-row { max-width: 100%; }
  .trusted-badge { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .numbers-dark-grid { grid-template-columns: 1fr; }
  .numbers-dark-item + .numbers-dark-item::before { display: none; }
}
