/* ============================================================
   ODONTO BELMAR · "PRECISÃO" — Design System foundations (v3)
   Dr. Jorge Belmar · Cirurgião-Dentista · Sisos & Implantes (SP)

   Refreshed direction: bright, modern, high-tech.
   Crisp cool whites (no beige) + deep teal/blue accent + cool ink.
   Primary accent: blue-teal gradient (#1A9BB0 → #0D7A96 → #075E78).
   Full-colour imagery, soft shadows, rounded cards.
   Engineered grotesk type + mono technical labels.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* ============================================================
     COLOR — RAW
     ============================================================ */

  /* Ink — cool deep slate/navy. Text + dark sections. (not warm) */
  --ink-950: #0A141A;
  --ink-900: #0F1B22;   /* primary text / dark surface */
  --ink-800: #16252E;
  --ink-700: #20323D;
  --ink-600: #33474F;

  /* Slate — cool neutral grays for text, lines, mist. */
  --slate-700: #43545B;  /* body text */
  --slate-600: #5C6D74;
  --slate-500: #7B8C93;  /* secondary / captions */
  --slate-400: #9DAEB4;  /* muted / placeholder */
  --slate-300: #C4D0D3;
  --slate-200: #DEE7E9;  /* hairlines */
  --slate-150: #E9EFF0;
  --slate-100: #F1F5F6;

  /* Cool whites — bright, clinical, modern paper. No beige. */
  --white:  #FFFFFF;     /* cards */
  --cloud:  #F4F8F8;     /* page paper (cool light) */
  --mist:   #ECF3F3;     /* alt band / sunken */

  /* Teal/Blue — primary accent. Deep ocean teal with gradient system. */
  --jade-700: #0A5570;   /* pressed / text on light */
  --jade-600: #0D7A96;   /* accent text on light */
  --jade-500: #1499B8;   /* PRIMARY teal — vibrant */
  --jade-400: #2BCADF;
  --jade-300: #7FD8F0;
  --jade-200: #BAECf5;
  --jade-100: #E3F6FA;   /* teal wash */

  /* Gradient tokens — use these for buttons, text clips, pill bg */
  --accent-btn:  linear-gradient(118deg,#1A9BB0 0%,#0D7A96 48%,#075E78 100%); /* @kind color */
  --accent-text: linear-gradient(100deg,#0A5570 0%,#1499B8 52%,#095068 100%); /* @kind color */
  --accent-soft: linear-gradient(135deg,#E3F6FA 0%,#BAECf5 100%); /* @kind color */

  --signal-ok:   #1499B8;
  --signal-warn: #F0A93B;

  /* ============================================================
     COLOR — SEMANTIC
     ============================================================ */
  --bg:            var(--cloud);
  --bg-white:      var(--white);
  --bg-mist:       var(--mist);
  --bg-mint:       var(--jade-100);
  --bg-ink:        var(--ink-900);
  --surface:       var(--white);

  --fg:            var(--ink-900);
  --fg-muted:      var(--slate-700);
  --fg-subtle:     var(--slate-500);
  --fg-on-ink:     rgba(255,255,255,0.94);
  --fg-on-ink-mut: rgba(255,255,255,0.60);

  --accent:        var(--jade-500);
  --accent-strong: var(--jade-600);
  --accent-press:  var(--jade-700);

  --line:          var(--slate-200);
  --line-strong:   var(--slate-300);
  --line-on-ink:   rgba(255,255,255,0.12);
  --line-jade:     color-mix(in srgb, var(--jade-500) 50%, transparent);

  --ring:          color-mix(in srgb, var(--jade-500) 40%, transparent);

  /* legacy aliases (v2 names → v3 values) so older files keep working */
  --porcelain: var(--cloud);
  --bone: var(--white);
  --sand: var(--mist);
  --stone-700: var(--slate-700);
  --stone-600: var(--slate-600);
  --stone-500: var(--slate-500);
  --stone-400: var(--slate-400);
  --stone-300: var(--slate-300);
  --stone-200: var(--slate-200);
  --stone-150: var(--slate-150);
  --stone-100: var(--slate-100);

  /* ============================================================
     TYPE
     ============================================================ */
  --font-display: 'Space Grotesk', 'Hanken Grotesk', system-ui, sans-serif;  /* headlines */
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;     /* body / UI */
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', monospace;    /* technical labels */

  --fs-mega:    clamp(3rem, 7vw, 6rem);      /* @kind font */
  --fs-display: clamp(2.5rem, 4.6vw, 4rem); /* @kind font */
  --fs-h1:      clamp(2rem, 3.4vw, 3rem);   /* @kind font */
  --fs-h2:      clamp(1.6rem, 2.4vw, 2.15rem); /* @kind font */
  --fs-h3:      1.3rem;
  --fs-lead:    1.18rem;
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-mono:    0.75rem;

  --lh-tight:   1.04;   /* @kind other */
  --lh-snug:    1.18;   /* @kind other */
  --lh-body:    1.62;   /* @kind other */
  --tracking-mono: 0.2em;
  --tracking-tight: -0.025em;

  /* ============================================================
     RADIUS / SHADOW / SPACING / MOTION — modern & soft
     ============================================================ */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(15,27,34,0.06), 0 1px 3px rgba(15,27,34,0.05);
  --shadow-md:  0 12px 30px -14px rgba(15,27,34,0.16), 0 4px 10px -6px rgba(15,27,34,0.08);
  --shadow-lg:  0 30px 64px -22px rgba(15,27,34,0.24), 0 10px 24px -14px rgba(15,27,34,0.10);
  --shadow-jade:0 16px 36px -12px rgba(20,153,184,0.45);

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px;
  --space-9:96px; --space-10:128px; --space-11:176px;

  --ease: cubic-bezier(0.16, 0.84, 0.36, 1);      /* @kind other */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);     /* @kind other */
  --dur: 0.4s;       /* @kind other */
  --dur-fast: 0.22s; /* @kind other */
}

/* ============================================================
   SEMANTIC TYPE CLASSES
   ============================================================ */
.ds-spec {            /* mono technical label / eyebrow */
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--accent-strong);
}
.ds-mega { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-mega); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); color: var(--ink-900); }
.ds-display { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.02em; color: var(--ink-900); }
.ds-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: -0.02em; color: var(--ink-900); }
.ds-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: -0.015em; color: var(--ink-900); }
.ds-h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; color: var(--ink-900); }

/* Signature device: one emotive accent word in vibrant jade
   (same engineered grotesk — clean & modern, no serif). */
.ds-em { color: var(--accent-strong); font-weight: 500; }

.ds-lead { font-family: var(--font-sans); font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--slate-600); font-weight: 400; }
.ds-body { font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--slate-700); font-weight: 400; }
.ds-sm   { font-family: var(--font-sans); font-size: var(--fs-sm); line-height: 1.55; color: var(--slate-500); }
.ds-label{ font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); }

body { background: var(--cloud); color: var(--ink-900); font-family: var(--font-sans); }
