/* ==========================================================================
   ZMILE ART — DESIGN SYSTEM (NEBULA DS 05)
   Fonte única de verdade visual de todo o produto Zmile Art.
   Portado de "Landing Page Design System 05" (origem de zmile-cursos.com.br),
   tornado self-contained (sem dependências locais externas).

   Camadas:
   - Tokens (cores, tipografia, easings)
   - Sistema de fundo (aura líquida, beams, fog, orb, noise, dots, gradient-blur)
   - Navbar glass
   - Botões (button-custom, btn-beam, shiny-cta, btn-ghost, btn-nav-accent)
   - Cards (project-card 3D tilt, flashlight, card-3d, glass-panel, testimonial)
   - Timeline vertical, CTA final, inputs, tooltip, modal, ícones
   - Utilitários de animação de entrada

   REGRA SAGRADA DA MISSÃO: esta folha altera SOMENTE a aparência. Nunca
   conteúdo nem funcionalidade. Não aplicar às áreas de preview do conteúdo
   do usuário (marca do cliente — DS#2).
   ========================================================================== */

/* ==========================================================
   TOKENS
========================================================== */
:root {
  /* Cores base */
  --bg-page: #000000;
  --bg-page-rgb: 0, 0, 0;
  --bg-surface: #050505;
  --bg-card: #0A0A0C;

  /* Acentos da marca */
  --primary: #f97316;            /* laranja Zmile */
  --primary-rgb: 249, 115, 22;
  --primary-deep: #ea580c;
  --primary-glow: rgba(249, 115, 22, 0.5);
  --primary-border: rgba(249, 115, 22, 0.3);
  --secondary: #3b82f6;          /* azul */
  --secondary-rgb: 59, 130, 246;
  --secondary-glow: rgba(59, 130, 246, 0.5);
  --accent: #a855f7;             /* roxo aura */
  --accent-rgb: 168, 85, 247;
  --acid: #ccff00;               /* verde ácido */
  --acid-rgb: 204, 255, 0;

  /* Texto */
  --text-main: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.42);

  /* Vidro / bordas */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);

  /* Tipografia */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Manrope', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Raios canônicos */
  --r-sm: 0.75rem;
  --r-md: 1.25rem;
  --r-lg: 2rem;
  --r-xl: 2.5rem;
  --r-pill: 9999px;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

::selection { background: rgba(var(--primary-rgb), 0.3); color: #fff; }
html.zmile-ds { scroll-behavior: smooth; }
.zmile-ds ::-webkit-scrollbar { width: 0px; }

/* Base — aplicada via classe .zmile-ds no body para não vazar para previews */
body.zmile-ds {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.font-instrument-serif { font-family: 'Instrument Serif', serif !important; }
.font-manrope { font-family: 'Manrope', sans-serif !important; }
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-mono-ds { font-family: var(--font-mono) !important; }
.anchor-offset { scroll-margin-top: 110px; }

/* ==========================================================
   ANIMAÇÕES DE ENTRADA
========================================================== */
@keyframes fadeSlideIn { 0% { opacity: 0; transform: translateY(30px); filter: blur(8px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0px); } }
@keyframes animationIn { 0% { opacity: 0; transform: translateY(30px); filter: blur(10px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0px); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes blurIn { 0% { opacity: 0; filter: blur(20px); transform: scale(0.98); } 100% { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes columnReveal { 0% { clip-path: inset(0 0 100% 0); opacity: 0; } 100% { clip-path: inset(0 0 0% 0); opacity: 1; } }
@keyframes textSlide { 0% { transform: translateY(110%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

.animate-fade-up { animation: fadeInUp 0.8s var(--ease-out) both; }
.animate-blur-in { animation: blurIn 1.2s var(--ease-out) both; }
.col-anim { animation: columnReveal 1.4s var(--ease-out) backwards; will-change: clip-path; }
.delay-100 { animation-delay: 100ms; } .delay-200 { animation-delay: 200ms; } .delay-300 { animation-delay: 300ms; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; } .delay-6 { animation-delay: 0.6s; }

.text-clip-anim { overflow: hidden; }
.text-clip-anim span { display: inline-block; animation: textSlide 0.9s var(--ease-out) forwards; opacity: 0; }

.animate-on-scroll { animation-play-state: paused !important; }
.animate-on-scroll.animate { animation-play-state: running !important; }

/* ==========================================================
   SISTEMA DE FUNDO
========================================================== */
.bg-aura-wrapper { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: transparent; }
.bg-aura-wrapper .aura { position: absolute; width: 75vw; height: 75vw; border-radius: 50%; filter: blur(160px); opacity: 0.45; mix-blend-mode: plus-lighter; }
.aura-1 { background: radial-gradient(circle, var(--primary) 0%, transparent 70%); top: -15%; right: -10%; animation: liquidMove-1 30s infinite alternate ease-in-out; }
.aura-2 { background: radial-gradient(circle, #6366f1 0%, transparent 70%); bottom: -15%; left: -10%; animation: liquidMove-2 35s infinite alternate ease-in-out; }
.aura-3 { background: radial-gradient(circle, #a855f7 0%, transparent 70%); top: 35%; left: 25%; width: 45vw; height: 45vw; animation: liquidMove-3 25s infinite alternate-reverse ease-in-out; opacity: 0.25; }
@keyframes liquidMove-1 { 0% { transform: translate(0, 0) scale(1) rotate(0deg); } 100% { transform: translate(-10%, 20%) scale(1.1) rotate(10deg); } }
@keyframes liquidMove-2 { 0% { transform: translate(0, 0) scale(1.05); } 100% { transform: translate(15%, -15%) scale(1); } }
@keyframes liquidMove-3 { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(-15%, -10%) rotate(20deg); } }

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

#fog-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.6; pointer-events: none; mix-blend-mode: screen; }

/* Orbe roxa flutuante (idêntico ao DS 05 — imagem purple-bg.webp; mesmas dimensões do PNG original, só formato) */
.purple-orb { position: fixed; right: -14vw; top: 12vh; width: 50vw; min-width: 480px; aspect-ratio: 1; background: url("/assets/ds/purple-bg.webp") center/contain no-repeat; opacity: 0.28; filter: blur(4px) saturate(1.25); z-index: 0; animation: float 12s ease-in-out infinite; pointer-events: none; }

/* Chuva diagonal lateral (idêntico ao DS 05) */
.rain-layer { position: fixed; inset: -30vh -20vw; z-index: 0; pointer-events: none; overflow: hidden; transform: rotate(14deg); }
.rain-drop {
  position: absolute; top: -180px; width: 1px; border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.45) 55%, transparent);
  animation: rain-fall linear infinite; will-change: transform;
}
@keyframes rain-fall {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(170vh); opacity: 0; }
}

.section-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section-bg::before { content: ""; position: absolute; top: -20%; left: 10%; width: 80%; height: 140%; background: radial-gradient(circle at center, rgba(249, 115, 22, 0.10) 0%, transparent 70%); filter: blur(120px); }
.section-bg .dots-grid { position: absolute; inset: 0; background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%); -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%); }
.dots-grid { background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 40px 40px; }

/* Falling Beams */
@keyframes beam-fall { 0% { transform: translateY(-100%); opacity: 0; } 5% { opacity: 0.5; } 50% { opacity: 1; } 95% { opacity: 0.5; } 100% { transform: translateY(120vh); opacity: 0; } }
.animate-beam-1 { animation: beam-fall 6s linear infinite; animation-delay: 0s; }
.animate-beam-2 { animation: beam-fall 8s linear infinite; animation-delay: 2s; }
.animate-beam-3 { animation: beam-fall 7s linear infinite; animation-delay: 4s; }

/* Progressive blur no topo */
.gradient-blur { position: fixed; z-index: 5; inset: 0 0 auto 0; height: 12%; pointer-events: none; }
.gradient-blur>div, .gradient-blur::before, .gradient-blur::after { position: absolute; inset: 0; }
.gradient-blur::before { content: ""; z-index: 1; backdrop-filter: blur(0.5px); mask: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 37.5%); }
.gradient-blur>div:nth-of-type(1) { z-index: 2; backdrop-filter: blur(1px); mask: linear-gradient(to top, rgba(0,0,0,0) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,0) 50%); }
.gradient-blur>div:nth-of-type(2) { z-index: 3; backdrop-filter: blur(2px); mask: linear-gradient(to top, rgba(0,0,0,0) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 62.5%); }
.gradient-blur>div:nth-of-type(3) { z-index: 4; backdrop-filter: blur(4px); mask: linear-gradient(to top, rgba(0,0,0,0) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,0) 75%); }
.gradient-blur>div:nth-of-type(4) { z-index: 5; backdrop-filter: blur(8px); mask: linear-gradient(to top, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 87.5%); }
.gradient-blur>div:nth-of-type(5) { z-index: 6; backdrop-filter: blur(16px); mask: linear-gradient(to top, rgba(0,0,0,0) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,0) 100%); }
.gradient-blur>div:nth-of-type(6) { z-index: 7; backdrop-filter: blur(32px); mask: linear-gradient(to top, rgba(0,0,0,0) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,1) 100%); }
.gradient-blur::after { content: ""; z-index: 8; backdrop-filter: blur(64px); mask: linear-gradient(to top, rgba(0,0,0,0) 87.5%, rgba(0,0,0,1) 100%); }

/* ==========================================================
   NAVBAR — glass-nav
========================================================== */
.glass-nav {
  position: fixed; top: 2rem; left: 0; right: 0; margin: 0 auto;
  width: min(95%, 1200px);
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 0.6rem 0.8rem 0.6rem 2.5rem;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.nav-links { display: flex; gap: 3rem; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s; position: relative; }
.nav-links a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 0; height: 1px; transform: translateX(-50%); background: linear-gradient(to right, transparent, var(--primary), transparent); box-shadow: 0 0 10px rgba(249, 115, 22, 0.8); transition: width 0.3s ease-out; }
.nav-links a:hover::after { width: 100%; }
.btn-nav-accent { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 1.5rem; background: var(--primary); color: #fff; text-decoration: none; border-radius: 9999px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.3s ease; border: none; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); }
.btn-nav-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5); filter: brightness(1.1); }

/* Mobile nav */
.nav-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 9999px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.03); color: #fff; cursor: pointer; transition: all 0.3s ease; }
.nav-burger:hover { border-color: var(--primary); background: rgba(249, 115, 22, 0.1); }
.mobile-menu { position: fixed; inset: 0 0 auto 0; top: 0; z-index: 99; background: rgba(5,5,5,0.97); backdrop-filter: blur(20px); padding: 7rem 2rem 2rem; display: flex; flex-direction: column; gap: 0.5rem; transform: translateY(-100%); transition: transform 0.5s var(--ease-out); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: flex; align-items: center; gap: 0.75rem; color: var(--text-secondary); text-decoration: none; font-size: 1.1rem; font-weight: 500; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a svg { width: 1rem; height: 1rem; color: var(--primary); opacity: 0.7; }

/* ==========================================================
   BOTÕES
========================================================== */
/* 1) button-custom + partículas */
.button-custom { cursor: pointer; position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; transition: all 0.25s ease; background: radial-gradient(65.28% 65.28% at 50% 100%, rgba(251, 191, 36, 0.8) 0%, rgba(251, 191, 36, 0) 100%), linear-gradient(0deg, #ea580c, #ea580c); border-radius: 9999px; border: none; padding: 10px 24px; min-height: 44px; }
.button-custom::before { content: ""; position: absolute; inset: 1px; background: linear-gradient(177.95deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%); border-radius: 9999px; transition: all 0.5s ease-in-out; z-index: 0; }
.button-custom::after { content: ""; position: absolute; inset: 2px; background: radial-gradient(65.28% 65.28% at 50% 100%, rgba(251, 191, 36, 0.8) 0%, rgba(251, 191, 36, 0) 100%), linear-gradient(0deg, #ea580c, #ea580c); border-radius: 9999px; transition: all 0.5s ease-in-out; z-index: 0; }
.button-custom:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(249, 115, 22, 0.5); }
.button-custom:hover .inner svg.icon { transform: translateX(2px); }
.inner { z-index: 2; gap: 6px; position: relative; width: 100%; color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 500; }
.inner svg.icon { width: 16px; height: 16px; transition: transform 0.3s ease; stroke: white; fill: none; }
.points_wrapper { overflow: hidden; width: 100%; height: 100%; pointer-events: none; position: absolute; z-index: 1; }
.points_wrapper .point { bottom: -10px; position: absolute; animation: floating-points infinite ease-in-out; pointer-events: none; width: 2px; height: 2px; background-color: #fff; border-radius: 9999px; }
@keyframes floating-points { 0% { transform: translateY(0); } 85% { opacity: 0; } 100% { transform: translateY(-55px); opacity: 0; } }
.points_wrapper .point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
.points_wrapper .point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
.points_wrapper .point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
.points_wrapper .point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
.points_wrapper .point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
.points_wrapper .point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
.points_wrapper .point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }

/* 2) btn-beam — borda cônica girando */
@keyframes beam-spin { to { transform: rotate(360deg); } }
@keyframes lines-slide { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
.btn-beam { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 2rem; background: #050505; color: white; text-decoration: none; border-radius: 9999px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.4s var(--ease-out); overflow: hidden; border: none; z-index: 1; }
.btn-beam .beam-border { position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: transparent; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask-composite: xor; z-index: -2; }
.btn-beam .beam-border::after { content: ""; position: absolute; inset: -100%; background: conic-gradient(from 0deg, transparent 0% 80%, var(--primary) 100%); animation: beam-spin 3s linear infinite; }
.btn-beam.btn-beam-acid .beam-border::after { background: conic-gradient(from 0deg, transparent 0% 75%, var(--secondary) 88%, var(--acid) 100%); }
.btn-beam .btn-content-bg { position: absolute; top: 1px; right: 1px; bottom: 1px; left: 1px; background: #0A0A0A; border-radius: inherit; overflow: hidden; z-index: -1; }
.btn-beam .lines-overlay { position: absolute; inset: 0; opacity: 0.1; mix-blend-mode: plus-lighter; background-image: repeating-linear-gradient(90deg, #fff, #fff 1px, transparent 1px, transparent 8px); background-size: 24px 100%; animation: lines-slide 1.5s linear infinite; }
.btn-beam .bottom-glow { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); width: 80%; height: 60%; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 75%); filter: blur(15px); opacity: 0.4; transition: opacity 0.4s; }
.btn-beam:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 15px 35px -10px var(--primary-glow); }
.btn-beam:hover .bottom-glow { opacity: 0.8; }

/* 3) shiny-cta */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 20%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: #fdba74; inherits: false; }
.shiny-cta {
  --gradient-angle: 0deg; --gradient-angle-offset: 0deg; --gradient-percent: 20%; --gradient-shine: #fdba74;
  position: relative; overflow: hidden; border-radius: 9999px; padding: 1.1rem 2.6rem;
  font-size: 1rem; line-height: 1.2; font-weight: 500; color: #ffffff;
  background: linear-gradient(#000000, #000000) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent 0%, #f97316 5%, var(--gradient-shine) 15%, #f97316 30%, transparent 40%, transparent 100%) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px #1a1818;
  outline: none; cursor: pointer; isolation: isolate; outline-offset: 4px; z-index: 0;
  animation: border-spin 2.5s linear infinite;
  transition: --gradient-angle-offset 800ms cubic-bezier(0.25, 1, 0.5, 1), --gradient-percent 800ms cubic-bezier(0.25, 1, 0.5, 1), --gradient-shine 800ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}
@keyframes border-spin { to { --gradient-angle: 360deg; } }
.shiny-cta:hover { --gradient-percent: 25%; --gradient-angle-offset: 95deg; --gradient-shine: #fde68a; box-shadow: inset 0 0 0 1px #2a2422, 0 0 30px rgba(249, 115, 22, 0.4); }
.shiny-cta:active { transform: translateY(1px); }
.shiny-cta::after { content: ''; pointer-events: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 100%; aspect-ratio: 1; background: linear-gradient(-50deg, transparent, #f97316, transparent); mask-image: radial-gradient(circle at bottom, transparent 40%, black); opacity: 0.6; animation: shimmer-rotate 4s linear infinite; }
.shiny-cta span { position: relative; z-index: 2; display: inline-block; }
@keyframes shimmer-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.20); } }

/* 4) btn-ghost (contorno elegante) */
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; height: 54px; padding: 0 1.8rem; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); color: #fff; text-decoration: none; border-radius: 9999px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.4s var(--ease-out); }
.btn-ghost:hover { border-color: var(--primary); background: rgba(249, 115, 22, 0.08); box-shadow: 0 0 25px -8px var(--primary-glow); transform: translateY(-2px); }

/* Shimmer + marquee */
@keyframes shimmer { from { transform: translateX(-100%) skewX(-15deg); } to { transform: translateX(200%) skewX(-15deg); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-marquee { animation: marquee 40s linear infinite; }

/* ==========================================================
   GLASS / CARDS
========================================================== */
.glass-panel { background: rgba(23, 23, 23, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* border-gradient util */
[style*="--border-gradient"]::before {
  content: ""; position: absolute; inset: 0; padding: 1px;
  border-radius: var(--border-radius-before, inherit);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  background: var(--border-gradient); pointer-events: none;
}

/* Flashlight */
.flashlight-card { background: rgba(255, 255, 255, 0.01); position: relative; }
.flashlight-card::before { content: ""; position: absolute; inset: 0px; background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.08), transparent 40%); opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 2; }
.flashlight-card:hover::before { opacity: 1; }

/* Project Card 3D tilt + flashlight colorido */
.project-card { position: relative; background: rgba(10, 10, 15, 0.8); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 2.5rem; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.1s ease-out, box-shadow 0.5s ease, border-color 0.5s ease; cursor: pointer; transform-style: preserve-3d; }
.project-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--accent-rgb), 0.15), transparent 40%); z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(255,255,255,0.1) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 4; }
.project-card:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05); }
.project-card:hover::before { opacity: 1; }
.project-inner-grid { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0); background-size: 24px 24px; opacity: 0.5; }
/* project-img-wrapper — imagem skewed à direita (texto à esquerda); endireita e amplia no hover (DS 05) */
.project-img-wrapper { position: absolute; top: 50%; right: -8%; width: 62%; height: 125%; transform: translateY(-50%) skew(-5deg) rotate(5deg); z-index: 1; border-radius: 2rem; overflow: hidden; box-shadow: -20px 20px 60px rgba(0,0,0,.55); transition: transform 0.8s var(--ease-out); }
.project-card:hover .project-img-wrapper { transform: translateY(-55%) skew(0deg) rotate(0deg) scale(1.05); }
.project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover .project-img-wrapper img { transform: scale(1.1); }

/* card-3d — tilt via custom properties normalizadas */
.card-3d { transform-style: preserve-3d; perspective: 1000px; }
.card-3d-inner { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card-3d:hover .card-3d-inner { transform: rotateX(calc(var(--mouse-y-norm) * 10deg)) rotateY(calc(var(--mouse-x-norm) * 10deg)); }

/* Card de foto animado (hero) */
.hero-image-wrapper { position: relative; width: 100%; max-width: 480px; aspect-ratio: 0.85; border-radius: 3rem; overflow: hidden; border: 2px solid var(--primary-border); background: #0a0a0c; box-shadow: 0 0 30px -10px var(--primary-glow), 0 50px 100px -20px rgba(0,0,0,0.7); transition: border-color 0.4s, transform 0.7s var(--ease-elastic); }
.hero-image-wrapper:hover { border-color: var(--acid); transform: translateY(-8px) rotate(-1deg); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: contrast(1.05); mask-image: linear-gradient(to bottom, black 85%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%); }
.image-glow { position: absolute; top: 50%; left: 50%; transform: translate(-30%, -30%); width: 120%; height: 120%; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); filter: blur(60px); z-index: -1; opacity: 0.6; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
.tool-icon { position: absolute; width: 54px; height: 54px; padding: 12px; background: rgba(10, 10, 12, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; display: flex; align-items: center; justify-content: center; z-index: 20; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); transition: all 0.4s var(--ease-out); }
.tool-icon:hover { border-color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); transform: scale(1.1) !important; }
.tool-icon svg, .tool-icon .iconify { width: 100%; height: 100%; color: var(--text-secondary); transition: color 0.3s; }
.tool-icon:hover svg, .tool-icon:hover .iconify { color: var(--primary); }

.card-stack-item { transition: transform 0.6s var(--ease-elastic), opacity 0.5s ease, z-index 0s; }

/* Testimonial / marquee */
.marquee-container { position: relative; width: 100%; overflow: hidden; padding: 4rem 0; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.marquee-content { display: flex; gap: 3rem; width: max-content; animation: marqueeScroll 40s linear infinite; }
.marquee-content:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 1.5rem)); } }
.testimonial-card { width: 420px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 2.5rem; padding: 3rem 2.6rem; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; position: relative; box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.4); }
.testimonial-card:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--primary); transform: translateY(-15px) scale(1.02); box-shadow: inset 0 0 20px rgba(249, 115, 22, 0.1), 0 30px 60px rgba(0, 0, 0, 0.6); }
.testimonial-card::after { content: ""; position: absolute; inset: 0; border-radius: 2.5rem; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(249, 115, 22, 0.2)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; pointer-events: none; }
.quote-icon { font-size: 4rem; font-family: var(--font-display); color: var(--primary); line-height: 1; margin-bottom: 1.5rem; opacity: 0.5; }
.testimonial-text { font-size: 1.05rem; color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 2.2rem; font-weight: 300; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.2); flex-shrink: 0; }
.author-info { display: flex; flex-direction: column; gap: 0.1rem; }
.author-name { font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: 0.02em; }
.author-role { font-size: 0.8rem; color: var(--primary); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }

/* ==========================================================
   GENERIC GLASS CARD + PRICE CARD (do produto)
========================================================== */
.ds-card { position: relative; background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--r-lg); transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease; }
.ds-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6); }
.ds-card-accent:hover { border-color: var(--primary); box-shadow: 0 24px 60px -20px var(--primary-glow); }

.price-card { position: relative; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 2.2rem; transition: all 0.4s var(--ease-out); }
.price-card:hover { border-color: var(--border-hover); transform: translateY(-6px); }
.price-card.featured { border-color: rgba(249, 115, 22, 0.55); background: linear-gradient(180deg, rgba(249, 115, 22, 0.09), rgba(255, 255, 255, 0.02) 55%); box-shadow: 0 0 45px -12px var(--primary-glow); }
.price-card.featured:hover { border-color: var(--primary); box-shadow: 0 0 65px -8px var(--primary-glow), 0 30px 60px rgba(0, 0, 0, 0.45); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; padding: 0.42rem 1rem; border-radius: 9999px; background: linear-gradient(90deg, var(--primary), #f59e0b); color: #000; white-space: nowrap; box-shadow: 0 8px 20px -6px var(--primary-glow); }

/* ==========================================================
   TIMELINE VERTICAL
========================================================== */
.timeline-v-line { position: absolute; left: 50%; transform: translateX(-50%); top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; }
.timeline-v-progress { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 4px; height: 0; background: linear-gradient(to bottom, var(--secondary), var(--primary), var(--acid)); box-shadow: 0 0 20px var(--primary-glow); border-radius: 2px; transition: height 0.1s linear; }
.timeline-item-wrapper { position: relative; display: flex; width: 100%; margin-bottom: 6rem; opacity: 0; transform: translateY(40px); transition: all 1s var(--ease-out); }
.timeline-item-wrapper.active { opacity: 1; transform: translateY(0); }
.timeline-item-content { width: 50%; position: relative; display: flex; }
.timeline-item-wrapper:nth-child(odd) { justify-content: flex-start; }
.timeline-item-wrapper:nth-child(odd) .timeline-item-content { justify-content: flex-end; padding-right: 5rem; }
.timeline-item-wrapper:nth-child(even) { justify-content: flex-end; }
.timeline-item-wrapper:nth-child(even) .timeline-item-content { justify-content: flex-start; padding-left: 5rem; }
.timeline-v-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; background: #000; border: 3px solid var(--primary); border-radius: 50%; z-index: 20; box-shadow: 0 0 15px var(--primary-glow); }
.timeline-card-glass { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 2rem; padding: 2.5rem; max-width: 450px; transition: all 0.4s ease; }
.timeline-card-glass:hover { border-color: var(--primary); background: rgba(255, 255, 255, 0.05); transform: translateY(-5px); }
.company-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.company-logo { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); border-radius: 1rem; padding: 0.8rem; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.4s ease; color: var(--primary); }
.timeline-card-glass:hover .company-logo { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); transform: scale(1.1); box-shadow: 0 0 20px var(--primary-glow); }
.company-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; letter-spacing: -0.02em; }
.timeline-v-year { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.8rem; font-weight: 200; color: var(--text-secondary); white-space: nowrap; }
.timeline-item-wrapper:nth-child(odd) .timeline-v-year { left: calc(100% + 4rem); }
.timeline-item-wrapper:nth-child(even) .timeline-v-year { right: calc(100% + 4rem); }
.job-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; font-weight: 300; }

/* ==========================================================
   CTA FINAL
========================================================== */
.cta-card { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 4rem; padding: 7rem 4rem; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.02), 0 40px 100px rgba(0, 0, 0, 0.5); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(249, 115, 22, 0.12), transparent 70%); pointer-events: none; }
.cta-aura { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%); filter: blur(120px); z-index: -1; }
.cta-action-text { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--primary); margin-bottom: 2rem; display: block; }

/* Headlines */
.headline { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.01em; text-transform: none; }
.headline span { color: var(--primary); font-weight: 300; position: relative; }
.headline span::after { content: ''; position: absolute; bottom: 0.1em; left: 0; width: 100%; height: 1px; background: var(--primary); opacity: 0.3; }
.hero-display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(4rem, 9.5vw, 8.5rem); line-height: 0.9; letter-spacing: -0.03em; }

/* Gradiente de texto reutilizável */
.text-gradient-primary { background: linear-gradient(to right, #fff, #fb923c 55%, var(--primary-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================
   MICRO ANIMAÇÕES
========================================================== */
@keyframes morph { 0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } }
@keyframes radar { 0% { transform: scale(0.5); opacity: 1; border-width: 2px; } 100% { transform: scale(2.5); opacity: 0; border-width: 0px; } }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes fade { to { opacity: 1; } }
.animate-morph { animation: morph 8s ease-in-out infinite; }
.draw-path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.5s var(--ease-out) forwards; }
.grow-bar { transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--ease-out) forwards; }
.fade-in { opacity: 0; animation: fade 1s ease forwards; }

/* ==========================================================
   INPUTS / TOOLTIP / ÍCONES / MODAL
========================================================== */
.float-input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.75rem 0; color: #fff; font-family: var(--font-body); font-size: 1.05rem; transition: border-color 0.3s; outline: none; }
.float-input:focus { border-color: var(--primary); }
.ds-input { width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 0.75rem; padding: 0.85rem 1rem; color: #fff; font-size: 0.9rem; transition: all 0.3s ease; }
.ds-input::placeholder { color: rgba(255,255,255,.35); }
.ds-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,.15); background: rgba(255,255,255,.06); }

.ds-tooltip { position: relative; }
.ds-tooltip .ds-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); background: #0a0a0a; color: #fff; font-size: 0.72rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem; white-space: nowrap; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 8px 24px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: all 0.25s ease; }
.ds-tooltip .ds-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #0a0a0a; }
.ds-tooltip:hover .ds-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

.icon-card { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); border-radius: 1.25rem; transition: all 0.25s var(--ease-out); }
.icon-base { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: all 0.2s ease; }
.icon-card:hover { border-color: rgba(var(--acid-rgb), 0.55); background: rgba(var(--acid-rgb), 0.055); transform: translateY(-4px); }
.icon-card:hover .icon-base { transform: scale(1.1); stroke: var(--acid); }

.ds-modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.ds-modal-overlay.open { opacity: 1; pointer-events: auto; }
.ds-modal { width: min(92%, 480px); transform: translateY(30px) scale(0.96); opacity: 0; transition: all 0.5s var(--ease-elastic); }
.ds-modal-overlay.open .ds-modal { transform: translateY(0) scale(1); opacity: 1; }

/* ==========================================================
   RESPONSIVO
========================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .tool-icon { display: none; }
  .purple-orb { display: none; }
  .timeline-item-wrapper, .timeline-item-wrapper:nth-child(odd), .timeline-item-wrapper:nth-child(even) { justify-content: flex-start; }
  .timeline-v-line, .timeline-v-progress { left: 8px; }
  .timeline-v-dot { left: 8px; }
  .timeline-item-content { width: 100%; }
  .timeline-item-wrapper:nth-child(odd) .timeline-item-content, .timeline-item-wrapper:nth-child(even) .timeline-item-content { padding-left: 3rem; padding-right: 0; justify-content: flex-start; }
  .timeline-v-year { display: none; }
}

/* Reduce-motion: NÃO matar o fundo ambiente (igual ao site cursos — que só
   esconde a chuva). O fundo animado deve rodar para todos. */
@media (prefers-reduced-motion: reduce) {
  .rain-layer { display: none; }
}
