/*
 * Design tokens copiados 1:1 do projeto original (src/styles.css do Lovable).
 * Todas as cores em oklch(), suportado nativamente pelos browsers modernos
 * e consumido pelo tailwind.config (ver _Layout.cshtml) via CSS custom properties.
 */

:root {
  --radius: 0.5rem;
  --background: oklch(0.968 0.018 79);
  --foreground: oklch(0.285 0.038 51);
  --card: oklch(0.985 0.01 78);
  --card-foreground: oklch(0.285 0.038 51);
  --popover: oklch(0.985 0.01 78);
  --popover-foreground: oklch(0.285 0.038 51);
  --primary: oklch(0.37 0.055 48);
  --primary-foreground: oklch(0.965 0.018 79);
  --primary-muted: oklch(0.82 0.025 72);
  --secondary: oklch(0.91 0.027 76);
  --secondary-foreground: oklch(0.285 0.038 51);
  --muted: oklch(0.91 0.027 76);
  --muted-foreground: oklch(0.47 0.035 53);
  --accent: oklch(0.77 0.058 65);
  --accent-foreground: oklch(0.25 0.038 49);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(0.83 0.028 72);
  --input: oklch(0.83 0.028 72);
  --ring: oklch(0.48 0.06 48);
  --hero-foreground: oklch(0.98 0.012 78);
  --hero-muted: oklch(0.92 0.018 76);
  --hero-border: oklch(0.95 0.015 78 / 45%);
  --hero-surface: oklch(0.3 0.035 48 / 30%);
  --hero-surface-hover: oklch(0.3 0.035 48 / 50%);
  --footer: oklch(0.235 0.03 48);
  --footer-foreground: oklch(0.95 0.016 78);
  --footer-muted: oklch(0.73 0.025 70);
  --whatsapp: oklch(0.67 0.16 145);
  --whatsapp-foreground: oklch(0.99 0 0);
  --shadow-float: 0 12px 30px oklch(0.2 0.03 48 / 28%);
  --gradient-hero: linear-gradient(to bottom, oklch(0.2 0.025 48 / 12%) 10%, oklch(0.2 0.035 48 / 35%) 52%, oklch(0.18 0.035 48 / 88%) 100%);
}

* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: 0;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

/*
 * Reforço para os modificadores de opacidade do Tailwind (bg-x/90 etc.) usados
 * com cores oklch() — garante o mesmo resultado do projeto original mesmo que
 * o Tailwind CDN não gere o color-mix() automaticamente para essas classes.
 */
.bg-background\/90 { background-color: color-mix(in oklab, var(--background) 90%, transparent); }
.hover\:bg-background\/90:hover { background-color: color-mix(in oklab, var(--background) 90%, transparent); }
.hover\:bg-hero-foreground\/90:hover { background-color: color-mix(in oklab, var(--hero-foreground) 90%, transparent); }
.hover\:bg-whatsapp\/90:hover { background-color: color-mix(in oklab, var(--whatsapp) 90%, transparent); }
