/* ==========================================================
   01. VARIÁVEIS E IDENTIDADE VISUAL
   ========================================================== */

:root {
  --bg: #070510;
  --bg-soft: #0d0920;
  --surface: rgba(17, 13, 37, .82);
  --surface-strong: #15102c;
  --line: rgba(165, 117, 255, .18);
  --line-bright: rgba(165, 117, 255, .48);
  --purple: #9f43ff;
  --purple-2: #6e20ff;
  --purple-3: #c88cff;
  --cyan: #55e5ff;
  --text: #f7f4ff;
  --muted: #aaa4bf;
  --success: #71ffc4;
  --radius: 24px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .4);
  --container: 1400px;
  --side: clamp(1.5rem, 5.5vw, 6.5rem);
  --font-body: "Manrope", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

/* ==========================================================
   02. RESET E ELEMENTOS GLOBAIS
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: radial-gradient(circle at 18% 8%, rgba(111, 32, 255, .16), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(158, 67, 255, .1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open, body.dialog-open {
  overflow: hidden;
}

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

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

button, input, textarea, select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--purple);
  color: #fff;
}

/* ==========================================================
   03. ESTRUTURA, CONTÊINERES E EFEITOS DE FUNDO
   ========================================================== */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--side);
  min-width: 0;
}

.section-space {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* ==========================================================
   04. CABEÇALHO E NAVEGAÇÃO
   ========================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  background: rgba(7, 5, 16, .8);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  position: relative;
  z-index: 3;
}

.brand-owl {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-bright);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(159, 67, 255, .34);
}

.brand-owl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

.brand-name span {
  color: var(--purple-3);
}

.menu-toggle {
  display: grid;
  gap: 5px;
  width: 45px;
  height: 45px;
  place-content: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  position: relative;
  z-index: 3;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: #fff;
  transition: .3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 0;
  padding: 7rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(7, 5, 16, .96);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: .3s ease;
}

.main-nav.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.main-nav a {
  font-size: 1.15rem;
  color: #ded8ec;
  font-weight: 600;
  transition: color .25s ease;
}

.main-nav a:hover {
  color: var(--purple-3);
}

.nav-cta {
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: 0 10px 30px rgba(111, 32, 255, .35);
}

.main-nav .nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================
   05. SEÇÃO PRINCIPAL / HERO
   ========================================================== */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .71rem;
  color: var(--purple-3);
  font-weight: 800;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px var(--purple);
}

.hero h1, .section-heading h2, .about-copy h2, .cta h2, .modal-intro h2 {
  font-family: var(--font-display);
  margin: 1.1rem 0 1.25rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.hero h1 {
  font-size: clamp(2.65rem, 10.2vw, 6.3rem);
  max-width: 13ch;
}

.hero h1 strong, .section-heading strong, .about-copy strong, .cta strong {
  color: var(--purple-3);
  font-weight: inherit;
  text-shadow: 0 0 38px rgba(159, 67, 255, .25);
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .85rem;
}

.button-primary, .button-secondary {
  min-height: 52px;
  padding: .9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: 0 16px 40px rgba(111, 32, 255, .3);
}

.button-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(111, 32, 255, .42);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.035);
}

.button-secondary:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: rgba(159,67,255,.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: 1.5rem;
  color: #cfc8df;
  font-size: .79rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero-badges i {
  color: var(--purple-3);
}

.hero-stage {
  min-height: 330px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  border-radius: 28px;
}

.hero-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,31,255,.5), transparent 66%);
  filter: blur(25px);
  animation: breathe 4s ease-in-out infinite;
}

.hero-art {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  border-radius: 28px;
  filter: drop-shadow(0 30px 65px rgba(0,0,0,.6));
  mask-image: linear-gradient(to bottom, #000 88%, transparent);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(180,120,255,.24);
  border-radius: 50%;
  z-index: 1;
}

.orbit-one {
  width: 78%;
  aspect-ratio: 1;
  animation: spin 18s linear infinite;
}

.orbit-two {
  width: 52%;
  aspect-ratio: 1;
  animation: spinReverse 13s linear infinite;
  border-style: dashed;
}

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line-bright);
  background: rgba(13,9,32,.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: .7rem .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  color: #e8e2f3;
  animation: float 5s ease-in-out infinite;
}

.floating-card i, .floating-card strong {
  color: var(--purple-3);
}

.card-code {
  left: 1%;
  top: 22%;
}

.card-growth {
  right: 0;
  top: 10%;
  flex-direction: column;
  align-items: flex-start;
  animation-delay: -1.3s;
}

.card-growth strong {
  font-size: .9rem;
}

.card-secure {
  right: 8%;
  bottom: 4%;
  animation-delay: -2.5s;
}

.client-bar {
  margin-top: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(159, 67, 255, .055), transparent 38%),
    rgba(255, 255, 255, .025);
}

.client-label {
  display: block;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.brand-carousel-area {
  min-width: 0;
  overflow: hidden;
}

.brand-carousel {
  --brand-gap: .85rem;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-carousel--desktop {
  display: none;
}

.brand-carousel__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brandMarqueeMobile 28s linear infinite;
}

.brand-carousel__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--brand-gap);
  padding-right: var(--brand-gap);
}

.brand-carousel__item {
  display: grid;
  place-items: center;
  flex: 0 0 132px;
  width: 132px;
  height: 76px;
  padding: .65rem .75rem;
  border: 1px solid rgba(173, 118, 255, .14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 25%, rgba(158, 67, 255, .12), transparent 68%),
    rgba(7, 5, 16, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.brand-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(159, 67, 255, .2));
  opacity: .86;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.brand-carousel__item:hover img {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(159, 67, 255, .48));
}

/* ==========================================================
   06. SEPARADORES ANIMADOS
   ========================================================== */

.separator {
  position: relative;
  width: min(calc(100% - 3rem), 1320px);
  margin: 0 auto;
  min-height: 96px;
  overflow: hidden;
}

.separator-orbit {
  display: grid;
  place-items: center;
}

.separator-orbit::before, .separator-orbit::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
  width: 44%;
  top: 50%;
}

.separator-orbit::before {
  left: 0;
}

.separator-orbit::after {
  right: 0;
}

.separator-core {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--line-bright);
  color: var(--purple-3);
  box-shadow: 0 0 34px rgba(159,67,255,.38);
  animation: pulse 2s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-3);
  box-shadow: 0 0 15px var(--purple);
  top: 50%;
  animation: moveAcross 5s linear infinite;
}

.dot-b {
  animation-delay: -1.7s;
}

.dot-c {
  animation-delay: -3.2s;
}

/* ==========================================================
   07. MÉTRICAS
   ========================================================== */

.metrics-grid {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(20,15,43,.9), rgba(10,8,23,.7));
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: .3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-bright);
}

.metric-card strong {
  display: block;
  color: var(--purple-3);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1;
  font-family: var(--font-display);
}

.metric-card span {
  color: var(--muted);
  font-size: .86rem;
  margin-top: .55rem;
}

/* ==========================================================
   08. TÍTULOS E TEXTOS DE SEÇÃO
   ========================================================== */

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2.3rem, 5vw, 4.25rem);
}

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

.section-heading h2, .about-copy h2, .cta h2 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.section-heading p {
  color: var(--muted);
  max-width: 690px;
  margin: 0;
}

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

/* ==========================================================
   09. SERVIÇOS
   ========================================================== */

.services-grid {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(22,16,46,.92), rgba(9,7,20,.86));
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 10%;
  height: 75%;
  background: radial-gradient(circle, rgba(122,41,255,.2), transparent 65%);
  transition: .35s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: var(--line-bright);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--purple-3);
  background: rgba(159,67,255,.1);
  border: 1px solid var(--line-bright);
  font-size: 1.2rem;
  box-shadow: 0 0 28px rgba(159,67,255,.18);
}

.service-number {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  font-family: var(--font-display);
  color: rgba(255,255,255,.14);
  font-size: 1.2rem;
}

.service-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 1.5rem 0 .7rem;
}

.service-card p {
  color: var(--muted);
  font-size: .9rem;
  min-height: 94px;
}

.service-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--purple-3);
  font-weight: 700;
  font-size: .86rem;
}

/* ==========================================================
   10. SEPARADOR DE CÓDIGO
   ========================================================== */

.code-rain {
  border-block: 1px solid var(--line);
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: .4rem;
  background: linear-gradient(90deg, transparent, rgba(119,41,255,.09), transparent);
}

.code-line {
  white-space: nowrap;
  color: rgba(201,164,255,.52);
  font: 600 .72rem/1.4 monospace;
  letter-spacing: .05em;
  animation: codeSlide 16s linear infinite;
}

.code-line.reverse {
  color: rgba(85,229,255,.32);
  animation-direction: reverse;
  animation-duration: 19s;
}

/* ==========================================================
   11. TECNOLOGIAS
   ========================================================== */

/* Grid próprio: 2 colunas no celular, 3 no tablet e 5 no desktop. */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
  margin: 2.5rem 0 0;
}

.tech-grid__item {
  min-width: 0;
}

.tech-card {
  min-height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65rem;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(20,15,42,.86), rgba(9,7,22,.9));
  border-radius: 19px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.tech-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: var(--line-bright);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 26px rgba(159,67,255,.12);
}

.tech-card i {
  font-size: 2.4rem;
}

.tech-card span {
  color: #e8e3f1;
  font-size: .82rem;
  font-weight: 800;
}

/* ==========================================================
   12. SEPARADOR EM ONDA
   ========================================================== */

.wave-separator {
  min-height: 130px;
}

.wave-separator svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wave-separator path {
  fill: none;
  stroke: rgba(164,93,255,.6);
  stroke-width: 2;
  stroke-dasharray: 12 16;
  animation: dash 8s linear infinite;
}

.wave-separator .wave-secondary {
  stroke: rgba(85,229,255,.22);
  animation-direction: reverse;
}

.wave-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-3);
  box-shadow: 0 0 18px var(--purple);
  animation: waveFloat 4s ease-in-out infinite;
}

.p1 {
  left: 20%;
  top: 43%;
}

.p2 {
  left: 54%;
  top: 65%;
  animation-delay: -1.4s;
}

.p3 {
  right: 18%;
  top: 32%;
  animation-delay: -2.7s;
}

/* ==========================================================
   13. PORTFÓLIO
   ========================================================== */

.section-heading.split {
  display: grid;
  gap: 1.25rem;
  max-width: none;
}

.portfolio-slider {
  overflow: hidden !important;
  width: 100%;
  padding: 1rem 1px 0;
}

.portfolio-slider .swiper-slide {
  height: auto;
  min-width: 0;
}

.project-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(12,9,26,.86);
  transition: transform .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-bright);
}

.preview-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(7,5,16,.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .68rem;
  font-weight: 700;
}

.project-body {
  padding: 1.35rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.project-body > span {
  color: var(--purple-3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .64rem;
  font-weight: 800;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: .45rem 0 .55rem;
}

.project-body p {
  color: var(--muted);
  font-size: .86rem;
  margin: 0;
  flex: 1;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.swiper-button-prev-custom, .swiper-button-next-custom {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  transition: .25s ease;
}

.swiper-button-prev-custom:hover, .swiper-button-next-custom:hover {
  background: var(--purple-2);
  transform: scale(1.06);
}

.swiper-pagination {
  position: static !important;
  width: auto !important;
}

.swiper-pagination-bullet {
  background: #8b849c !important;
  opacity: .5 !important;
}

.swiper-pagination-bullet-active {
  background: var(--purple-3) !important;
  opacity: 1 !important;
}

/* ==========================================================
   14. SEPARADOR DO PROCESSO
   ========================================================== */

.pulse-separator {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.pulse-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159,67,255,.6), transparent);
  position: relative;
}

.pulse-line span {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple-3);
  box-shadow: 0 0 16px var(--purple);
  animation: pulseTravel 7s linear infinite;
}

.pulse-line span:nth-child(2) {
  animation-delay: -1.4s;
}

.pulse-line span:nth-child(3) {
  animation-delay: -2.8s;
}

.pulse-line span:nth-child(4) {
  animation-delay: -4.2s;
}

.pulse-line span:nth-child(5) {
  animation-delay: -5.6s;
}

.pulse-label {
  text-align: center;
  color: rgba(207,190,230,.42);
  font-size: .64rem;
  letter-spacing: .16em;
}

/* ==========================================================
   15. PROCESSO DE TRABALHO
   ========================================================== */

.process-line {
  display: grid;
  gap: 1rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(16,12,34,.75);
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  background: #150d2c;
  color: var(--purple-3);
  font-size: 1.1rem;
  box-shadow: 0 0 32px rgba(159,67,255,.2);
}

.process-step > span {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  color: rgba(255,255,255,.18);
  font-family: var(--font-display);
  font-weight: 700;
}

.process-step h3 {
  font-family: var(--font-display);
  margin: 1rem 0 .45rem;
  color: #fff;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

/* ==========================================================
   16. SEPARADOR MATRIX
   ========================================================== */

.matrix-separator {
  min-height: 138px;
  border-block: 1px solid var(--line);
  background: rgba(5,4,12,.6);
}

#matrixCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .24;
}

.matrix-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(.72rem,2vw,1rem);
  letter-spacing: .25em;
  color: #d8c2ff;
  text-shadow: 0 0 18px var(--purple);
}

/* ==========================================================
   17. SOBRE A BOSKODEV
   ========================================================== */

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  min-height: 410px;
  position: relative;
  display: grid;
  place-items: center;
}

.about-card {
  border: 1px solid var(--line-bright);
  background: rgba(14,10,30,.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.about-card.main {
  width: min(80%, 330px);
  aspect-ratio: 1;
  border-radius: 38px;
  padding: 1.2rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.about-card.main::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(174,110,255,.28);
  border-radius: 50%;
  animation: spin 14s linear infinite;
}

.about-card.main img {
  width: 100%;
  border-radius: 26px;
  position: relative;
  z-index: 1;
}

.about-card.main span {
  position: absolute;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(7,5,16,.75);
}

.about-card.small {
  position: absolute;
  padding: .8rem 1rem;
  border-radius: 14px;
  font-size: .75rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  animation: float 5s ease-in-out infinite;
}

.about-card.small i {
  color: var(--purple-3);
}

.card-one {
  left: 0;
  top: 15%;
}

.card-two {
  right: 0;
  top: 42%;
  animation-delay: -1.7s !important;
}

.card-three {
  left: 4%;
  bottom: 6%;
  animation-delay: -3s !important;
}

.about-copy p {
  color: var(--muted);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: .8rem;
}

.about-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: #dbd5e7;
}

.about-list i {
  color: var(--success);
  margin-top: .35rem;
}

.text-link {
  color: var(--purple-3);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
}

/* ==========================================================
   18. CHAMADA FINAL
   ========================================================== */

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 30px;
  padding: clamp(1.6rem,5vw,4rem);
  background: linear-gradient(120deg, rgba(54,16,111,.92), rgba(19,10,45,.95));
  box-shadow: 0 35px 90px rgba(0,0,0,.38);
}

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(204,129,255,.35), transparent 68%);
  z-index: -1;
}

.cta-owl {
  width: 92px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 34px rgba(159,67,255,.32);
}

.cta-copy p {
  color: #c9bfda;
  max-width: 680px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.5rem;
}

/* ==========================================================
   19. RODAPÉ
   ========================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 4rem;
  background: rgba(5,4,12,.72);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-grid h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-grid a {
  color: var(--muted);
  font-size: .82rem;
  transition: color .2s ease;
}

.footer-grid a:hover {
  color: var(--purple-3);
}

.footer-brand p {
  color: var(--muted);
  font-size: .84rem;
  max-width: 310px;
  margin-top: 1rem;
}

.socials {
  display: flex;
  gap: .65rem;
  margin-top: .6rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-block: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  color: #7f788f;
  font-size: .72rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 5.35rem;
  z-index: 55;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(205, 154, 255, .62);
  border-radius: 50%;
  background: linear-gradient(135deg, #7b21d8 0%, #a943ff 55%, #5920a8 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(126, 40, 214, .42), 0 0 24px rgba(176, 82, 255, .28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation: isolate;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(170, 79, 255, .25);
  border-radius: inherit;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

.floating-whatsapp i {
  font-size: 1.7rem;
  line-height: 1;
}

.floating-whatsapp span {
  position: absolute;
  right: calc(100% + .75rem);
  top: 50%;
  transform: translate(8px, -50%);
  padding: .48rem .68rem;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: rgba(14, 8, 31, .94);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(229, 195, 255, .92);
  box-shadow: 0 16px 38px rgba(126, 40, 214, .52), 0 0 34px rgba(176, 82, 255, .38);
}

.floating-whatsapp:hover span,
.floating-whatsapp:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

@keyframes whatsapp-pulse {
  0% {
    opacity: .7;
    transform: scale(.86);
  }
  75%, 100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(15,10,33,.8);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ==========================================================
   20. FORMULÁRIO E MODAL DE PROPOSTA
   ========================================================== */

.modal-intro {
  padding-right: 2.8rem;
}

.modal-intro h2 {
  font-size: clamp(2rem,5vw,3.5rem);
}

.modal-intro p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0;
}

.proposal-form label {
  display: grid;
  gap: .45rem;
  color: #ddd6ea;
  font-size: .82rem;
  font-weight: 700;
}

.proposal-form input, .proposal-form select, .proposal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: #fff;
  border-radius: 12px;
  padding: .85rem 1rem;
  outline: none;
  transition: .2s ease;
}

.proposal-form select option {
  color: #111;
}

.proposal-form input:focus, .proposal-form select:focus, .proposal-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(159,67,255,.12);
}

/* ==========================================================
   21. ESTADOS DE ANIMAÇÃO
   ========================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}

/* ==========================================================
   22. PROTEÇÕES DE LAYOUT E COMPATIBILIDADE
   ========================================================== */

main,
section,
header,
footer,
.site-container,
.hero-grid,
.about-grid,
.cta-panel,
.services-grid,
.tech-grid,
.portfolio-slider,
.swiper,
.swiper-wrapper,
.swiper-slide {
  min-width: 0;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 96px;
}

.hero-copy,
.hero-stage,
.section-heading,
.about-copy,
.cta-copy,
.footer-grid > div {
  min-width: 0;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.cta h2,
.project-body h3,
.footer-grid a,
.hero-lead,
.section-heading p,
.about-copy p {
  overflow-wrap: anywhere;
}

.services-grid.row {
  width: 100%;
  margin-inline: 0 !important;
}

.services-grid.row > [class*="col-"] {
  min-width: 0;
}

.client-bar {
  max-width: 100%;
}

.code-line {
  max-width: 100%;
}

.matrix-copy {
  padding-inline: 1rem;
  text-align: center;
}

.portfolio-slider:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

a.project-card {
  cursor: pointer;
}

a.project-card:hover {
  color: inherit;
}

/* ==========================================================
   23. GALERIA REAL DOS PROJETOS
   ========================================================== */

.project-gallery {
  position: relative;
  width: 100%;
  height: clamp(250px, 72vw, 330px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 80% 18%, rgba(159, 67, 255, .38), transparent 44%),
    linear-gradient(145deg, #17102d, #090713);
}

.project-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.project-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: #080610;
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}

.project-shot-primary {
  inset: 3.35rem 3.2rem 1rem 1rem;
  transform: perspective(800px) rotateY(3deg) rotateX(2deg);
}

.project-shot-secondary {
  right: .85rem;
  bottom: .85rem;
  width: 52%;
  height: 47%;
  transform: rotate(2deg);
  z-index: 2;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s ease;
}

a.project-card:hover .project-shot img {
  transform: scale(1.035);
}

.project-shot-phone img {
  object-fit: contain;
  background: #f5f5f5;
}

.project-gallery-phones .project-shot {
  top: 2.8rem;
  bottom: .85rem;
  width: 39%;
  height: auto;
  transform: none;
  background: #050505;
}

.project-gallery-phones .project-shot-primary {
  left: 8%;
  right: auto;
}

.project-gallery-phones .project-shot-secondary {
  right: 8%;
  left: auto;
}

.project-gallery-phones .project-shot img {
  object-fit: contain;
  background: #050505;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.15rem;
  color: var(--purple-3) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .8rem !important;
  font-weight: 800;
}

.project-link-muted {
  color: var(--muted) !important;
}

/* ==========================================================
   24. MODAL NATIVO DE PROPOSTA
   ========================================================== */

.proposal-dialog {
  width: min(calc(100% - 2rem), 880px);
  max-width: 880px;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--text);
  border: 0;
  border-radius: 26px;
  background: transparent;
}

.proposal-dialog::backdrop {
  background: rgba(2, 1, 8, .78);
  backdrop-filter: blur(10px);
}

.proposal-dialog[open] {
  animation: dialogIn .22s ease-out both;
}

.proposal-dialog-shell {
  position: relative;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-bright);
  border-radius: 26px;
  background: #0c091b;
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: var(--purple) rgba(255,255,255,.04);
}

.proposal-dialog-body {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.proposal-dialog-close {
  position: sticky;
  float: right;
  top: .8rem;
  right: .8rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin: .8rem .8rem -3.5rem 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: #17102c;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.proposal-dialog-close:hover {
  transform: rotate(8deg) scale(1.05);
  background: var(--purple-2);
}

.proposal-dialog .modal-intro {
  padding-right: 3.2rem;
}

.proposal-dialog .button-primary {
  border: 0;
}

.proposal-dialog-close span {
  display: block;
  font: 400 1.8rem/1 Arial, sans-serif;
  transform: translateY(-1px);
}

/* ==========================================================
   25. ANIMAÇÕES
   ========================================================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.1);
    opacity: .7;
  }
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 54px rgba(159,67,255,.55);
  }
}

@keyframes brandMarqueeMobile {
  to {
    transform: translateX(-50%);
  }
}

@keyframes brandMarqueeDesktop {
  to {
    transform: translateX(-50%);
  }
}

@keyframes moveAcross {
  from {
    left: 4%;
  }

  to {
    left: 96%;
  }
}

@keyframes codeSlide {
  from {
    transform: translateX(-8%);
  }

  to {
    transform: translateX(8%);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -112;
  }
}

@keyframes waveFloat {
  50% {
    transform: translateY(-16px) scale(1.2);
  }
}

@keyframes pulseTravel {
  from {
    left: 0;
  }

  to {
    left: 100%;
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================
   26. RESPONSIVIDADE
   ========================================================== */

@media (max-width: 380px) {
  .tech-grid {
    gap: 0.7rem;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-badges {
    font-size: .72rem;
  }

  .floating-card {
    display: none;
  }

  .about-card.small {
    display: none;
  }

  .about-visual {
    min-height: 300px;
  }

  .project-gallery {
    height: 248px;
  }
}

@media (max-width: 599px) {
  .section-space {
    padding-block: 4.6rem;
  }

  .section-tight {
    padding-block: 2.75rem;
  }

  .site-header .site-container {
    padding-inline: max(1.35rem, env(safe-area-inset-left));
  }

  .main-nav {
    padding-inline: 1.5rem;
    max-width: 100vw;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 13vw, 3.45rem);
  }

  .hero-actions > *, .cta-actions > * {
    width: 100%;
  }

  .hero-stage {
    min-height: 310px;
  }

  .floating-card {
    max-width: 44%;
    padding: .58rem .65rem;
    font-size: .62rem;
  }

  .card-code {
    left: .2rem;
  }

  .card-growth {
    right: .2rem;
  }

  .card-secure {
    right: .4rem;
    bottom: .6rem;
  }

  .service-card p {
    min-height: 0;
  }

  .about-visual {
    min-height: 360px;
    overflow: clip;
    border-radius: 28px;
  }

  .about-card.small {
    padding: .62rem .72rem;
    font-size: .66rem;
  }

  .card-one {
    left: .25rem;
  }

  .card-two {
    right: .25rem;
  }

  .card-three {
    left: .5rem;
  }

  .project-gallery {
    height: 270px;
  }

  .project-shot-primary {
    inset: 3.25rem 2.45rem .9rem .8rem;
  }

  .project-shot-secondary {
    right: .65rem;
    bottom: .65rem;
    width: 55%;
    height: 45%;
  }

  .project-gallery-phones .project-shot {
    top: 2.8rem;
    bottom: .65rem;
    width: 41%;
  }

  .project-gallery-phones .project-shot-primary {
    left: 6%;
  }

  .project-gallery-phones .project-shot-secondary {
    right: 6%;
  }

  .slider-controls {
    margin-top: 1.35rem;
  }

  .pulse-label {
    letter-spacing: .08em;
  }

  .proposal-dialog {
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
  }

  .proposal-dialog-shell {
    max-height: calc(100dvh - 1.25rem);
    border-radius: 21px;
  }

  .proposal-dialog-body {
    padding: 1.35rem;
  }

  .proposal-dialog .modal-intro {
    padding-right: 2.6rem;
  }

  .proposal-dialog .modal-intro h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .proposal-dialog-close {
    width: 42px;
    height: 42px;
    margin: .65rem .65rem -3.25rem 0;
  }

  .proposal-form .button-primary {
    width: 100%;
  }

  .footer-grid a {
    overflow-wrap: anywhere;
  }

  .floating-whatsapp {
    right: .85rem;
    bottom: 5rem;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp i {
    font-size: 1.55rem;
  }

  .floating-whatsapp span {
    display: none;
  }
}


@media (min-width: 600px) {
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-actions, .cta-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .button-primary, .hero-actions .button-secondary {
    width: auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / -1;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .portfolio-slider:not(.swiper-initialized) .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    inset: auto;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.45rem;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    font-size: .8rem;
  }

  .nav-cta {
    margin-left: .4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    gap: clamp(2rem,5vw,6rem);
  }

  .hero-stage {
    min-height: 520px;
  }

  .client-bar {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.2rem;
  }

  .client-label {
    margin: 0;
    text-align: left;
  }

  .brand-carousel--mobile {
    display: none;
  }

  .brand-carousel--desktop {
    display: block;
  }

  .brand-carousel {
    --brand-gap: 1rem;
  }

  .brand-carousel__track--desktop {
    animation: brandMarqueeDesktop 36s linear infinite;
  }

  .brand-carousel__item {
    flex-basis: 168px;
    width: 168px;
    height: 82px;
    padding: .72rem .9rem;
    border-radius: 18px;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-heading.split {
    grid-template-columns: 1fr .7fr;
    align-items: end;
  }

  .process-line {
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
  }

  .process-line::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
  }

  .process-step {
    border: 0;
    background: transparent;
    text-align: center;
    padding: .3rem;
  }

  .step-icon {
    margin-inline: auto;
    position: relative;
    z-index: 2;
    background: #100a24;
  }

  .process-step > span {
    display: none;
  }

  .about-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(4rem,8vw,8rem);
  }

  .cta-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }

  .cta-owl {
    width: 130px;
    margin: 0;
  }

  .cta-actions {
    margin: 0;
    flex-direction: column;
    min-width: 210px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .portfolio-slider {
    padding-inline: 1px;
  }

  .project-gallery {
    height: 315px;
  }

  .project-shot-primary {
    inset: 3.4rem 4.3rem 1rem 1rem;
  }

  .project-shot-secondary {
    width: 48%;
    height: 45%;
  }
}

@media (min-width: 1200px) {
  .nav-shell {
    min-height: 86px;
  }

  .main-nav {
    gap: 2rem;
  }

  .main-nav a {
    font-size: .84rem;
  }

  .hero {
    padding-top: 9rem;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 6.3vw, 6.6rem);
  }

  .service-card {
    padding: 1.8rem;
  }

  .project-preview {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::before { animation: none; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   29. SELETOR DE IDIOMAS
   ========================================================== */

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.28rem;
  border: 1px solid rgba(185, 132, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 18px rgba(133, 62, 255, 0.06);
}

.language-switcher__button {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aaa2bc;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  color: #fff;
  background: rgba(159, 67, 255, 0.18);
  outline: none;
}

.language-switcher__button:focus-visible {
  box-shadow: 0 0 0 2px rgba(200, 140, 255, 0.55);
}

.language-switcher__button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: 0 5px 15px rgba(111, 32, 255, 0.34);
}

.language-switcher__button:active {
  transform: scale(0.94);
}

@media (max-width: 899px) {
  .main-nav {
    overflow-y: auto;
  }

  .language-switcher {
    margin-top: 0.35rem;
  }
}

@media (min-width: 900px) {
  .language-switcher {
    margin-left: 0.1rem;
    flex-shrink: 0;
  }

  .language-switcher__button {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.61rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .main-nav {
    gap: 0.9rem;
  }

  .main-nav a {
    font-size: 0.74rem;
  }

  .nav-cta {
    margin-left: 0;
    padding-inline: 1rem;
  }
}
