/* ============================================================
   BlackTower — style.css
   Estratégia, Growth Marketing & Estrutura Comercial
   ============================================================ */

/* ============ VARIÁVEIS & DESIGN TOKENS ============ */
:root {
  --bg: #060c15;
  --bg-2: #081120;
  --bg-3: #0d192c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-glass: rgba(4, 11, 20, 0.70);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-light: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(217, 164, 79, 0.40);
  
  --text: #f2f5f9;
  --text-muted: #9fb0c7;
  --text-dim: #6c7c93;
  
  --gold: #d9a44f;
  --gold-light: #ebd09e;
  --gold-dark: #b58235;
  --gold-soft: rgba(217, 164, 79, 0.12);
  --gold-glow: rgba(217, 164, 79, 0.28);
  
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --header-h: 88px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
}

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

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* Foco acessível */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  color: var(--gold);
  border: 1px solid var(--gold);
  background: rgba(217, 164, 79, 0.05);
  padding: 0.95rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--gold);
  color: #060c15;
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1.15rem 2.5rem;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.btn-ghost {
  color: var(--text);
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline-light {
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
  background: linear-gradient(180deg, rgba(6, 12, 21, 0.75) 0%, rgba(6, 12, 21, 0) 100%);
}

.site-header.is-scrolled {
  background: rgba(6, 12, 21, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  width: min(1360px, 100% - 3rem);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo-mark {
  width: 22px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  cursor: pointer;
  z-index: 105;
  padding: 0;
}

.menu-line {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ============ HERO (PARALLAX CINEMATOGRÁFICO) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
}

.hero-parallax {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.parallax-layer--moving {
  transform: scale(1.06);
}

.parallax-layer--fg {
  transform: scale(1.12);
}

/* Fusão suave do fim da hero com a seção seguinte */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(6, 12, 21, 0) 0%, rgba(6, 12, 21, 0.65) 55%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1360px, 100% - 3rem);
  margin-inline: auto;
  padding: 4rem 0 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(217, 164, 79, 0.10);
  border: 1px solid rgba(217, 164, 79, 0.28);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero-title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(4, 8, 14, 0.7);
}

.hero-subtitle {
  max-width: 46ch;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  text-shadow: 0 1px 16px rgba(4, 8, 14, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* ============ SEÇÕES — BASE & TIPOGRAFIA ============ */
section {
  position: relative;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 3.8rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
}

.section-subtitle {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ============ SOLUÇÕES ============ */
.solucoes {
  padding: 9rem 0 7.5rem;
  overflow: hidden;
}

.solucoes-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 12, 21, 0.15) 20%, rgba(6, 12, 21, 0.6) 65%, var(--bg) 96%),
    url("../assets/img/06-continuacao-secao-2.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.solucao-card {
  padding: 2.25rem 1.85rem;
  background: rgba(8, 14, 24, 0.76);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.solucao-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.solucao-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.solucao-index {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.solucao-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 164, 79, 0.22);
}

.solucao-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.solucao-copy {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   COMO FUNCIONA (CENÁRIO AÉREO COM NUVENS ANIMADAS)
   Estrutura de profundidade:
   - Cenário-base: z-index: 0
   - Névoa distante: z-index: 1 (deslocamento máx. 6px em 35s)
   - Nuvens intermediárias: z-index: 2 (deslocamento máx. 10px em 35s)
   - Overlay escuro de contraste: z-index: 3
   - Conteúdo (título e cards): z-index: 10
   ============================================================ */
.processo {
  position: relative;
  min-height: 100vh;
  min-height: clamp(680px, 94vh, 960px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 0;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg);
}

/* Container de fundo e camadas visuais (atrás do conteúdo) */
.processo-scenery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* 1. Cenário-Base: completamente imóvel */
.processo-layer--base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  transform: none;
}

/* Estrutura das camadas de nuvens animadas */
.cloud-wrapper {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.cloud-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* 2. Névoa Distante (z-index: 1): deslocamento total ~80px (-40px a +40px) em 42s */
.cloud-wrapper--far {
  z-index: 1;
  animation: cloud-drift-far 42s ease-in-out infinite alternate;
}

@keyframes cloud-drift-far {
  0% {
    transform: translate3d(-40px, 0, 0);
  }
  100% {
    transform: translate3d(40px, 0, 0);
  }
}

/* 3. Nuvens Intermediárias (z-index: 2): deslocamento total ~140px (-70px a +70px) em 38s */
.cloud-wrapper--mid {
  z-index: 2;
  animation: cloud-drift-mid 38s ease-in-out infinite alternate;
}

@keyframes cloud-drift-mid {
  0% {
    transform: translate3d(-70px, 0, 0);
  }
  100% {
    transform: translate3d(70px, 0, 0);
  }
}

/* 4. Tratamento de contraste e proteção de leitura */
.processo-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    /* Fusão suave com as seções adjacentes */
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%),
    /* Gradiente localizado atrás do conteúdo */
    linear-gradient(to bottom, rgba(2, 8, 16, 0.28), rgba(2, 8, 16, 0.58)),
    /* Overlay uniforme sobre toda a imagem */
    rgba(2, 8, 16, 0.48);
}

/* 5. Conteúdo textual e quadros informativos (claramente acima de todas as imagens) */
.processo-container {
  position: relative;
  z-index: 10;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.processo .section-title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

/* Quadros informativos (Dark Glassmorphism) */
.processo-step {
  background: rgba(3, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(211, 154, 58, 0.55);
  border-radius: 14px;
  padding: 2.25rem 1.85rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.processo-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.20);
  border-top-color: rgba(211, 154, 58, 0.85);
  background: rgba(3, 10, 18, 0.88);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.processo-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.processo-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.processo-copy {
  font-size: 0.95rem;
  font-weight: 300;
  color: #a9b7ca;
  line-height: 1.65;
}

/* ============ PROJETOS & CASES ============ */
.projetos {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.projeto-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(6, 12, 21, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.projeto-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.projeto-thumb {
  aspect-ratio: 16 / 9;
  background: #081120;
  position: relative;
  overflow: hidden;
}

.projeto-thumb-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.visual--b2b {
  background:
    radial-gradient(circle at center, rgba(217, 164, 79, 0.16) 0%, transparent 70%),
    linear-gradient(135deg, #0d1a30 0%, #060c16 100%);
}

.visual--ecommerce {
  background:
    radial-gradient(circle at center, rgba(217, 164, 79, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, #10213d 0%, #081120 100%);
}

.visual--services {
  background:
    radial-gradient(circle at center, rgba(217, 164, 79, 0.14) 0%, transparent 70%),
    linear-gradient(135deg, #0f1c33 0%, #050b13 100%);
}

.projeto-metric {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.projeto-metric-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.projeto-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.projeto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.projeto-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(217, 164, 79, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.projeto-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
}

.projeto-copy {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ SOBRE A BLACKTOWER ============ */
.sobre {
  padding: 8rem 0;
  background: var(--bg);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.sobre-lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  margin: 1.5rem 0 1.25rem;
}

.sobre-p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sobre-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-bullet {
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.pillar-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pillar-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
}

.sobre-card-highlight {
  background: linear-gradient(135deg, rgba(13, 25, 44, 0.75) 0%, rgba(6, 12, 21, 0.85) 100%);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  position: relative;
}

.highlight-stat {
  margin-bottom: 1.75rem;
}

.highlight-num {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.highlight-label {
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

.highlight-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}

.highlight-quote {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.highlight-author .author-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.highlight-author .author-role {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 9rem 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(217, 164, 79, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-final-inner {
  max-width: 760px;
}

/* ============ CTA FINAL (COM MOLDURA ARQUITETÔNICA DA TORRE) ============ */
.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(650px, 84vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-final-tower {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  width: min(72vw, 1050px);
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
  filter: brightness(0.75) contrast(1.06);
  transition: opacity var(--transition-slow);
}

.cta-final-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at center,
      rgba(5, 12, 21, 0.28) 0%,
      rgba(5, 12, 21, 0.46) 48%,
      rgba(5, 12, 21, 0.78) 100%
    ),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

.cta-final-inner {
  position: relative;
  z-index: 5;
  max-width: 760px;
  margin-inline: auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(217, 164, 79, 0.10);
  border: 1px solid rgba(217, 164, 79, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.cta-final-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #fff;
}

.cta-final-subtitle {
  margin: 1.5rem auto 2.5rem;
  max-width: 54ch;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  background: #040810;
  position: relative;
  z-index: 10;
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 3.5rem 2.5rem;
}

.footer-brand .logo--footer {
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 34ch;
  font-weight: 300;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link svg {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-contact-link:hover svg {
  transform: scale(1.1);
}

.btn-cookie-reopen {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-cookie-reopen:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-legal-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-legal {
  font-size: 0.86rem;
  color: var(--text-dim);
}

.footer-sublegal {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.footer-credit:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.footer-credit-text strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-credit-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.footer-credit:hover .footer-credit-logo {
  transform: scale(1.1);
  border-color: var(--gold);
}

/* ============ PÁGINAS LEGAIS (PRIVACIDADE & COOKIES) ============ */
.site-header--static {
  position: sticky;
  background: rgba(6, 12, 21, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.legal-page {
  background-color: var(--bg);
}

.legal-main {
  padding: 4.5rem 0 7rem;
}

.legal-container {
  max-width: 820px;
  margin-inline: auto;
}

.legal-header {
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.legal-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-top: 0.5rem;
}

.legal-date {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.legal-section p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 300;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0;
  padding-left: 0.5rem;
}

.legal-section li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.legal-section li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.35rem;
}

.legal-notice {
  padding: 1rem 1.25rem;
  background: rgba(217, 164, 79, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
}

.cookie-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.cookie-link:hover {
  color: #fff;
}

.legal-contact-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}

.legal-contact-box strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.legal-contact-box p {
  margin-bottom: 0.4rem !important;
}

.legal-card-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.legal-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}

.legal-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-feature-card p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.legal-action-box {
  background: linear-gradient(135deg, rgba(13, 25, 44, 0.6) 0%, rgba(6, 12, 21, 0.8) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 1.25rem;
  text-align: center;
}

.legal-action-note {
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
  margin-top: 1rem !important;
}

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

/* ============ COOKIE BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 2rem));
  z-index: 9999;
  background: rgba(5, 12, 21, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.35rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner[hidden] {
  display: none !important;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cookie-banner-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 60ch;
  font-weight: 300;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* Modal de Preferências de Cookies */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s ease forwards;
}

.cookie-modal-backdrop[hidden] {
  display: none !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-card {
  background: #081120;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-gold);
  border-radius: 16px;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.cookie-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.cookie-modal-close:hover {
  color: #fff;
}

.cookie-modal-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-modal-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.cookie-category-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-category-header strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}

.cookie-badge-required {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.cookie-category-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 300;
}

/* Custom Switch Toggle */
.cookie-toggle-label {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  transition: background-color var(--transition-fast);
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle-label input:checked + .toggle-slider {
  background-color: var(--gold);
}

.cookie-toggle-label input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 12, 21, 0.6);
  flex-wrap: wrap;
}

/* ============ ANIMAÇÕES REVEAL AO ROLAR ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 1100px) {
  .processo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .projetos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem 2rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 2.25rem 2rem 3rem;
    background: rgba(6, 12, 21, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    display: block;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Foco da imagem da hero no mobile/tablet para manter a torre visível */
  .parallax-layer {
    object-position: 65% center;
  }

  .hero-parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 21, 0.40);
  }

  .solucoes {
    padding: 7rem 0 5rem;
  }

  .processo {
    padding: 6rem 0;
  }

  .processo-layer {
    object-position: 60% center;
  }

  .projetos {
    padding: 6rem 0;
  }

  .sobre {
    padding: 6rem 0;
  }

  .cta-final {
    padding: 6.5rem 0;
  }

  .cta-final-tower {
    width: min(88vw, 780px);
    height: 90%;
    opacity: 0.24;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), 100% - 2rem);
  }

  .header-inner {
    width: min(1360px, 100% - 2rem);
  }

  .hero-content {
    width: min(1360px, 100% - 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .processo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .processo-step {
    padding: 1.75rem 1.4rem;
  }

  .processo-step:hover {
    transform: none; /* Sem salto de hover em touch */
  }

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

  .cta-final-tower {
    width: 140vw;
    max-width: none;
    height: 88%;
    opacity: 0.20;
    bottom: -2%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cookie-banner {
    bottom: 1rem;
    padding: 1.25rem;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  @keyframes cloud-drift-far {
    0% {
      transform: translate3d(-20px, 0, 0);
    }
    100% {
      transform: translate3d(20px, 0, 0);
    }
  }

  @keyframes cloud-drift-mid {
    0% {
      transform: translate3d(-35px, 0, 0);
    }
    100% {
      transform: translate3d(35px, 0, 0);
    }
  }
}

/* ============ ACESSIBILIDADE: MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cloud-wrapper--far,
  .cloud-wrapper--mid {
    animation: none !important;
    transform: none !important;
  }

  .parallax-layer--moving {
    transform: scale(1.06) !important;
  }

  .parallax-layer--fg {
    transform: scale(1.12) !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .btn,
  .solucao-card,
  .processo-step,
  .projeto-card {
    transition: none !important;
  }
}
