﻿/* ========================================
   EVOLUTIVA - CSS STYLES
   ======================================== */

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-background: #050d17;
  --color-surface: #0a1929;
  --color-surface-light: #0f2744;
  --color-primary: #ec1d78;
  --color-accent: #00cc99;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-text-subtle: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Text selection — brand colors */
::selection {
  background: rgba(236, 29, 120, 0.55);
  color: #ffffff;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(236, 29, 120, 0.55);
  color: #ffffff;
  text-shadow: none;
}

/* Titles, buttons, labels — not selectable */
h1, h2, h3, h4, h5, h6,
button,
label,
.nav-link,
.btn-contact,
.section-badge,
.section-title,
.section-title span,
.form-title,
.support-title,
.service-card h3,
.submit-btn,
.support-submit,
.support-back-link,
.header,
.footer,
.footer-nav-link,
.footer-copy,
.logo-link,
.checkbox-group-label,
.checkbox-item span,
.hero-subtitle,
.ts-huge,
.ts-word,
.ip-phrase,
svg {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
p,
.section-description,
.service-card p,
.form-subtitle,
.contact-form-container textarea {
  -webkit-user-select: text;
  user-select: text;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(5, 13, 23, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 transparent;
  transition:
    background 0.55s ease,
    backdrop-filter 0.55s ease,
    -webkit-backdrop-filter 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

.header.scrolled {
  background: rgba(5, 13, 23, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.035);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.lang-toggle {
  background: none;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
  line-height: 1;
}
.lang-toggle:hover { border-color: var(--color-secondary); transform: scale(1.1); }

.btn-contact {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-contact:hover {
  background: #d11a6a;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(236, 29, 120, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-background);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* ========================================
   HERO VIDEO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030508;
  overflow: hidden;
  isolation: isolate;
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.95s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.85s ease;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

/* Cluster play + glows centralizado */
.hero-play-cluster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 88vw);
  height: min(420px, 88vw);
  z-index: 2;
}

.hero-parallax-layer {
  will-change: transform;
}

/* BG atrás do player — orbita + parallax próprio */
.hero-player-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  animation: hero-orbit-spin 22s linear infinite;
}

@keyframes hero-orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-orbit .hero-glow-teal,
.hero-orbit .hero-glow-magenta {
  width: min(280px, 46vw);
  height: min(280px, 46vw);
  top: 0;
  left: 0;
}

.hero-orbit .hero-glow-teal {
  transform: translate(-50%, -50%) translateY(-108px);
  background: radial-gradient(
    circle,
    rgba(0, 204, 153, 0.44) 0%,
    rgba(0, 204, 153, 0.17) 42%,
    transparent 70%
  );
  filter: blur(56px);
  animation: hero-bg-pulse 5s ease-in-out infinite;
}

.hero-orbit .hero-glow-magenta {
  transform: translate(-50%, -50%) translateY(108px);
  background: radial-gradient(
    circle,
    rgba(236, 29, 120, 0.42) 0%,
    rgba(180, 20, 100, 0.17) 42%,
    transparent 70%
  );
  filter: blur(58px);
  animation: hero-bg-pulse-magenta 5s ease-in-out infinite;
  animation-delay: 2.5s;
}

.hero-player-bg .hero-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(340px, 56vw);
  height: min(340px, 56vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(236, 29, 120, 0.32) 0%,
    rgba(236, 29, 120, 0.12) 45%,
    transparent 68%
  );
  filter: blur(52px);
  animation: hero-bg-pulse-center 5s ease-in-out infinite;
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit {
    animation: none;
  }
  .hero-orbit .hero-glow-teal {
    transform: translate(-50%, -50%) translateY(-108px);
  }
  .hero-orbit .hero-glow-magenta {
    transform: translate(-50%, -50%) translateY(108px);
  }
}

@keyframes hero-bg-pulse {
  0%, 100% {
    opacity: 0.75;
    filter: blur(56px);
  }
  50% {
    opacity: 1;
    filter: blur(68px);
  }
}

@keyframes hero-bg-pulse-magenta {
  0%, 100% {
    opacity: 0.7;
    filter: blur(58px);
  }
  50% {
    opacity: 0.98;
    filter: blur(70px);
  }
}

@keyframes hero-bg-pulse-center {
  0%, 100% {
    opacity: 0.65;
    filter: blur(52px);
  }
  50% {
    opacity: 0.92;
    filter: blur(64px);
  }
}

.hero-parallax-item {
  will-change: transform;
  position: relative;
  z-index: 2;
}

/* Hero fades away when player opens — crossfade with immersive layer */
.hero.hero-exit {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(10px);
  pointer-events: none;
}

.hero.hero-exit .hero-play-cluster {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero.hero-exit .play-button-container,
.hero.hero-exit .scroll-indicator {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(28px) saturate(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(1.05);
  background: rgba(3, 5, 10, 0.28);
}

.play-button-container {
  position: relative;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.5s ease;
  will-change: transform;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  animation: pulse 2s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.play-button {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 48px rgba(236, 29, 120, 0.55);
}

.play-button:hover {
  transform: scale(1.06);
  box-shadow: 0 0 64px rgba(236, 29, 120, 0.65);
}

.play-button svg {
  width: 40px;
  height: 40px;
  fill: white;
  margin-left: 5px;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 1s;
}

.pulse-ring:nth-child(4) {
  animation-delay: 1.5s;
}

/* ========================================
   IMMERSIVE PLAYER
   ======================================== */

.immersive-player {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: #02060f;
  z-index: 500;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.95s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.05s cubic-bezier(0.4, 0, 0.2, 1);
}

.immersive-player.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  touch-action: none;
}

/* Exit: everything fades back smoothly */
.immersive-player.ip-exiting {
  opacity: 0 !important;
  transform: scale(1.02) !important;
  pointer-events: none !important;
  transition:
    opacity 0.62s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.62s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Scroll parallax exit — shifts in scroll direction */
.immersive-player.ip-scroll-exit {
  pointer-events: none !important;
  /* transform/opacity applied inline by JS for direction */
}

/* Text also zooms away during exit */
/* Text fades out with the rest of the player during exit */
.immersive-player.ip-exiting .ip-scene-text {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.immersive-player.ip-exiting .ip-brand-reveal {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

/* Particle canvas */
.ip-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Veil: covers galaxy on open, fades out gradually to reveal it */
.ip-open-veil {
  position: absolute;
  inset: 0;
  background: #02060f;
  z-index: 6;
  pointer-events: none;
  opacity: 1;
  transition: opacity 4.5s cubic-bezier(0.45, 0, 0.2, 1);
}
.ip-open-veil.fade-out { opacity: 0; }

/* Synthwave bg — renderizado no canvas; camada CSS desativada */
.ip-grid-bg {
  display: none;
}

/* Animated scan line — removed */
.ip-scan-line { display: none; }

/* Corner bracket decorations — removed */
.ip-corner { display: none; }

/* Content stage â€” text is now rendered on canvas, stage is hidden */
.ip-content { display: none; }
.ip-phrase-stage { display: none; }

/* ===== TEXT DISPLAY — fade in / fade out, positioned near icons ===== */

/* Sits just below the particle icon cluster */
.ip-text-display {
  position: absolute;
  left: 0; right: 0;
  top: calc(50% + min(20vmin, 158px));
  z-index: 15;
  pointer-events: none;
  min-height: 4.25rem;
  overflow: visible;
}

/* Text block — absolutely stacked so fade-in/out never shifts position */
/* ── Base text — all scenes share same size ─────────────────────────── */
.ip-scene-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(520px, 92vw);
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(0.92rem, 2.35vw, 1.25rem);
  line-height: 1.28;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, filter, transform;
  text-shadow: 0 0 10px rgba(255,255,255,.5), 0 0 28px rgba(255,255,255,.18);
}
.ip-scene-text.ip-txt-in {
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) translateY(0);
}
.ip-scene-text.ip-txt-out {
  opacity: 0;
  filter: blur(4px);
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

/* ── Variants — colour/weight only, no extra size except ts-huge ────── */
.ip-scene-text.ts-whisper {
  font-weight: 300;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,.48);
  text-shadow: 0 0 16px rgba(255,255,255,.20);
}
.ip-scene-text.ts-normal  { font-weight: 700; }
.ip-scene-text.ts-impact {
  font-weight: 900;
  letter-spacing: 0.10em;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,255,255,.85),
    0 0 30px rgba(255,255,255,.35),
    0 0 60px rgba(255,255,255,.12);
}
.ip-scene-text.ts-impact::before,
.ip-scene-text.ts-impact::after {
  content: '';
  display: block;
  height: 1px;
  width: 36%;
  margin: 0.4em auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.ip-scene-text.ts-tech {
  font-weight: 800;
  color: #00cc99;
  text-shadow: 0 0 10px #00cc99, 0 0 26px rgba(0,204,153,.65), 0 0 50px rgba(0,204,153,.3);
}
.ip-scene-text.ts-creative {
  font-weight: 800;
  color: #ec1d78;
  text-shadow: 0 0 10px #ec1d78, 0 0 26px rgba(236,29,120,.65), 0 0 50px rgba(236,29,120,.3);
}
.ip-scene-text.ts-quote {
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,.72);
  text-shadow: 0 0 18px rgba(255,255,255,.22);
}

/* ── ts-huge: EVOLUÇÃO — standalone impact, all others stay small ────── */
.ip-scene-text.ts-huge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.22;
  padding: 0.18em 0.12em 0.06em;
  overflow: visible;
  text-transform: uppercase;
  background: linear-gradient(135deg,#fff 0%,#ff9fce 28%,#eb1d78 52%,#00cc99 72%,#00ffcc 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation:
    ts-grad       2.6s ease-in-out infinite alternate,
    ts-huge-pulse 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  filter:
    drop-shadow(0 0 18px rgba(235,29,120,.9))
    drop-shadow(0 0 40px rgba(0,204,153,.65))
    drop-shadow(0 0 80px rgba(235,29,120,.3));
  text-shadow: none;
  transform-origin: center center;
}
@keyframes ts-grad {
  0%   { background-position: 0%   50%; }
  100% { background-position: 100% 50%; }
}
@keyframes ts-huge-pulse {
  0%   { transform: translateX(-50%) translateY(0) scale(0.88); }
  55%  { transform: translateX(-50%) translateY(0) scale(1.04); }
  100% { transform: translateX(-50%) translateY(0) scale(0.88); }
}

@media (max-width: 768px) {
  .ip-text-display {
    top: calc(44% + min(26vmin, 142px));
    min-height: 4.75rem;
  }

  .ip-scene-text {
    width: min(520px, 94vw);
    line-height: 1.32;
  }

  .ip-scene-text.ts-huge {
    font-size: clamp(2rem, 11vw, 3.6rem);
    padding-top: 0.22em;
  }

  .ip-brand-reveal.active {
    transform: translateY(-2vh);
  }

  .ip-skip-btn { bottom: 1.2rem; right: 1rem; font-size: 0.73rem; }
}

@media (max-width: 600px) {
  .ip-text-display {
    top: calc(44% + min(24vmin, 128px));
  }
}
/* ---- Phrase base ---- */
.ip-phrase {
  position: absolute;
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  pointer-events: none;
  animation: ip-phrase-enter 0.55s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.ip-phrase.exiting {
  animation: ip-phrase-exit 0.32s ease-in both !important;
}

@keyframes ip-phrase-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes ip-phrase-exit {
  from { opacity: 1; transform: translateY(0)    scale(1); }
  to   { opacity: 0; transform: translateY(-18px) scale(0.97); }
}

/* ---- Style variants ---- */
.ip-phrase.style-whisper {
  font-size: clamp(1rem, 2.4vw, 1.55rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.48);
}

.ip-phrase.style-normal {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
}

.ip-phrase.style-impact {
  font-size: clamp(1.75rem, 4.2vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ip-phrase.style-huge-impact {
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #eb1d78 0%, #ff6bb3 35%, #00cc99 70%, #00ffcc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ip-phrase-enter 0.4s cubic-bezier(0.23, 1, 0.32, 1) both,
             ip-grad-shift 5s ease-in-out infinite alternate;
}

@keyframes ip-grad-shift {
  0%   { background-position: 0% 50%;   }
  100% { background-position: 100% 50%; }
}

.ip-phrase.style-tech {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: #eb1d78;
  text-shadow:
    0 0 22px rgba(235, 29, 120, 0.65),
    0 0 55px rgba(235, 29, 120, 0.22);
}

.ip-phrase.style-creative {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: #00cc99;
  text-shadow:
    0 0 22px rgba(0, 204, 153, 0.65),
    0 0 55px rgba(0, 204, 153, 0.22);
}

.ip-phrase.style-highlight-tech {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 35px rgba(235, 29, 120, 0.18);
}

.ip-phrase.style-highlight-creative {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 35px rgba(0, 204, 153, 0.18);
}

.ip-phrase.style-quote {
  font-size: clamp(1.3rem, 2.8vw, 2.15rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}

/* ---- Word-level slide-reveal ---- */
.ip-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}

.ip-word-inner {
  display: inline-block;
  animation: ip-word-up 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ip-word-up {
  from { transform: translateY(108%); }
  to   { transform: translateY(0%); }
}

/* ---- Character fragment mode (impact / huge-impact) ---- */
.ip-char {
  display: inline-block;
  animation: ip-char-frag 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ip-char-frag {
  0% {
    transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--dr, 0deg)) scale(0.05);
    opacity: 0;
    filter: blur(10px);
  }
  55% {
    filter: blur(0px);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* ---- Brand reveal ---- */
.ip-brand-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 0.8vw, 0.55rem);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.ip-brand-reveal.active {
  opacity: 1;
  visibility: visible;
}

/* Logo wrapper — holds img + ring pseudo-elements */
.ip-brand-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ip-brand-reveal.sub-visible .ip-brand-logo-wrap {
  transform: translateY(-0.9rem);
}
/* Expanding ring pulses — pink first, then green */
.ip-brand-logo-wrap::before,
.ip-brand-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.ip-brand-logo-wrap::before {
  border: 1.5px solid rgba(236, 29, 120, 0.8);
  animation: ip-ring-pulse 2s ease-out 2.0s forwards;
}
.ip-brand-logo-wrap::after {
  border: 1.5px solid rgba(0, 204, 153, 0.7);
  animation: ip-ring-pulse 2s ease-out 3.1s forwards;
}
@keyframes ip-ring-pulse {
  0%   { opacity: 0.9; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(3.2); }
}
.ip-brand-logo {
  max-width: min(260px, 52vw);
  width: 100%;
  animation: ip-brand-in 5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ip-brand-reveal.sub-visible .ip-brand-logo {
  filter: drop-shadow(0 0 28px rgba(236, 29, 120, 0.75));
}

@keyframes ip-brand-in {
  /* ① Materialize: teal-tinted glowing blob */
  0%   { opacity: 0; transform: scale(0.06);
         filter: blur(28px) brightness(9) sepia(1) saturate(14) hue-rotate(133deg)
                 drop-shadow(0 0 80px #00cc99); }
  12%  { opacity: 1;
         filter: blur(14px) brightness(4) sepia(1) saturate(12) hue-rotate(133deg)
                 drop-shadow(0 0 55px rgba(0,204,153,.95)); }
  28%  { transform: scale(1.12);
         filter: blur(2px) brightness(1.5) sepia(0.9) saturate(7) hue-rotate(133deg)
                 drop-shadow(0 0 35px rgba(0,204,153,.8)); }
  /* ② Mid reveal: teal fades, original colors emerge */
  46%  { transform: scale(0.97);
         filter: blur(0) sepia(0.5) saturate(3.5) hue-rotate(90deg)
                 drop-shadow(0 0 28px rgba(0,204,153,.55)); }
  62%  { transform: scale(1.03);
         filter: sepia(0.15) saturate(1.8) hue-rotate(40deg)
                 drop-shadow(0 0 22px rgba(100,200,150,.4)); }
  /* ③ Final: original logo colours */
  80%  { filter: drop-shadow(0 0 22px rgba(236,29,120,.55)); }
  100% { transform: scale(1); opacity: 1;
         filter: drop-shadow(0 0 22px rgba(236,29,120,.65)); }
}

/* Tagline — one line, small, bold, types in green */
.ip-brand-sub {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.52rem, 0.95vw, 0.68rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: #00cc99;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
  text-align: center;
  white-space: nowrap;
}

.ip-brand-reveal.sub-visible .ip-brand-sub {
  opacity: 1;
  transform: translateY(0);
}

.ip-bsub-l1 { display: inline; }

/* hidden — kept in case of leftover refs */
.ip-bsub-sep, .ip-bsub-l2-wrap { display: none; }
/* ---- Immersive entry ripple (plays on play button click) ---- */
.ip-intro-ripple {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,29,120,0.85) 0%, rgba(0,204,153,0.55) 50%, transparent 72%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 498;
  opacity: 1;
}

.ip-intro-ripple.go {
  transform: translate(-50%, -50%) scale(360);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.44, 1),
              opacity    0.5s ease 0.25s;
}

/* Continue button — rosa padrão, hover verde animado */
.ip-continue-btn {
  position: absolute;
  bottom: clamp(2.5rem, 7vh, 4.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ec1d78;
  color: #fff;
  border: none;
  padding: 0.7rem 2.2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
    visibility 0.55s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    letter-spacing 0.35s ease;
  box-shadow:
    0 6px 28px rgba(236, 29, 120, 0.45),
    0 0 0 0 rgba(236, 29, 120, 0.25);
}

.ip-continue-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ip-continue-btn:hover {
  background: #00cc99;
  transform: translateX(-50%) translateY(-6px) scale(1.06);
  letter-spacing: 0.18em;
  box-shadow:
    0 14px 42px rgba(0, 204, 153, 0.55),
    0 0 32px rgba(0, 204, 153, 0.35),
    0 0 0 6px rgba(0, 204, 153, 0.12);
  animation: ip-continue-glow 1.2s ease-in-out infinite;
}

.ip-continue-btn svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.ip-continue-btn:hover svg {
  transform: translateY(4px) scale(1.15);
  animation: ip-continue-arrow 0.7s ease-in-out infinite;
}

@keyframes ip-continue-glow {
  0%, 100% {
    box-shadow:
      0 14px 42px rgba(0, 204, 153, 0.5),
      0 0 28px rgba(0, 204, 153, 0.3),
      0 0 0 4px rgba(0, 204, 153, 0.1);
  }
  50% {
    box-shadow:
      0 18px 48px rgba(0, 204, 153, 0.65),
      0 0 44px rgba(0, 204, 153, 0.45),
      0 0 0 8px rgba(0, 204, 153, 0.16);
  }
}

@keyframes ip-continue-arrow {
  0%, 100% { transform: translateY(4px) scale(1.15); }
  50%       { transform: translateY(8px) scale(1.15); }
}

/* ---- Progress bar ---- */
.ip-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 20;
  overflow: visible;
}

.ip-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ec1d78 0%, #00cc99 100%);
  transition: width 0.12s linear;
  position: relative;
}

.ip-progress-fill::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00cc99;
  box-shadow:
    0 0 8px 2px rgba(0, 204, 153, 0.9),
    0 0 20px 4px rgba(236, 29, 120, 0.4);
}

/* ---- Skip button ---- */
.ip-skip-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.05rem 0.52rem 0.95rem;
  background: rgba(8, 10, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  cursor: pointer;
  z-index: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  animation: ip-skip-fadein 0.6s ease 0.8s both;
}

@keyframes ip-skip-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ip-skip-btn.visible {
  display: flex;
}

.ip-skip-btn:hover {
  background: rgba(235, 29, 120, 0.16);
  border-color: rgba(235, 29, 120, 0.5);
  color: #eb1d78;
  box-shadow: 0 0 18px rgba(235, 29, 120, 0.22);
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .ip-skip-btn { bottom: 1rem; right: 0.8rem; font-size: 0.7rem; }
  .ip-text-display { top: calc(44% + min(22vmin, 116px)); }
  .ip-brand-reveal.active { transform: translateY(-1vh); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  --hero-si-x: 0px;
  --hero-si-y: 0px;
  transform: translate(calc(-50% + var(--hero-si-x)), var(--hero-si-y));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 3;
  will-change: transform;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.scroll-indicator.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translate(calc(-50% + var(--hero-si-x)), var(--hero-si-y)); }
  50% { transform: translate(calc(-50% + var(--hero-si-x)), calc(var(--hero-si-y) + 10px)); }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 120px 2rem;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(236, 29, 120, 0.1);
  border: 1px solid rgba(236, 29, 120, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-surface) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: rgba(236, 29, 120, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(236, 29, 120, 0.1), rgba(0, 204, 153, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-primary);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--color-surface);
  border-radius: 24px;
  border: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
  background: var(--color-surface);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(236, 29, 120, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 23, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 2rem;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: linear-gradient(
    180deg,
    rgba(1, 3, 7, 0.99) 0%,
    rgba(0, 1, 4, 1) 100%
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

/* ── Services fold parallax ── */
.services-fold {
  position: relative;
  overflow: hidden;
}

.services-fold::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(96px) saturate(0.82);
  -webkit-backdrop-filter: blur(96px) saturate(0.82);
  background: linear-gradient(
    180deg,
    rgba(0, 2, 6, 0.82) 0%,
    rgba(0, 1, 3, 0.92) 100%
  );
}

.services-fold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.services-parallax-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.45s ease-out;
}

.services-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(240px);
  opacity: 0.12;
  will-change: transform;
}

.services-orb-1 {
  width: 560px;
  height: 560px;
  top: -15%;
  right: -12%;
  background: rgba(236, 29, 120, 0.015);
}

.services-orb-2 {
  width: 480px;
  height: 480px;
  bottom: -20%;
  left: -10%;
  background: rgba(0, 204, 153, 0.01);
}

.services-fold .section-container {
  position: relative;
  z-index: 3;
}

.services-fold .section-header {
  will-change: transform;
  transition: transform 0.4s ease-out;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px) saturate(1.12);
  -webkit-backdrop-filter: blur(40px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.15s ease-out,
              background 0.45s ease,
              box-shadow 0.45s ease,
              backdrop-filter 0.45s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--lift, 0px));
  will-change: transform;
  --angle: 135deg;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.25);
}

.service-card.is-active {
  --lift: -8px;
}

/* Neon border — follows cursor angle + position */
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 2px;
  background:
    radial-gradient(
      220px circle at var(--mx, 50%) var(--my, 50%),
      rgba(236, 29, 120, 0.95) 0%,
      rgba(0, 204, 153, 0.55) 28%,
      transparent 52%
    ),
    conic-gradient(
      from var(--angle, 135deg),
      #ec1d78 0deg,
      #00cc99 90deg,
      #ec1d78 180deg,
      rgba(236, 29, 120, 0.25) 270deg,
      #ec1d78 360deg
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.32;
  transition: opacity 0.4s ease, filter 0.35s ease;
  pointer-events: none;
  z-index: 2;
  filter:
    drop-shadow(0 0 8px rgba(236, 29, 120, 0.45))
    drop-shadow(0 0 18px rgba(0, 204, 153, 0.3));
}

/* Glass spotlight — inner bg blur glow, reaches edges */
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background:
    radial-gradient(
      420px circle at var(--mx, 50%) var(--my, 50%),
      rgba(236, 29, 120, 0.16) 0%,
      rgba(0, 204, 153, 0.08) 32%,
      transparent 58%
    ),
    radial-gradient(
      160px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.08) 0%,
      transparent 72%
    );
  opacity: 0.45;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card.is-active {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(56px) saturate(1.2);
  -webkit-backdrop-filter: blur(56px) saturate(1.2);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(236, 29, 120, 0.14),
    0 0 36px rgba(236, 29, 120, 0.22),
    0 0 72px rgba(0, 204, 153, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.42);
}

.service-card.is-active::before {
  opacity: 1;
  filter:
    drop-shadow(0 0 10px rgba(236, 29, 120, 0.65))
    drop-shadow(0 0 22px rgba(0, 204, 153, 0.45));
}

.service-card.is-active::after {
  opacity: 1;
}

.service-card:hover {
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(-8px);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(56px) saturate(1.2);
  -webkit-backdrop-filter: blur(56px) saturate(1.2);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(236, 29, 120, 0.14),
    0 0 36px rgba(236, 29, 120, 0.22),
    0 0 72px rgba(0, 204, 153, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.42);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(236, 29, 120, 0.1), rgba(0, 204, 153, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: var(--color-background);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  padding-right: 2rem;
}

.contact-info h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(236, 29, 120, 0.1), rgba(0, 204, 153, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

.benefit-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-content p {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  margin-bottom: 0;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(32px) saturate(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --angle: 135deg;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 12px 40px rgba(0, 0, 0, 0.28);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1.5px;
  background:
    radial-gradient(
      280px circle at var(--mx, 50%) var(--my, 50%),
      rgba(236, 29, 120, 0.7) 0%,
      rgba(0, 204, 153, 0.4) 30%,
      transparent 55%
    ),
    conic-gradient(
      from var(--angle, 135deg),
      rgba(236, 29, 120, 0.55) 0deg,
      rgba(0, 204, 153, 0.45) 90deg,
      rgba(236, 29, 120, 0.55) 180deg,
      rgba(236, 29, 120, 0.15) 270deg,
      rgba(236, 29, 120, 0.55) 360deg
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.2;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 2;
}

.contact-form-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    radial-gradient(
      520px circle at var(--mx, 50%) var(--my, 50%),
      rgba(236, 29, 120, 0.1) 0%,
      rgba(0, 204, 153, 0.05) 35%,
      transparent 60%
    );
  opacity: 0.35;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

.contact-form-container.is-active {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(40px) saturate(1.15);
  -webkit-backdrop-filter: blur(40px) saturate(1.15);
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(236, 29, 120, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(236, 29, 120, 0.08);
}

.contact-form-container.is-active::before {
  opacity: 0.48;
}

.contact-form-container.is-active::after {
  opacity: 0.55;
}

.contact-form-container > * {
  position: relative;
  z-index: 1;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-form-container .form-title {
  background: linear-gradient(135deg, #eb1d78 0%, #ff6bb3 35%, #00cc99 70%, #00ffcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(235, 29, 120, 0.22));
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(236, 29, 120, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group select option {
  background: var(--color-surface);
  color: var(--color-text);
}

/* Contact form — modern glass inputs */
.contact-form-container .form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.42rem;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-form-container .form-group input,
.contact-form-container .form-group select,
.contact-form-container .form-group textarea {
  padding: 0.88rem 1.05rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form-container .form-group input:hover:not(:focus):not(:disabled),
.contact-form-container .form-group select:hover:not(:focus),
.contact-form-container .form-group textarea:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.048);
}

.contact-form-container .form-group input:focus,
.contact-form-container .form-group select:focus,
.contact-form-container .form-group textarea:focus {
  border-color: rgba(236, 29, 120, 0.5);
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 3px rgba(236, 29, 120, 0.12),
    0 0 28px rgba(236, 29, 120, 0.07);
}

.contact-form-container .form-group input::placeholder,
.contact-form-container .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.contact-form-container .form-group textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form-container .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.contact-form-container .phone-wrap {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form-container .phone-wrap:hover:not(:focus-within) {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.048);
}

.contact-form-container .phone-wrap:focus-within {
  border-color: rgba(236, 29, 120, 0.5);
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 3px rgba(236, 29, 120, 0.12),
    0 0 28px rgba(236, 29, 120, 0.07);
}

.contact-form-container .phone-wrap select.phone-cc,
.contact-form-container .phone-wrap .phone-cc-native {
  display: none !important;
}

.contact-form-container .phone-wrap input[type="tel"],
.contact-form-container .phone-wrap input#phone {
  padding: 0.88rem 1.05rem !important;
  font-size: 0.95rem !important;
  border-radius: 0 14px 14px 0 !important;
}

.contact-form-container .phone-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-group-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.checkbox-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-item input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-item input:checked + .checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-custom svg {
  width: 12px;
  height: 12px;
  stroke: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkbox-item input:checked + .checkbox-custom svg {
  opacity: 1;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Contact — project type as pill chips */
.contact-form-container .checkbox-group {
  margin-bottom: 1.35rem;
}

.contact-form-container .checkbox-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-form-container .checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-form-container .checkbox-item {
  gap: 0;
  padding: 0.52rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.contact-form-container .checkbox-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form-container .checkbox-item:has(input:checked) {
  border-color: rgba(236, 29, 120, 0.55);
  background: linear-gradient(
    135deg,
    rgba(236, 29, 120, 0.18) 0%,
    rgba(0, 204, 153, 0.1) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 22px rgba(236, 29, 120, 0.1);
  transform: translateY(-1px);
}

.contact-form-container .checkbox-custom {
  display: none;
}

.contact-form-container .checkbox-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.22s ease;
}

.contact-form-container .checkbox-item:has(input:checked) .checkbox-label {
  color: #fff;
}

.contact-form-container .submit-btn {
  margin-top: 0.35rem;
  border-radius: 14px;
  padding: 0.95rem 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 32px rgba(236, 29, 120, 0.22);
}

.contact-form-container .submit-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 40px rgba(236, 29, 120, 0.32);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), #d11a6a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(236, 29, 120, 0.3);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
    text-align: center;
  }
  
  .benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-options {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin: 1.5rem 0;
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand .logo {
  height: 64px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--color-text-subtle);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--color-text-subtle);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   CLIENT LOGO CAROUSEL
═══════════════════════════════════════════════════════════════ */
.clients {
  padding: 80px 0;
}
.clients-sliders {
  display: flex;
  flex-direction: column;
  gap: 18px;
  user-select: none;
  -webkit-user-select: none;
}
.clients-carousel {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
}
.clients-track--rtl {
  animation: ev-marquee-rtl 95s linear infinite;
  animation-play-state: running;
  -webkit-animation: ev-marquee-rtl 95s linear infinite;
}
.clients-track--ltr {
  animation: ev-marquee-ltr 105s linear infinite;
  animation-play-state: running;
  -webkit-animation: ev-marquee-ltr 105s linear infinite;
}
.clients-carousel:hover .clients-track--rtl,
.clients-carousel:hover .clients-track--ltr {
  animation-play-state: running;
}
@keyframes ev-marquee-rtl {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes ev-marquee-ltr {
  from { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
  to   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@media (max-width: 768px) {
  .clients {
    padding-top: 48px;
    padding-bottom: 24px;
  }
  .clients-sliders {
    gap: 12px;
    margin-bottom: 0;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: none;
    touch-action: pan-y;
  }
  .clients-carousel {
    padding: 4px 0;
    min-height: 96px;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .clients-track {
    gap: 20px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .clients-track--rtl,
  .clients-track--ltr {
    animation: none !important;
    -webkit-animation: none !important;
  }
  .client-logo {
    width: 220px;
    height: 88px;
    padding: 8px 12px;
    pointer-events: none;
    touch-action: none;
  }
  .client-logo img {
    filter: none;
    opacity: 1;
    pointer-events: none;
  }
}
.client-logo {
  flex-shrink: 0;
  width: 280px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  user-select: none;
  -webkit-user-select: none;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter 0.35s ease, opacity 0.35s ease;
  -webkit-user-drag: none;
  user-select: none;
}
@media (min-width: 769px) {
  .clients-track .client-logo:hover img {
    filter: none;
    opacity: 1;
  }
}
.clients-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,0.3);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   PHONE SPLIT-PREFIX INPUT
═══════════════════════════════════════════════════════════════ */
.phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-light);
  transition: border-color 0.3s;
}
.phone-wrap:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(236,29,120,0.1); }

/* Override .form-group select/input width:100% for phone field children */
.phone-wrap select.phone-cc,
.phone-wrap .phone-cc {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 22px 0 10px !important;
  background: rgba(255,255,255,0.06) !important;
  border: none !important;
  border-right: 1px solid var(--color-border) !important;
  border-radius: 12px 0 0 12px !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5' viewBox='0 0 9 5'%3E%3Cpath d='M1 1l3.5 3 3.5-3' stroke='rgba(255,255,255,0.4)' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 6px center !important;
  background-color: rgba(255,255,255,0.06) !important;
}
.phone-wrap select.phone-cc:focus { background-color: rgba(255,255,255,0.11) !important; }
.phone-wrap select.phone-cc option { background: #161b2e; color: #fff; }

.phone-wrap input[type="tel"],
.phone-wrap input#phone,
.phone-wrap input[type="tel"]#supportPhone {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 1rem !important;
  color: var(--color-text) !important;
  font-size: 1rem !important;
}

/* Custom phone country code dropdown */
.phone-cc-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.phone-cc-custom {
  position: relative;
  flex: 0 0 auto;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-cc-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  padding: 0.88rem 0.7rem 0.88rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-radius: 12px 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.phone-cc-trigger:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.phone-cc-custom.is-open .phone-cc-trigger {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.phone-wrap:focus-within .phone-cc-trigger {
  background: rgba(255, 255, 255, 0.07);
}

.phone-cc-value {
  min-width: 2.4rem;
  text-align: left;
}

.phone-cc-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.phone-cc-custom.is-open .phone-cc-chevron {
  transform: rotate(180deg);
  opacity: 0.75;
}

.phone-cc-list {
  position: fixed;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(6, 14, 26, 0.97);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(236, 29, 120, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: phone-cc-in 0.18s ease;
}

@keyframes phone-cc-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-cc-option {
  padding: 0.58rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
  outline: none;
}

.phone-cc-option:hover,
.phone-cc-option:focus {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.phone-cc-option.is-selected {
  background: linear-gradient(
    135deg,
    rgba(236, 29, 120, 0.24) 0%,
    rgba(0, 204, 153, 0.14) 100%
  );
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(236, 29, 120, 0.28);
}

.contact-form-container .phone-cc-trigger {
  padding: 0.88rem 0.7rem 0.88rem 0.95rem;
  border-radius: 14px 0 0 14px;
}

.support-form .phone-wrap select.phone-cc,
.support-form .phone-wrap .phone-cc-native {
  display: none !important;
}

.support-form .phone-cc-trigger {
  padding: 0.75rem 0.65rem 0.75rem 0.85rem;
  border-radius: 10px 0 0 10px;
}

.support-form .phone-wrap input[type="tel"] {
  border-radius: 0 10px 10px 0 !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM TOAST NOTIFICATION
═══════════════════════════════════════════════════════════════ */
.ev-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e6edf3;
  z-index: 99999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  pointer-events: none;
  font-family: inherit;
}
.ev-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ev-toast.ev-success { border-color: #00cc99; }
.ev-toast.ev-success .ev-toast-icon { color: #00cc99; }
.ev-toast.ev-error   { border-color: #f85149; }
.ev-toast.ev-error   .ev-toast-icon { color: #f85149; }
.ev-toast.ev-loading { border-color: #ec1d78; }
.ev-toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SUBMIT BUTTON LOADING STATE
═══════════════════════════════════════════════════════════════ */
@keyframes ev-spin { to { transform: rotate(360deg); } }
/* ring spinner used inside submit button */
.ev-spinner-ring {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ev-spin 0.7s linear infinite;
  flex-shrink: 0;
}
/* legacy spinner class kept for safety */
.ev-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ev-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s, background 0.2s;
}
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.82;
}
.submit-btn.loading .btn-arrow { display: none; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — SIMPLIFIED CENTERED
═══════════════════════════════════════════════════════════════ */
.footer.footer-simple {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 32px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(
    180deg,
    rgba(5, 13, 23, 0.72) 0%,
    rgba(5, 13, 23, 0.9) 55%,
    #050d17 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -12px 40px rgba(0, 0, 0, 0.28);
}

.footer-blurs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-blur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer-blur--pink {
  width: min(130px, 28vw);
  height: min(130px, 28vw);
  top: -44%;
  left: 6%;
  background: radial-gradient(circle, rgba(236, 29, 120, 0.48) 0%, rgba(236, 29, 120, 0.14) 38%, transparent 62%);
  filter: blur(14px);
  opacity: 0.52;
  animation: footer-blur-drift 14s ease-in-out infinite;
}

.footer-blur--teal {
  width: min(120px, 26vw);
  height: min(120px, 26vw);
  top: -42%;
  right: 6%;
  background: radial-gradient(circle, rgba(0, 204, 153, 0.42) 0%, rgba(0, 204, 153, 0.12) 38%, transparent 62%);
  filter: blur(13px);
  opacity: 0.48;
  animation: footer-blur-drift 16s ease-in-out infinite reverse;
}

.footer-blur--center {
  width: min(220px, 48vw);
  height: 48px;
  top: -36%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(236, 29, 120, 0.14) 0%, rgba(0, 204, 153, 0.1) 45%, transparent 68%);
  filter: blur(12px);
  opacity: 0.55;
}

@keyframes footer-blur-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(12px, -8px) scale(1.06); }
}

.footer.footer-simple::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(1.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.04);
  background: linear-gradient(
    180deg,
    rgba(5, 13, 23, 0.65) 0%,
    rgba(5, 13, 23, 0.88) 50%,
    #050d17 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -24px 48px rgba(5, 13, 23, 0.85);
}

.footer.footer-simple::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 4%, rgba(236, 29, 120, 0.16) 0%, transparent 28%),
    radial-gradient(circle at 86% 3%, rgba(0, 204, 153, 0.14) 0%, transparent 26%),
    linear-gradient(180deg, transparent 0%, rgba(5, 13, 23, 0.4) 55%, #050d17 100%);
  filter: blur(10px);
  opacity: 0.58;
}

.footer-simple-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer-row { display: contents; }
.footer-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.footer-logo-link:hover { opacity: 1; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; }
.footer-logo-simple {
  height: 40px;
  width: auto;
}
.footer-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.35) !important;
}
.footer-lang-switch:hover { color: #00cc99 !important; }
.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 340px;
}
.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  transition: color 0.25s, border-color 0.25s;
}
.footer-cta-link:hover { color: #00cc99; border-color: rgba(0,204,153,0.4); }
.footer-cta-link svg { opacity: 0.7; transition: transform 0.25s; }
.footer-cta-link:hover svg { transform: translateX(3px); opacity: 1; }
.footer-copy {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  font-weight: 400;
  white-space: nowrap;
  margin: 0;
  margin-left: auto;
  letter-spacing: 0.03em;
}

/* Footer navigation links */
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
}
.footer-nav-sep {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 5px;
}
.footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.22s;
  white-space: nowrap;
}
.footer-nav-link:hover { color: rgba(255, 255, 255, 0.88); }
.footer-nav-suporte { color: rgba(255, 255, 255, 0.42); }
.footer-nav-suporte:hover { color: rgba(255, 255, 255, 0.88); }
.footer-nav-suporte svg { opacity: 0.65; }

@media (prefers-reduced-motion: reduce) {
  .footer-blur--pink,
  .footer-blur--teal {
    animation: none;
  }
}

@media (max-width: 600px) {
  .footer.footer-simple { padding: 28px 20px 24px; }
  .footer-simple-inner { justify-content: center; }
  .footer-copy { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   SUPPORT PAGE — /suporte/
═══════════════════════════════════════════════════════════════ */
.support-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-background);
}

.support-header .header-container {
  width: 100%;
}

.support-back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.support-back-link:hover {
  color: var(--color-text);
}

.support-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
}

.support-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.support-card--form {
  max-width: 560px;
  text-align: left;
}

.support-card--form .support-icon,
.support-card--form .support-title,
.support-card--form .support-subtitle {
  text-align: center;
}

.support-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(236, 29, 120, 0.1);
  color: var(--color-primary);
}

.support-title {
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.support-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.support-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.support-item-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  margin-bottom: 0.35rem;
}

.support-item-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.support-link {
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.support-link:hover {
  color: #00e6b0;
}

.support-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

.support-form-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.support-form-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.support-cta:hover {
  background: #d11a6a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236, 29, 120, 0.35);
}

/* Support form */
.support-form {
  margin-top: 0.5rem;
}

.support-form .form-group {
  margin-bottom: 1.15rem;
}

.support-form .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.support-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
  font-size: 0.75rem;
}

.support-form .form-group input,
.support-form .form-group select,
.support-form .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form .form-group input:focus,
.support-form .form-group select:focus,
.support-form .form-group textarea:focus {
  outline: none;
  border-color: rgba(236, 29, 120, 0.5);
  box-shadow: 0 0 0 3px rgba(236, 29, 120, 0.12);
}

.support-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.support-form .phone-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.support-form .phone-wrap:focus-within {
  border-color: rgba(236, 29, 120, 0.5);
  box-shadow: 0 0 0 3px rgba(236, 29, 120, 0.12);
}

.support-file-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.support-file-wrap input[type="file"] {
  flex-shrink: 0;
  width: auto;
  max-width: 45%;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  padding: 0;
}

.support-file-name {
  flex: 1;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-file-hint {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.support-upload-bar {
  margin-top: 0.65rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.support-upload-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 99px;
  transition: width 0.15s ease;
}

.support-submit {
  width: 100%;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s;
}

.support-submit:hover:not(:disabled) {
  background: #d11a6a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236, 29, 120, 0.35);
}

.support-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.support-submit.loading .btn-arrow {
  display: none;
}

.support-submit.loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ev-spin 0.7s linear infinite;
}

@media (max-width: 480px) {
  .support-main { padding: 6rem 10px 3rem; }
  .support-card { padding: 2rem 1.25rem; }
  .support-back-link { font-size: 0.8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE — overflow fix + lateral gutter (10px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
  }

  .header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-container,
  .contact-wrapper,
  .services-grid {
    max-width: 100%;
  }

  .services-fold .section-header {
    transform: none !important;
  }

  .services-parallax-bg {
    transform: none !important;
  }

  .services-parallax-bg [data-parallax] {
    transform: none !important;
  }

  .hero [data-parallax] {
    transform: none !important;
  }

  .service-card {
    padding: 1.75rem 1.15rem;
    transform: none !important;
  }

  .service-card:hover {
    transform: none !important;
  }

  .contact-form-container {
    padding: 1.75rem 1.15rem;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-info h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    word-break: break-word;
  }

  .section-title {
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .fade-in-left,
  .fade-in-right {
    transform: translateY(24px);
  }

  .fade-in-left.visible,
  .fade-in-right.visible {
    transform: translateY(0);
  }

  .clients {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
  }

  .footer.footer-simple {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-simple-inner {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
  }

  .footer-nav-link {
    white-space: normal;
    text-align: center;
  }

  .support-main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .support-header .header-container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-play-cluster {
    width: min(380px, calc(100vw - 20px));
    height: min(380px, calc(100vw - 20px));
  }

  .mobile-menu {
    padding-left: 10px;
    padding-right: 10px;
  }
}
