/* ===================================================
   GRUPO TENHA SERVIÇOS — Premium Homepage CSS
   Design System: Dark Mode, Gold Accents, Premium Feel
   =================================================== */

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

:root {
  --gold:       #d4a017;
  --gold-light: #e8b94f;
  --gold-dark:  #b8880f;
  --bg-dark:    #0f172a;
  --bg-card:    #1a2236;
  --bg-card2:   #1e2840;
  --border:     rgba(212,160,23,0.14);
  --border-soft: rgba(255,255,255,0.07);
  --text:       #e8eaf0;
  --text-muted: #7e8ba4;
  --text-soft:  #b0bac8;
  --white:      #ffffff;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #172035 50%, #0f172a 100%);
  --gradient-gold: linear-gradient(135deg, #d4a017, #b8880f);
  --shadow-gold: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.45);
  --radius:     14px;
  --radius-sm:  9px;
  --transition: 0.32s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY HELPERS --- */
.gold-text { color: var(--gold); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag.light { background: rgba(245,158,11,0.15); color: var(--gold-light); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header.white .section-title { color: var(--white); }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-gold);
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(212,160,23,0.35); color: var(--gold); }
.btn-ghost svg { width: 18px; height: 18px; }

/* =======================================================
   NAVBAR
   ======================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
  height: 100%;
  flex-shrink: 0;
}
.logo-icon svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-size: 0.9rem; font-weight: 900; letter-spacing: 0.08em; color: var(--white); }
.logo-sub { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em; color: var(--gold); }

/* --- LOGO IMAGEM (navbar) --- */
.nav-logo-wrap {
  height: 90px;
  width: auto;
  display: flex;
  align-items: center;
  overflow: visible;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 90px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-img {
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(212,160,23,0.5));
  transform: scale(1.02);
}

/* --- LOGO IMAGEM (footer) --- */
.footer-logo-wrap {
  height: 145px;
  width: auto;
  display: inline-flex;
  align-items: center;
  margin-bottom: 25px;
  overflow: visible;
}
.footer-logo-img {
  height: 145px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  opacity: 0.95;
  transition: var(--transition);
}
.footer-logo-img:hover {
  opacity: 1;
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(212,160,23,0.35));
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

/* --- MEGA MENU --- */
.has-mega { position: static; }
.mega-menu {
  position: absolute;
  top: 80px; /* Slight overlap to prevent hover gaps */
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  padding: 40px 0;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transform: translateY(10px);
  transition: all 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(0,0,0,0.2);
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -30px; /* Increased reach */
  left: 0;
  right: 0;
  height: 40px; /* Increased height to cover gap */
  background: transparent;
}
.mega-menu::-webkit-scrollbar { width: 6px; }
.mega-menu::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.mega-menu::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
.has-mega:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop Navigation Alignment & Mega Menu Hover Bridge */
@media (min-width: 992px) {
  .nav-links {
    height: 100%;
    align-self: stretch;
  }
  .nav-links > li {
    height: 100%;
    display: flex;
    align-items: center;
  }
  .has-mega:hover .nav-link {
    color: var(--white);
    background: rgba(255,255,255,0.05);
  }
}
.mega-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.mega-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mega-col h4::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212,160,23,0.15);
}
.mega-list { display: flex; flex-direction: column; gap: 8px; }
.mega-list a {
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: var(--transition);
  display: block;
  padding: 4px 0;
}
.mega-list a:hover { color: var(--gold); padding-left: 5px; }

/* Mobile Mega Menu Refinement */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    display: none;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    background: rgba(255,255,255,0.02);
    padding: 20px;
    box-shadow: none;
    border-bottom: none;
  }
  .nav-links.active .has-mega.open .mega-menu {
    display: block;
  }
  .mega-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.nav-cta {
  background: var(--gradient-gold);
  color: #0f172a !important;
  font-weight: 700;
  padding: 10px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =======================================================
   HERO
   ======================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.6);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.3) 0%,
    rgba(15,23,42,0.15) 40%,
    rgba(15,23,42,0.75) 80%,
    rgba(15,23,42,1) 100%
  );
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 132px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.08);
  border: 1px solid rgba(212,160,23,0.22);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease forwards;
  opacity: 0;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5px rgba(212,160,23,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}
.title-line-1 { animation: slideUp 0.9s ease 0.3s forwards; color: var(--white); }
.title-line-2 { animation: slideUp 0.9s ease 0.6s forwards; }
.title-gold {
  background: linear-gradient(135deg, #d4a017 0%, #e8b94f 50%, #b8880f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-soft);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.9s forwards;
}
.hero-sub strong { color: var(--white); font-weight: 700; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 1.1s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 40px;
  backdrop-filter: blur(16px);
  opacity: 0;
  animation: fadeInUp 0.9s ease 1.3s forwards;
}
.stat-item { text-align: center; padding: 0 32px; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: inline;
  letter-spacing: -0.02em;
}
.stat-plus { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.08); }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.scroll-dot {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(14px); opacity: 0.3; }
}

/* =======================================================
   MARQUEE STRIP
   ======================================================= */
.manifesto-strip {
  background: var(--gradient-gold);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marquee 25s linear infinite;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0a0a0f;
}
.sep { font-size: 0.6rem; opacity: 0.6; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================================================
   SOBRE
   ======================================================= */
.sobre {
  padding: 120px 0;
  background: var(--bg-dark);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sobre-visual {
  position: relative;
  height: 480px;
}

/* --- Painel principal "Dashboard" --- */
.sv-main-panel {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #0d1b2e;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.sv-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sv-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.sv-dot.red    { background: #ff5f57; }
.sv-dot.yellow { background: #febc2e; }
.sv-dot.green  { background: #28c840; }
.sv-panel-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.sv-panel-body {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sv-building-svg {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 16px;
  display: block;
}

/* Barras de progresso */
.sv-progress-row {
  margin-bottom: 12px;
}
.sv-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.sv-progress-label span:first-child {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.sv-progress-val {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold);
}
.sv-progress-bar {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.sv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  transition: width 1.2s ease;
}

/* Mini stats row */
.sv-mini-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.sv-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sv-mini-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.sv-mini-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sv-mini-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.06);
}

/* --- Cards flutuantes redesenhados --- */
.sobre-card-float {
  position: absolute;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: float-card 3.5s ease-in-out infinite;
  min-width: 168px;
}
.float-1 {
  top: 24px;
  right: -28px;
  animation-delay: 0s;
}
.float-2 {
  bottom: 60px;
  left: -28px;
  animation-delay: 1.8s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.float-icon-circle {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.float-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.float-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.float-content span {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1;
}
.float-stars {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-top: 4px;
}

.sobre-text .section-tag { display: inline-flex; }
.sobre-desc { font-size: 1rem; color: var(--text-soft); margin-bottom: 16px; line-height: 1.75; }
.sobre-desc strong { color: var(--white); }

.sobre-features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: var(--transition);
}
.feature-item:hover { color: var(--white); }
.feature-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}


/* =======================================================
   SERVIÇOS
   ======================================================= */
.servicos {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14,22,40,1) 100%);
}
.servicos-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(212,160,23,0.1);
  border-color: rgba(212,160,23,0.25);
  color: var(--gold);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.servico-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}
.servico-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,23,0.2);
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}
.servico-card:hover::before { opacity: 1; }

.card-destaque {
  background: linear-gradient(135deg, rgba(212,160,23,0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(212,160,23,0.2);
}
.card-badge-top {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gradient-gold);
  color: #0a0a0f;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
}

.servico-icon { font-size: 2.2rem; margin-bottom: 16px; }
.servico-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.servico-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.card-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  padding: 3px 10px;
  border-radius: 100px;
}
.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.card-link:hover { color: var(--gold-light); }

/* HIDDEN CARDS (filter) */
.servico-card.hidden {
  display: none;
}

/* =======================================================
   NÚMEROS
   ======================================================= */
.numeros {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.numeros-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c1526 0%, #0f1c34 50%, #0c1526 100%);
}
.numeros-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30,50,100,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(30,50,100,0.1) 0%, transparent 50%);
}
.numeros .container { position: relative; z-index: 1; }
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}
.numero-item {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-dark);
  transition: var(--transition);
  position: relative;
}
.numero-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(212,160,23,0.04), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}
.numero-item:hover { background: rgba(255,255,255,0.02); }
.numero-item:hover::after { opacity: 1; }
.numero-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.numero-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.numero-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =======================================================
   DIFERENCIAIS
   ======================================================= */
.diferenciais {
  padding: 120px 0;
  background: var(--bg-dark);
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.diferencial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.diferencial-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.diferencial-card:hover { transform: translateY(-3px); border-color: rgba(212,160,23,0.18); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.diferencial-card:hover::after { transform: scaleX(1); }
.dif-number {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(212,160,23,0.25);
  margin-bottom: 20px;
}
.dif-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.diferencial-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.diferencial-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* =======================================================
   DEPOIMENTOS
   ======================================================= */
.depoimentos {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10,18,34,1) 100%);
  overflow: hidden;
}
.depoimentos-slider { overflow: hidden; }
.dep-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.dep-card {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.dep-card:hover { border-color: rgba(212,160,23,0.18); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.dep-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 20px; }
.dep-text { font-size: 0.93rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.dep-author { display: flex; align-items: center; gap: 14px; }
.dep-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0a0a0f;
  flex-shrink: 0;
}
.dep-author strong { display: block; font-size: 0.9rem; color: var(--white); }
.dep-author span { font-size: 0.78rem; color: var(--text-muted); }

.dep-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.dep-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.dep-btn:hover { background: rgba(245,158,11,0.15); border-color: var(--border); color: var(--gold); }
.dep-dots { display: flex; gap: 8px; }
.dep-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
}
.dep-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* =======================================================
   CTA FINAL
   ======================================================= */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1a 100%);
}
.cta-bg::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-bg::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-trust span { font-size: 0.85rem; color: var(--gold); font-weight: 600; }

.cta-form-box {
  background: var(--bg-card2);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.cta-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(139,139,158,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245,158,11,0.4);
  background: rgba(245,158,11,0.04);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.08);
}
.form-group select option { background: #1a1a24; color: var(--text); }

/* =======================================================
   FOOTER
   ======================================================= */
.footer {
  background: #06060b;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo-icon svg { width: 40px; height: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: rgba(245,158,11,0.1); border-color: var(--border); color: var(--gold); }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(139,139,158,0.6);
}

/* =======================================================
   WHATSAPP FLOAT
   ======================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 0.5s ease 2s forwards;
}
.whatsapp-float svg { width: 30px; height: 30px; color: white; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-ring 2s ease-out infinite;
}
@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes popIn {
  to { opacity: 1; transform: scale(1); }
}

/* =======================================================
   KEYFRAME ANIMATIONS
   ======================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Intersection Observer animation base */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 60px; }
  .sobre-visual { height: 320px; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .numeros-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: rgba(10,10,15,0.97); backdrop-filter: blur(20px); padding: 20px 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; padding: 20px; gap: 16px; }
  .stat-divider { width: 80px; height: 1px; }
  .hero-actions { gap: 12px; }
  .dep-card { width: calc(100% - 0px); }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.4rem, 12vw, 5rem); }
  .servicos-grid { grid-template-columns: 1fr; }
  .numeros-grid { grid-template-columns: 1fr 1fr; }
  .cta-form-box { padding: 28px 20px; }
  .hero-stats { display: none; }
}

/* =======================================================
   WHATSAPP MODAL & PROMOTION (PREMIUM REFINEMENT)
   ======================================================= */

/* Botão Flutuante */
.whatsapp-flutuante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}
.whatsapp-flutuante svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.whatsapp-flutuante:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* Modal de Lead */
.form-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    padding: 24px;
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.4s ease;
}
.form-modal h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}
.form-modal input, .form-modal textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}
.form-modal input:focus, .form-modal textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.06);
}
.form-modal button {
    width: 100%;
    background: var(--gradient-gold);
    color: #010101;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}
.form-modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,160,23,0.3);
}
.form-modal .close-btn:hover {
    background: rgba(255,95,87,0.1);
    color: #ff5f57;
}

/* Mobile Adjustments for Modals */
@media (max-width: 480px) {
    .form-modal {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 20px;
        padding: 20px;
    }
    .whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-flutuante svg {
        width: 24px;
        height: 24px;
    }
    /* Hide WA button when modal is open on mobile */
    .form-modal.active ~ .whatsapp-flutuante {
        display: none;
    }
}

/* Modal de Promoção */
#promo-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 2px solid var(--gold);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(212, 160, 23, 0.25);
    z-index: 2000;
    max-width: 90%;
    width: 380px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
#promo-modal h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 900;
}
#promo-modal p {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
#promo-modal strong {
    color: var(--gold);
}
#promo-modal span {
    display: block;
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 900;
    margin: 10px 0 20px;
    font-family: monospace;
    letter-spacing: 2px;
}
#promo-modal .aceitar {
    background: var(--gradient-gold);
    color: #000;
    font-weight: 800;
}
#promo-modal .recusar {
    background: transparent;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.8rem;
    padding: 8px;
}
#promo-modal .recusar:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

@media (max-width: 480px) {
    #promo-modal {
        width: 95%;
        padding: 24px;
    }
    #promo-modal h3 { font-size: 1.2rem; }
    #promo-modal span { font-size: 1.8rem; }
}

/* Service Cloud Interactivity */
.cloud-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.cloud-link:hover {
    background: var(--gradient-gold) !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,160,23,0.3);
    border-color: var(--gold) !important;
}
