/* ============================================================
   PAGES.CSS — Estilos específicos por página
   ============================================================ */

/* === HOME — Refinamentos de Alta Fidelidade === */
[data-page="index"] #hero {
  background: linear-gradient(
    135deg,
    var(--surface-base) 0%,
    rgba(29, 26, 47, 0.95) 100%
  );
  padding-block: var(--space-20);
}

[data-page="index"] .hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__image-container {
  position: relative;
  width: 100%;
}

.hero__main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(118, 88, 153, 0.2);
}

/* Status Card flutuante */
.status-card {
  position: absolute;
  bottom: 10%;
  left: -8%;
  background: rgba(22, 19, 40, 0.85);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(65, 187, 66, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
  min-width: 220px;
}

.status-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-dim);
}

.status-card__dot {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-secondary);
}

.status-card__title {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.status-card__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.status-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background: var(--color-secondary);
  box-shadow: 0 0 10px var(--color-secondary);
  animation: scan-progress 3s ease-in-out infinite;
}

@keyframes scan-progress {
  0%   { width: 10%; }
  50%  { width: 85%; }
  100% { width: 45%; }
}

/* Composite visual da Proposta de Valor */
.visual-composite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-4);
  align-items: stretch;
}

.visual-composite > * {
  border-radius: var(--radius-md);
}

/* Feature List with specific green icons */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-secondary);
  margin-top: 0.25rem;
}

/* === CONSULTORIA — Orange accent override === */
[data-page="consultoria"] .section-eyebrow {
  color: var(--color-tertiary);
}
[data-page="consultoria"] .section-eyebrow::before {
  background: var(--color-tertiary);
}

/* === PROCESSO — Green accent timeline === */
[data-page="processo"] .section-number {
  color: var(--color-secondary);
  opacity: 0.15;
}

/* === SOBRE — Values grid centering for last orphan card === */
@media (min-width: 769px) {
  [data-page="sobre"] .values-grid > li:last-child:nth-child(3n + 1) {
    grid-column: 2 / 3;
  }
}

/* Mobile Adjustments for refined sections */
@media (max-width: 1024px) {
  [data-page="index"] .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__image-container {
    max-width: 500px;
    margin-inline: auto;
    margin-top: 3rem;
  }
  
  .status-card {
    left: 4%;
    bottom: -1rem;
  }
  
  .visual-composite {
    order: -1;
    margin-bottom: 3rem;
  }
}
