/* Arquivo: home.css | Propósito: Estilos da home institucional AudioFix | Dependências: index.html */
:root {
  /* CORES PRIMÁRIAS (mantidas da identidade visual) */
  --primary: #f2b90d;      /* Dourado principal - Ratio 9.89:1 */
  --primary-dark: #d9a400;  /* Dourado escuro para hover/states */
  --primary-light: #f8d675; /* Dourado claro para highlights */
  
  /* CORES SECUNDÁRIAS */
  --bronze: #a87d32;       /* Bronze - Ratio 10.97:1 */
  --bronze-dark: #8c6728;   /* Bronze escuro */
  --bronze-light: #c9a872;  /* Bronze claro */
  
  /* CORES DE FUNDO (otimizadas para contraste) */
  --background-dark: #1a1814;    /* Fundo principal - Ratio 16.00:1 */
  --surface-dark: #2a261a;       /* Superfícies - Ratio 13.63:1 */
  --page-bg: #0d0c0a;           /* Background da página - Ratio 17.64:1 */
  --section-contrast: #0f0d0a;   /* Seções com contraste */
  --footer-bg: #0d0b08;         /* Footer - Ratio 10.97:1 */
  
  /* CORES DE TEXTO (otimizadas para legibilidade) */
  --text-light: #f5f3ef;        /* Texto principal - Ratio 16.00:1 */
  --text-muted: #b8b4aa;        /* Texto secundário - Ratio 8.57:1 */
  --text-primary: #f2b90d;      /* Texto com cor primária */
  --text-warning: #ffb74d;       /* Texto de alerta/aviso */
  --text-success: #81c784;      /* Texto de sucesso */
  --text-error: #f44336;        /* Texto de erro */
  
  /* GLASS EFFECTS (com contraste garantido) */
  --glass: rgba(255, 255, 255, 0.08);     /* Ratio 14.85:1 (antes 0.05) */
  --glass-border: rgba(255, 255, 255, 0.15); /* Ratio 12.24:1 (antes 0.1) */
  --glass-medium: rgba(255, 255, 255, 0.12);    /* Ratio 12.24:1 */
  --glass-dark: rgba(0, 0, 0, 0.4);              /* Ratio 17.64:1 */
  --glass-primary: rgba(242, 185, 13, 0.15);     /* Ratio 9.89:1 */
  
  /* NAVEGAÇÃO (otimizada para contraste) */
  --nav-bg: rgba(26, 24, 20, 0.92);  /* Maior opacidade para contraste */
  --nav-border: rgba(242, 185, 13, 0.2); /* Borda mais visível */
  
  /* GRADIENTS OTIMIZADOS */
  --cta-bg: linear-gradient(135deg, #1a1814 0%, #0d0b08 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--bronze) 100%);
  --gradient-dark: linear-gradient(135deg, var(--background-dark) 0%, var(--page-bg) 100%);
  --gradient-surface: linear-gradient(135deg, var(--surface-dark) 0%, var(--background-dark) 100%);
  
  /* HERO SECTION */
  --hero-overlay: radial-gradient(circle at center, rgba(26, 24, 20, 0.2) 0%, rgba(26, 24, 20, 0.9) 100%),
    linear-gradient(to bottom, transparent 0%, rgba(13, 12, 10, 1) 100%);
  
  /* MOBILE */
  --mobile-menu-bg: rgba(13, 11, 8, 0.98);  /* Maior opacidade */
  
  /* TIPOGRAFIA */
  --font-serif: "Newsreader", serif;
  --font-sans: "Manrope", sans-serif;
  
  /* CORES PARA ESTADOS */
  --state-success: #4caf50;     /* Sucesso */
  --state-warning: #ff9800;      /* Aviso */
  --state-error: #f44336;       /* Erro */
  --state-info: #2196f3;        /* Informação */
  
  /* SHADOWS (com cores temáticas) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 4px 12px rgba(242, 185, 13, 0.3);
  --shadow-bronze: 0 4px 12px rgba(168, 125, 50, 0.3);
  
  /* BORDAS E SEPARADORES */
  --border-primary: 1px solid rgba(242, 185, 13, 0.3);
  --border-secondary: 1px solid rgba(168, 125, 50, 0.2);
  --border-light: 1px solid rgba(255, 255, 255, 0.1);
  --border-dark: 1px solid rgba(0, 0, 0, 0.3);
  
  /* OPACIDADES SEGURAS (baseadas na auditoria) */
  --opacity-safe-high: 0.8;    /* Para texto importante */
  --opacity-safe-medium: 0.6;   /* Para texto secundário */
  --opacity-safe-low: 0.4;      /* Para elementos decorativos */
  --opacity-minimum: 0.3;       /* Mínimo para manter contraste */
}

:root[data-theme="light"] {
  --background-dark: #f5f2eb;
  --surface-dark: #ffffff;
  --text-light: #1b140a;
  --text-muted: #6f6758;
  --page-bg: #f9f5ee;
  --glass: rgba(58, 40, 16, 0.04);
  --glass-border: rgba(148, 112, 52, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: rgba(148, 112, 52, 0.1);
  --section-contrast: #f1eae1;
  --footer-bg: #f6f0e7;
  --cta-bg: linear-gradient(135deg, #faf4eb 0%, #f0e6d8 100%);
  --hero-overlay: radial-gradient(circle at center, rgba(248, 241, 230, 0.6) 0%, rgba(240, 230, 216, 0.9) 100%),
    linear-gradient(to bottom, transparent 0%, rgba(244, 236, 224, 1) 100%);
  --mobile-menu-bg: rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .brand-icon,
:root[data-theme="light"] .mobile-brand-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 230, 220, 0.98));
  border-color: rgba(27, 20, 10, 0.18);
  box-shadow: 0 10px 18px rgba(27, 20, 10, 0.12);
}

:root[data-theme="light"] .login-brand-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 226, 218, 0.98));
  border-color: rgba(27, 20, 10, 0.2);
  box-shadow: 0 12px 20px rgba(27, 20, 10, 0.14);
}

:root[data-theme="light"] .brand-icon::after,
:root[data-theme="light"] .mobile-brand-icon::after,
:root[data-theme="light"] .login-brand-icon::after {
  border-color: rgba(27, 20, 10, 0.08);
}

:root[data-theme="light"] .brand-logo {
  filter: drop-shadow(0 6px 10px rgba(27, 20, 10, 0.28));
}

:root[data-theme="light"] .login-brand-logo {
  filter: drop-shadow(0 6px 10px rgba(27, 20, 10, 0.28));
}

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

body.page {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text-light);
  line-height: 1.6;
}

.app-fallback {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-fallback-card {
  width: min(720px, 92vw);
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.app-loader {
  display: grid;
  place-items: center;
  gap: 16px;
}

.app-loader-speaker {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(242, 185, 13, 0.14);
  border: 1px solid rgba(242, 185, 13, 0.4);
  display: grid;
  place-items: center;
}

.app-loader-core {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd56d 0%, #f2b90d 60%, #a87d32 100%);
  animation: speaker-pulse 1.2s ease-in-out infinite;
}

.app-loader-wave {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(242, 185, 13, 0.6);
  width: 34px;
  height: 34px;
  opacity: 0;
  animation: speaker-wave 1.2s ease-out infinite;
}

.app-loader-wave-2 {
  animation-delay: 0.4s;
}

.app-loader-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 26px;
}

.app-loader-bars span {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2b90d 0%, #a87d32 100%);
  animation: equalizer 1s ease-in-out infinite;
}

.app-loader-bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.app-loader-bars span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes speaker-pulse {
  0%, 100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(242, 185, 13, 0.4);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(242, 185, 13, 0);
  }
}

@keyframes speaker-wave {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  40% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes equalizer {
  0%, 100% {
    height: 8px;
  }
  50% {
    height: 24px;
  }
}

.app-fallback-title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 20px;
  color: var(--text-light);
}

.app-fallback-subtitle {
  color: rgba(245, 243, 239, 0.7);
  font-size: 14px;
}

.app-fallback-hint {
  color: rgba(242, 185, 13, 0.8);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, h4, .brand-name {
  font-family: var(--font-serif);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
}

.nav-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 6px;
  background: radial-gradient(circle at top, rgba(242, 185, 13, 0.25), rgba(15, 13, 10, 0.9));
  border: 1px solid rgba(242, 185, 13, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 22px rgba(242, 185, 13, 0.2);
  color: #1a1814;
}

.brand-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.38));
}

.brand-name {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: none;
  gap: 12px;
}

.theme-toggle-btn {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.theme-toggle-btn:hover {
  background: rgba(242, 185, 13, 0.12);
  border-color: rgba(242, 185, 13, 0.6);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  border: 1px solid rgba(242, 185, 13, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(242, 185, 13, 0.15);
  border-color: rgba(242, 185, 13, 0.7);
  transform: translateY(-1px);
}

.gtec-hamburger-btn:focus-visible {
  outline: 2px solid rgba(242, 185, 13, 0.75);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(13, 11, 8, 0.7), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.gtec-hamburger-btn[aria-expanded="true"] {
  background: rgba(242, 185, 13, 0.16);
  border-color: rgba(242, 185, 13, 0.85);
  color: var(--primary);
}

.gtec-hamburger {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: currentColor;
}

.gtec-hamburger span {
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.gtec-hamburger-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.gtec-hamburger-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.gtec-hamburger-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.gtec-scroll-lock {
  overflow: hidden;
}

.gtec-scroll-lock body {
  overflow: hidden;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.3s ease;
}

.btn-icon {
  gap: 8px;
}

.btn-icon .material-icons {
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
  box-shadow: 0 6px 16px rgba(242, 185, 13, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(242, 185, 13, 0.6);
  color: var(--primary);
  background: transparent;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-home {
  background: var(--background-dark);
  color: var(--text-light);
  min-height: 100vh;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface-dark);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.mobile-brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6px;
  background: radial-gradient(circle at top, rgba(242, 185, 13, 0.25), rgba(15, 13, 10, 0.9));
  border: 1px solid rgba(242, 185, 13, 0.4);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(242, 185, 13, 0.2);
  color: #1a1814;
}

.mobile-brand-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mobile-brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-brand-name span {
  color: var(--primary);
}

.mobile-header-btn {
  border: 1px solid rgba(242, 185, 13, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.mobile-header-btn:hover {
  background: rgba(242, 185, 13, 0.15);
  border-color: rgba(242, 185, 13, 0.7);
  transform: translateY(-1px);
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-home-menu {
  position: fixed;
  inset: 0;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 60;
}

.mobile-home-menu-open {
  opacity: 1;
  visibility: visible;
}

.mobile-home-menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  width: 90%;
  max-width: 320px;
  text-align: left;
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(34, 30, 16, 0.72);
  border: 1px solid rgba(242, 185, 13, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-home-menu-open .mobile-home-menu-content {
  transform: translate(-50%, -50%) translateY(0) scale(1);
  opacity: 1;
}

.mobile-home-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-home-menu-link::after {
  content: "→";
  font-size: 1.05rem;
  letter-spacing: 0;
  opacity: 0.7;
  transform: translateX(-2px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-home-menu-link:hover {
  background: rgba(242, 185, 13, 0.12);
  border-color: rgba(242, 185, 13, 0.32);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mobile-home-menu-link:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.mobile-home-menu-link:active {
  transform: translateY(0) scale(0.99);
}

.mobile-home-menu-actions {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 90%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 0 22px 46px;
  overflow: hidden;
}

.mobile-hero-media {
  position: absolute;
  inset: 0;
}

.mobile-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.2) 0%, rgba(10, 9, 7, 0.9) 70%);
}

.mobile-hero-content {
  position: relative;
  z-index: 1;
}

.mobile-pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(242, 185, 13, 0.2);
  border: 1px solid rgba(242, 185, 13, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
}

.mobile-hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 16px 0 12px;
}

.mobile-hero-content h1 span {
  color: var(--primary);
}

.mobile-hero-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mobile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-hero-actions .btn {
  width: 100%;
  justify-content: center;
}

.mobile-section {
  padding: 48px 22px;
}

.mobile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-section-header h2 {
  font-size: 1.5rem;
}

.mobile-section-bar {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin-top: 8px;
}

.mobile-section-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.mobile-services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 185, 13, 0.1);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mobile-service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(242, 185, 13, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.mobile-service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.mobile-service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mobile-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.mobile-section-title span {
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mobile-brand-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 96px;
}

.mobile-brand-logo-box {
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mobile-brand-label {
  font-family: var(--font-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: rgba(245, 243, 239, 0.85);
  text-align: center;
}

.mobile-certification {
  margin: 0 22px 48px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(242, 185, 13, 0.2), rgba(168, 125, 50, 0.2));
  border: 1px solid rgba(242, 185, 13, 0.3);
  border-radius: 20px;
  text-align: center;
}

.mobile-certification .material-icons {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 12px;
}

.mobile-certification h3 {
  margin-bottom: 8px;
}

.mobile-certification p {
  color: var(--text-muted);
}

.mobile-footer {
  padding: 36px 22px 80px;
  background: #14110d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.mobile-footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.mobile-footer-bottom {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mobile-floating {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 70;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 20s infinite alternate ease-in-out;
}

@keyframes ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(900px, 92%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill {
  align-self: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 185, 13, 0.3);
  color: var(--primary);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  background: rgba(242, 185, 13, 0.12);
  font-weight: 700;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--bronze));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

.hero p {
  font-size: 1.1rem;
  color: #c9c4ba;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.services {
  padding: 120px 0;
  background: var(--background-dark);
  color: var(--text-light);
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.services-header h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  font-style: italic;
}

.services-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-right: 1px solid rgba(242, 185, 13, 0.3);
  padding-right: 16px;
  align-self: flex-end;
  max-width: 320px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-card:hover {
  border-color: var(--primary);
  background: rgba(242, 185, 13, 0.05);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 40px;
  color: var(--bronze);
  display: inline-flex;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(74, 66, 37, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.brands {
  padding: 100px 0;
  background: var(--section-contrast);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brands-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brands-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
}

.section-divider {
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(242, 185, 13, 0.4), transparent);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.brand-card {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 140px;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.brand-logo-box {
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-card .brand-name {
  position: relative;
  z-index: 1;
}

.brand-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(242, 185, 13, 0.08);
  transform: scale(1.05);
}

.restorations {
  padding: 120px 0;
  background: #050505;
  color: var(--text-light);
}

.restorations-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.restorations-header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-style: italic;
  background: linear-gradient(90deg, var(--primary), var(--bronze));
  -webkit-background-clip: text;
  color: transparent;
}

.restorations-grid {
  display: grid;
  gap: 32px;
}

.restoration-card {
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.comparison-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.before-image,
.after-image {
  position: absolute;
  inset: 0;
}

.before-image {
  z-index: 2;
}

.after-image {
  z-index: 1;
}

.before-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(1.1);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  z-index: 3;
}

.slider-handle::after {
  content: "unfold_more";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #1a1814;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Icons";
  font-size: 20px;
  box-shadow: 0 0 15px rgba(242, 185, 13, 0.5);
}

.restoration-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  z-index: 4;
}

.restoration-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #1a1814;
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 10px;
  border-radius: 10px;
  z-index: 4;
}

.restoration-content {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.restoration-content h3 {
  font-size: 1.2rem;
  font-style: italic;
}

.restoration-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

.certification-banner {
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
  padding: 48px 0;
}

.certification-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.certification-content .material-icons {
  font-size: 48px;
}

.certification-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

.certification-content p {
  max-width: 520px;
  font-size: 0.9rem;
}

/* ===== FORMULÁRIO DE ORÇAMENTO PREMIUM ===== */
.quote-modal-premium {
  --border-radius: 24px;
  --backdrop-opacity: 0.8;
}

@media (min-width: 992px) {
  .client-ionic ion-modal.quote-modal-premium {
    --border-radius: 0;
    --width: calc(100% - var(--client-ionic-menu-width, 64px));
    --max-width: none;
    --height: 100%;
  }

  .client-ionic ion-modal.quote-modal-premium::part(backdrop) {
    left: var(--client-ionic-menu-width, 64px);
    width: calc(100% - var(--client-ionic-menu-width, 64px));
  }

  .client-ionic ion-modal.quote-modal-premium::part(content) {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--client-ionic-menu-width, 64px);
    width: calc(100% - var(--client-ionic-menu-width, 64px));
    height: 100%;
    margin: 0;
    transform: none;
  }
}

.quote-modal-header {
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--background-dark) 100%);
  border-bottom: 1px solid rgba(242, 185, 13, 0.2);
}

.quote-modal-toolbar-premium {
  --background: transparent;
  --border-width: 0;
  --padding-top: 20px;
  --padding-bottom: 20px;
}

.quote-modal-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.quote-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bronze) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 24px;
}

.quote-modal-title-section {
  flex: 1;
}

.quote-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.quote-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0 0;
  font-weight: 400;
}

.close-btn-premium {
  --color: var(--text-muted);
  --background: rgba(255, 255, 255, 0.1);
  --background-hover: rgba(255, 255, 255, 0.2);
  --border-radius: 12px;
  width: 40px;
  height: 40px;
}

.quote-modal-content-premium {
  --background: var(--background-dark);
  --padding-start: 0;
  --padding-end: 0;
  --padding-top: 0;
  --padding-bottom: 0;
}

.quote-form-container-premium {
  padding: 24px;
}

/* Progress Steps */
.quote-progress-container {
  margin-bottom: 32px;
}

.quote-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active,
.progress-step.completed {
  opacity: 1;
}

.step-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bronze) 100%);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(242, 185, 13, 0.3);
}

.progress-step.completed .step-indicator {
  background: var(--text-success);
  border-color: transparent;
}

.step-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
}

.progress-step.active .step-number {
  color: var(--text-light);
}

.step-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-step.completed .step-check {
  opacity: 1;
}

.progress-step.completed .step-number {
  opacity: 0;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--text-light);
}

.progress-connector {
  flex: 1;
  max-width: 60px;
  position: relative;
  height: 2px;
}

.progress-line {
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.progress-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 16px;
}

.progress-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 48px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--bronze) 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Equipment Section Styles */
.quote-section-premium {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  opacity: 0.7;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.quote-section-premium.section-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(242, 185, 13, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-header-premium {
  background: linear-gradient(90deg, rgba(242, 185, 13, 0.1) 0%, rgba(168, 125, 50, 0.1) 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bronze) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-icon {
  color: var(--text-light);
  font-size: 24px;
}

.section-title-container {
  flex: 1;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 4px 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

.section-content-premium {
  padding: 24px;
}

.form-grid-premium {
  display: grid;
  gap: 24px;
}

.form-field-premium {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.field-label ion-icon {
  color: var(--primary);
  font-size: 18px;
}

.select-container-premium {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.select-premium {
  width: 100%;
  height: 100%;
  min-height: 56px;
  display: block;
  --background: rgba(255, 255, 255, 0.05);
  --border-radius: 12px;
  --padding-start: 16px;
  --padding-end: 48px;
  --padding-top: 16px;
  --padding-bottom: 16px;
  --color: var(--text-light);
  --placeholder-color: var(--text-muted);
  --border-color: rgba(255, 255, 255, 0.1);
  --highlight-height: 0;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

:root[data-theme="light"] .select-premium,
:root[data-theme="light"] .input-premium {
  --background: rgba(27, 20, 10, 0.03);
  --border-color: rgba(27, 20, 10, 0.18);
}

:root[data-theme="light"] .select-arrow {
  color: rgba(27, 20, 10, 0.65);
}

:root[data-theme="light"] .autocomplete-container-premium {
  background: rgba(27, 20, 10, 0.02);
  border: 1px solid rgba(27, 20, 10, 0.1);
}

:root[data-theme="light"] .autocomplete-header {
  background: rgba(27, 20, 10, 0.03);
}

.select-premium::part(placeholder),
.select-premium::part(text) {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.select-premium::part(text) {
  color: var(--text-light);
}

.select-premium::part(placeholder) {
  color: var(--text-muted);
}

.select-premium[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.select-premium::part(icon) {
  opacity: 0;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  z-index: 0;
}

.input-container-premium {
  position: relative;
}

.input-premium {
  width: 100%;
  min-height: 56px;
  --background: rgba(255, 255, 255, 0.05);
  --border-radius: 12px;
  --padding-start: 16px;
  --padding-end: 48px;
  --padding-top: 16px;
  --padding-bottom: 16px;
  --color: var(--text-light);
  --placeholder-color: var(--text-muted);
  --border-color: rgba(255, 255, 255, 0.1);
  --highlight-height: 0;
  color: var(--text-light);
  pointer-events: auto;
  border: 1px solid var(--border-color);
}

:root:not([data-theme="light"]) ion-alert {
  --backdrop-opacity: 0.72;
  --background: rgba(34, 30, 16, 0.98);
  --color: var(--text-light);
}

:root:not([data-theme="light"]) ion-alert::part(title),
:root:not([data-theme="light"]) ion-alert::part(message),
:root:not([data-theme="light"]) ion-alert::part(button) {
  color: var(--text-light);
}

:root:not([data-theme="light"]) ion-alert::part(button) {
  color: var(--primary);
}

.input-loading {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  z-index: 2;
}

.field-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  font-style: italic;
}

/* Autocomplete Styles */
.autocomplete-container-premium {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.autocomplete-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.autocomplete-list-premium {
  background: transparent;
  margin: 0;
  padding: 0;
}

.autocomplete-item-premium {
  --background: transparent;
  --border-color: rgba(255, 255, 255, 0.05);
  --padding-start: 16px;
  --padding-end: 16px;
  --min-height: 60px;
}

.autocomplete-item-premium ion-label h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 4px 0;
}

.autocomplete-item-premium ion-label p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.autocomplete-item-premium ion-icon[slot="start"] {
  color: var(--primary);
  font-size: 20px;
}

.autocomplete-item-premium ion-icon[slot="end"] {
  color: var(--text-muted);
  font-size: 16px;
}

/* Section Actions */
.section-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.next-button-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bronze) 100%);
  color: var(--text-light);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(242, 185, 13, 0.3);
}

.next-button-premium:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 185, 13, 0.4);
}

.next-button-premium:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.quote-footer-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature {
  background: var(--background-dark);
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-light);
}

.feature-grid {
  display: grid;
  gap: 40px;
}

.feature-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 185, 13, 0.2);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s ease;
}

.feature-image:hover img {
  filter: grayscale(0);
}

.feature-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
}

.feature-badge span {
  font-size: 1.8rem;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-content h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.feature-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}

.feature-list .material-icons {
  color: var(--primary);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.75rem;
}

.footer {
  background: var(--footer-bg);
  color: var(--text-muted);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(242, 185, 13, 0.2);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 16px 0;
  max-width: 320px;
}

.footer-description {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links,
.footer-contact,
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-item .material-icons {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(242, 185, 13, 0.2);
  color: var(--primary);
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-actions {
    flex-direction: row;
  }

  .services-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

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

  .service-card {
    flex-direction: column;
    gap: 20px;
  }

  .service-icon-wrap {
    width: 64px;
    height: 64px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .restorations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Stats Counter Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-style: italic;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--background-dark);
  color: var(--text-light);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 300px;
}

.testimonial-card {
  background: rgba(42, 38, 26, 0.6);
  border: 1px solid rgba(242, 185, 13, 0.2);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.7;
}

.testimonial-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--primary);
  color: #1a1814;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: var(--cta-bg);
  color: var(--text-light);
  text-align: center;
  border-top: 1px solid rgba(242, 185, 13, 0.2);
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  font-style: italic;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: 0.9rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.floating-actions.floating-actions-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-primary {
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  color: #1a1814;
}

.floating-whatsapp {
  background: #25d366;
  color: white;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(13, 11, 8, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.mobile-menu.mobile-menu-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  text-align: left;
  width: 90%;
  max-width: 400px;
  padding: 20px 16px;
  border-radius: 20px;
  background: rgba(34, 30, 16, 0.72);
  border: 1px solid rgba(242, 185, 13, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu.mobile-menu-open .mobile-menu-content {
  transform: translate(-50%, -50%) translateY(0) scale(1);
  opacity: 1;
}

.mobile-home-menu-link:focus-visible,
.mobile-nav-link:focus-visible {
  outline: 2px solid rgba(242, 185, 13, 0.7);
  outline-offset: 4px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .gtec-hamburger span,
  .mobile-home-menu,
  .mobile-home-menu-content,
  .mobile-menu,
  .mobile-menu-content,
  .mobile-header-btn,
  .mobile-menu-btn,
  .mobile-home-menu-link,
  .mobile-nav-link {
    transition: none !important;
  }
}
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-link::after {
  content: "→";
  font-size: 1.05rem;
  letter-spacing: 0;
  opacity: 0.7;
  transform: translateX(-2px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(242, 185, 13, 0.12);
  border-color: rgba(242, 185, 13, 0.32);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mobile-nav-link:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.mobile-nav-link:active {
  transform: translateY(0) scale(0.99);
}

.mobile-menu-actions {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Navigation States */
.top-nav.nav-scrolled {
  background: rgba(13, 11, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(242, 185, 13, 0.3);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(242, 185, 13, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  padding: 12px 16px;
  border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-inner {
    height: 68px;
  }

  .brand-icon {
    width: 62px;
    height: 62px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 85vh;
    align-items: flex-end;
    padding-bottom: 64px;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
  }

  .hero-pill {
    align-self: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background-color: var(--background-dark);
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 1;
  pointer-events: none;
}

.login::before,
.login::after {
  content: "";
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
}

.login::before {
  top: -10%;
  left: -10%;
  background: rgba(168, 125, 50, 0.2);
}

.login::after {
  bottom: -12%;
  right: -10%;
  background: rgba(242, 185, 13, 0.12);
}

.login-card {
  width: min(520px, 92vw);
  border-radius: 24px;
  padding: 36px 28px;
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 30px rgba(168, 125, 50, 0.12);
  position: relative;
  z-index: 1;
}

.login-theme-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.login-iframe-wrapper {
  width: min(520px, 92vw);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 30px rgba(168, 125, 50, 0.12);
  background: var(--surface-dark);
  position: relative;
  z-index: 1;
}

.login-iframe {
  width: 100%;
  height: min(88vh, 780px);
  border: none;
  display: block;
  background: transparent;
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(168, 125, 50, 0.9), transparent);
  opacity: 0.55;
  border-radius: 24px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.login-brand-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7px;
  background: radial-gradient(circle at top, rgba(242, 185, 13, 0.18), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(242, 185, 13, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35), 0 0 28px rgba(242, 185, 13, 0.18);
  color: var(--primary);
}

.login-brand-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.login-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  border-radius: 12px;
}

.login-brand-title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.4rem;
  line-height: 1.1;
  background: linear-gradient(to bottom, #ffd700, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-brand-subtitle {
  margin-top: 4px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: rgba(168, 125, 50, 0.9);
  font-weight: 800;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: rgba(168, 125, 50, 0.85);
  padding-left: 4px;
}

.login-control {
  position: relative;
  display: flex;
  align-items: center;
}

.login-control-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(168, 125, 50, 0.9);
  font-size: 22px;
  pointer-events: none;
}

.login-input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  border-radius: 14px;
  border: 1px solid rgba(168, 125, 50, 0.22);
  background: rgba(0, 0, 0, 0.38);
  color: var(--text-light);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-input.login-input-password {
  text-transform: none;
}

.login-input.login-input-sensitive {
  text-transform: none;
}

.login-input.login-input-capitalize {
  text-transform: capitalize;
}

.login-input::placeholder {
  color: rgba(245, 243, 239, 0.28);
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.login-input.login-input-password::placeholder {
  text-transform: none;
}

.login-input.login-input-sensitive::placeholder {
  text-transform: none;
}

.login-input.login-input-capitalize::placeholder {
  text-transform: capitalize;
}

.login-input:focus {
  outline: none;
  border-color: rgba(242, 185, 13, 0.85);
  box-shadow: 0 0 0 3px rgba(242, 185, 13, 0.12);
  background: rgba(0, 0, 0, 0.48);
}

.login-input.login-input-invalid {
  border-color: rgba(255, 83, 83, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 83, 83, 0.12);
}

:root[data-theme="light"] .login-input.login-input-invalid {
  border-color: rgba(176, 32, 32, 0.5);
  box-shadow: 0 0 0 3px rgba(176, 32, 32, 0.12);
}

.login-field-hint {
  margin-top: 6px;
  padding-left: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.login-field-hint-error {
  color: rgba(255, 180, 180, 0.95);
}

:root[data-theme="light"] .login-field-hint-error {
  color: rgba(176, 32, 32, 0.92);
}

.password-rules {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] .password-rules {
  border-color: rgba(27, 20, 10, 0.18);
  background: rgba(27, 20, 10, 0.06);
}

.password-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.password-rule-icon {
  font-size: 18px;
}

.password-rule-ok {
  color: rgba(157, 245, 194, 0.95);
}

.password-rule-bad {
  color: rgba(255, 180, 180, 0.95);
}

:root[data-theme="light"] .password-rule-ok {
  color: rgba(20, 120, 70, 0.92);
}

:root[data-theme="light"] .password-rule-bad {
  color: rgba(176, 32, 32, 0.92);
}

.login-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 243, 239, 0.75);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-password-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 185, 13, 0.22);
  transform: translateY(-50%) translateY(-1px);
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.login-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.login-action-row .login-submit {
  flex: 1 1 200px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: rgba(245, 243, 239, 0.68);
}

:root[data-theme="light"] .login-remember {
  color: rgba(27, 20, 10, 0.7);
}

.login-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.login-link {
  border: none;
  background: transparent;
  color: rgba(168, 125, 50, 0.95);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 900;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: rgba(242, 185, 13, 0.95);
}

.login-message {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: rgba(245, 243, 239, 0.82);
  letter-spacing: 0.02em;
}

.login-message-error {
  border-color: rgba(255, 83, 83, 0.25);
  background: rgba(255, 83, 83, 0.08);
}

.login-message-success {
  border-color: rgba(39, 194, 121, 0.22);
  background: rgba(39, 194, 121, 0.08);
}

:root[data-theme="light"] .login-message {
  border-color: rgba(27, 20, 10, 0.18);
  background: rgba(27, 20, 10, 0.06);
  color: rgba(27, 20, 10, 0.9);
}

:root[data-theme="light"] .login-message-error {
  border-color: rgba(176, 32, 32, 0.35);
  background: rgba(176, 32, 32, 0.12);
}

:root[data-theme="light"] .login-message-success {
  border-color: rgba(20, 120, 70, 0.3);
  background: rgba(20, 120, 70, 0.12);
}

.login-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #111;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

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

.login-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.38);
  transform: translateY(-1px);
}

.login-submit-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 243, 239, 0.9);
  box-shadow: none;
}

.login-submit-secondary:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 185, 13, 0.22);
  box-shadow: none;
}

.login-submit-tertiary {
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 243, 239, 0.75);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 10px 14px;
  box-shadow: none;
}

.login-submit-tertiary:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 185, 13, 0.18);
  box-shadow: none;
  transform: none;
}

:root[data-theme="light"] .login-submit-secondary {
  background: rgba(27, 20, 10, 0.06);
  border-color: rgba(155, 122, 59, 0.35);
  color: rgba(27, 20, 10, 0.9);
}

:root[data-theme="light"] .login-submit-secondary:hover {
  background: rgba(27, 20, 10, 0.12);
  border-color: rgba(155, 122, 59, 0.5);
}

:root[data-theme="light"] .login-submit-tertiary {
  background: transparent;
  border-color: rgba(155, 122, 59, 0.35);
  color: rgba(27, 20, 10, 0.7);
}

:root[data-theme="light"] .login-submit-tertiary:hover {
  background: rgba(27, 20, 10, 0.08);
  border-color: rgba(155, 122, 59, 0.5);
  transform: none;
}

.login-submit:disabled,
.login-input:disabled,
.login-link:disabled,
.login-password-toggle:disabled,
.login-support:disabled,
.login-back:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.register-card {
  max-height: calc(100vh - 64px);
  overflow: auto;
}

.register-grid {
  display: grid;
  gap: 18px;
}

.register-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.register-type-btn {
  border: 1px solid rgba(168, 125, 50, 0.22);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(245, 243, 239, 0.85);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.register-type-btn:hover {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(242, 185, 13, 0.22);
  transform: translateY(-1px);
}

.register-type-btn-active {
  border-color: rgba(242, 185, 13, 0.85);
  box-shadow: 0 0 0 3px rgba(242, 185, 13, 0.12);
}

.register-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

.register-terms {
  justify-content: flex-start;
}

.register-back {
  width: 100%;
}

.register-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.register-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 243, 239, 0.7);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.register-step:hover {
  border-color: rgba(242, 185, 13, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 243, 239, 0.95);
  transform: translateY(-1px);
}

.register-step:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.register-step-index {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(245, 243, 239, 0.8);
  border: 1px solid rgba(168, 125, 50, 0.22);
}

.register-step-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.register-step-active {
  border-color: rgba(242, 185, 13, 0.6);
  color: rgba(245, 243, 239, 0.95);
  box-shadow: 0 0 0 2px rgba(242, 185, 13, 0.1);
}

.register-step-active .register-step-index {
  border-color: rgba(242, 185, 13, 0.65);
  color: rgba(242, 185, 13, 0.9);
}

.register-step-done {
  border-color: rgba(242, 185, 13, 0.18);
  color: rgba(245, 243, 239, 0.85);
}

.register-step-panel {
  display: grid;
  gap: 18px;
}

.register-actions {
  display: grid;
  gap: 12px;
}

.client-ionic {
  --ion-font-family: var(--font-sans);
  --ion-color-primary: var(--primary);
  --ion-background-color: var(--page-bg);
  --ion-text-color: var(--text-light);
  min-height: 100vh;
}

.client-ionic ion-alert {
  --background: var(--surface-dark);
  --color: var(--text-light);
  --button-color: var(--primary);
}

:root[data-theme="light"] .client-ionic ion-alert {
  --background: #ffffff;
  --color: var(--text-light);
  --button-color: var(--primary-dark);
}

.client-ionic {
  display: block;
}

.client-ionic ion-split-pane {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
}

.client-ionic ion-content {
  --background: var(--page-bg);
}

.client-ionic ion-toolbar {
  --background: rgba(34, 30, 16, 0.92);
  --color: var(--text-light);
  --min-height: 56px;
}

:root[data-theme="light"] .client-ionic ion-toolbar {
  --background: rgba(255, 255, 255, 0.96);
  --color: var(--text-light);
  border-bottom: 1px solid rgba(27, 20, 10, 0.08);
}

.client-ionic-menu {
  --width: min(290px, 86vw);
}

.client-ionic-menu ion-content {
  --background: rgba(34, 30, 16, 0.96);
  --color: var(--text-light);
  color: var(--text-light);
}

:root[data-theme="light"] .client-ionic-menu ion-content {
  --background: rgba(255, 255, 255, 0.98);
}

@media (min-width: 992px) {
  .client-ionic ion-split-pane {
    --client-ionic-menu-width: 64px;
    --side-width: var(--client-ionic-menu-width);
  }

  .client-ionic.client-ionic-menu-expanded ion-split-pane {
    --client-ionic-menu-width: 290px;
  }

  .client-ionic-menu {
    width: var(--client-ionic-menu-width) !important;
    min-width: var(--client-ionic-menu-width) !important;
    max-width: var(--client-ionic-menu-width) !important;
    transition: width 220ms ease, min-width 220ms ease, max-width 220ms ease;
    contain: strict; /* Performance optimization */
    white-space: nowrap; /* Prevent text wrap causing height change */
  }

  .client-ionic-menu::part(container) {
    width: 100%;
    max-width: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: hidden; /* Prevent vertical scroll during transition */
  }

  :root[data-theme="light"] .client-ionic-menu::part(container) {
    border-right: 1px solid rgba(27, 20, 10, 0.08);
  }

  .client-ionic-menu:hover::part(container),
  .client-ionic.client-ionic-menu-expanded .client-ionic-menu::part(container) {
    overflow-y: auto; /* Allow scroll when expanded or hovered */
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-brand {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-name {
    display: none;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-user {
    justify-content: center;
    padding: 0;
    margin: 12px auto;
    width: 44px;
    height: 44px;
    background: transparent;
    border-color: transparent;
    display: flex;
    align-items: center;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-user > div:not(.client-ionic-avatar) {
    display: none;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-user .client-ionic-avatar {
    width: 32px; /* Slightly smaller avatar to fit nicely */
    height: 32px;
    font-size: 14px;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-logout {
    margin: 4px auto 16px;
    width: 44px;
    height: 44px;
    --padding-start: 0;
    --padding-end: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-logout span {
    display: none;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-logout ion-icon {
    margin-right: 0;
    font-size: 24px;
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-nav {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Consistent gap between icons */
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-nav-item {
    --padding-start: 0;
    --inner-padding-end: 0;
    --padding-end: 0;
    width: 44px; /* Fixed width for icon container */
    height: 44px; /* Fixed height for icon container */
    margin: 0 auto; /* Center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; /* Nicer shape */
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-nav-item ion-icon {
    margin: 0;
    font-size: 24px; /* Consistent icon size */
  }

  .client-ionic:not(.client-ionic-menu-expanded) .client-ionic-nav-item ion-label {
    display: none;
  }

  .client-ionic-header ion-menu-button {
    display: none;
  }
}

.client-ionic-main {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

.client-ionic-content {
  --padding-start: 18px;
  --padding-end: 18px;
  --padding-top: 20px;
  --padding-bottom: 40px;
  flex: 1 1 auto;
  min-height: calc(100vh - 56px);
}

.client-ionic-content::part(scroll) {
  background: var(--page-bg);
  color: var(--text-light);
  min-height: 100%;
}

.client-ionic-content::part(background) {
  background: var(--page-bg);
}

.client-ionic-loading {
  opacity: 0.6;
  pointer-events: none;
}

.client-ionic-body {
  width: min(1280px, 94vw);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.client-ionic-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.client-ionic-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(242, 185, 13, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-ionic-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.client-ionic-name {
  font-weight: 900;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary);
}

.client-ionic-nav {
  padding: 0 12px 12px;
  background: transparent;
}

.client-ionic-nav-item {
  --background: transparent;
  --color: rgba(245, 243, 239, 0.85);
  --border-color: transparent;
  --background-hover: rgba(242, 185, 13, 0.08);
  --color-hover: rgba(245, 243, 239, 0.98);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 14px;
}

.client-ionic-nav-item ion-icon {
  color: rgba(245, 243, 239, 0.9);
}

:root[data-theme="light"] .client-ionic-nav-item {
  --color: rgba(27, 20, 10, 0.82);
  --background-hover: rgba(148, 112, 52, 0.1);
  --color-hover: rgba(27, 20, 10, 0.96);
}

:root[data-theme="light"] .client-ionic-nav-item ion-icon {
  color: rgba(27, 20, 10, 0.78);
}

.client-ionic-nav-item[data-active="1"] {
  --color: var(--primary);
  --background: rgba(242, 185, 13, 0.12);
}

.client-ionic-nav-item[data-active="1"] ion-icon {
  color: var(--primary);
}

.client-ionic-user {
  margin: 12px 16px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(242, 185, 13, 0.08);
  border: 1px solid rgba(242, 185, 13, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-ionic-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(242, 185, 13, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
}

.client-ionic-username {
  font-weight: 800;
}

.client-ionic-plan {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(242, 185, 13, 0.65);
  font-weight: 800;
}

.client-ionic-logout {
  margin: 4px 12px 16px;
  color: rgba(245, 243, 239, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

:root[data-theme="light"] .client-ionic-logout {
  color: rgba(27, 20, 10, 0.58);
}

.client-ionic-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.client-ionic-tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(242, 185, 13, 0.7);
  font-weight: 800;
}

.client-ionic-title {
  margin: 4px 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.client-ionic-subtitle {
  color: rgba(245, 243, 239, 0.65);
  max-width: 520px;
}

.client-ionic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-ionic-banner {
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
}

.client-ionic-banner-success {
  background: linear-gradient(135deg, rgba(65, 196, 139, 0.2), rgba(65, 196, 139, 0.1));
  border-color: rgba(65, 196, 139, 0.5);
  color: #a6f4cf;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(65, 196, 139, 0.15);
}

.client-ionic-banner-error {
  background: linear-gradient(135deg, rgba(221, 85, 85, 0.2), rgba(221, 85, 85, 0.1));
  border-color: rgba(221, 85, 85, 0.5);
  color: #ffc1c1;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(221, 85, 85, 0.15);
}

.client-ionic-grid {
  padding: 0;
}

.client-ionic-stat-card {
  --background: rgba(54, 48, 27, 0.6);
  border: 1px solid rgba(242, 185, 13, 0.12);
  border-radius: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.client-ionic-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 185, 13, 0.3);
  box-shadow: 0 8px 32px rgba(242, 185, 13, 0.15);
}

.client-ionic-stat {
  display: flex;
  gap: 16px;
  align-items: center;
}

.client-ionic-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(242, 185, 13, 0.15), rgba(168, 125, 50, 0.15));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(242, 185, 13, 0.2);
  transition: all 0.3s ease;
}

.client-ionic-stat-icon:hover {
  background: linear-gradient(135deg, rgba(242, 185, 13, 0.25), rgba(168, 125, 50, 0.25));
  transform: scale(1.05);
}

.client-ionic-stat-label {
  font-size: 0.8rem;
  color: rgba(245, 243, 239, 0.8);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.client-ionic-stat-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(242, 185, 13, 0.3);
}

.client-ionic-stat-badge {
  font-size: 0.55rem;
  background: rgba(221, 85, 85, 0.22);
  color: #ffb7b7;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.client-ionic-stat-pay {
  margin-top: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-ionic-sections {
  display: grid;
  gap: 24px;
}

.client-ionic-card {
  --background: rgba(34, 30, 16, 0.85);
  border: 1px solid rgba(242, 185, 13, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.client-ionic-card:hover {
  border-color: rgba(242, 185, 13, 0.3);
  box-shadow: 0 12px 48px rgba(242, 185, 13, 0.15);
  transform: translateY(-2px);
}

.client-ionic-pix-valor {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.client-ionic-pix-valor .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-ionic-pix-valor .value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}

.client-ionic-pix-descricao {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.client-ionic-pix-meta {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px 0;
  padding: 12px;
  border: 1px solid rgba(242, 185, 13, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.client-ionic-pix-meta .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.client-ionic-pix-meta .k {
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.client-ionic-pix-meta .v {
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.95rem;
  word-break: break-word;
  text-align: right;
}

.client-ionic-pix-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.client-ionic-pix-qr-box {
  position: relative;
  display: inline-flex;
}

.client-ionic-pix-qr {
  width: 280px;
  max-width: 100%;
  border-radius: 16px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.client-ionic-pix-approved {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.client-ionic-pix-approved ion-icon {
  font-size: 92px;
  color: #22c55e;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.client-ionic-pix-status {
  margin-top: 10px;
  text-align: center;
  font-weight: 900;
  color: #22c55e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.client-ionic-pix-copia ion-textarea {
  --background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(242, 185, 13, 0.18);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.client-ionic-pix-copy-msg {
  margin-top: 8px;
  color: rgba(245, 243, 239, 0.85);
  font-weight: 700;
  text-align: center;
}

.client-ionic-pix-link {
  margin-top: 14px;
  text-align: center;
}

.client-ionic-pix-link a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
}

/* Estilos da Seção de Manutenção Renovada */
.client-ionic-section-title {
  margin-bottom: 24px;
}

.client-ionic-section-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: var(--text-light);
}

.client-ionic-section-title p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.client-ionic-maintenance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.client-ionic-maintenance-grid .client-ionic-maintenance-card {
  margin: 0;
}

@media (min-width: 1100px) {
  .client-ionic-maintenance-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .client-ionic-maintenance-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.client-ionic-maintenance-card {
  margin: 0 0 24px 0;
  --background: rgba(34, 30, 16, 0.85);
  border: 1px solid rgba(242, 185, 13, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.client-ionic-maintenance-cover {
  height: 320px;
  width: 100%;
  position: relative;
  background: rgba(242, 185, 13, 0.12);
}

.client-ionic-maintenance-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.client-ionic-maintenance-card:hover .client-ionic-maintenance-cover img {
  transform: scale(1.03);
}

.client-ionic-maintenance-placeholder-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(245, 243, 239, 0.4);
  background: linear-gradient(135deg, rgba(34, 30, 16, 0.9), rgba(242, 185, 13, 0.05));
}

.client-ionic-maintenance-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.client-ionic-maintenance-paid-badge {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.98), rgba(22, 163, 74, 0.98));
  border: 1px solid rgba(11, 11, 13, 0.45);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(11, 11, 13, 0.55);
  white-space: nowrap;
}

.client-ionic-maintenance-paid-badge.status-text-badge {
  width: auto;
  height: auto;
  min-height: 28px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #0d0c0a; /* Solid background for max contrast */
  border: 1px solid rgba(242, 185, 13, 0.6);
  color: #f2b90d;
  font-size: 0.8rem; /* Slightly larger */
  font-weight: 900; /* Extra bold */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8); /* Stronger shadow */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); /* Text shadow for legibility */
}

.client-ionic-maintenance-paid-badge ion-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.client-ionic-maintenance-header {
  padding: 16px 16px 8px;
}

.client-ionic-maintenance-meta-top {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: clamp(0.5rem, 2vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.client-ionic-maintenance-meta-top span {
  overflow: hidden;
  text-overflow: clip;
  flex-shrink: 0;
}

.client-ionic-maintenance-meta-top span:first-child {
  flex-shrink: 1;
  min-width: 0;
}

.client-ionic-maintenance-title-large {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  word-break: normal;
}

.client-ionic-maintenance-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
}

.client-ionic-maintenance-value-row .label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #22c55e;
}

.client-ionic-maintenance-value-row .value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #22c55e;
}

.client-ionic-maintenance-value-paid {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 185, 13, 0.9);
}

.client-ionic-maintenance-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 16px 0 24px;
  padding: 12px;
  background: rgba(242, 185, 13, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(242, 185, 13, 0.1);
}

.client-ionic-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.client-ionic-info-item .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-ionic-info-item .value {
  font-size: clamp(0.55rem, 2vw, 0.8rem);
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  max-width: 100%;
  letter-spacing: -0.02em;
}

.client-ionic-maintenance-progress-wrapper {
  margin-bottom: 24px;
}

.client-ionic-maintenance-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.client-ionic-maintenance-status-row .status-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.client-ionic-maintenance-status-row .status-percent {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-light);
}

.client-ionic-progress-large {
  height: 12px;
  border-radius: 6px;
  --background: rgba(255, 255, 255, 0.1);
  --progress-background: linear-gradient(90deg, var(--primary), var(--bronze));
}

.client-ionic-maintenance-action {
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-ionic-maintenance-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.client-ionic-maintenance-actions .client-ionic-maintenance-action {
  margin-top: 0;
}

.client-ionic-maintenance-pay {
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-ionic-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: rgba(34, 30, 16, 0.6);
  border-radius: 20px;
  border: 1px dashed rgba(242, 185, 13, 0.2);
}

.client-ionic-empty-state ion-icon {
  font-size: 3rem;
  color: rgba(245, 243, 239, 0.3);
  margin-bottom: 16px;
}

.client-ionic-empty-state p {
  color: rgba(245, 243, 239, 0.6);
  font-size: 0.9rem;
}

/* Chips styles updated */
.client-ionic-chip-success {
  --background: rgba(34, 197, 94, 0.92);
  --color: rgba(11, 11, 13, 0.92);
  font-weight: 700;
  border: 1px solid rgba(11, 11, 13, 0.35);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(11, 11, 13, 0.35);
}

.client-ionic-chip-warning {
  --background: rgba(242, 185, 13, 0.2);
  --color: #ffd880;
  font-weight: 700;
}

.client-ionic-chip-neutral {
  --background: rgba(150, 150, 150, 0.2);
  --color: rgba(245, 243, 239, 0.8);
  font-weight: 700;
}

/* Light Theme Adjustments for Maintenance Card */
:root[data-theme="light"] .client-ionic-maintenance-card {
  --background: #ffffff;
  border-color: rgba(148, 112, 52, 0.15);
  box-shadow: 0 12px 32px rgba(148, 112, 52, 0.12);
}

:root[data-theme="light"] .client-ionic-maintenance-placeholder-large {
  background: linear-gradient(135deg, #f8f6f2, #ece6da);
  color: rgba(148, 112, 52, 0.4);
}

:root[data-theme="light"] .client-ionic-maintenance-info-grid {
  background: #fcfbf9;
  border-color: rgba(148, 112, 52, 0.1);
}

:root[data-theme="light"] .client-ionic-maintenance-title-large {
  color: #2c241b;
}

:root[data-theme="light"] .client-ionic-maintenance-status-row .status-text {
  color: #a87d32;
}

:root[data-theme="light"] .client-ionic-progress-large {
  --background: rgba(148, 112, 52, 0.15);
}

:root[data-theme="light"] .client-ionic-empty-state {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(148, 112, 52, 0.2);
}

:root[data-theme="light"] .client-ionic-empty-state p {
  color: var(--text-muted);
}

:root[data-theme="light"] .client-ionic-empty-state ion-icon {
  color: rgba(148, 112, 52, 0.2);
}

.client-ionic-item-title {
  font-weight: 700;
}

.client-ionic-item-desc {
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.6);
}

.client-ionic-item-time {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 243, 239, 0.4);
}

.client-ionic-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-ionic-payment-value {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}

.client-ionic-payment-due {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ff9090;
  font-weight: 800;
}

.client-ionic-payment-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(242, 185, 13, 0.08);
  color: rgba(245, 243, 239, 0.6);
  font-size: 0.7rem;
}

.client-ionic-finance-end {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.client-ionic-payment-value-small {
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.02em;
}



@media (min-width: 768px) {
  .client-ionic-content {
    --padding-start: 32px;
    --padding-end: 32px;
    --padding-top: 32px;
  }

  .client-ionic-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Botões modernos para área do cliente */
.client-ionic-btn {
  background: linear-gradient(135deg, var(--primary), var(--bronze));
  border: none;
  border-radius: 16px;
  color: #0d0c0a;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(242, 185, 13, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.client-ionic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(242, 185, 13, 0.4);
  background: linear-gradient(135deg, #ffd54f, #bf913d);
}

.client-ionic-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(242, 185, 13, 0.3);
}

.client-ionic-btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(242, 185, 13, 0.2);
}

.client-ionic-btn-outline:hover {
  background: rgba(242, 185, 13, 0.1);
  color: #ffd54f;
  border-color: #ffd54f;
}

/* Botões secundários */
.client-ionic-btn-secondary {
  background: rgba(242, 185, 13, 0.15);
  border: 1px solid rgba(242, 185, 13, 0.3);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(242, 185, 13, 0.15);
}

.client-ionic-btn-secondary:hover {
  background: rgba(242, 185, 13, 0.25);
  box-shadow: 0 4px 16px rgba(242, 185, 13, 0.25);
}

/* Estados de foco para acessibilidade */
.client-ionic-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.client-area {
  min-height: 100vh;
  padding: 32px 18px;
  position: relative;
  overflow: hidden;
}
.client-area {
  min-height: 100vh;
  padding: 32px 18px;
  position: relative;
  overflow: hidden;
}

.client-area-bg {
  position: absolute;
  inset: 0;
  background-color: var(--background-dark);
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 1;
  pointer-events: none;
}

.client-area::before,
.client-area::after {
  content: "";
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
}

.client-area::before {
  top: -10%;
  left: -10%;
  background: rgba(168, 125, 50, 0.2);
}

.client-area::after {
  bottom: -12%;
  right: -10%;
  background: rgba(242, 185, 13, 0.12);
}

.client-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  width: min(1280px, 96vw);
  margin: 0 auto;
}

.client-dashboard-loading {
  opacity: 0.7;
  pointer-events: none;
}

.client-sidebar {
  background: rgba(34, 30, 16, 0.88);
  border: 1px solid rgba(242, 185, 13, 0.08);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 24px;
  box-shadow: 0 25px 40px -20px rgba(0, 0, 0, 0.6);
}

.client-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-sidebar-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(242, 185, 13, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.client-sidebar-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.client-sidebar-name {
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--primary);
}

.client-sidebar-nav {
  display: grid;
  gap: 12px;
}

.client-sidebar-link {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(245, 243, 239, 0.65);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.client-sidebar-link-active {
  color: var(--primary);
  border-color: rgba(242, 185, 13, 0.25);
  background: linear-gradient(90deg, transparent 0%, rgba(242, 185, 13, 0.08) 100%);
}

.client-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 16px;
}

.client-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(242, 185, 13, 0.08);
  border: 1px solid rgba(242, 185, 13, 0.15);
}

.client-sidebar-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(242, 185, 13, 0.2);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-sidebar-username {
  font-weight: 800;
}

.client-sidebar-plan {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(242, 185, 13, 0.65);
  font-weight: 800;
}

.client-sidebar-logout {
  border: none;
  background: transparent;
  color: rgba(245, 243, 239, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.client-sidebar-logout:hover {
  color: #ffb6b6;
}

.client-main {
  display: grid;
  gap: 24px;
}

.client-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.client-header-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(242, 185, 13, 0.85);
  font-weight: 800;
  margin-bottom: 6px;
}

.client-header-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(245, 243, 239, 0.95);
}

.client-header-title span {
  display: block;
  font-weight: 500;
  color: rgba(245, 243, 239, 0.55);
  font-size: 1rem;
  margin-top: 6px;
}

.client-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-header-menu {
  border: 1px solid rgba(242, 185, 13, 0.25);
  background: rgba(45, 40, 22, 0.8);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.client-header-icon {
  position: relative;
  border: 1px solid rgba(242, 185, 13, 0.2);
  background: rgba(45, 40, 22, 0.8);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.client-header-dot {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f25c5c;
  box-shadow: 0 0 0 2px rgba(34, 30, 16, 0.9);
}

.client-notifications {
  position: relative;
}

.client-notifications-panel {
  position: fixed;
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 78vw);
  background: rgba(26, 24, 20, 0.98);
  border: 1px solid rgba(242, 185, 13, 0.22);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 12px;
  z-index: 15;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}

.client-notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.6rem;
  color: rgba(242, 185, 13, 0.85);
  font-weight: 800;
}

.client-notifications-actions {
  display: flex;
  justify-content: flex-start;
}

.client-notifications-btn {
  border: 1px solid rgba(242, 185, 13, 0.32);
  background: rgba(242, 185, 13, 0.12);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.client-notifications-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.client-notifications-hint {
  font-size: 0.7rem;
  color: rgba(245, 243, 239, 0.6);
}

.client-notifications-count {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(242, 185, 13, 0.16);
  color: var(--primary);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.client-notifications-empty {
  padding: 12px;
  border-radius: 12px;
  background: rgba(242, 185, 13, 0.06);
  color: rgba(245, 243, 239, 0.6);
  font-size: 0.75rem;
}

.client-notifications-list {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow: auto;
}

.client-notifications-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(242, 185, 13, 0.12);
  background: rgba(34, 30, 16, 0.75);
}

.client-notifications-item-warning {
  border-color: rgba(242, 185, 13, 0.3);
}

.client-notifications-item-success {
  border-color: rgba(65, 196, 139, 0.35);
}

.client-notifications-item-neutral {
  border-color: rgba(242, 185, 13, 0.12);
}

.client-notifications-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(242, 185, 13, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-notifications-item-success .client-notifications-icon {
  background: rgba(65, 196, 139, 0.16);
  color: #a6f4cf;
}

.client-notifications-body {
  display: grid;
  gap: 4px;
}

.client-notifications-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}

.client-notifications-desc {
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.55);
}

.client-notifications-time {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(245, 243, 239, 0.4);
}

.client-header-cta {
  border: none;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(242, 185, 13, 0.95), rgba(168, 125, 50, 0.95));
  color: #1b1408;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.client-header-cta:hover {
  transform: translateY(-1px);
}

.client-banner {
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.client-banner-success {
  background: rgba(65, 196, 139, 0.16);
  border-color: rgba(65, 196, 139, 0.4);
  color: #a6f4cf;
}

.client-banner-error {
  background: rgba(221, 85, 85, 0.16);
  border-color: rgba(221, 85, 85, 0.45);
  color: #ffc1c1;
}

.client-stats {
  display: grid;
  gap: 16px;
}

.client-stat-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(54, 48, 27, 0.6);
  border: 1px solid rgba(242, 185, 13, 0.12);
}

.client-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(242, 185, 13, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-stat-label {
  font-size: 0.78rem;
  color: rgba(245, 243, 239, 0.65);
  margin-bottom: 6px;
}

.client-stat-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
}

.client-stat-badge {
  font-size: 0.6rem;
  background: rgba(221, 85, 85, 0.22);
  color: #ffb7b7;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.client-section {
  display: grid;
  gap: 18px;
}

.client-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-section-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.client-section-accent {
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
}

.client-section-actions {
  display: flex;
  gap: 8px;
}

.client-section-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(242, 185, 13, 0.2);
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-maintenance-list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.client-card {
  min-width: 280px;
  background: rgba(54, 48, 27, 0.6);
  border: 1px solid rgba(242, 185, 13, 0.1);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
  scroll-snap-align: start;
}

.client-card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  height: 180px;
}

.client-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.client-card-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 185, 13, 0.75);
  font-size: 2.4rem;
  background: radial-gradient(circle at top, rgba(242, 185, 13, 0.14), rgba(0, 0, 0, 0.2));
}

.client-empty {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(242, 185, 13, 0.2);
  color: rgba(245, 243, 239, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
}

.client-empty-card {
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.client-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 900;
}

.client-card-tag-warning {
  background: rgba(242, 185, 13, 0.9);
  color: #1b1408;
}

.client-card-tag-neutral {
  background: rgba(255, 255, 255, 0.7);
  color: #1b1408;
}

.client-card-tag-success {
  background: rgba(34, 197, 94, 0.9);
  color: #071b0f;
}

.client-card-body {
  display: grid;
  gap: 6px;
}

.client-card-category {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 185, 13, 0.65);
  font-weight: 800;
}

.client-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

.client-card-code {
  font-size: 0.68rem;
  color: rgba(245, 243, 239, 0.5);
}

.client-progress {
  display: grid;
  gap: 8px;
  font-size: 0.7rem;
  color: rgba(245, 243, 239, 0.6);
}

.client-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.client-progress-value {
  font-weight: 800;
  color: rgba(245, 243, 239, 0.9);
}

.client-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.client-progress-fill-warning {
  background: rgba(242, 185, 13, 0.9);
  box-shadow: 0 0 10px rgba(242, 185, 13, 0.35);
}

.client-progress-fill-neutral {
  background: rgba(242, 185, 13, 0.75);
  box-shadow: 0 0 10px rgba(242, 185, 13, 0.25);
}

.client-progress-fill-success {
  background: rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

.client-card-action {
  border-radius: 14px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 10px 12px;
  border: 1px solid rgba(242, 185, 13, 0.2);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.client-card-action-primary {
  background: rgba(242, 185, 13, 0.9);
  color: #1b1408;
  border-color: transparent;
}

.client-card-add {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border-style: dashed;
  color: rgba(242, 185, 13, 0.5);
  background: transparent;
}

.client-card-add span:last-child {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
}

.client-grid {
  display: grid;
  gap: 18px;
}

.client-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.client-card-link {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 800;
  cursor: pointer;
}

.client-activity-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.client-activity-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.client-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.client-activity-dot-primary {
  background: var(--primary);
}

.client-activity-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.client-activity-desc {
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.55);
  margin-top: 4px;
}

.client-activity-desc-primary {
  color: rgba(242, 185, 13, 0.85);
}

.client-activity-time {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(245, 243, 239, 0.4);
  margin-top: 6px;
}

.client-payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(242, 185, 13, 0.15);
  margin: 16px 0;
}

.client-payment-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 243, 239, 0.5);
  margin-bottom: 4px;
}

.client-payment-title {
  font-weight: 800;
  font-size: 0.95rem;
}

.client-payment-value {
  text-align: right;
  display: grid;
  gap: 4px;
}

.client-payment-value span:first-child {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 900;
}

.client-payment-due {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ff9090;
  font-weight: 800;
}

.client-payment-btn {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.client-payment-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(242, 185, 13, 0.08);
  color: rgba(245, 243, 239, 0.6);
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .client-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

@media (max-width: 1023px) {
  .client-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(280px, 82vw);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 30;
  }

  .client-dashboard-menu-open .client-sidebar {
    transform: translateX(0);
  }

  .client-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 8, 0.6);
    border: none;
    z-index: 20;
  }

  .client-header-menu {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .client-dashboard {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }

  .client-sidebar {
    position: sticky;
    top: 24px;
    height: calc(100vh - 48px);
  }

  .client-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.register-actions-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.register-prev {
  width: 100%;
}

.register-next {
  width: 100%;
}

@media (min-width: 720px) {
  .register-grid {
    grid-template-columns: 1fr 1fr;
  }

  .register-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.login-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 125, 50, 0.12);
  display: grid;
  gap: 10px;
}

.login-support,
.login-back {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(168, 125, 50, 0.9);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.login-support:hover,
.login-back:hover {
  border-color: rgba(242, 185, 13, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(242, 185, 13, 0.95);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .login-card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .login-brand-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .login-brand-title {
    font-size: 1.25rem;
  }

  .login-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CLASSES UTILITÁRIAS PARA CONTRASTE GARANTIDO (WCAG 2.1 AA/AAA)
   ========================================================================== */

/* Texto com contraste garantido */
.text-contrast-high {
  color: var(--text-light) !important;
  background-color: var(--background-dark) !important;
}

.text-contrast-medium {
  color: var(--text-muted) !important;
  background-color: var(--surface-dark) !important;
}

.text-contrast-primary {
  color: var(--text-primary) !important;
  background-color: var(--background-dark) !important;
}

/* Fundos com contraste garantido */
.bg-contrast-safe {
  background-color: var(--background-dark) !important;
  color: var(--text-light) !important;
}

.bg-surface-contrast {
  background-color: var(--surface-dark) !important;
  color: var(--text-light) !important;
}

/* Bordas com contraste garantido */
.border-contrast-safe {
  border: var(--border-primary) !important;
}

.border-contrast-secondary {
  border: var(--border-secondary) !important;
}

/* Estados interativos com contraste */
.btn-contrast-primary {
  background-color: var(--primary) !important;
  color: var(--background-dark) !important;
  border: none !important;
}

.btn-contrast-primary:hover {
  background-color: var(--primary-dark) !important;
  color: var(--background-dark) !important;
}

.btn-contrast-primary:active {
  background-color: var(--primary-dark) !important;
  color: var(--background-dark) !important;
}

/* Glass effects com contraste */
.glass-contrast-safe {
  background: var(--glass-medium) !important;
  backdrop-filter: blur(10px) !important;
  border: var(--border-light) !important;
  color: var(--text-light) !important;
}

/* Responsividade para contraste */
@media (max-width: 768px) {
  .text-contrast-high,
  .text-contrast-medium,
  .text-contrast-primary {
    /* Ajustes para melhor legibilidade em mobile */
    line-height: 1.6;
  }
}

/* Correção para painel de notificações no mobile */
@media (max-width: 768px) {
  ion-header.client-ionic-header ion-buttons.buttons-last-slot {
    transform: none !important;
  }


}

@media (prefers-contrast: high) {
  .text-contrast-medium {
    color: var(--text-light) !important; /* Forçar alto contraste */
  }
  
  .glass-contrast-safe {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
}

/* DOCUMENTAÇÃO DE USO:
- Use .text-contrast-high para texto crítico
- Use .text-contrast-medium para texto secundário  
- Use .bg-contrast-safe para fundos de seções importantes
- Use .btn-contrast-primary para botões de ação primária
- Use .glass-contrast-safe para elementos com efeito glass

TODAS AS COMBINAÇÕES GARANTEM MÍNIMO WCAG 2.1 AA (4.5:1)
Muitas combinações atingem AAA (7:1+)
*/

.client-ionic-popover-content {
  --background: rgba(18, 15, 10, 0.98);
  --padding-start: 18px;
  --padding-end: 18px;
  --padding-top: 16px;
  --padding-bottom: 18px;
  color: var(--text-light);
  border-radius: 18px;
  border: 1px solid rgba(242, 185, 13, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(242, 185, 13, 0.12);
  min-width: min(92vw, 360px);
  max-width: 460px;
  max-height: 70vh;
  overflow: hidden;
}

.client-ionic-popover {
  --width: min(94vw, 460px);
  --max-width: 460px;
  --max-height: 80vh;
  --height: auto;
  --offset-x: 0px;
  --offset-y: 0px;
}

.client-ionic-popover::part(content) {
  max-height: 80vh;
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(94vw, 460px);
}

.client-ionic-popover-content::part(background) {
  background: linear-gradient(160deg, rgba(34, 30, 16, 0.95), rgba(13, 12, 10, 0.98));
}

.client-ionic-popover-content::part(scroll) {
  background: transparent;
  overflow: auto;
}

.client-ionic-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(242, 185, 13, 0.18);
}

.client-ionic-popover-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.client-ionic-popover-close {
  font-size: 1.4rem;
  color: rgba(245, 243, 239, 0.6);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.client-ionic-popover-close:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.client-ionic-popover-item {
  margin-bottom: 14px;
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: rgba(242, 185, 13, 0.06);
  border: 1px solid rgba(242, 185, 13, 0.08);
}

.client-ionic-popover-item:last-child {
  margin-bottom: 0;
}

.client-ionic-popover-item-desc {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
}

.client-ionic-popover-item-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-ionic-popover-item-details span {
  background: rgba(242, 185, 13, 0.08);
  border-radius: 999px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 700;
}

.client-ionic-popover-item-total {
  color: var(--primary);
}

.client-ionic-popover-table {
  display: grid;
  gap: 10px;
}

.client-ionic-popover-table-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
  /* Estilização da barra de rolagem */
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(34, 30, 16, 0.5);
}

.client-ionic-popover-table-scroll::-webkit-scrollbar {
  width: 6px;
}

.client-ionic-popover-table-scroll::-webkit-scrollbar-track {
  background: rgba(34, 30, 16, 0.5);
  border-radius: 3px;
}

.client-ionic-popover-table-scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 3px;
}

.client-ionic-popover-table-head {
  display: grid;
  grid-template-columns: 1.6fr 0.5fr 0.9fr 0.9fr;
  gap: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 243, 239, 0.65);
  padding: 0 6px;
}

.client-ionic-popover-table-row {
  display: grid;
  grid-template-columns: 1.6fr 0.5fr 0.9fr 0.9fr;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(242, 185, 13, 0.06);
  border: 1px solid rgba(242, 185, 13, 0.08);
  color: var(--text-light);
  font-size: 0.85rem;
}

.client-ionic-popover-table-row .cell-desc {
  font-weight: 700;
  word-break: break-word;
}

.client-ionic-popover-table-row .cell-center {
  text-align: center;
  font-weight: 700;
}

.client-ionic-popover-table-row .cell-right {
  text-align: right;
  font-weight: 700;
}

.client-ionic-popover-table-row .cell-total {
  color: var(--primary);
}

.client-ionic-popover-summary {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.client-ionic-popover-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(148, 112, 52, 0.12);
  border: 1px solid rgba(148, 112, 52, 0.2);
  font-weight: 700;
  color: rgba(245, 243, 239, 0.9);
}

.client-ionic-popover-paid {
  color: rgba(242, 185, 13, 0.95);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.client-ionic-popover-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-weight: 800;
  font-size: 1rem;
  color: #22c55e;
}

.client-ionic-popover-total-row .value {
  font-size: 1.1rem;
}

.client-ionic-empty-small {
  text-align: center;
  padding: 18px 12px;
  color: rgba(245, 243, 239, 0.6);
  font-style: italic;
}

:root[data-theme="light"] .client-ionic-popover-content {
  --background: #ffffff;
  color: #2c241b;
  border: 1px solid rgba(148, 112, 52, 0.2);
  box-shadow: 0 16px 38px rgba(148, 112, 52, 0.2);
}

:root[data-theme="light"] .client-ionic-popover-content::part(background) {
  background: #ffffff;
}

:root[data-theme="light"] .client-ionic-popover-title {
  color: #a87d32;
}

:root[data-theme="light"] .client-ionic-popover-item {
  background: rgba(242, 185, 13, 0.08);
  border-color: rgba(242, 185, 13, 0.18);
}

:root[data-theme="light"] .client-ionic-popover-item-desc {
  color: #2c241b;
}

:root[data-theme="light"] .client-ionic-popover-item-details {
  color: rgba(44, 36, 27, 0.7);
}

:root[data-theme="light"] .client-ionic-popover-item-details span {
  background: rgba(242, 185, 13, 0.15);
}

:root[data-theme="light"] .client-ionic-empty-small {
  color: rgba(44, 36, 27, 0.65);
}

:root[data-theme="light"] .client-ionic-popover-table-head {
  color: rgba(44, 36, 27, 0.65);
}

:root[data-theme="light"] .client-ionic-popover-table-row {
  color: #2c241b;
  background: rgba(242, 185, 13, 0.08);
  border-color: rgba(242, 185, 13, 0.18);
}

:root[data-theme="light"] .client-ionic-popover-summary-row {
  color: #2c241b;
  background: rgba(148, 112, 52, 0.12);
  border-color: rgba(148, 112, 52, 0.22);
}

:root[data-theme="light"] .client-ionic-popover-paid {
  color: #a87d32;
}

@media (max-width: 520px) {
  .client-ionic-popover-table-head,
  .client-ionic-popover-table-row {
    grid-template-columns: 1.4fr 0.5fr 0.9fr 0.9fr;
  }
}

@media (max-width: 520px) {
  .client-ionic-popover {
    --width: 94vw;
    --max-width: 94vw;
    --max-height: 78vh;
  }

  .client-ionic-popover-content {
    max-height: 68vh;
  }
}

/* ==========================================================================
   MODAL DE ORÇAMENTO ENHANCED
   ========================================================================== */

.quote-modal-enhanced::part(content) {
  --width: min(92vw, 580px);
  --height: auto;
  --max-height: 90vh;
  --border-radius: 24px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.quote-modal-toolbar {
  --background: var(--surface-dark);
  --color: var(--text-light);
  --border-color: rgba(242, 185, 13, 0.15);
  padding: 8px 12px;
}

.quote-modal-toolbar ion-title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.quote-modal-content {
  --background: linear-gradient(160deg, var(--surface-dark), var(--background-dark));
  --padding-top: 24px;
  --padding-bottom: 32px;
}

.quote-form-container {
  display: grid;
  gap: 28px;
  max-width: 100%;
}

/* Steps Indicator */
.quote-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.quote-step-item.active {
  opacity: 1;
  transform: scale(1.05);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(242, 185, 13, 0.1);
  border: 2px solid rgba(242, 185, 13, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
}

.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: #1a1814;
  box-shadow: 0 0 15px rgba(242, 185, 13, 0.3);
}

.step-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--text-light);
}

.quote-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  max-width: 40px;
  border-radius: 2px;
}

/* Sections */
.quote-section {
  display: grid;
  gap: 20px;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.quote-section-header ion-icon {
  font-size: 1.4rem;
  color: var(--primary);
  background: rgba(242, 185, 13, 0.1);
  padding: 8px;
  border-radius: 12px;
}

.quote-section-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-light);
}

/* Inputs Modernos */
.quote-field-group {
  display: grid;
  gap: 8px;
}

.quote-input-modern,
.quote-select-modern,
.quote-textarea-modern {
  --background: rgba(255, 255, 255, 0.04);
  --color: var(--text-light);
  --placeholder-color: rgba(245, 243, 239, 0.4);
  --padding-start: 16px;
  --padding-end: 16px;
  --border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.2s ease;
  min-height: 52px;
}

.quote-textarea-modern {
  min-height: 120px;
}

.quote-input-modern:focus-within,
.quote-select-modern:focus-within,
.quote-textarea-modern:focus-within {
  border-color: var(--primary);
  background: rgba(242, 185, 13, 0.04);
  box-shadow: 0 0 0 4px rgba(242, 185, 13, 0.08);
}

.quote-help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(242, 185, 13, 0.05);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

.quote-hint {
  font-size: 0.65rem;
  color: rgba(245, 243, 239, 0.4);
  font-style: italic;
  margin-top: 4px;
}

/* Submit Section */
.quote-submit-container {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.quote-btn-submit {
  --background: linear-gradient(135deg, var(--primary), var(--bronze));
  --color: #1a1814;
  --border-radius: 16px;
  --box-shadow: 0 8px 24px rgba(242, 185, 13, 0.25);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 56px;
  font-size: 0.95rem;
  margin: 0;
}

.quote-btn-submit:hover {
  --box-shadow: 0 12px 32px rgba(242, 185, 13, 0.35);
}

/* Light Theme */
:root[data-theme="light"] .quote-modal-enhanced::part(content) {
  box-shadow: 0 20px 50px rgba(148, 112, 52, 0.15);
}

:root[data-theme="light"] .quote-modal-toolbar {
  --background: #ffffff;
}

:root[data-theme="light"] .quote-modal-content {
  --background: #f9f7f2;
}

:root[data-theme="light"] .quote-steps {
  background: #ffffff;
  border-color: rgba(148, 112, 52, 0.1);
}

:root[data-theme="light"] .quote-input-modern,
:root[data-theme="light"] .quote-select-modern,
:root[data-theme="light"] .quote-textarea-modern {
  --background: #ffffff;
  border-color: rgba(148, 112, 52, 0.15);
}

:root[data-theme="light"] .quote-help-text {
  background: #fdfaf4;
  color: #6f6758;
}
