/* ============================================================
   DESIGN SYSTEM — Flávia D. Silva Portfolio
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors — Dark Theme */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a26;
  --bg-card: rgba(20, 20, 32, 0.6);
  --bg-card-hover: rgba(30, 30, 48, 0.8);

  /* Accent Colors — Vibrant Purple/Violet Gradient */
  --accent-start: #7c3aed;
  --accent-mid: #a855f7;
  --accent-end: #c084fc;
  --accent-glow: rgba(124, 58, 237, 0.3);
  --accent-subtle: rgba(168, 85, 247, 0.08);

  /* Secondary Accent — Cyan/Teal */
  --accent2-start: #06b6d4;
  --accent2-end: #22d3ee;
  --accent2-glow: rgba(6, 182, 212, 0.2);

  /* Text Colors */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-tertiary: #6b6b82;
  --text-accent: var(--accent-mid);

  /* WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(168, 85, 247, 0.3);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* Z-Index */
  --z-navbar: 1000;
  --z-overlay: 900;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

.projeto-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.projeto-image-placeholder.has-image {
  justify-content: flex-start;
  padding-top: var(--space-lg);
}

ul {
  list-style: none;
}

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

::selection {
  background: var(--accent-start);
  color: white;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Section Base ---------- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-mid);
  background: var(--accent-subtle);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-sm) 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  transition: transform var(--transition-spring);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-bracket {
  color: var(--accent-mid);
  font-weight: 400;
}

.logo-dot {
  color: var(--accent-end);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-link {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

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

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

.nav-cta-link {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
  color: white !important;
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg) !important;
}

.nav-cta-link::after {
  display: none;
}

.nav-cta-link:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: calc(var(--z-navbar) + 1);
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  display: block;
  position: relative;
  transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-start);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent2-start);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-end);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(15px, 30px) scale(1.05);
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-2xl);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-mid), var(--accent2-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-4xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
  color: white;
  border: none;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-start));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent-mid);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: var(--text-sm);
  padding: 0.625rem 1.25rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent2-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent2-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-mid), transparent);
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   SOBRE MIM
   ============================================================ */
.sobre {
  background: var(--bg-secondary);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-4xl);
  align-items: center;
}

.sobre-image-wrapper {
  position: relative;
}

.sobre-image-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  background: var(--bg-tertiary);
}

.sobre-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.sobre-image-frame:hover .sobre-photo {
  transform: scale(1.05);
}

.sobre-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-tertiary);
}

.sobre-image-placeholder i {
  font-size: 4rem;
  color: var(--accent-mid);
  opacity: 0.5;
}

.sobre-image-placeholder span {
  font-size: var(--text-sm);
  opacity: 0.6;
}

.sobre-image-decoration {
  position: absolute;
  inset: 10px 10px -10px -10px;
  border: 2px solid var(--accent-mid);
  border-radius: var(--radius-xl);
  opacity: 0.3;
  z-index: 0;
}

.sobre-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.tech-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-end);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

.sobre-greeting {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.sobre-bio {
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.sobre-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Sobre Highlight Cards */
.sobre-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.sobre-highlight-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.sobre-highlight-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
  color: white;
  font-size: var(--text-xl);
}

.highlight-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.highlight-desc {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.sobre-cta {
  margin-top: var(--space-xl);
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projetos {
  background: var(--bg-primary);
}

.projetos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.projeto-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-slow);
}

.projeto-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 10px 50px rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.projeto-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.projeto-card:nth-child(even) .projeto-card-inner {
  direction: rtl;
}

.projeto-card:nth-child(even) .projeto-card-inner > * {
  direction: ltr;
}

.projeto-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.projeto-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
}

.projeto-image-placeholder i {
  font-size: 3rem;
  color: var(--accent-mid);
  opacity: 0.4;
}

.projeto-image-placeholder span {
  font-size: var(--text-sm);
  opacity: 0.5;
}

.projeto-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.projeto-image:hover .projeto-overlay {
  opacity: 1;
}

.projeto-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-size: var(--text-xl);
  transition: all var(--transition-fast);
}

.projeto-link:hover {
  background: var(--accent-start);
  border-color: var(--accent-start);
  transform: scale(1.1);
}

.projeto-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projeto-tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.projeto-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-end);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 2px var(--space-sm);
  border-radius: var(--radius-full);
}

.projeto-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.projeto-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.projeto-detail {
  padding-left: var(--space-md);
  border-left: 2px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.projeto-card:hover .projeto-detail {
  border-left-color: var(--accent-mid);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-end);
  margin-bottom: 4px;
}

.detail-label i {
  font-size: var(--text-base);
}

.projeto-detail p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos {
  background: var(--bg-secondary);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.servico-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.servico-card:hover::before {
  transform: scaleX(1);
}

.servico-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.servico-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  margin-bottom: var(--space-lg);
  font-size: var(--text-2xl);
  color: var(--accent-mid);
  transition: all var(--transition-base);
}

.servico-card:hover .servico-icon-wrapper {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
  color: white;
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
}

.servico-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.servico-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.servico-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.servico-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.servico-list li i {
  color: var(--accent-mid);
  font-size: var(--text-base);
  flex-shrink: 0;
}

/* ============================================================
   CONTATO / CTA
   ============================================================ */
.contato {
  background: var(--bg-primary);
  padding: var(--space-5xl) 0;
}

.contato-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
}

.contato-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contato-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.contato-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-start);
  top: -20%;
  left: -10%;
}

.contato-orb-2 {
  width: 250px;
  height: 250px;
  background: var(--accent2-start);
  bottom: -20%;
  right: -10%;
}

.contato-content {
  position: relative;
  z-index: 1;
}

.contato-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.contato-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.contato-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
  font-size: var(--text-xl);
}

.btn-social {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
}

.btn-social:hover {
  border-color: var(--accent-mid);
  background: var(--accent-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-social i {
  font-size: var(--text-xl);
}

.contato-note {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.contato-note i {
  color: var(--accent-mid);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer-heart {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--text-5xl);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .contato-title {
    font-size: var(--text-3xl);
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .sobre-image-col {
    max-width: 350px;
    margin: 0 auto;
  }

  .projeto-card-inner {
    grid-template-columns: 1fr;
  }

  .projeto-card:nth-child(even) .projeto-card-inner {
    direction: ltr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  /* Navbar Mobile */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-2xl);
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: var(--text-lg);
    width: 100%;
    text-align: center;
  }

  /* Hero Mobile */
  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Projetos Mobile */
  .projeto-content {
    padding: var(--space-lg);
  }

  /* Serviços Mobile */
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  /* Contato Mobile */
  .contato-wrapper {
    padding: var(--space-2xl) var(--space-lg);
  }

  .contato-title {
    font-size: var(--text-2xl);
  }

  .contato-buttons {
    flex-direction: column;
  }

  .contato-buttons .btn-whatsapp,
  .contato-buttons .btn-social {
    width: 100%;
    justify-content: center;
  }
}

.whatsapp-flutuante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    
    /* Força o alinhamento perfeito no centro */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    
    transition: background-color 0.3s, transform 0.3s;
}

/* Garante que o ícone interno (SVG) não mude de tamanho ou saia do lugar */
.whatsapp-flutuante svg {
    width: 35px !important;
    height: 35px !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Efeito Hover */
.whatsapp-flutuante:hover {
 background-color: #1da33e;
    transform: scale(1.1);
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .sobre-greeting {
    font-size: var(--text-xl);
  }
}
