/* main.css - Core Design System & Components */

:root {
  /* Colors */
  --color-black: #174985;
  --color-dark-bg: #0f3564;
  --color-card-bg: #11396a;
  --color-white: #ffffff;
  --color-white-muted: #e4ecf5;
  --color-accent-gold-rgb: 231, 60, 142;
  --color-accent-gold-light: #f269a9;
  --color-accent-orange: #8f026c;
  --color-accent-orange-rgb: 232, 112, 42;
  --color-gray-border: rgba(255, 255, 255, 0.12);
  --color-gray-text: #aab8c6;
  --color-dark-pink: #9e1855;
  --color-accent-gold: #E73C8E;
  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;

  /* Grid & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  --header-height-sticky: 70px;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgb(7 37 75 / 90%);
  border: 1px solid rgba(15, 53, 100, 0.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #fff;
  /* white bullet */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(15, 53, 100, 0.4);
  /* match dark navy */
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }
}

/* Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px #e73c8e;
  border: 1px solid rgba(231, 60, 142, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
  background: var(--color-accent-gold-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--color-gray-border);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent-gold);
  transform: translateY(-2px);
}

/* Gradients text */
.text-gradient {
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 50%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-orange {
  background: linear-gradient(90deg, var(--color-accent-orange) 0%, #e7398e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header & Navbar */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

#header.sticky {
  height: var(--header-height-sticky);
  background-color: rgba(4, 26, 53, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  fill: var(--color-accent-gold);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-transform: uppercase;
}

.logo-accent {
  color: var(--color-accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-white-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: var(--transition-smooth);
}

.nav-menu a:hover {
  color: var(--color-white);
}

.nav-menu a:hover::after {
  width: 100%;
}

.navbar .btn-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: var(--color-white);
  padding: 4px;
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-gray-text);
  font-weight: 400;
}

/* Hero Section */
#hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, #09213d 35%, #7a1543 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/mosaico-background-blackhauz.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--color-white-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-gray-border);
  padding-top: 24px;
}

.hero-badge-icons {
  display: flex;
  align-items: center;
}

.hero-badge-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0px solid var(--color-black);
  background-color: var(--color-card-bg);
  margin-right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: var(--color-accent-gold);
}

.hero-badge-avatar:nth-child(2) {
  background: linear-gradient(135deg, #1b3d6c, #0a1128);
}

.hero-badge-avatar:nth-child(3) {
  background: linear-gradient(135deg, #8c1d40, #360212);
}

.hero-badge-avatar:nth-child(4) {
  background: linear-gradient(135deg, #0e4c25, #031508);
}

.hero-badge-text {
  font-size: 13px;
  color: var(--color-gray-text);
  font-weight: 500;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  max-width: 420px;
  aspect-ratio: 438 / 600;
  display: flex;
  align-items: flex-end;
}

.hero-image-wrapper::after {
  display: none;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(8 8 45 / 85%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 250px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.hero-floating-card-icon {
  width: 40px;
  height: 40px;
  background-color: rgb(201 168 76 / 0%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-gold);
}

.hero-floating-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-floating-card-desc {
  font-size: 11px;
  color: var(--color-gray-text);
}

/* Client Logos Marquee Section */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background-color: var(--color-dark-bg);
  border-y: 1px solid var(--color-gray-border);
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-dark-bg) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-dark-bg) 0%, transparent 100%);
}

.marquee-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gray-text);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 60px;
  padding-right: 60px;
}

.marquee-logo {
  height: 50px;
  filter: grayscale(1) brightness(0.8) contrast(1.2);
  opacity: 0.5;
  transition: var(--transition-fast);
}

.marquee-logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 0.9;
}

/* About Section */
#sobre {
  position: relative;
  overflow: hidden;
}

#sobre::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/tecbx.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  /* Subtly integrated for a premium touch */
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

#sobre::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-black));
  pointer-events: none;
  z-index: 2;
}

#sobre .container {
  position: relative;
  z-index: 2;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-content {
  max-width: 580px;
}

.sobre-text {
  font-size: 18px;
  color: var(--color-white-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.sobre-text strong {
  color: var(--color-white);
  font-weight: 600;
}

.sobre-visual {
  position: relative;
}

.sobre-image-wrapper {
  overflow: visible;
  border: none;
  background-color: transparent;
  aspect-ratio: 600 / 600;
}

.sobre-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
}

#blackhauz {
  position: relative;
  background: linear-gradient(to bottom, var(--color-black) 0%, var(--color-black) 60%, #7a1543 100%);
  overflow: hidden;
}

#blackhauz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/mosaico-background-blackhauz-transp.webp");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.75;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

#blackhauz::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #7a1543);
  pointer-events: none;
  z-index: 2;
}

#blackhauz .container {
  position: relative;
  z-index: 3;
}

.blackhaz-tabs-wrapper {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--color-gray-border);
  padding-bottom: 16px;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray-text);
  border-radius: 8px;
  transition: var(--transition-smooth);
  white-space: nowrap;
  background-color: rgba(20, 20, 22, 0.3);
  border: 1px solid transparent;
}

.tab-btn:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: #fff;
  background-color: rgb(7 37 75 / 90%);
  border-color: rgba(15, 53, 100, 0.5);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-pane.active {
  display: block;
}

.pillar-card {
  /* background-color: #11396a1f; */
  border: 1px solid #11396a;
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pillar-content {
  max-width: 500px;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  background-color: #fff;
  border: 0px solid #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pillar-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--color-accent-gold);
}

.pillar-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.pillar-desc {
  font-size: 16px;
  color: var(--color-white-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.pillar-list {
  display: grid;
  gap: 16px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-item-check {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  fill: var(--color-accent-gold);
  flex-shrink: 0;
}

.pillar-item-text {
  font-size: 15px;
  font-weight: 500;
}

.pillar-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pillar-graphic-visual {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  border: 1px dashed rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pillar-graphic-center {
  width: 140px;
  height: 140px;
  background-color: var(--color-black);
  border: 0px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px #9e1855;
  z-index: 3;
}

.pillar-graphic-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-text);
  font-weight: 600;
}

.pillar-graphic-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent-gold);
}

.pillar-graphic-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.pillar-graphic-node {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: var(--color-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pillar-graphic-node svg {
  width: 14px;
  height: 14px;
  fill: var(--color-white-muted);
}

.pillar-graphic-node:nth-child(1) {
  top: -16px;
  left: calc(50% - 16px);
}

.pillar-graphic-node:nth-child(2) {
  bottom: -16px;
  left: calc(50% - 16px);
}

.pillar-graphic-node:nth-child(3) {
  left: -16px;
  top: calc(50% - 16px);
}

.pillar-graphic-node:nth-child(4) {
  right: -16px;
  top: calc(50% - 16px);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#metodo {
  background: linear-gradient(to bottom, #7a1543 0%, #09213d 100%);
  position: relative;
  overflow: hidden;
}

#metodo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/mosaico-background-blackhauz.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 150px), transparent 100%);
}

#metodo .container {
  position: relative;
  z-index: 2;
}

.metodo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* O primeiro elemento visual (imagem) receberá 1.1fr e o segundo (texto) receberá 0.9fr */
  gap: 64px;
  align-items: center;
}

.metodo-grid>div:first-child {
  order: 2;
  /* Move o bloco de texto para a direita no desktop */
}

.metodo-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  align-self: end;
  /* Alinha a imagem no limite inferior do grid no desktop */
  margin-bottom: -100px;
  /* Alinha a imagem perfeitamente na borda inferior da seção */
  order: 1;
  /* Move a imagem para a esquerda no desktop */
}

@media (max-width: 768px) {
  .metodo-visual {
    margin-bottom: -60px;
    /* Ajusta para o padding reduzido em dispositivos móveis */
  }
}

.metodo-image-wrapper {
  position: relative;
  max-width: 750px;
  /* Aumentado em 50% (de 500px para 750px) */
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.metodo-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
}



.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background-color: #9e1855b5;
  border: 1px solid #b9316f;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #ffffffa8;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-white-muted);
  font-weight: 500;
  line-height: 1.4;
}

.target-audience-cards {
  display: grid;
  gap: 20px;
}

.audience-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-gray-border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.audience-card-border-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent-gold);
}

.audience-card-border-orange::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent-orange);
}

.audience-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audience-card-title svg {
  width: 24px;
  height: 24px;
}

.audience-list {
  display: grid;
  gap: 12px;
}

.audience-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--color-white-muted);
}

.audience-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.audience-card-border-gold .audience-item svg {
  fill: var(--color-accent-gold);
}

.audience-card-border-orange .audience-item svg {
  fill: var(--color-accent-orange);
}

/* Problem Section */
#problema {
  background: linear-gradient(90deg, #7a1543 0%, #9e1855 45%, #c22971 65%, #f269a9 78%, #E73C8E 100%);
  border-y: 1px solid var(--color-gray-border);
  position: relative;
  overflow: hidden;
}

#problema::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/mosaico-background-blackhauz.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.70; /* Opacidade de 70% por cima do degradê */
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

#problema .container {
  position: relative;
  z-index: 2;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.problem-content {
  max-width: 650px;
  text-align: left;
}

.problem-text {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.typewriter-container {
  display: inline-flex;
  align-items: center;
}

.typewriter-text {
  color: #ffffff;
  font-weight: 800;
}

.typewriter-cursor {
  color: #e73c8e; /* Rosa vibrante da marca para o cursor */
  font-weight: 400;
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 4px;
}

@keyframes blink-cursor {
  from, to { color: transparent }
  50% { color: #e73c8e }
}

.problem-desc {
  font-size: 18px;
  color: var(--color-white-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.problem-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
  align-self: end;
  margin-bottom: -100px;
  /* Alinha a imagem perfeitamente na borda inferior da seção */
}

@media (max-width: 768px) {
  .problem-visual {
    margin-bottom: -60px;
    /* Ajusta para o padding reduzido em dispositivos móveis */
  }
}

.problem-image-wrapper {
  position: relative;
  max-width: 500px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.problem-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55));
}

/* Solutions Section - Sticky Stacking Cards */
#solucoes {
  overflow: visible;
  position: relative;
}

#solucoes::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-black));
  pointer-events: none;
  z-index: 3;
}

.sticky-capabilities-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.capability-card {
    position: sticky;
    top: 120px;
    background-color: #11396a52;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--color-gray-border);
    border-radius: 16px;
    padding: 48px;
    min-height: 380px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    transition: border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 32px;
}

/* Explicit progressive z-index values to enforce perfect overlapping deck structure */
.capability-card:nth-child(1) { z-index: 10; }
.capability-card:nth-child(2) { z-index: 20; }
.capability-card:nth-child(3) { z-index: 30; }
.capability-card:nth-child(4) { z-index: 40; }
.capability-card:nth-child(5) { z-index: 50; }
.capability-card:nth-child(6) { z-index: 60; }

.capability-card:last-child {
  margin-bottom: 0;
}

/* Glassmorphism gradient effect behind card to fit BlackHauz high-end luxury styling */
.capability-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(231, 60, 142, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Glow accent on hover */
.capability-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 20px 50px rgba(231, 60, 142, 0.15);
  transform: translateY(-2px);
}

.capability-num {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  color: #10315c; /* Muted tech blue to fit our navy theme */
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  min-width: 160px;
  z-index: 2;
}

.capability-card:hover .capability-num {
  color: rgba(231, 60, 142, 0.2);
  transform: scale(1.05) rotate(-3deg);
}

.capability-content {
  flex: 1;
  z-index: 2;
}

.capability-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.capability-card:hover .capability-title {
    transform: skewX(-6deg) translateX(12px);
    color: #fff;
}

.capability-desc {
  font-size: 17px;
  color: var(--color-white-muted);
  line-height: 1.7;
  max-width: 750px;
  margin-bottom: 28px;
}

.solution-features-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--color-white);
}

.solution-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.solution-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-gray-border);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
  color: var(--color-white-muted);
}

.solution-feature-item:hover {
  background-color: rgba(231, 60, 142, 0.04);
  border-color: rgba(231, 60, 142, 0.2);
  color: var(--color-white);
}

.solution-feature-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive adjust for Stacking Cards */
@media (max-width: 1024px) {
  .capability-card {
    padding: 36px;
    gap: 32px;
    min-height: auto;
  }
  
  .capability-num {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .sticky-capabilities-container {
    gap: 24px;
  }

  .capability-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
    top: 90px; /* Spacing adjusted for smaller mobile header */
  }

  .capability-num {
    font-size: 4rem;
    min-width: auto;
  }

  .capability-title {
    font-size: 1.5rem;
  }

  .solution-features-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Cases Section */
.cases-tabs-container {
  margin-top: 40px;
}

.cases-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-gray-border);
  padding-bottom: 16px;
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.case-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #2b72b9;
  border-radius: 8px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

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

.case-btn.active {
  color: #fff;
  background-color: #0d396d;
}

.case-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.case-pane.active {
  display: block;
}

.case-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-gray-border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  align-items: center;
}

.case-content {
  max-width: 540px;
}

.case-tag {
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.case-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.case-desc {
  font-size: 16px;
  color: var(--color-white-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.case-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--color-gray-border);
  padding-top: 24px;
}

.case-stat-item {
  display: flex;
  flex-direction: column;
}

.case-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent-gold);
}

.case-stat-label {
  font-size: 12px;
  color: var(--color-gray-text);
  font-weight: 500;
}

.case-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--color-black);
  aspect-ratio: 644 / 532;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Seals Section */
#selos {
  background: linear-gradient(to bottom, var(--color-black) 0%, var(--color-dark-bg) 20%, var(--color-dark-bg) 80%, #081a30 100%);
  border-top: none;
}

.selos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.selo-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-gray-border);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.selo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.2);
}

.selo-image-box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-gray-border);
}

.selo-image-box img, .selo-image-box svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selo-content {
  flex: 1;
}

.selo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.selo-desc {
  font-size: 14px;
  color: var(--color-white-muted);
  line-height: 1.6;
}

/* Footer */
#footer {
  background-color: #081a30;
  border-top: none;
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  color: var(--color-gray-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--color-white-muted);
}

.footer-social-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-black);
  border-color: var(--color-accent-gold);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-nav-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--color-white);
}

.footer-menu {
  display: grid;
  gap: 12px;
}

.footer-menu a {
  font-size: 14px;
  color: var(--color-gray-text);
  transition: var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-accent-gold);
}

.footer-contact-info {
  display: grid;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-accent-gold);
  margin-top: 3px;
}

.footer-contact-text {
  font-size: 14px;
  color: var(--color-gray-text);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-gray-text);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--color-gray-text);
  transition: var(--transition-fast);
}

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

/* Modal Dialog */
#contact-dialog {
  border: none;
  background: transparent;
  max-width: 500px;
  width: calc(100% - 32px);
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  outline: none;
}

#contact-dialog::backdrop {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);
}

.dialog-wrapper {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-gray-border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.dialog-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-gray-text);
  transition: var(--transition-fast);
}

.dialog-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.dialog-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dialog-desc {
  font-size: 14px;
  color: var(--color-gray-text);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white-muted);
}

.form-input {
  width: 100%;
  background-color: rgba(5, 5, 5, 0.5);
  border: 1px solid var(--color-gray-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--color-white);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  background-color: rgba(5, 5, 5, 0.8);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}

.form-input::placeholder {
  color: #55555d;
}

.form-submit-btn {
  width: 100%;
  margin-top: 12px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  max-width: 600px;
  background-color: #0c294db3;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-gray-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
}

.cookie-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cookie-text {
  font-size: 13px;
  color: var(--color-gray-text);
  line-height: 1.5;
}

.cookie-btn-group {
  display: flex;
  gap: 12px;
}

.cookie-btn-group button {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--color-accent-gold);
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.cookie-btn-accept:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(231, 60, 142, 0.45);
}

.cookie-btn-decline {
  border: 1px solid var(--color-gray-border);
  color: var(--color-white-muted);
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Animations Trigger Classes */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-badge-container {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 380px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre-content {
    max-width: 100%;
  }

  .metodo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .metodo-grid>div:first-child {
    order: initial;
  }

  .metodo-visual {
    order: initial;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .problem-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  #problema {
    background: linear-gradient(to bottom, #7a1543 0%, #9e1855 50%, #fcecf3 75%, #E73C8E 100%);
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .solutions-nav {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 12px;
  }

  .solutions-nav::-webkit-scrollbar {
    display: none;
  }

  .solution-btn {
    white-space: nowrap;
  }

  .case-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-content {
    max-width: 100%;
  }

  .selos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-black);
    flex-direction: column;
    padding: 48px 24px;
    gap: 32px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }

  .navbar .btn-cta {
    display: none;
  }

  .pillar-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .solution-pane {
    padding: 32px;
  }

  .solution-features-list {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 32px;
  }

  .selo-card {
    padding: 32px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}