/* ==========================================================================
   AURORA CLINIC - DESIGN TOKENS (LIGHT LUXURY)
   ========================================================================== */

:root {
  /* Cores Base & Neutros */
  --color-bg-primary: #FAF8F5;          /* Marfim suave, luminoso */
  --color-bg-surface: #FFFFFF;          /* Branco puro para cards */
  --color-bg-surface-elevated: #FFFFFF;
  --color-bg-subtle: #F3EFEA;           /* Tom bege/marfim quente para áreas alternadas */
  
  /* Verde Esmeralda Nobre (Identidade & Títulos) */
  --color-emerald-deep: #0B332A;        /* Verde escuro majestoso */
  --color-emerald-dark: #07251E;
  --color-emerald-light: #164E40;
  --color-emerald-subtle: #EBF2EE;      /* Fundo suave para tags */
  --color-emerald-border: rgba(11, 51, 42, 0.12);

  /* Ouro Nobre Acetinado (Acentos, Ícones & Botões) */
  --color-gold: #C5A059;                /* Ouro polido elegante (contraste AA aprovado) */
  --color-gold-hover: #B38E46;
  --color-gold-light: #DFCA9E;
  --color-gold-subtle: rgba(197, 160, 89, 0.15);
  --color-gold-border: rgba(197, 160, 89, 0.28);
  --color-gold-glow: rgba(197, 160, 89, 0.25);

  /* Texto */
  --color-text-main: #1F2926;           /* Grafite escuro refinado */
  --color-text-body: #34403B;           /* Leitura descansada */
  --color-text-muted: #667570;          /* Secundário suave */
  --color-text-on-emerald: #FAF8F5;

  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamentos */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras & Profundidade */
  --shadow-subtle: 0 4px 20px rgba(11, 51, 42, 0.04);
  --shadow-luxury: 0 16px 40px -10px rgba(11, 51, 42, 0.08), 0 0 1px rgba(197, 160, 89, 0.2);
  --shadow-elevated: 0 24px 48px -12px rgba(11, 51, 42, 0.12), 0 0 2px rgba(197, 160, 89, 0.3);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.25);

  /* Transições & Curvas de Aceleração */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms ease;
  --transition-normal: 300ms var(--ease-luxury);
  --transition-slow: 600ms var(--ease-luxury);

  /* Limites de Layout */
  --max-width-content: 1200px;
  --max-width-wide: 1360px;
  --header-height: 84px;
  --header-height-scrolled: 70px;
}

/* ==========================================================================
   RESET MODERNO & BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

::selection {
  background-color: var(--color-emerald-deep);
  color: var(--color-gold-light);
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Utilitário Container com Padding Responsivo */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container,
  .container-wide {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

/* Acessibilidade - Foco Teclado */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
