/* =========================================================
   LEXTECMIND — AGENDAMENTO SERVIDOR MCP
   Estilos visuais de alto padrão (Cyber / Legal Intelligence)
   ========================================================= */

:root {
  --bg-deep: #04060d;
  --bg-surface: #0a0e1c;
  --bg-surface-elevated: #10162b;
  --bg-card: rgba(16, 22, 43, 0.75);
  --bg-card-hover: rgba(22, 32, 64, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #00e5ff;
  --border-gold: rgba(212, 175, 55, 0.35);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --green: #10b981;
  --red: #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}

body.mcp-body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background Aurora & Grid ─────────────────────────────────────────── */
.bg-aurora {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: 
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(0, 229, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 30% at 15% 45%, rgba(245, 158, 11, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  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: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Typography & Gradients ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono {
  font-family: var(--font-mono);
}

/* ── Header ───────────────────────────────────────────────────────────── */
.mcp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 6, 13, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
}

.mcp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: rgba(4, 6, 13, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand:hover .brand__mark {
  border-color: var(--cyan);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.45);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35) translateY(-4%);
  display: block;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand__name em {
  font-style: normal;
  color: var(--cyan);
}

.brand__sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Botões ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0099cc 100%);
  color: #04060d;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.55);
}

.btn--secondary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn--danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn--icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.mcp-hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.mcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.mcp-hero__title {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.mcp-hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.mcp-hero__subtitle strong {
  color: #fff;
}

.mcp-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.4rem;
  background: rgba(16, 22, 43, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fef08a;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.12);
}

.mcp-security-pill span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mcp-security-pill .dot {
  color: var(--text-muted);
}

/* ── Pilares Grid (Os 6 Pilares da Imagem) ─────────────────────────────── */
.mcp-pilars-section {
  padding: 2.5rem 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.85rem;
  color: #fff;
}

.pilars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pilar-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.pilar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pilar-card:hover::before {
  opacity: 1;
}

.pilar-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pilar-card__icon--gold {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pilar-card__icon--cyan {
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.pilar-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pilar-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Banner das Plataformas ───────────────────────────────────────────── */








/* ── Seção de Agendamento (Formulário do Membro) ───────────────────────── */
.schedule-section {
  padding: 3rem 0 5rem;
}

.schedule-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 229, 255, 0.12);
  position: relative;
}

.schedule-card__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.schedule-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin-bottom: 0.85rem;
}

.schedule-card__head h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.schedule-card__head p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field label svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(4, 6, 13, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Slots de Horários */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.time-slot {
  background: rgba(4, 6, 13, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  color: #fff;
}

.time-slot.selected {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(139, 92, 246, 0.3) 100%);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.form-submit-wrap {
  margin-top: 1rem;
  text-align: center;
}

.submit-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.submit-note svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ── Modal / Overlay de Sucesso ───────────────────────────────────────── */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 50;
  animation: fadeIn 0.3s ease;
}

.success-card {
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.success-card h3 {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.success-details-box {
  background: rgba(16, 22, 43, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
}

.detail-val {
  color: #fff;
  font-weight: 600;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ── Telas e Modais de Administração (Gestor) ─────────────────────────── */
.admin-view {
  min-height: calc(100vh - 80px);
  padding-bottom: 4rem;
}

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.admin-bar__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.admin-bar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chip--gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  padding: 2px;
}

.btn-logout:hover {
  color: var(--red);
}

/* Barra de Navegação Semanal */
.week-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.week-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.week-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  min-width: 260px;
  text-align: center;
}

.week-stats {
  display: flex;
  gap: 0.75rem;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.stat-pill--done {
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Estado da sincronizacao com a nuvem (Painel Gestor) */
.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.3;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  max-width: 42ch;
}

.sync-status i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sync-status--ok {
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.sync-status--warn {
  color: #ffb020;
  border-color: rgba(255, 176, 32, 0.4);
  background: rgba(255, 176, 32, 0.1);
}

.sync-status--error {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

/* Planner Grid */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.85rem;
}

.day-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.day-col--today {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}

.day-col__header {
  padding: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.day-col__name {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-col__date {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.day-col__events {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

/* Event Card no Planner */
.event-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.event-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.event-card__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.event-card__client {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.event-card__status {
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.35rem;
  font-weight: 600;
}

.status--agendado { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.status--andamento { background: rgba(245, 158, 11, 0.2); color: #fde047; }
.status--concluido { background: rgba(16, 185, 129, 0.2); color: #86efac; }
.status--cancelado { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

/* Modal Admin */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-close:hover {
  color: #fff;
}

.modal-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-card__footer-right {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.mcp-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mcp-footer__sub {
  margin-top: 0.35rem;
  color: var(--text-secondary);
}

.mcp-footer__sub strong {
  color: var(--cyan);
}

/* ── Seção de Preços & Callout +40 Assistentes ────────────────────────── */
.mcp-pricing-section {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.mcp-assistants-callout {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.mcp-assistants-callout h3 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.mcp-assistants-callout p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card--featured {
  background: linear-gradient(135deg, rgba(16, 22, 43, 0.95) 0%, rgba(10, 14, 28, 0.98) 100%);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.12);
}

.pricing-card--featured:hover {
  border-color: var(--gold);
}

.pricing-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  margin-bottom: 0.85rem;
}

.pricing-card__badge--standard {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.pricing-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  margin: 0.65rem 0;
  color: #fff;
}

.pricing-card__price .currency {
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 0.25rem;
  color: var(--cyan);
}

.pricing-card--featured .pricing-card__price .currency {
  color: #f59e0b;
}

.pricing-card__price .amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-card__price .cents {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.pricing-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.pricing-card__list li svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

/* ── Seletor de Categoria no Formulário ─────────────────────────────────── */
.pricing-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pricing-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(4, 6, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-option:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.04);
}

.pricing-option.selected {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.pricing-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pricing-option.selected .pricing-option__radio {
  border-color: var(--cyan);
}

.pricing-option.selected .pricing-option__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.pricing-option__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-option__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.pricing-option__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pricing-option__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #f59e0b;
}

.pricing-option.selected .pricing-option__price {
  color: var(--cyan);
}

/* Badges da Agenda Semanal */
.event-card__price-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  margin-left: auto;
}

.event-card__member-type {
  font-size: 0.68rem;
  color: var(--text-muted);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Responsividade ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pilars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .planner-grid {
    grid-template-columns: 1fr;
  }
  .mcp-hero__title {
    font-size: 2.15rem;
  }
}

@media (max-width: 600px) {
  .pilars-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-card {
    padding: 1.5rem;
  }
  .admin-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}


/* ==================== ACESSOS OFICIAIS ==================== */
.official-links-section {
  margin: 2rem 0 0.5rem;
  text-align: center;
}

.official-links__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

.official-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
  max-width: 780px;
  margin: 0 auto;
}

.official-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.official-link:hover,
.official-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.45);
}

.official-link--whatsapp:hover,
.official-link--whatsapp:focus-visible {
  border-color: rgba(37, 211, 102, 0.5);
}

.official-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
}

.official-link__icon i {
  width: 20px;
  height: 20px;
}

.official-link__icon--studio {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.official-link__icon--whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #25d366;
}

.official-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.official-link__text strong {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 700;
}

.official-link__text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.official-link__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Acessos repetidos no rodape */
.mcp-footer__links {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.mcp-footer__links a {
  color: var(--cyan);
  text-decoration: none;
}

.mcp-footer__links a:hover,
.mcp-footer__links a:focus-visible {
  text-decoration: underline;
}

.mcp-footer__links span {
  color: var(--text-muted);
}


/* Nota informativa no cartao de preco */
.pricing-card__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.18);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.pricing-card__note i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}


/* ==================== DESTAQUE DE TEMPO DE CONFIGURACAO ==================== */
/* Vale para os dois planos, por isso fica no topo e nao dentro de um cartao. */
.setup-highlight {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 620px;
  margin: 1.4rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.10), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.30);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.08);
}

.setup-highlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
}

.setup-highlight__icon i {
  width: 22px;
  height: 22px;
}

.setup-highlight__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.setup-highlight__text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 560px) {
  .setup-highlight {
    flex-direction: column;
    text-align: center;
    gap: 0.7rem;
  }
}


/* Item comum aos dois planos: destacado para nao se perder na lista */
.pricing-card__list-item--highlight {
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(0, 229, 255, 0.22);
  color: var(--text-primary);
}

.pricing-card__list-item--highlight i {
  color: var(--cyan);
}

.pricing-card__list-item--highlight strong {
  color: var(--cyan);
  font-weight: 700;
}


/* ==================== PAGAMENTO VIA PIX ==================== */
.pix-box {
  margin: 1rem 0 0.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.28);
  text-align: left;
}

.pix-box__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pix-box__head i {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.pix-box__head strong {
  margin-left: auto;
  font-size: 1.05rem;
  color: var(--green);
}

/* Fundo branco atras do QR: leitores falham sobre fundo escuro. */
.pix-qr {
  display: flex;
  justify-content: center;
  padding: 0.6rem;
  margin: 0 auto 0.85rem;
  width: fit-content;
  background: #ffffff;
  border-radius: 10px;
}

.pix-qr svg {
  display: block;
  width: 190px;
  height: 190px;
}

.pix-copy__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.pix-copy {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}

.pix-copy input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
}

.pix-copy .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.pix-aviso {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
  background: rgba(255, 176, 32, 0.10);
  border: 1px solid rgba(255, 176, 32, 0.30);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.pix-aviso i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #ffb020;
}

.pix-aviso strong {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .pix-copy {
    flex-direction: column;
  }
  .pix-qr svg {
    width: 165px;
    height: 165px;
  }
}
