@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
  min-height: 100%;
  min-height: 100dvh;
  background-color: #0a0a0c;
}

html body.home-landing {
  background: none !important;
  background-color: transparent !important;
}

html body.home-landing::before,
html body.home-landing::after {
  display: none !important;
}

/* Home: zoom na raiz deixa faixa vazia (barra escura) embaixo — viewport inteira sem zoom */
html:has(body.home-landing) {
  background-color: #0a0a0c;
  zoom: 1;
  height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
}

html body {
  min-height: 100%;
  min-height: 100dvh;
  background: #0a0a0c !important;
  background-color: #0a0a0c;
  color: #ececec;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  position: relative;
}

html body::before,
html body::after {
  display: none !important;
  content: none !important;
}

.top-bar, .sidebar, .dashboard-card, .admin-card, .form-card, .service-card, .card-acao, .auth-box {
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  html body::before,
  html body::after {
    animation: none !important;
  }
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  html body::before,
  html body::after {
    display: none !important;
    animation: none !important;
    filter: none !important;
  }

  .top-bar,
  .sidebar,
  .dashboard-card,
  .admin-card,
  .form-card,
  .service-card,
  .card-acao,
  .auth-box,
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
}

/* ==================== TEMA GLOBAL: CLARO (minimalista) ==================== */
html.portal-theme-fotografo-claro {
  --photo-bg: #f4f4f5;
  --photo-bg-2: #ffffff;
  --photo-surface: #ffffff;
  --photo-surface-strong: #ffffff;
  --photo-text: #141416;
  --photo-muted: #52525b;
  --photo-gold: #141416;
  --photo-gold-dark: #0a0a0b;
  --photo-line: rgba(0, 0, 0, 0.08);
  --photo-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  background: var(--photo-bg) !important;
  background-color: var(--photo-bg) !important;
}

html.portal-theme-fotografo-claro body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  color: var(--photo-text) !important;
  background: var(--photo-bg) !important;
  background-color: var(--photo-bg) !important;
}

html.portal-theme-fotografo-claro body::before,
html.portal-theme-fotografo-claro body::after {
  display: none !important;
}

html.portal-theme-fotografo-claro h1,
html.portal-theme-fotografo-claro h2,
html.portal-theme-fotografo-claro h3,
html.portal-theme-fotografo-claro h4,
html.portal-theme-fotografo-claro .section-title,
html.portal-theme-fotografo-claro .card-title,
html.portal-theme-fotografo-claro .logo,
html.portal-theme-fotografo-claro .logo-sidebar {
  font-family: 'Inter', system-ui, sans-serif !important;
  color: var(--photo-text) !important;
  text-shadow: none !important;
  letter-spacing: -0.02em !important;
}

html.portal-theme-fotografo-claro .hero-title {
  color: var(--photo-text) !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

html.portal-theme-fotografo-claro p,
html.portal-theme-fotografo-claro span,
html.portal-theme-fotografo-claro small,
html.portal-theme-fotografo-claro label,
html.portal-theme-fotografo-claro li,
html.portal-theme-fotografo-claro td,
html.portal-theme-fotografo-claro th,
html.portal-theme-fotografo-claro .hero-subtitle,
html.portal-theme-fotografo-claro .info-label,
html.portal-theme-fotografo-claro .info-value,
html.portal-theme-fotografo-claro .empty-state {
  color: var(--photo-text) !important;
  font-weight: 400 !important;
}

html.portal-theme-fotografo-claro strong,
html.portal-theme-fotografo-claro b,
html.portal-theme-fotografo-claro .info-value.valor {
  color: var(--photo-text) !important;
  font-weight: 600 !important;
}

html.portal-theme-fotografo-claro .header,
html.portal-theme-fotografo-claro .top-bar,
html.portal-theme-fotografo-claro .sidebar,
html.portal-theme-fotografo-claro .admin-sidebar,
html.portal-theme-fotografo-claro .sidebar-footer {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--photo-line) !important;
  color: var(--photo-text) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: none !important;
}

html.portal-theme-fotografo-claro .sidebar .menu-item,
html.portal-theme-fotografo-claro .admin-sidebar .menu-item,
html.portal-theme-fotografo-claro .nav-link {
  color: var(--photo-muted) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 500 !important;
}

html.portal-theme-fotografo-claro .sidebar .menu-item:hover,
html.portal-theme-fotografo-claro .admin-sidebar .menu-item:hover,
html.portal-theme-fotografo-claro .sidebar .menu-item.active,
html.portal-theme-fotografo-claro .admin-sidebar .menu-item.active {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--photo-text) !important;
  border-left-color: var(--photo-gold-dark) !important;
}

html.portal-theme-fotografo-claro .dashboard-card,
html.portal-theme-fotografo-claro .admin-card,
html.portal-theme-fotografo-claro .form-card,
html.portal-theme-fotografo-claro .service-card,
html.portal-theme-fotografo-claro .card-acao,
html.portal-theme-fotografo-claro .auth-box,
html.portal-theme-fotografo-claro .historico-item,
html.portal-theme-fotografo-claro .secao-pendentes,
html.portal-theme-fotografo-claro .indique-card,
html.portal-theme-fotografo-claro .indique-hero,
html.portal-theme-fotografo-claro .message-box,
html.portal-theme-fotografo-claro .link-fotos-area,
html.portal-theme-fotografo-claro .radar-resumo,
html.portal-theme-fotografo-claro .mon-card,
html.portal-theme-fotografo-claro .mon-alert-block,
html.portal-theme-fotografo-claro .avail-incidents-box,
html.portal-theme-fotografo-claro table {
  background: var(--photo-surface) !important;
  border: 1px solid var(--photo-line) !important;
  color: var(--photo-text) !important;
  box-shadow: var(--photo-shadow) !important;
}

html.portal-theme-fotografo-claro .dashboard-card,
html.portal-theme-fotografo-claro .admin-card,
html.portal-theme-fotografo-claro .form-card,
html.portal-theme-fotografo-claro .service-card,
html.portal-theme-fotografo-claro .card-acao,
html.portal-theme-fotografo-claro .auth-box,
html.portal-theme-fotografo-claro .historico-item,
html.portal-theme-fotografo-claro .secao-pendentes {
  border-radius: 10px !important;
}

html.portal-theme-fotografo-claro input,
html.portal-theme-fotografo-claro select,
html.portal-theme-fotografo-claro textarea {
  background: var(--photo-surface-strong) !important;
  color: var(--photo-text) !important;
  border: 1px solid var(--photo-line) !important;
  border-radius: 8px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

html.portal-theme-fotografo-claro input:focus,
html.portal-theme-fotografo-claro select:focus,
html.portal-theme-fotografo-claro textarea:focus {
  outline: none !important;
  border-color: rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}

html.portal-theme-fotografo-claro button,
html.portal-theme-fotografo-claro .btn-primary,
html.portal-theme-fotografo-claro .btn-success,
html.portal-theme-fotografo-claro .primary,
html.portal-theme-fotografo-claro .btn-card,
html.portal-theme-fotografo-claro .btn-link-fotos {
  background: #141416 !important;
  color: #fafafa !important;
  border: 1px solid #141416 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-transform: none !important;
}

html.portal-theme-fotografo-claro .btn-secondary,
html.portal-theme-fotografo-claro .btn-tertiary,
html.portal-theme-fotografo-claro .secondary,
html.portal-theme-fotografo-claro a.btn,
html.portal-theme-fotografo-claro .actions a {
  background: #ffffff !important;
  color: var(--photo-text) !important;
  border: 1px solid var(--photo-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-transform: none !important;
}

html.portal-theme-fotografo-claro .btn-danger {
  background: #3f3f46 !important;
  color: #fff !important;
  border-color: #3f3f46 !important;
}

html.portal-theme-fotografo-claro a {
  color: var(--photo-text) !important;
}

html.portal-theme-fotografo-claro table th,
html.portal-theme-fotografo-claro table td {
  border-color: rgba(0, 0, 0, 0.06) !important;
}

html.portal-theme-fotografo-claro code,
html.portal-theme-fotografo-claro pre,
html.portal-theme-fotografo-claro #portalRuntimeTerminal,
html.portal-theme-fotografo-claro #monLogRealtimeBox {
  background: #f4f4f5 !important;
  color: var(--photo-text) !important;
  border-color: var(--photo-line) !important;
}

html.portal-theme-fotografo-claro .bg-overlay {
  background: rgba(244, 244, 245, 0.92) !important;
}

html.portal-theme-fotografo-claro .mobile-menu-toggle {
  background: #ffffff !important;
  border: 1px solid var(--photo-line) !important;
  color: var(--photo-text) !important;
}

html.portal-theme-fotografo-claro .admin-sticky-save-bar {
  background: linear-gradient(180deg, rgba(244, 244, 245, 0) 0%, rgba(255, 255, 255, 0.92) 40%, #ffffff 100%) !important;
  border-top: 1px solid var(--photo-line) !important;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
  backdrop-filter: none !important;
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  html.portal-theme-fotografo-claro body::before,
  html.portal-theme-fotografo-claro body::after {
    display: none !important;
  }
}

