/* gerenciamento-mensal.css — Página Gerenciamento Mensal de Sites
   Segue tokens.css e padrão arquitetural de criacao-de-sites.css
   ════════════════════════════════════════════════════════════════════════ */

/* ══ HERO ════════════════════════════════════════════════════════════════ */
.gm-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #000000 0%, #040404 40%, #080808 100%);
  display: flex;
  flex-direction: column;
}

/* Grade geométrica de fundo */
.gm-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

.gm-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}

/* ── Coluna esquerda ─────────────────────────────────────────────────── */
.gm-hero__content {
  flex: 1;
  min-width: 0;
}

/* Badge pill animado */
.gm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(255, 163, 6, 0.35);
  border-radius: var(--radius-pill, 999px);
  color: #ffa306;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-bottom: 1.5rem;
  background: rgba(255, 163, 6, 0.06);
  backdrop-filter: blur(4px);
}

.gm-badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffa306;
  animation: gm-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes gm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.75); }
}

.gm-hero__title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5em;
}

.gm-hero__desc {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 42rem;
}

/* Lista de itens inclusos */
.gm-hero__incluso {
  margin-bottom: 2.25rem;
}
.gm-hero__incluso-title {
  font-size: 1em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.875rem;
}
.gm-hero__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gm-hero__list-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1em;
  line-height: 1.5;
}
.gm-hero__list-item svg { flex-shrink: 0; }

/* Ações CTA */
.gm-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.gm-hero__sub-cta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ── Coluna direita — dashboard mock ─────────────────────────────────── */
.gm-hero__visual {
  flex-shrink: 0;
  width: 44%;
  max-width: 480px;
}

.gm-dashboard-mock {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 163, 6, 0.08);
}

/* Barra do browser */
.gm-dashboard-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gm-dot--red    { background: #ff5f57; }
.gm-dot--yellow { background: #febc2e; }
.gm-dot--green  { background: #28c840; }
.gm-dashboard-mock__url {
  margin-left: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Corpo do dashboard */
.gm-dashboard-mock__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Stats row */
.gm-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gm-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gm-stat__label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gm-stat__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.gm-stat__value--green { color: #22c55e; }

/* Barras do gráfico */
.gm-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 72px;
  padding: 0 4px;
}
.gm-bar {
  flex: 1;
  background: rgba(21, 109, 249, 0.25);
  border-radius: 3px 3px 0 0;
  height: 0;
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.gm-chart-bars--animated .gm-bar {
  height: var(--h, 40%);
}
.gm-bar:last-child {
  background: rgba(21, 109, 249, 0.7);
}
.gm-chart-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 0;
}

/* Checklist mock */
.gm-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.875rem;
}
.gm-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.gm-check-item--done {
  color: rgba(255, 255, 255, 0.85);
}
.gm-check-item svg { flex-shrink: 0; }

/* ══ PROCESSO (Como funciona) ═════════════════════════════════════════════ */
.gm-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gm-process__item {
  background: var(--surface, #eef1f6);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.gm-process__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(21, 109, 249, 0.18);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.gm-process__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground, #1a2a3a);
  margin-bottom: 0.5rem;
}

.gm-process__item p {
  font-size: 0.9rem;
  color: var(--muted-foreground, #6b7580);
  line-height: 1.6;
  margin: 0;
}

/* Dark mode */

/* ── Section CTA (botões centralizados abaixo de cada seção) ─────────────── */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.section-cta .btn {
  min-width: 260px;
}

/* ── faq__cta centralizado ───────────────────────────────────────────────── */
.faq__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

[data-theme="dark"] .gm-process__item {
  background: rgba(255, 255, 255, 0.04);
}

/* ══ EDITORIAL (O que acontece sem manutenção) ════════════════════════════ */
.gm-editorial {
  background: var(--primary, #101d40);
  padding: 4rem 0;
}

.gm-editorial__container {
  max-width: var(--container-max, 72rem);
}

.gm-editorial__header {
  margin-bottom: 3rem;
}

.gm-editorial__badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border: 1px solid rgba(255, 163, 6, 0.4);
  border-radius: var(--radius-pill, 999px);
  color: #ffa306;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  background: rgba(255, 163, 6, 0.06);
}

.gm-editorial__header h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.gm-editorial__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52rem;
  line-height: 1.7;
  margin: 0;
}

.gm-editorial__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gm-editorial__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.gm-editorial__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.gm-editorial__item-body {
  flex: 1;
}

.gm-editorial__item-body strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.gm-editorial__item-body p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin: 0;
}

.gm-editorial__cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.gm-editorial__cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.gm-editorial__cta-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.gm-editorial__btn-primary {
  background: #156df9;
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.gm-editorial__btn-primary:hover {
  background: #0e5ad4;
  transform: translateY(-1px);
}

.gm-editorial__btn-ghost {
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.gm-editorial__btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ══ CTA FINAL ════════════════════════════════════════════════════════════ */
.gm-final-cta {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #101d40 60%, #0d1f4a 100%);
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

.gm-final-cta__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.gm-final-cta__container {
  position: relative;
  z-index: 2;
}

.gm-final-cta__container h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.gm-final-cta__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.gm-final-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.gm-final-cta__check {
  color: #22c55e;
  font-weight: 700;
  margin-right: 0.375rem;
}

.gm-final-cta__actions {
  display: flex;
  justify-content: center;
}

.gm-final-cta__btn {
  background: #156df9;
  color: #fff;
  border: none;
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(21, 109, 249, 0.35);
}
.gm-final-cta__btn:hover {
  background: #0e5ad4;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(21, 109, 249, 0.45);
}

/* ══ RESPONSIVO ══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .gm-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .gm-hero__visual {
    width: 100%;
    max-width: 100%;
  }

  .gm-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gm-hero__list-item {
    align-items: flex-start;
    font-size: 3.6vw;
    line-height: 1.4;
  }
  .gm-hero__list-item svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .gm-hero__actions .btn-golden {
    width: 100%;
    justify-content: center;
  }
  .gm-process__grid {
    grid-template-columns: 1fr;
  }
  .gm-stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .gm-editorial__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .gm-editorial__btn-primary,
  .gm-editorial__btn-ghost {
    text-align: center;
  }
  .gm-final-cta__badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}
