/* REVO_PORTAL_STANDARD v2.0 — Shared Quick Access (home only)
   Use: <div id="revo-page-header-mount"></div>
        <div id="revo-meet-card-mount"></div>
        <div class="section-label">Acessos Rápidos</div>
        <div id="revo-quick-access-mount"></div>
        <script src="/{slug}/assets/revo-quick-access.js" defer></script>
   Conteúdo lido de assets/sidebar.config.json (page_header + meet_link + quick_access). */

/* Page header */
.page-header {
  margin-bottom: 20px;
}
.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--revo-red, var(--revo-red-base));
  font-weight: 700;
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--text);
}
.page-header p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.4;
}

/* Meet card (REVO Red gradient) */
.meet-card {
  background: linear-gradient(135deg, var(--revo-red-dark-card) 0%, var(--revo-red-shadow, var(--revo-red-dark)) 100%);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--revo-red-border);
  margin-bottom: 16px;
}
.meet-card-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.meet-card-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.btn-meet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 80px;
  background: white;
  color: var(--revo-red-dark-card);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid white;
  white-space: nowrap;
}
.btn-meet:hover {
  background: transparent;
  color: white;
}

/* Section label */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-label::after {
  content: '';
  height: 1px;
  background-color: var(--border-color);
  flex: 1;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 1100px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px)  { .cards-grid { grid-template-columns: 1fr; } }

/* Access card */
.access-card {
  background: var(--bg-card, var(--clean-surface-dark));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 16px 44px;
  text-decoration: none;
  color: var(--text, var(--text-main));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  min-height: 120px;
}
.access-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-alt, var(--clean-surface-hover));
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}
body.light-mode .access-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Card icon */
.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}
body.light-mode .card-icon {
  background: rgba(0, 0, 0, 0.03);
}
.access-card:hover .card-icon {
  color: var(--revo-red, var(--revo-red-base));
  border-color: rgba(224, 0, 0, 0.3);
  background: rgba(224, 0, 0, 0.05);
}

/* Card text */
.access-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text, var(--text-main));
}
.access-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Card arrow (appears on hover) */
.card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
  color: var(--revo-red, var(--revo-red-base));
  font-size: 18px;
}
.access-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 820px) {
  .meet-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }
  .btn-meet {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
  .page-header h1 { font-size: 26px; }
  .section-label { margin-bottom: 12px; }
}

@media (max-width: 520px) {
  .access-card {
    padding: 12px 12px 36px;
    min-height: 100px;
  }
  .card-icon {
    width: 36px; height: 36px;
    font-size: 17px;
    margin-bottom: 10px;
  }
  .access-card h3 { font-size: 14px; }
  .access-card p { font-size: 12px; }
  .card-arrow { bottom: 10px; right: 12px; font-size: 16px; }
}
