/*
Theme Name: Dra Andressa Manfron Biazus
Author: Dra Andressa
Description: Tema exclusivo para a Dra. Andressa Manfron Biazus, com visual clean e premium.
Version: 2.1
*/

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-rose: var(--rose);
  --color-copper: var(--copper);
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

:root {
  --radius: 0.625rem;
  --background: #ffffff;
  --foreground: #000000;
  --card: oklch(0.18 0.010 30);
  --card-foreground: oklch(0.97 0.005 30);
  --popover: oklch(0.16 0.008 30);
  --popover-foreground: oklch(0.97 0.005 30);
  --primary: oklch(0.72 0.09 25);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.23 0.010 25);
  --secondary-foreground: oklch(0.97 0.005 25);
  --muted: oklch(0.23 0.010 25);
  --muted-foreground: oklch(0.72 0.015 25);
  --accent: oklch(0.72 0.09 25);
  --accent-foreground: oklch(0.99 0 0);
  --destructive: oklch(0.6 0.22 25);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(1 0 0 / 9%);
  --input: oklch(1 0 0 / 12%);
  --ring: oklch(0.72 0.09 25);
  --rose: oklch(0.80 0.08 20);
  --copper: oklch(0.60 0.10 30);
}

@layer base {
  * { border-color: var(--color-border); min-width: 0; }
  html { scroll-behavior: smooth; }
  html, body { overflow-x: clip; max-width: 100vw; width: 100%; }
  #root, main { max-width: 100vw; overflow-x: clip; }
  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    background-image:
      radial-gradient(ellipse 80% 50% at 20% 0%, rgba(200, 150, 140, 0.08), transparent 60%),
      radial-gradient(ellipse 60% 50% at 80% 100%, rgba(180, 120, 115, 0.06), transparent 60%);
    background-attachment: fixed;
  }
  ::selection { background: rgba(200, 150, 140, 0.35); color: #fff; }
}

/* ================= Liquid Glass ================= */
.liquid-glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.02) 45%,
    rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.03),
    0 12px 40px -12px rgba(0,0,0,0.6);
  transition: all 320ms cubic-bezier(.2,.8,.2,1);
}
.liquid-glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 30% -10%,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.03) 35%,
    transparent 60%);
  mix-blend-mode: screen;
  z-index: -1;
}
.liquid-glass:hover {
  border-color: rgba(200, 150, 140, 0.45);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 20px 50px -12px rgba(0,0,0,0.75),
    0 0 38px rgba(200, 150, 140, 0.18);
}

.liquid-glass-gold {
  background: linear-gradient(180deg,
    rgba(200, 150, 140, 0.38) 0%,
    rgba(160, 100, 95, 0.18) 50%,
    rgba(200, 150, 140, 0.28) 100%);
  border-color: rgba(200, 150, 140, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 12px 40px -10px rgba(160, 100, 95, 0.55),
    0 0 24px rgba(200, 150, 140, 0.3);
}
.liquid-glass-gold:hover {
  background: linear-gradient(180deg,
    rgba(220, 170, 160, 0.5) 0%,
    rgba(180, 120, 115, 0.25) 50%,
    rgba(220, 170, 160, 0.38) 100%);
  border-color: rgba(220, 170, 160, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 20px 60px -12px rgba(180, 120, 115, 0.7),
    0 0 40px rgba(220, 170, 160, 0.45);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #F5C5C0 0%, #C9877F 45%, #7A4040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 8px rgba(200, 150, 140, 0.25));
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.9s cubic-bezier(.2,.8,.2,1) both; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-slow { animation: marquee 38s linear infinite; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(200, 150, 140, 0.35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(220, 170, 160, 0.6); }
