/* HOLY HANDS STUDIO — Landing Page Styles */

:root {
  --bg-dark: #050B14;
  --bg-card: rgba(10, 18, 30, 0.65);
  --accent-cyan: #22D3EE;
  --accent-gold: #F59E0B;
  --text-main: #F8FAFC;
  --text-dim: #94A3B8;
  --text-dimmer: #64748B;
  --border: rgba(148, 163, 184, 0.16);
  --border-hover: rgba(148, 163, 184, 0.3);
  --font-main: 'Inter', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* FOCUS-VISIBLE */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  background-image: url('public/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section { scroll-margin-top: 80px; }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar {
  width: 100%; height: 80px;
  background-color: var(--bg-dark);
  display: flex; align-items: center;
  position: fixed; top: 0; left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-text { color: var(--text-main); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.nav-logo-img { width: 50px; height: 50px; }
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a {
  color: var(--text-dim); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-cyan) !important; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 100%; height: 2px; background-color: var(--accent-cyan);
}
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 28px; height: 21px; background: transparent;
  border: none; cursor: pointer; padding: 0; z-index: 1001;
}
.hamburger .bar {
  width: 100%; height: 3px; background-color: var(--text-main);
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--accent-cyan); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--accent-cyan); }

/* HERO */
.hero {
  position: relative;
  padding: 140px 20px 80px;
  background-color: var(--bg-dark);
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

/* Background Video & Pattern Overlay */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.15) saturate(1.1);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('public/dots-mini-light.png');
  background-repeat: repeat;
  background-size: 8px 8px;
  background-color: rgba(5, 11, 20, 0.72);
  /* Vignette & gradient effect to blend seamlessly with surrounding sections */
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5, 11, 20, 0.45) 0%, rgba(5, 11, 20, 0.88) 85%, #050B14 100%),
    linear-gradient(to bottom, rgba(5, 11, 20, 0.8) 0%, transparent 20%, transparent 80%, #050B14 100%),
    url('public/dots-mini-light.png') repeat;
  mix-blend-mode: multiply;
  opacity: 0.95;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 72px; width: 100%;
}
.hero-main {
  display: flex; justify-content: flex-start;
  align-items: center; width: 100%;
}
.hero-text { flex: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 100px; padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-badge-text {
  color: var(--accent-gold); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.04em; white-space: nowrap;
}
.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.07;
  color: var(--text-main); margin-bottom: 22px;
  white-space: normal; word-break: keep-all; overflow-wrap: normal;
}
.hero-gradient {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.65; margin-bottom: 36px; max-width: 580px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-gold); color: var(--bg-dark);
  border: none; padding: 14px 28px; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; min-height: 48px;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
}
.cta-button:hover {
  background: #f59e0b;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.35);
  transform: translateY(-2px);
}
.cta-secondary {
  color: var(--text-dim); font-size: 0.875rem; font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease; padding-bottom: 1px;
}
.cta-secondary:hover { color: var(--text-main); border-color: rgba(255, 255, 255, 0.4); }

/* ═══════════════════════════════════════════════════ */
/* SERVIÇOS (Seção Exclusiva Expandível)               */
/* ═══════════════════════════════════════════════════ */
.services-section {
  padding: 120px 20px 100px;
  background: radial-gradient(ellipse at 50% 10%, rgba(34, 211, 238, 0.05) 0%, transparent 70%),
              linear-gradient(to bottom, #050B14 0%, #08101E 50%, #050B14 100%);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.services-container {
  max-width: 1280px;
  margin: 0 auto;
}
.services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.services-eyebrow {
  display: inline-block;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.services-title {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.services-highlight {
  background: linear-gradient(90deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.services-subtitle {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 28px;
  align-items: stretch;
}

.service-card-expanded {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.service-card-expanded::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card-expanded:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(18, 28, 51, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(34, 211, 238, 0.1);
  transform: translateY(-4px);
}
.service-card-expanded:hover::before {
  opacity: 1;
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-card-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card-expanded:hover .service-card-icon-box {
  transform: scale(1.08) rotate(2deg);
  border-color: var(--accent-cyan);
}
.service-card-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.service-card-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.service-card-title {
  color: var(--text-main);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card-summary {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.service-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}
.service-card-expanded:hover .service-badge {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.25);
  color: #ffffff;
}

.service-price {
  padding: 14px 16px;
  margin: 0 0 20px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(34, 211, 238, 0.07), rgba(15, 23, 42, 0.24));
}
.service-price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-price-pair > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(5, 11, 20, 0.35);
}
.service-price-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dimmer);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.service-price strong {
  display: block;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.45;
}
.service-price strong span {
  color: var(--accent-cyan);
  font-size: 1.12rem;
  font-weight: 800;
  white-space: nowrap;
}
.service-price-custom strong {
  color: var(--accent-cyan);
  font-size: 1rem;
}

/* Botão Toggle de Detalhes */
.service-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.service-details-toggle:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--accent-cyan);
}
.service-details-toggle .toggle-arrow {
  transition: transform 0.3s ease;
}
/* Gaveta de Detalhes (Drawer) */
.service-details-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}
.service-details-inner {
  padding-top: 24px;
  margin-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.details-heading {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-details-note {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: -4px 0 18px;
}
.service-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-deliverables li {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-deliverables li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.service-drawer-cta {
  display: flex;
}
.service-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), #38bdf8);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.22s ease;
}
.service-cta-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 18px rgba(34, 211, 238, 0.35);
  transform: translateY(-2px);
}

.service-details-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(580px, calc(100vw - 32px));
  max-width: none;
  max-height: min(82vh, 760px);
  padding: 0;
  overflow: hidden;
  color: var(--text-main);
  background: #0b1422;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 32px rgba(34, 211, 238, 0.12);
}
.service-details-modal::backdrop {
  background: rgba(2, 6, 18, 0.78);
  backdrop-filter: blur(7px);
}
.service-modal-shell {
  display: flex;
  flex-direction: column;
  max-height: min(82vh, 760px);
}
.service-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.85);
}
.service-modal-title {
  margin: 0;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 800;
}
.service-modal-close {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.service-modal-close:hover {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
}
.service-modal-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}
.service-modal-content .service-details-inner {
  margin: 0;
  padding: 0;
  border: 0;
}
.service-modal-content .service-deliverables {
  margin-bottom: 20px;
}
.service-modal-content .details-heading:not(:first-child) {
  margin-top: 24px;
}
.service-details-modal:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* SOBRE */
.about-section { padding: 100px 20px; background: rgba(5, 11, 20, 0.85); }
.about-container { max-width: 1280px; margin: 0 auto; }
.about-main { display: flex; gap: 80px; align-items: flex-start; }
.about-content { flex: 1.2; }
.about-eyebrow {
  display: inline-block; color: var(--accent-cyan);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px;
}
.about-title {
  color: var(--text-main); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 24px;
}
.about-highlight { color: var(--accent-cyan); }
.about-subtitle {
  color: var(--text-dim); font-size: 1rem; line-height: 1.7;
  margin-bottom: 40px; max-width: 520px;
}
.about-cyan { color: var(--accent-cyan); }
.about-features { display: flex; flex-direction: column; gap: 28px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 12px;
}
.about-feature-text h3 { color: var(--text-main); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.about-feature-text p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.about-visual {
  flex: 1; display: flex; flex-direction: column;
  gap: 40px; align-items: center;
}
.about-3d-wrapper {
  width: 100%; max-width: 440px; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.08) 0%, rgba(249, 115, 22, 0.04) 50%, transparent 70%);
  border-radius: 24px;
}
.about-3d-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}
.about-social h4 { color: var(--accent-cyan); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.about-social-links { display: flex; flex-direction: column; gap: 12px; }
.about-social-links a {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dim); font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s ease;
}
.about-social-links a:hover { color: var(--text-main); }
.about-social-links img { width: 22px; height: 22px; object-fit: contain; }

/* ESTATISTICAS */
.stats-section { padding: 80px 20px; background: rgba(5, 11, 20, 0.75); }
.stats-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.stat-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.stat-number {
  color: var(--text-main); font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
}
.stat-number.stat-text { font-size: 1.1rem; letter-spacing: 0.02em; }
.stat-label { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }

/* PORTFOLIO */
.portfolio-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(5, 11, 20, 0.8) 0%, rgb(75 34 238 / 28%) 45%, rgba(5, 11, 20, 0.8) 100%);
  padding: 100px 20px 120px; width: 100%;
}
.portfolio-section::before,
.portfolio-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.portfolio-section::before {
  opacity: 0.46;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(218, 235, 255, 0.95) 50%, transparent 100%),
    radial-gradient(2px 2px at 19% 72%, rgba(159, 205, 255, 0.75) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 29% 36%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
    radial-gradient(2px 2px at 43% 82%, rgba(185, 210, 255, 0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 57% 21%, rgba(185, 220, 255, 0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 63%, rgba(255, 255, 255, 0.92) 50%, transparent 100%),
    radial-gradient(2px 2px at 79% 31%, rgba(175, 195, 255, 0.8) 50%, transparent 100%),
    radial-gradient(2px 2px at 91% 76%, rgba(200, 225, 255, 0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 96% 12%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 17px 29px, rgba(195, 215, 255, 0.78) 50%, transparent 100%),
    radial-gradient(1.3px 1.3px at 83px 91px, rgba(180, 205, 255, 0.72) 50%, transparent 100%),
    radial-gradient(1px 1px at 137px 54px, rgba(225, 235, 255, 0.8) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 46px 118px, rgba(125, 165, 255, 0.72) 50%, transparent 100%),
    radial-gradient(1px 1px at 191px 142px, rgba(215, 230, 255, 0.8) 50%, transparent 100%),
    radial-gradient(1px 1px at 62px 36px, rgba(190, 210, 255, 0.64) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 151px 101px, rgba(145, 175, 255, 0.64) 50%, transparent 100%);
  background-size: auto, auto, auto, auto, auto, auto, auto, auto, auto, 223px 171px, 223px 171px, 223px 171px, 223px 171px, 307px 239px, 307px 239px;
  background-position: center, center, center, center, center, center, center, center, center, 0 0, 71px 49px, 0 0, 0 0, 0 0, 129px 83px;
  animation: portfolioStarsTwinkle 9s ease-in-out infinite alternate;
}
.portfolio-section::after {
  opacity: 0.26;
  filter: blur(24px);
  transform: scale(1.06);
  background:
    radial-gradient(ellipse 78% 20% at 47% 61%, rgba(69, 92, 196, 0.24), transparent 73%),
    radial-gradient(ellipse 65% 13% at 62% 62%, rgba(133, 75, 156, 0.16), transparent 76%),
    linear-gradient(158deg, transparent 37%, rgba(61, 78, 169, 0.04) 43%, rgba(87, 83, 185, 0.14) 49%, rgba(111, 68, 145, 0.1) 53%, rgba(59, 78, 163, 0.04) 59%, transparent 66%);
  animation: portfolioNebulaDrift 24s ease-in-out infinite alternate;
}
.portfolio-container { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
@keyframes portfolioStarsTwinkle {
  0% { opacity: 0.3; }
  55% { opacity: 0.52; }
  100% { opacity: 0.36; }
}
@keyframes portfolioNebulaDrift {
  from { transform: scale(1.04) translate3d(-0.5%, 0, 0); opacity: 0.2; }
  to { transform: scale(1.08) translate3d(0.5%, 0, 0); opacity: 0.34; }
}
.portfolio-header { text-align: center; margin-bottom: 48px; }
.portfolio-eyebrow {
  display: inline-block; color: #818CF8; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.portfolio-title {
  color: var(--text-main); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.portfolio-highlight {
  background: linear-gradient(90deg, var(--accent-cyan), #818CF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.portfolio-subtitle {
  color: var(--text-dim); font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 500px; margin: 0 auto; line-height: 1.6;
}
.portfolio-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 52px; flex-wrap: wrap; }
.filter-btn {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim); font-family: inherit; font-size: 0.875rem;
  font-weight: 600; padding: 10px 24px; border-radius: 100px;
  cursor: pointer; min-height: 44px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.15s ease;
}
.filter-btn:hover {
  background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.35);
  color: var(--text-main); transform: translateY(-1px);
}
.filter-btn.active { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--bg-dark); }
.filter-btn.active:hover { background: #06B6D4; border-color: #06B6D4; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.project-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 211, 238, 0.25);
  border-color: rgba(34, 211, 238, 0.3); transform: translateY(-6px);
}
.project-image-wrapper {
  position: relative; width: 100%; height: 220px; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.project-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease;
}
.project-card:hover .project-image { transform: scale(1.05); }
.category-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(5, 11, 20, 0.75); border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; padding: 4px 10px; border-radius: 100px;
  backdrop-filter: blur(6px);
}
.project-content { display: flex; flex-direction: column; flex-grow: 1; padding: 24px 24px 28px; }
.project-title {
  color: var(--text-main); font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 12px;
}
.project-desc {
  color: var(--text-dim); font-size: 0.875rem; line-height: 1.65;
  margin-bottom: 20px; flex-grow: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tech-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1; font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tech-badge:hover { background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.3); }
.tech-badge img { width: 14px; height: 14px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; }
.project-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px; flex: 1;
  justify-content: center; min-height: 44px; padding: 0 18px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px; color: #E2E8F0; font-family: inherit;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px; flex: 1;
  justify-content: center; min-height: 44px; padding: 0 18px;
  background: var(--accent-cyan); border: 1px solid var(--accent-cyan);
  border-radius: 10px; color: var(--bg-dark); font-family: inherit;
  font-size: 0.875rem; font-weight: 700; cursor: pointer;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: #06B6D4; border-color: #06B6D4;
  box-shadow: 0 4px 18px rgba(34, 211, 238, 0.4); transform: translateY(-1px);
}
.project-modal-trigger { font-family: inherit; }
.project-status {
  flex: 0 0 auto;
  padding-right: 12px;
  padding-left: 12px;
  font-size: 0.72rem;
  white-space: nowrap;
  cursor: default;
}

.project-details-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(700px, calc(100vw - 32px));
  max-width: none;
  max-height: min(86vh, 820px);
  padding: 0;
  overflow: hidden;
  color: var(--text-main);
  background: #0b1422;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 34px rgba(34, 211, 238, 0.1);
}
.project-details-modal::backdrop {
  background: rgba(2, 6, 18, 0.8);
  backdrop-filter: blur(7px);
}
.project-modal-shell { display: flex; flex-direction: column; max-height: min(86vh, 820px); }
.project-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.88);
}
.project-modal-eyebrow {
  color: var(--accent-cyan);
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.project-modal-close {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.project-modal-close:hover { color: var(--accent-cyan); background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.4); }
.project-modal-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
.project-modal-image {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 20px;
}
.project-modal-category {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-gold);
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.project-modal-title { margin: 0 0 10px; color: var(--text-main); font-size: 1.5rem; font-weight: 800; }
.project-modal-description { margin: 0 0 18px; color: var(--text-dim); font-size: 0.95rem; line-height: 1.65; }
.project-modal-tech { margin-bottom: 20px; }
.project-modal-actions { display: flex; }
.project-modal-link { flex: 0 1 auto; text-decoration: none; }
.project-modal-status { margin: 0; color: var(--accent-gold); font-size: 0.85rem; font-weight: 700; }

/* LIDERANCA */
.leadership-section { padding: 100px 20px; background: rgba(5, 11, 20, 0.85); }
.leadership-container { max-width: 1280px; margin: 0 auto; text-align: center; }
.leadership-eyebrow {
  display: inline-block; color: var(--accent-cyan);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px;
}
.leadership-title {
  color: var(--text-main); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.leadership-subtitle {
  color: var(--text-dim); font-size: 1.05rem;
  line-height: 1.6; margin-bottom: 48px;
}
.leadership-card {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 40px; align-items: start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  text-align: left;
}
.leadership-photo { width: 200px; }
.leadership-avatar {
  width: 200px; height: 240px; object-fit: cover;
  border-radius: 16px;
}
.leadership-name {
  color: var(--text-main); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px;
}
.leadership-role {
  color: var(--accent-cyan); font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 16px;
}
.leadership-desc {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px;
}
.leadership-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.leadership-tag {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim); font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}
.leadership-social { display: flex; gap: 12px; }
.leadership-social a {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 0.2s ease;
}
.leadership-social a:hover { border-color: var(--accent-cyan); }
.leadership-social img { width: 18px; height: 18px; }
.leadership-values {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 8px;
}
.leadership-value { display: flex; gap: 14px; align-items: flex-start; }
.leadership-value-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 10px;
}
.leadership-value-text h4 { color: var(--text-main); font-size: 0.9rem; font-weight: 700; }
.leadership-value-text p { color: var(--text-dim); font-size: 0.8rem; }

/* CTA */
.cta-section {
  padding: 60px 20px; background: rgba(5, 11, 20, 0.7);
}
.cta-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 48px;
}
.cta-content { display: flex; align-items: center; gap: 20px; }
.cta-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 14px;
}
.cta-title { color: var(--text-main); font-size: 1.3rem; font-weight: 700; }
.cta-subtitle { color: var(--text-dim); font-size: 0.9rem; margin-top: 4px; }
.cta-action {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-cyan); color: var(--bg-dark);
  padding: 14px 28px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 700; white-space: nowrap;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease;
}
.cta-action:hover {
  background: #06B6D4; box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
  transform: translateY(-2px);
}

/* CONTACT */
.contact-section {
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.05) 0%, transparent 70%),
              linear-gradient(to bottom, #050B14 0%, #070e1c 50%, #050B14 100%);
  padding: 120px 20px 100px;
  width: 100%;
}
.contact-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.contact-eyebrow {
  color: var(--accent-cyan); font-family: var(--font-code);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  display: inline-block;
}
.contact-title {
  color: var(--text-main); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 20px; text-align: center;
}
.contact-gold { color: var(--accent-gold); }
.contact-subtitle {
  color: var(--text-dim); font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 56px; max-width: 640px; text-align: center;
}

/* Contact Grid Layout */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  width: 100%;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  text-align: left;
}
.form-header {
  margin-bottom: 28px;
}
.form-title {
  color: var(--text-main);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.form-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-status {
  display: none;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
.contact-form-status.is-pending,
.contact-form-status.is-success,
.contact-form-status.is-error { display: block; }
.contact-form-status.is-pending { color: var(--text-dim); }
.contact-form-status.is-success { color: #67e8a5; }
.contact-form-status.is-error { color: #fca5a5; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(5, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
  background: rgba(5, 11, 20, 0.95);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Service Chips */
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.form-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 14px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.form-chip:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--text-main);
}
.form-chip.active {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.25);
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
  color: var(--bg-dark);
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.22s ease;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}
.form-submit-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}
.form-submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  filter: none;
}

/* Side Info Box */
.contact-side-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.contact-info-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: blur(12px);
}
.info-box-eyebrow {
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.info-box-title {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.info-box-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* WhatsApp Card */
.contact-whatsapp-card {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  background: rgba(10, 18, 30, 0.75);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-bottom: 28px;
}
.contact-whatsapp-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(14, 24, 42, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.15);
}
.contact-whatsapp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.contact-whatsapp-text {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
}
.contact-whatsapp-title {
  color: var(--text-main); font-size: 1rem; font-weight: 700;
}
.contact-whatsapp-sub {
  color: var(--accent-gold); font-size: 0.85rem; font-family: var(--font-code); margin-top: 2px;
}
.contact-whatsapp-arrow {
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}
.contact-whatsapp-card:hover .contact-whatsapp-arrow {
  transform: translateX(4px);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.channel-label {
  color: var(--text-dimmer);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.channel-link:hover {
  opacity: 0.8;
}
.channel-text {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════ */
/* BOTÃO FLUTUANTE DE WHATSAPP (ESTILO HOLY HANDS)     */
/* ═══════════════════════════════════════════════════ */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #050B14 100%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.whatsapp-floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 211, 238, 0.45);
  color: #ffffff;
}
.whatsapp-floating-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  opacity: 0.6;
  animation: floatPulse 2.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
@keyframes floatPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.whatsapp-floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-floating-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.whatsapp-floating-btn:hover .whatsapp-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* FOOTER */
.footer {
  background: rgba(5, 11, 20, 0.9); border-top: 1px solid var(--border);
  padding: 80px 20px 0; width: 100%;
}
.footer-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 60px;
  padding-bottom: 60px;
}
.footer-brand { flex: 1.2; max-width: 400px; }
.footer-logo {
  font-size: 1.6rem; font-weight: 700; color: var(--text-main);
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo-img { width: 50px; height: 50px; }
.footer-description { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }
.footer-links { flex: 1.5; display: flex; justify-content: flex-end; gap: 80px; }
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-column h4 {
  color: var(--text-main); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.footer-column a { color: #8B949E; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-column a:hover { color: var(--accent-cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.03); padding: 30px 0; }
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between;
  color: var(--text-dimmer); font-size: 0.85rem;
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* RESPONSIVE */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1100px) {
  .hero-title { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
  .leadership-card { grid-template-columns: 1fr; }
  .leadership-photo { width: 100%; display: flex; justify-content: center; }
  .leadership-avatar { width: 160px; height: 200px; }
  .leadership-values { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .hero { padding: 120px 20px 72px; align-items: flex-start; }
  .hero-main { flex-direction: column; gap: 0; }
  .hero-text { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); text-align: center; max-width: 560px; }
  .hero-subtitle { text-align: center; max-width: 480px; }
  .hero-cta { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-main { flex-direction: column; gap: 48px; }
  .about-visual { align-items: center; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-subtitle br { display: none; }
  .cta-container { flex-direction: column; gap: 24px; text-align: center; padding: 32px 24px; }
  .cta-content { flex-direction: column; }
  .footer-container { flex-direction: column; gap: 40px; text-align: center; }
  .footer-brand { max-width: 100%; }
  .footer-logo { justify-content: center; }
  .footer-links { justify-content: center; gap: 60px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 80px; left: 0; width: 100%;
    height: calc(100vh - 80px); flex-direction: column;
    align-items: center; justify-content: center;
    background-color: rgba(5, 11, 20, 0.95);
    backdrop-filter: blur(12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease; gap: 32px;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  .portfolio-section { padding: 64px 16px 80px; }
  .portfolio-header { margin-bottom: 36px; }
  .portfolio-filters { gap: 8px; margin-bottom: 36px; }
  .filter-btn { padding: 9px 18px; font-size: 0.82rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-image-wrapper { height: 200px; }
  .project-content { padding: 20px 20px 24px; }
  .project-title { font-size: 1.15rem; }
  .project-actions { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .project-status { width: 100%; }
  .project-modal-header { padding: 14px 16px; }
  .project-modal-scroll { padding: 16px; }
  .project-modal-image { max-height: 260px; }
  .project-modal-title { font-size: 1.25rem; }
  .hero { padding: 100px 16px 60px; min-height: auto; }
  .hero-container { gap: 48px; }
  .hero-title { font-size: clamp(1.75rem, 8.5vw, 2.2rem); line-height: 1.1; text-align: center; max-width: 100%; }
  .hero-subtitle { font-size: clamp(0.875rem, 3.5vw, 1rem); max-width: 100%; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 320px; }
  .cta-button { justify-content: center; width: 100%; padding: 15px 24px; }
  .cta-secondary { text-align: center; }
  .services-section { padding: 80px 16px 60px; }
  .service-card-expanded { padding: 26px 20px; }
  .service-card-title { font-size: 1.25rem; }
  .service-price-pair { grid-template-columns: 1fr; }
  .service-modal-header { padding: 16px 18px; }
  .service-modal-scroll { padding: 20px 18px; }
  .service-modal-title { font-size: 1rem; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-floating-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .about-main { gap: 32px; }
  .about-title { font-size: 1.8rem; }
  .stats-container { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 1.6rem; }
  .leadership-card { padding: 24px; gap: 24px; }
  .leadership-values { flex-direction: column; }
  .about-3d-wrapper { max-width: 280px; }
}
