/* ============================================================
   STYLE.CSS — StudioStille Gamefy
   gamefy.studiostille.com.br
   ============================================================
   01. Google Fonts
   02. CSS Variables
   03. Reset & Base
   04. Typography utilities
   05. Layout utilities
   06. Buttons
   07. Header / Nav
   08. Hero
   09. Services
   10. How It Works
   11. Value Proposition
   12. CTA Band
   13. Contact & Form
   14. Footer
   15. Floating WhatsApp
   16. Scroll animations
   17. Responsive
   ============================================================ */


/* ── 01. Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');


/* ── 02. CSS Variables ────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          #07080f;
  --bg-surface:  #0b0d1f;
  --bg-card:     #0f1128;
  --bg-card-h:   #141633;

  /* Brand colors */
  --primary:     #6366f1;
  --primary-l:   #818cf8;
  --primary-ll:  #a5b4fc;
  --primary-d:   #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.22);

  --accent:      #06b6d4;
  --accent-l:    #22d3ee;

  /* Text */
  --text:        #eaeeff;
  --text-m:      #8b95c8;
  --text-dim:    #454870;

  /* Borders */
  --border:      rgba(99, 102, 241, 0.1);
  --border-h:    rgba(99, 102, 241, 0.32);

  /* Radius */
  --r-sm:  8px;
  --r:     16px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* Shadows */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --trans: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
  --py:    108px;
}


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img      { max-width: 100%; display: block; }
a        { text-decoration: none; color: inherit; }
ul       { list-style: none; }
button   { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }
textarea { resize: vertical; }
[hidden]  { display: none !important; }


/* ── 04. Typography utilities ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-l);
  margin-bottom: 18px;
}
.label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-m);
  max-width: 560px;
  line-height: 1.78;
}

.section-head {
  text-align: center;
  margin-bottom: 68px;
}
.section-head .section-sub { margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--accent-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── 05. Layout utilities ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--py) 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.18), transparent);
}


/* ── 06. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 1;
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  background: var(--primary-l);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(99, 102, 241, 0.28);
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.07);
  border-color: var(--primary-l);
  color: var(--primary-ll);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #1ebe5b;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.52);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 34px; font-size: 0.98rem; border-radius: 14px; }

/* Button loading state */
.btn-spinner {
  display: none;
  width: 17px; height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}
.btn.is-loading .btn-text   { opacity: 0; position: absolute; }
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading             { pointer-events: none; opacity: 0.85; }

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


/* ── 07. Header / Nav ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header.scrolled {
  background: rgba(7, 8, 15, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(99, 102, 241, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.logo-fallback {
  display: none;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-text em {
  font-style: normal;
  color: var(--primary-l);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-m);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-m);
  border-radius: 2px;
  transition: var(--trans);
}

/* Mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  top: 74px; left: 0; right: 0;
  background: rgba(11, 13, 31, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--text-m);
  transition: var(--trans);
  font-size: 0.925rem;
}
.mob-menu a:hover   { background: rgba(99, 102, 241, 0.07); color: var(--text); }
.mob-menu .btn      { margin-top: 10px; }


/* ── 08. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
}

/* Dot grid background */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 25%, transparent 100%);
}

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.blob-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
  top: -280px; left: -160px;
  animation: b1 14s ease-in-out infinite;
}
.blob-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  bottom: -120px; right: -120px;
  animation: b2 18s ease-in-out infinite;
}
.blob-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.09) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: b3 22s ease-in-out infinite;
}
@keyframes b1 {
  0%, 100% { transform: translate(0, 0)    scale(1);    }
  50%       { transform: translate(48px, 36px) scale(1.08); }
}
@keyframes b2 {
  0%, 100% { transform: translate(0, 0)       scale(1);    }
  50%       { transform: translate(-36px, -48px) scale(1.06); }
}
@keyframes b3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    }
  33%       { transform: translate(-44%, -56%) scale(1.06); }
  66%       { transform: translate(-56%, -44%) scale(0.95); }
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(99, 102, 241, 0.09);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 100px;
  padding: 7px 18px 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-l);
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  margin-bottom: 26px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  color: var(--text-m);
  max-width: 600px;
  line-height: 1.78;
  margin-bottom: 44px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 72px;
  animation: fadeUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.stat-num sup {
  font-size: 1.1rem;
  color: var(--primary-l);
  font-weight: 700;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 5px;
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  animation: fadeIn 1s 0.9s ease both;
}
.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--text-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-mouse::after {
  content: '';
  width: 3px; height: 6px;
  background: var(--primary-l);
  border-radius: 2px;
  animation: mouseScroll 1.6s ease-in-out infinite;
}
@keyframes mouseScroll {
  0%, 100% { transform: translateY(0);  opacity: 1;    }
  50%       { transform: translateY(9px); opacity: 0.3; }
}


/* ── 09. Services ─────────────────────────────────────────── */
.services { background: var(--bg-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 22px;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-h);
  box-shadow: var(--shadow), 0 0 48px rgba(99, 102, 241, 0.07);
}
.svc-card:hover::after { opacity: 1; }

.svc-icon {
  width: 58px; height: 58px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 26px;
}
.i-violet { background: rgba(99, 102, 241, 0.14); }
.i-cyan   { background: rgba(6,  182, 212, 0.14); }
.i-purple { background: rgba(139, 92, 246, 0.14); }
.i-amber  { background: rgba(245, 158, 11, 0.14); }

.svc-card h3 { font-size: 1.12rem; margin-bottom: 13px; }
.svc-card p  { font-size: 0.875rem; color: var(--text-m); line-height: 1.73; margin-bottom: 22px; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
}
.tag-violet { background: rgba(99, 102, 241, 0.12); color: var(--primary-l);  }
.tag-cyan   { background: rgba(6,  182, 212, 0.12); color: var(--accent-l);   }
.tag-purple { background: rgba(139, 92, 246, 0.12); color: #c4b5fd;           }
.tag-amber  { background: rgba(245, 158, 11, 0.12); color: #fcd34d;           }


/* ── 10. How It Works ─────────────────────────────────────── */
.process-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-row::before {
  content: '';
  position: absolute;
  top: 32px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-h) 25%, var(--border-h) 75%, transparent);
}

.step {
  text-align: center;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  position: relative;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.step:hover .step-circle { box-shadow: 0 0 28px var(--primary-glow); border-color: var(--primary); }

.step-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.n1 .step-n { color: var(--primary-l); }
.n2 .step-n { color: var(--accent-l);  }
.n3 .step-n { color: #c4b5fd;          }
.n4 .step-n { color: #6ee7b7;          }

.step-emoji {
  font-size: 1.4rem;
  position: absolute;
  top: -12px; right: -10px;
  line-height: 1;
}
.step h3 { font-size: 1rem; margin-bottom: 10px; }
.step p  { font-size: 0.84rem; color: var(--text-m); line-height: 1.68; }


/* ── 11. Value Proposition ────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.val-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: border-color var(--trans), background var(--trans);
}
.val-item:hover { border-color: var(--border-h); background: var(--bg-card-h); }

.val-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 46px;
  text-align: center;
  line-height: 1;
  padding-top: 2px;
}
.val-item h3 { font-size: 0.98rem; margin-bottom: 7px; }
.val-item p  { font-size: 0.845rem; color: var(--text-m); line-height: 1.68; }


/* ── 12. CTA Band ─────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1040 0%, #1b0d3a 50%, #041520 100%);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-glow {
  position: absolute;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 18px; }
.cta-inner p  { font-size: 1.05rem; color: var(--text-m); line-height: 1.78; margin-bottom: 42px; }
.cta-btns     { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }


/* ── 13. Contact & Form ───────────────────────────────────── */
.contact { background: var(--bg-surface); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 68px;
  align-items: start;
}

/* Info column */
.contact-info h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.78;
  margin-bottom: 36px;
}

.c-detail {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.c-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(99, 102, 241, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.c-detail-body            { font-size: 0.875rem; }
.c-detail-body small      { display: block; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 2px; font-weight: 500; }
.c-detail-body a          { color: var(--text-m); transition: color var(--trans); }
.c-detail-body a:hover    { color: var(--primary-l); }

.c-note {
  margin-top: 40px;
  padding: 18px 20px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.8rem;
  color: var(--text-m);
  line-height: 1.72;
}
.c-note strong { color: var(--text); }

/* Form card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
}

.form-card-head {
  margin-bottom: 34px;
}
.form-card-head h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.form-card-head p {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.65;
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-row .form-group    { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-m);
  letter-spacing: 0.01em;
}
.form-group label .req {
  color: var(--primary-l);
  margin-left: 3px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid var(--border-h);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(255, 255, 255, 0.045);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.form-group textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

/* Validation error state */
.form-group input.is-error,
.form-group textarea.is-error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.field-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: -4px;
  display: none;
}
.form-group input.is-error ~ .field-error,
.form-group textarea.is-error ~ .field-error {
  display: block;
}

/* Toggle switch (campo WhatsApp) */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid var(--border-h);
  border-radius: var(--r-sm);
  transition: border-color var(--trans), background var(--trans);
  user-select: none;
  width: 100%;
}
.toggle-label:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(255, 255, 255, 0.045);
}
.toggle-input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.toggle-track {
  width: 40px; height: 22px;
  background: var(--text-dim);
  border-radius: 11px;
  position: relative;
  flex-shrink: 0;
  transition: background var(--trans), box-shadow var(--trans);
}
.toggle-track::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform var(--trans);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.toggle-input:checked + .toggle-track {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}
.toggle-input:checked + .toggle-track::after {
  transform: translateX(18px);
}
.toggle-text {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.3;
}

/* Submit button */
.form-submit {
  margin-top: 28px;
  width: 100%;
  padding: 16px;
  font-size: 0.98rem;
  border-radius: var(--r-sm);
}

/* Success state */
.form-success {
  text-align: center;
  padding: 32px 20px;
}
.form-success-icon {
  width: 64px; height: 64px;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.form-success h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.65;
}

/* Error banner */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: 0.84rem;
  color: #fca5a5;
  margin-top: 16px;
}


/* ── 14. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-brand p {
  font-size: 0.845rem;
  color: var(--text-m);
  line-height: 1.72;
  margin-top: 14px;
  max-width: 290px;
}
.footer-brand small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul             { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a        { font-size: 0.86rem; color: var(--text-m); transition: color var(--trans); }
.footer-col ul li a:hover  { color: var(--primary-l); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p   { font-size: 0.78rem; color: var(--text-dim); }
.footer-bottom a   { color: var(--primary-l); }

.social-row { display: flex; gap: 9px; }
.soc {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-m);
  transition: var(--trans);
}
.soc:hover {
  border-color: var(--border-h);
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-l);
  transform: translateY(-2px);
}
.soc svg { width: 15px; height: 15px; }


/* ── 15. Floating WhatsApp ────────────────────────────────── */
.wa-wrap {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-tip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--trans), transform var(--trans);
  pointer-events: none;
}
.wa-wrap:hover .wa-tip    { opacity: 1; transform: translateX(0); }

.wa-btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 26px rgba(37, 211, 102, 0.42);
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  flex-shrink: 0;
  position: relative;
}
.wa-btn::before {
  content: '';
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.28);
  animation: waPulse 2.2s ease-in-out infinite;
}
.wa-btn:hover {
  transform: scale(1.09);
  background: #1ebe5b;
  box-shadow: 0 6px 36px rgba(37, 211, 102, 0.58);
}
.wa-btn svg { width: 29px; height: 29px; fill: #fff; }

@keyframes waPulse {
  0%, 100% { transform: scale(1);    opacity: 0.65; }
  50%       { transform: scale(1.35); opacity: 0;    }
}


/* ── 16. Scroll animations ────────────────────────────────── */
.fu, .fu-left, .fu-right {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fu       { transform: translateY(30px); }
.fu-left  { transform: translateX(-52px); }
.fu-right { transform: translateX(52px); }

.fu.vis, .fu-left.vis, .fu-right.vis { opacity: 1; transform: none; }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Process connector line draw ─────────────────────────── */
.process-row::before {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.3s 0.2s var(--ease);
}
.process-row.line-vis::before { transform: scaleX(1); }


/* ── 17. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr;      gap: 44px; }
  .footer-grid    { grid-template-columns: 1fr 1fr;             }
  .footer-brand   { grid-column: 1 / -1;                        }
}

@media (max-width: 768px) {
  :root { --py: 76px; }

  .nav-links, .nav-actions { display: none;         }
  .nav-toggle              { display: flex;         }

  .process-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .process-row::before { display: none; }

  .value-grid  { grid-template-columns: 1fr;   }
  .footer-grid { grid-template-columns: 1fr;   }
  .hero-stats  { gap: 32px;                    }
  .scroll-hint { display: none;                }

  .form-row    { grid-template-columns: 1fr;   }
  .form-card   { padding: 28px 24px;           }
}

@media (max-width: 480px) {
  .hero h1     { font-size: 2.1rem;            }
  .process-row { grid-template-columns: 1fr;  }
  .wa-wrap     { bottom: 22px; right: 22px;   }
  .wa-btn      { width: 54px; height: 54px;   }
  .hero-ctas   { flex-direction: column;       }
  .hero-ctas .btn { width: 100%;              }
}


/* ============================================================
   18. CUSTOM CURSOR (apenas mouse / trackpad)
============================================================ */
@media (pointer: fine) {
  body, body * { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--primary-l);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.85);
    transition: width 0.18s var(--ease), height 0.18s var(--ease),
                background 0.18s var(--ease), box-shadow 0.18s var(--ease),
                opacity 0.2s;
    will-change: left, top;
  }
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(99, 102, 241, 0.42);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.32s var(--ease), height 0.32s var(--ease),
                border-color 0.25s, background 0.25s, opacity 0.2s;
    will-change: left, top;
  }

  /* Hover sobre elemento interativo */
  .cursor-dot.is-hover {
    width: 5px; height: 5px;
    background: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  }
  .cursor-ring.is-hover {
    width: 54px; height: 54px;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
  }

  /* Click */
  .cursor-dot.is-click {
    width: 11px; height: 11px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.95);
  }
  .cursor-ring.is-click {
    width: 20px; height: 20px;
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
  }

  /* Cursor fora da janela */
  .cursor-dot.is-hidden,
  .cursor-ring.is-hidden { opacity: 0; }
}


/* ============================================================
   19. SPLASH SCREEN
============================================================ */
#splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  overflow: hidden;
}
/* Grid de pontos — igual ao hero */
#splash::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}
.splash-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.11) 0%, transparent 70%);
  pointer-events: none;
  animation: b1 14s ease-in-out infinite;
}
.splash-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.splash-logo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: splashIn 0.9s 0.2s var(--ease) both;
}
.splash-img {
  height: clamp(52px, 9vw, 84px);
  width: auto;
}
.splash-mark {
  width: clamp(52px, 9vw, 76px);
  height: clamp(52px, 9vw, 76px);
  background: var(--primary);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  box-shadow: 0 0 48px rgba(99, 102, 241, 0.55);
  flex-shrink: 0;
}
.splash-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--text);
}
.splash-brand em { font-style: normal; color: var(--primary-l); }

.splash-sub {
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: splashIn 0.9s 0.6s var(--ease) both;
}

.splash-hint {
  position: absolute;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  animation: splashIn 0.9s 1.2s var(--ease) both;
}
.splash-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.splash-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--primary-l), transparent);
  animation: lineFlow 1.7s ease-in-out infinite;
}

/* Dismiss animation */
#splash.leaving {
  opacity: 0;
  transform: scale(0.97) translateY(-20px);
  pointer-events: none;
}

@keyframes splashIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes lineFlow {
  0%   { transform-origin: top;    transform: scaleY(0); opacity: 0; }
  40%  { transform-origin: top;    transform: scaleY(1); opacity: 1; }
  60%  { transform-origin: bottom; transform: scaleY(1); opacity: 1; }
  100% { transform-origin: bottom; transform: scaleY(0); opacity: 0; }
}


/* ============================================================
   20. HERO PARALLAX — conteúdo some ao sair da viewport
============================================================ */
.hero-body {
  will-change: transform, opacity;
}


/* ============================================================
   21. SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-l));
  background-size: 200% 100%;
  transform-origin: left;
  transform: scaleX(0);
  z-index: 99999;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.85), 0 0 4px rgba(6, 182, 212, 0.6);
  animation: progressShimmer 2.5s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 0%   50%; }
  100% { background-position: 200% 50%; }
}


/* ============================================================
   22. ACTIVE NAV LINK
============================================================ */
.nav-links a {
  position: relative;
}
.nav-links a.is-active {
  color: var(--text);
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.6);
}


/* ============================================================
   23. BUTTON RIPPLE
============================================================ */
.btn { overflow: hidden; }

.btn-ripple {
  position: absolute;
  width: 0; height: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleOut 0.65s ease forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to {
    width: 260px; height: 260px;
    opacity: 0;
  }
}


/* ============================================================
   24. 3D CARD TILT
============================================================ */
.services-grid {
  perspective: 1200px;
}
.value-grid {
  perspective: 1200px;
}
.svc-card,
.val-item {
  transform-style: preserve-3d;
}


/* ============================================================
   25. SECTION TITLE FLASH (entrada na tela)
============================================================ */
@keyframes titleFlash {
  0%   { text-shadow: none; }
  20%  { text-shadow: 0 0 18px rgba(99, 102, 241, 0.75), 0 0 36px rgba(99, 102, 241, 0.4); }
  40%  { text-shadow: none; }
  60%  { text-shadow: 0 0 12px rgba(6, 182, 212, 0.55); }
  100% { text-shadow: none; }
}
.section-title.title-flash {
  animation: titleFlash 0.9s ease forwards;
}
