/* ========================================
   Nexy Technology - Design System
   Baseado no Figma: Nexy LP
   ======================================== */

:root {
  /* Cores principais */
  --color-bg: #050209;
  --color-surface: #12121A;
  --color-surface-light: #18181F;
  
  /* Texto */
  --text-principal: #F7F7FB;
  --text-texto-esc: #0B0B10;
  --color-text-primary: #F7F7FB;
  --color-text-secondary: #B8B8C8;
  --color-text-muted: #6B6B7B;
  
  /* Acentos */
  --color-primary: #7A30BE;
  --color-primary-light: #AF83D8;
  --color-accent: #E4D6F2;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(90deg, #7A30BE 0%, #AF83D8 100%);
  --gradient-sutil-2: #2DD4FF;
  --gradient-glow: radial-gradient(circle at 34% 58%, rgba(255, 255, 255, 0.6) 59%, rgba(122, 48, 190, 1) 100%);
  
  /* Tipografia */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Bordas */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-full: 99px;
  --radius-pill: 90px;
  
  /* Sombras */
  --shadow-card: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0px 0px 200px 0px rgba(122, 48, 190, 0.5);
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Componentes: Botões
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  box-shadow: 0 0 0 1px rgba(122, 48, 190, 0.3);
}

.btn--primary:hover {
  filter: brightness(1.15);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--outline:hover {
  background: var(--color-surface-light);
  border-color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

.btn--form {
  margin-top: var(--space-lg);
}

/* ========================================
   Header
   ======================================== */

/* Header - Figma node 461-2298 */
.header {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - var(--space-lg) * 2);
  max-width: 1240px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 20px;
  background: #12121A;
  border: 1px solid #2A2A38;
  border-radius: 99px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  background: #12121A;
  border: 1px solid #2A2A38;
  border-radius: 99px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.header__lang:hover {
  background: rgba(255, 255, 255, 0.03);
}

.header__flag {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.header__lang-text {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.21;
  color: #FFFFFF;
}

.header__chevron {
  color: #FFFFFF;
  flex-shrink: 0;
}

.header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 60px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.21;
  color: #F7F7FB;
  background: linear-gradient(90deg, #7A30BE 0%, #AF83D8 50%, #7A30BE 100%);
  border: 1px solid rgba(247, 247, 251, 0.5);
  border-radius: 90px;
  box-shadow: inset 0 0 0 1px rgba(247, 247, 251, 0.1);
  transition: all var(--transition-base);
}

.header__cta:hover {
  filter: brightness(1.15);
  box-shadow: 0px 0px 40px rgba(122, 48, 190, 0.5);
  transform: translateY(-2px);
}

.header__cta-text--short {
  display: none;
}

/* Logo genérico (footer) */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-img--footer {
  height: 40px;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg) 140px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/fundo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-lg);
  font-size: 14px;
  font-weight: 500;
  color: #7A30BE;
}

.hero__badge-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: var(--space-2xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}


/* ========================================
   Section Divider
   ======================================== */

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 48, 190, 0.5), transparent);
  margin: var(--space-3xl) 0;
}

.section-divider--white {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ========================================
   Cases
   ======================================== */

.cases {
  padding: var(--space-3xl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.cases__content {
  max-width: 1200px;
  margin: 0 auto;
}

.cases__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-md);
}

.cases__heading {
  font-size: 2.5rem;
  font-weight: 600;
  margin: var(--space-2xl) 0 var(--space-md);
}

.cases__tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.cases__subtitle,
.cases__description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.cases__description {
  margin-bottom: var(--space-2xl);
}

/* Case Card */
.case-card {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-2xl) 0;
  box-shadow: var(--shadow-card);
}

.case-card__tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.tab {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab.active,
.tab:hover {
  color: var(--color-text-primary);
  border-color: var(--color-primary);
}

.case-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.case-card__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.case-card__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface);
}

.case-card__placeholder {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Stats */
.cases__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.stat-card {
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.stat-card__number {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
}

.stat-card__unit {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
}

.stat-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: var(--space-md) 0 var(--space-xs);
}

.stat-card__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.cases__actions {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ========================================
   Skills (Figma: node 461-2017)
   ======================================== */

.skills {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-bg);
}

.skills__title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.21;
  color: var(--text-principal);
  text-align: center;
  margin-bottom: var(--space-md);
  max-width: 1136px;
  margin-left: auto;
  margin-right: auto;
}

.skills__title--accent {
  color: #2DD4FF;
}

.skills__subtitle {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-2xl);
}

.skills__cards {
  display: grid;
  grid-template-columns: 420px 1fr;
  grid-template-rows: auto auto auto;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.skills__card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.skills__card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.skills__card--engenharia {
  grid-column: 1;
  grid-row: 1;
}

.skills__card--protocolo {
  grid-column: 2;
  grid-row: 1;
}

.skills__card--imersao {
  grid-column: 2;
  grid-row: 2;
}

.skills__card--deploy-previsivel {
  grid-column: 1;
  grid-row: 2;
}

/* engenharia e deploy: coluna esquerda, mesma altura e largura */
.skills__card--engenharia,
.skills__card--deploy-previsivel {
  display: flex;
}

.skills__card--engenharia img,
.skills__card--deploy-previsivel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* protocolo e imersao: coluna direita, mesma altura e largura */
.skills__card--protocolo,
.skills__card--imersao {
  display: flex;
}

.skills__card--protocolo img,
.skills__card--imersao img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.skills__card--deploy-infra {
  grid-column: 1 / -1;
  grid-row: 3;
  min-height: 280px;
}

.skills__card--deploy-infra img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.skills__card-title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.21;
  color: var(--text-principal);
  margin-bottom: var(--space-md);
}

.skills__card-text {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--color-text-secondary);
}

/* ========================================
   Cases (Figma: node 461-2309)
   ======================================== */

.cases {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-bg);
}

.cases__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cases__label {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.21;
  color: var(--text-principal);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.cases__top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.cases__intro {
  text-align: left;
  max-width: 560px;
}

.cases__intro .cases__headline {
  margin-bottom: var(--space-md);
}

.cases__intro .cases__text {
  margin-bottom: var(--space-md);
}

.cases__intro .cases__text:last-child {
  margin-bottom: 0;
}

.cases__intro-cta-wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

.cases__title-wrap {
  padding-top: 5rem;
}

.cases__title {
  font-family: var(--font-main);
  font-size: 80px;
  font-weight: 600;
  line-height: 1.21;
  color: var(--text-principal);
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 942px;
  margin-left: auto;
  margin-right: auto;
}

.cases__subtitle {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 748px;
  margin: 0 auto var(--space-2xl);
}


.cases__headline {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.21;
  color: var(--text-principal);
  margin-bottom: var(--space-md);
}

.cases__text {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.cases__card {
  position: relative;
  background: rgba(18, 18, 26, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.cases__card--revealy {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  padding: 0;
}

.cases__card--revealy::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(180deg, #7A30BE 0%, #2DD4FF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cases__card--revealy .cases__card-image {
  width: 100%;
  height: 280px;
  min-height: 280px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cases__card--revealy .cases__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25), 0px 0px 0px 1px rgba(0, 0, 0, 0.05);
}

.cases__card--revealy .cases__card-content {
  padding: 24px;
}

.cases__top-row .cases__card {
  margin-top: 0;
}

.cases__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(180deg, #7A30BE 0%, #2DD4FF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cases__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cases__tag {
  padding: 4px 12px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: #1A1A24;
  border: 1px solid #2A2A38;
  border-radius: 9999px;
}

.cases__card-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
  color: var(--text-principal);
  margin-bottom: var(--space-sm);
}

.cases__card-desc {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.cases__card-image {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  min-height: 200px;
}

.cases__card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cases__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 520px));
  gap: 80px;
  justify-content: center;
  margin: 0 auto var(--space-2xl);
  max-width: 1120px;
}

.cases__stat-card {
  position: relative;
  background: rgba(18, 18, 26, 0.8);
  border-radius: var(--radius-md);
  padding: 30px 50px;
  min-height: 250px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.cases__stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(180deg, #7A30BE 0%, #2DD4FF 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cases__stat-number {
  font-family: var(--font-main);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.21;
  color: #FFFFFF;
  display: block;
  margin-bottom: 10px;
}

.cases__stat-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.21;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.cases__stat-text {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.21;
  color: #FFFFFF;
}

.cases__actions {
  text-align: center;
}

.cases__footer-logo {
  text-align: center;
  margin-top: var(--space-3xl);
}

.cases__footer-logo-img {
  max-width: 900px;
  width: 100%;
  height: auto;
}

.cases__actions .btn {
  padding: 19px 30px;
  font-size: 18px;
  font-weight: 600;
}

.page-footer__svg-wrap {
  position: relative;
}

.page-footer__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 var(--space-lg) 1rem;
  z-index: 2;
  gap: var(--space-md);
}

.page-footer__contact {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--color-accent);
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.page-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.page-footer__social-link {
  display: block;
  transition: opacity var(--transition-fast);
  pointer-events: auto;
}

.page-footer__social-link:hover {
  opacity: 0.8;
}

.page-footer__social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.page-footer__svg {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.page-footer__svg svg {
  width: 100%;
  height: auto;
  max-height: 150px;
  display: block;
}

.page-footer__copyright {
  background: var(--color-accent);
  padding: 19px var(--space-lg);
  text-align: center;
}

.page-footer__copyright p {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.21;
  color: #000000;
  margin: 0;
}


.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.skill-card {
  position: relative;
  background: #050209;
  border-radius: 24px;
  padding: var(--space-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover {
  border-color: rgba(122, 48, 190, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.skill-card--highlight {
  background: linear-gradient(220deg, rgba(5, 2, 9, 1) 42%, rgba(0, 0, 0, 1) 100%);
}

.skill-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(122, 48, 190, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.skill-card__glow--green {
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.skill-card__glow--blue {
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.skill-card__glow--orange {
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

.skill-card__glow--pink {
  background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.skill-card__content {
  position: relative;
  z-index: 1;
}

.skill-card__title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.21;
  background: linear-gradient(249deg, #F7F7FB 0%, #2DD4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.skill-card__desc {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.21;
  color: #B8B8C8;
}

/* ========================================
   Form Section
   ======================================== */

/* Form Section - Figma node 461-2238 */
.form-section {
  position: relative;
  padding: 80px var(--space-lg);
  background: #000000;
  min-height: 796px;
}

.form-section__bg {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 0;
}

.form-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.form-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 60px;
  align-items: start;
  background: linear-gradient(#E4D6F2, #E4D6F2) padding-box,
              linear-gradient(180deg, #7A30BE 0%, #2DD4FF 100%) border-box;
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.form-container__symbol-bg {
  position: absolute;
  right: -50px;
  top: -100px;
  width: 600px;
  height: 600px;
  opacity: 0.2;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.form-container__symbol-bg-outer {
  position: absolute;
  inset: 0.15% 0.08% 0.15% 0.22%;
  width: 100%;
  height: 100%;
}

.form-container__symbol-bg-inner {
  position: absolute;
  inset: 25.95% 18.52% 25.72% 18.72%;
  width: 100%;
  height: 100%;
}

.form-section__title {
  grid-column: 1 / -1;
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.21;
  color: #0B0B10;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.form-steps {
  padding: 0;
  position: relative;
  z-index: 1;
}

.form {
  position: relative;
  z-index: 1;
}

.form-step {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 50px;
}

.form-step__line {
  flex: 0 0 auto;
  width: 210px;
  height: 2px;
  margin-top: 14px;
  margin-right: 16px;
  background: linear-gradient(90deg, #2DD4FF 0%, #7A30BE 100%);
}

.form-step__num {
  flex: 0 0 auto;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  color: #7A30BE;
  line-height: 1;
}

.form-step__title {
  flex: 0 0 100%;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.21;
  color: #050209;
  margin: 8px 0;
}

.form-step__desc {
  flex: 0 0 100%;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.21;
  color: #050209;
}

.btn--form {
  margin-top: 20px;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__input {
  padding: 20px 20px 20px 15px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  background: #1A1A24;
  border: 1px solid #2A2A38;
  border-radius: 16px;
  color: #7D7D90;
  transition: all var(--transition-fast);
}

.form__input--full {
  grid-column: 1 / -1;
}

.form__input::placeholder {
  color: #7D7D90;
}

.form__input:focus {
  outline: none;
  border-color: #7A30BE;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_select)'%3E%3Cpath d='M9.99999 14.3083C9.45245 14.3093 8.91008 14.2024 8.4039 13.9936C7.89772 13.7848 7.43765 13.4783 7.04999 13.0917L0.241658 6.28333C0.0847386 6.12641 -0.00341797 5.91358 -0.00341797 5.69166C-0.00341797 5.46974 0.0847386 5.25692 0.241658 5.1C0.398578 4.94308 0.611407 4.85492 0.833325 4.85492C1.05524 4.85492 1.26807 4.94308 1.42499 5.1L8.23332 11.9083C8.70208 12.3765 9.33749 12.6395 9.99999 12.6395C10.6625 12.6395 11.2979 12.3765 11.7667 11.9083L18.575 5.1C18.7319 4.94308 18.9447 4.85492 19.1667 4.85492C19.3886 4.85492 19.6014 4.94308 19.7583 5.1C19.9152 5.25692 20.0034 5.46974 20.0034 5.69166C20.0034 5.91358 19.9152 6.12641 19.7583 6.28333L12.95 13.0917C12.5623 13.4783 12.1023 13.7848 11.5961 13.9936C11.0899 14.2024 10.5475 14.3093 9.99999 14.3083Z' fill='%23F7F7FB'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_select'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 48px;
  cursor: pointer;
  color: #7D7D90;
}

.form__select option {
  color: #7D7D90;
  background: #1A1A24;
}

.form .btn[type="submit"] {
  width: auto;
  max-width: 200px;
  align-self: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  position: relative;
  background: var(--color-bg);
}

.footer__main {
  position: relative;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}

.footer__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 48, 190, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.footer__logo-section {
  position: relative;
  z-index: 2;
  text-align: center;
}

.logo--footer .logo-text {
  color: var(--color-text-primary);
}

.logo--footer .logo-text--accent {
  color: var(--color-primary-light);
}

.footer__contact {
  margin-top: var(--space-lg);
  font-size: 1.125rem;
  color: var(--color-accent);
}

.footer__bottom {
  padding: var(--space-lg) var(--space-lg);
  background: var(--color-accent);
  text-align: center;
}

.footer__bottom p {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* ========================================
   Responsividade
   ======================================== */

@media (max-width: 1024px) {
  .form-container {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .form-steps {
    order: 2;
  }

  .form {
    order: 1;
  }

  .form-section__title {
    font-size: 28px;
    white-space: normal;
  }
}

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

/* ========================================
   Responsivo Mobile - Header
   ======================================== */

@media (max-width: 768px) {
  .header {
    width: calc(100% - 24px);
    max-width: none;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .header__inner {
    height: 56px;
    min-height: 56px;
    padding: 0 16px;
    justify-content: space-between;
    gap: 12px;
  }

  .header__logo {
    flex-shrink: 0;
  }

  .header__logo-img {
    height: 36px;
  }

  .header__nav {
    gap: 8px;
    flex-shrink: 0;
  }

  .header__lang-text {
    display: none;
  }

  .header__lang {
    padding: 8px 10px;
    min-width: auto;
  }

  .header__flag {
    width: 24px;
    height: 24px;
  }

  .header__chevron {
    width: 16px;
    height: 16px;
  }

  .header__cta {
    width: auto;
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .header {
    width: calc(100% - 16px);
    top: 8px;
  }

  .header__inner {
    height: 52px;
    padding: 0 12px;
  }

  .header__logo-img {
    height: 32px;
  }

  .header__cta {
    padding: 0 12px;
    font-size: 12px;
  }

  .header__cta-text--full {
    display: none;
  }

  .header__cta-text--short {
    display: inline;
  }
}

/* ========================================
   Responsivo Mobile - Hero
   ======================================== */

@media (max-width: 768px) {
  .hero {
    padding: var(--space-2xl) var(--space-md) 80px;
    min-height: 100vh;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-xl) var(--space-sm) 60px;
  }

  .hero__badge {
    font-size: 12px;
  }

  .hero__title {
    font-size: 1.5rem;
  }
}

/* ========================================
   Responsivo Mobile - Form Section
   ======================================== */

@media (max-width: 768px) {
  .form-section {
    padding: 40px var(--space-md);
  }

  .form-container {
    padding: 24px;
  }

  .form-section__title {
    font-size: 22px;
  }

  .form-step__line {
    width: 120px;
  }

  .form-step__title,
  .form-step__num {
    font-size: 18px;
  }

  .form-step__desc {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 24px var(--space-sm);
  }

  .form-container {
    padding: 20px 16px;
  }

  .form-section__title {
    font-size: 18px;
  }

  .form__input {
    padding: 16px;
    font-size: 16px;
  }
}

/* ========================================
   Responsivo Mobile - Skills
   ======================================== */

@media (max-width: 1024px) {
  .skills__cards {
    grid-template-columns: 1fr;
  }

  .skills__card--engenharia,
  .skills__card--protocolo,
  .skills__card--imersao,
  .skills__card--deploy-previsivel,
  .skills__card--deploy-infra {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .skills {
    padding: var(--space-2xl) var(--space-md);
  }

  .skills__title {
    font-size: 24px;
    white-space: normal;
  }

  .skills__subtitle {
    font-size: 18px;
  }

  .skills__card--protocolo,
  .skills__card--imersao,
  .skills__card--deploy-infra {
    display: none;
  }

  .skills__cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }

  .skills__card--engenharia img,
  .skills__card--deploy-previsivel img {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .skills {
    padding: var(--space-xl) var(--space-sm);
  }

  .skills__title {
    font-size: 20px;
  }

  .skills__subtitle {
    font-size: 16px;
  }

  .skills__cards {
    gap: 24px;
  }

  .skills__card--engenharia img,
  .skills__card--deploy-previsivel img {
    height: 360px;
  }
}

/* ========================================
   Responsivo Mobile - Cases
   ======================================== */

@media (max-width: 768px) {
  .cases {
    padding: var(--space-2xl) var(--space-md);
  }

  .cases__label {
    font-size: 28px;
  }

  .cases__top-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .cases__headline {
    font-size: 20px;
  }

  .cases__text {
    font-size: 18px;
  }

  .cases__title {
    font-size: 32px;
  }

  .cases__subtitle {
    font-size: 18px;
  }

  .cases__stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .cases__stat-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .cases__stat-number {
    font-size: 40px;
  }

  .cases__stat-title {
    font-size: 18px;
  }

  .cases__stat-text {
    font-size: 16px;
  }

  .cases__card--revealy {
    max-width: 100%;
  }

  .cases__footer-logo-img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cases {
    padding: var(--space-xl) var(--space-sm);
  }

  .cases__label {
    font-size: 22px;
  }

  .cases__headline {
    font-size: 18px;
  }

  .cases__text {
    font-size: 16px;
  }

  .cases__title {
    font-size: 24px;
  }

  .cases__subtitle {
    font-size: 16px;
  }

  .cases__stat-number {
    font-size: 32px;
  }

  .cases__stat-title {
    font-size: 16px;
  }

  .cases__intro-cta-wrap .btn {
    width: 100%;
  }
}

/* ========================================
   Responsivo Mobile - Footer
   ======================================== */

@media (max-width: 768px) {
  .page-footer__bar {
    flex-direction: column;
    padding: 0 var(--space-md) 1rem;
    gap: var(--space-sm);
  }

  .page-footer__contact {
    font-size: 14px;
    text-align: center;
  }

  .page-footer__contact-br {
    display: block;
  }

  .page-footer__svg svg {
    max-height: 100px;
  }

  .page-footer__copyright p {
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .page-footer__contact-br {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-footer__contact {
    font-size: 12px;
  }

  .page-footer__copyright {
    padding: 16px var(--space-sm);
  }

  .page-footer__copyright p {
    font-size: 14px;
  }

  .page-footer__social-icon {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   Responsivo - Botões e utilitários
   ======================================== */

@media (max-width: 768px) {
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn {
    width: 100%;
  }
}
