/* SavilTech — Consultoria & Suporte */

.page-servicos-consultoria {
  --scon-gold: #ffd60a;
}

.page-servicos-consultoria .text-gold {
  color: #ffd60a !important;
  text-shadow: 0 0 28px rgba(255, 214, 10, 0.35);
}

.scon-text-justify {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Banner: holofote rotativo (≠ outras páginas) */
.page-servicos-consultoria .scon-banner--fullwidth {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(300px, 48vh, 520px) !important;
  display: block !important;
  overflow: hidden;
  background: #000;
}

.page-servicos-consultoria .scon-banner__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-servicos-consultoria .scon-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation:
    sconBannerIn 1.2s ease-out forwards,
    sconBannerSoft 24s ease-in-out 1.2s infinite alternate;
}

@keyframes sconBannerIn {
  from { opacity: 0; transform: scale(1.15); filter: sepia(0.3) brightness(0.4); }
  to { opacity: 1; transform: scale(1.08); filter: sepia(0) brightness(1); }
}

@keyframes sconBannerSoft {
  from { transform: scale(1.08); object-position: 50% 40%; }
  to { transform: scale(1.04); object-position: 50% 55%; }
}

.page-servicos-consultoria .scon-banner__spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(255, 214, 10, 0.14) 40deg,
    transparent 80deg,
    transparent 280deg,
    rgba(255, 214, 10, 0.1) 320deg,
    transparent 360deg
  );
  animation: sconSpotRotate 14s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes sconSpotRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.page-servicos-consultoria .scon-banner__dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255, 214, 10, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  animation: sconDotsDrift 12s linear infinite;
  pointer-events: none;
}

@keyframes sconDotsDrift {
  to { background-position: 32px 32px; }
}

.page-servicos-consultoria .scon-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(0,0,0,.92), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 50%, rgba(0,0,0,.6));
}

.page-servicos-consultoria .scon-banner__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding-bottom: clamp(28px, 4vw, 44px);
}

.page-servicos-consultoria .scon-banner .section-tag {
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.page-servicos-consultoria .scon-banner__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 40%, #ffd60a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-servicos-consultoria .scon-banner__desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}

/* Intro */
.scon-intro-section {
  padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 5vw, 56px);
  background: #000;
  position: relative;
}

.scon-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.scon-intro h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.scon-intro p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

/* Hub central + bento */
.scon-plans-section {
  padding: clamp(40px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #050505, #000 60%, #050505);
  position: relative;
}

.scon-plans-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 214, 10, 0.06), transparent 70%);
  pointer-events: none;
}

.scon-plans-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.scon-plans-header .section-tag {
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.scon-plans-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 12px 0 10px;
}

.scon-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.scon-bento__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 214, 10, 0.35);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffd60a;
  text-align: center;
  padding: 12px;
  box-shadow: 0 0 40px rgba(255, 214, 10, 0.2);
  animation: sconHubPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sconHubPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 214, 10, 0.15); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 50px rgba(255, 214, 10, 0.35); transform: translate(-50%, -50%) scale(1.05); }
}

/* Card bento — expansão vertical no hover */
.scon-card {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(255, 214, 10, 0.18);
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
  min-height: 200px;
}

.scon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 214, 10, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scon-card:hover,
.scon-card.is-active {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 214, 10, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(255, 214, 10, 0.12);
}

.scon-card:hover::before,
.scon-card.is-active::before {
  opacity: 1;
}

.scon-card__front {
  padding: 24px;
  position: relative;
  z-index: 2;
}

.scon-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffd60a, #e6b800);
  border-radius: 50px;
}

.scon-card__badge--hot {
  background: linear-gradient(135deg, #ff6b35, #ffd60a);
}

.scon-card__icon {
  font-size: 2rem;
  color: #ffd60a;
  margin-bottom: 12px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scon-card:hover .scon-card__icon {
  transform: scale(1.15) rotate(-8deg);
}

.scon-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.scon-card__desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 12px;
}

.scon-card__hint {
  font-size: 0.72rem;
  color: rgba(255, 214, 10, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scon-card__expand {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    padding 0.4s ease;
  padding: 0 24px;
  border-top: 1px solid transparent;
}

.scon-card:hover .scon-card__expand,
.scon-card.is-active .scon-card__expand {
  max-height: 420px;
  opacity: 1;
  padding: 20px 24px 24px;
  border-top-color: rgba(255, 214, 10, 0.2);
}

.scon-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.scon-card__features li {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}

.scon-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffd60a;
  font-size: 0.65rem;
}

.scon-card--hardware .scon-card__features {
  grid-template-columns: 1fr;
}

.scon-card__cta {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffd60a, #e6b800);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.scon-card__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 214, 10, 0.35);
  color: #0a0a0a;
}

/* Matriz comparativa */
.scon-matrix-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(88px, 10vw, 120px);
  background: #000;
}

.scon-matrix-header {
  text-align: center;
  margin-bottom: 36px;
}

.scon-matrix-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
}

.scon-matrix-header p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  font-size: 0.92rem;
}

.scon-matrix-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 214, 10, 0.22);
  background: rgba(6, 6, 6, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.scon-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.scon-matrix th,
.scon-matrix td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s ease;
}

.scon-matrix thead th {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 214, 10, 0.1);
  cursor: default;
}

.scon-matrix thead th:first-child {
  text-align: left;
  min-width: 180px;
}

.scon-matrix thead th[data-col] {
  cursor: pointer;
}

.scon-matrix tbody td:first-child {
  text-align: left;
  font-weight: 600;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}

.scon-matrix tbody td:first-child i {
  color: #ffd60a;
  margin-right: 8px;
  width: 16px;
}

.scon-matrix .scon-yes {
  color: #4ade80;
  font-size: 1.05rem;
}

.scon-matrix .scon-partial {
  color: #ffd60a;
  font-size: 0.78rem;
  font-weight: 700;
}

.scon-matrix .scon-no {
  color: rgba(255, 255, 255, 0.2);
}

.scon-matrix [data-col].is-col-active,
.scon-matrix tbody tr:hover td[data-col] {
  background: rgba(255, 214, 10, 0.1);
}

.scon-matrix thead th.is-col-active {
  background: rgba(255, 214, 10, 0.28);
  color: #ffd60a;
}

.scon-matrix tbody tr:hover td:first-child {
  color: #ffd60a;
}

.scon-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-servicos-consultoria .scon-banner--fullwidth,
.page-servicos-consultoria .scon-intro-section,
.page-servicos-consultoria .scon-plans-section,
.page-servicos-consultoria .scon-matrix-section {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .scon-bento {
    grid-template-columns: 1fr;
  }
  .scon-bento__hub {
    display: none;
  }
  .scon-card__features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-servicos-consultoria .scon-banner__img,
  .page-servicos-consultoria .scon-banner__spotlight,
  .page-servicos-consultoria .scon-banner__dots,
  .scon-bento__hub {
    animation: none;
  }
  .scon-card__expand {
    max-height: none;
    opacity: 1;
    padding: 20px 24px 24px;
  }
}
