/* ============================================================
   QUANTEC PRO — NAV SERVICES DROPDOWN + FOOTER SERVICES
   ============================================================ */

/* ---- NAV DROPDOWN ---- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-secondary, #9a97a8);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--gold, #c9a84c);
}

.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #0c0f1e;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 8px 0;
  list-style: none;
  z-index: 9999;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 40px rgba(201,168,76,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
}

/* Arrow caret */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #0c0f1e;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-left: 1px solid rgba(201,168,76,0.2);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-dropdown-menu li { list-style: none; }

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #9a97a8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  margin: 1px 8px;
  border-radius: 8px;
}

.nav-dropdown-menu a i {
  color: var(--gold, #c9a84c);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.nav-dropdown-menu a:hover {
  color: #f0eee8;
  background: rgba(201,168,76,0.08);
  border-left-color: var(--gold, #c9a84c);
  transform: translateX(3px);
}

/* Separador visual no dropdown */
.nav-dropdown-menu li:nth-child(4)::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(201,168,76,0.1);
  margin: 4px 16px;
}

/* ---- MOBILE: dropdown vira lista inline ---- */
@media (max-width: 1024px) {
  .nav-dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    background: rgba(201,168,76,0.04);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 10px;
    padding: 6px 0;
    margin: 4px 0 8px 12px;
    box-shadow: none;
    display: none;
  }
  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
    color: #f0eee8;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-dropdown-menu a {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
    margin: 1px 6px;
  }
}

/* ---- FOOTER SERVICES COLUMN ---- */
.footer-services ul li a {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.footer-services ul li a i {
  color: var(--gold, #c9a84c);
  font-size: 0.75rem;
  width: 14px;
  flex-shrink: 0;
}

.footer-services ul li a:hover {
  color: var(--gold, #c9a84c);
  transform: translateX(3px);
}

/* ---- FOOTER ADMIN LINK ---- */
.footer-admin-link {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.footer-admin-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(154,151,168,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-admin-link a:hover {
  color: var(--gold, #c9a84c);
}

/* ---- FOOTER BREADCRUMB ---- */
.footer-breadcrumb {
  display: none; /* visível para crawlers, escondido visualmente */
}

/* ---- ACTIVE NAV LINK ---- */
.nav-links a.active {
  color: var(--gold, #c9a84c) !important;
}

/* ---- FOOTER GRID ATUALIZADO (4 colunas) ---- */
@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr 1.2fr !important;
  }
}

@media (max-width: 768px) {
  .footer-services {
    display: block;
  }
}

/* ============================================================
   PÁGINAS DE SERVIÇO — CSS BASE (herdado)
   ============================================================ */
.service-page-header {
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
    rgba(46,196,165,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 100%,
    rgba(201,168,76,0.08) 0%, transparent 60%),
    var(--bg-primary, #080a12);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,18,0) 60%, rgba(8,10,18,1) 100%);
  pointer-events: none;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(154,151,168,0.7);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.service-breadcrumb a {
  color: rgba(201,168,76,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.service-breadcrumb a:hover { color: var(--gold, #c9a84c); }
.service-breadcrumb span { color: rgba(154,151,168,0.4); }

.service-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #f0eee8;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.service-page-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #9a97a8;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.service-page-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.service-content-section {
  padding: 80px 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-content-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #f0eee8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-content-text p {
  font-size: 1rem;
  color: #9a97a8;
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-benefits-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.service-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #f0eee8;
  line-height: 1.4;
}

.service-benefits-list li i {
  color: #2ec4a5;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-visual-box {
  background: rgba(15,20,40,0.8);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,168,76,0.06);
}

.service-visual-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent 70%);
  border: 2px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #c9a84c;
  animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
  0%,100% { box-shadow: 0 0 20px rgba(201,168,76,0.2); }
  50%      { box-shadow: 0 0 40px rgba(201,168,76,0.5); }
}

.service-visual-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}

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

.service-stat strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: #c9a84c;
  line-height: 1;
}

.service-stat span {
  font-size: 0.75rem;
  color: #9a97a8;
}

@media (max-width: 768px) {
  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-page-ctas {
    flex-direction: column;
    align-items: center;
  }
  .service-page-ctas .btn {
    width: 100%;
    max-width: 360px;
  }
}
