/* ==========================================================================
   Bella Bama Cleaning — Design Tokens
   Source: "IDENTIDADE VISUAL - BELLA BAMA.pdf" (brand manual by AlMarc)

   Colors marked [BRAND] are copied exactly from the brand manual.
   Colors marked [A11Y] are NOT in the manual: they are darker shades of the
   same brand hues, added only because every brand color fails WCAG 2.1 AA
   (4.5:1) as text on white. Use them for text/links/icons on light
   backgrounds; use the [BRAND] colors for fills, shapes and decoration.
   Colors marked [TINT] are the brand color mixed with white (backgrounds).
   ========================================================================== */

:root {
  /* ---- Brand palette [BRAND] ------------------------------------------- */
  --color-pink: #ffa7cc;        /* Primary · CMYK 0/45/0/0  · RGB 255/167/204 */
  --color-blue: #03a9f4;        /* Primary · CMYK 72/20/0/0 · RGB 3/169/244   */
  --color-light-blue: #bed6f5;  /* Secondary · CMYK 24/9/0/0 · RGB 190/214/245 */
  --color-green: #44ce6b;       /* Accent · CMYK 68/0/83/0 · RGB 68/206/107   */
  --color-gray: #b7b4b5;        /* Neutral · CMYK 30/25/24/0 · RGB 183/180/181 */
  --color-white: #ffffff;       /* Neutral · CMYK 0/0/0/0                      */

  /* ---- Ink (text). The manual approves a black logo version; this is the
         standard print "rich black" (CMYK 0/0/0/100 → #231f20). ------------ */
  --color-ink: #231f20;         /* 16.3:1 on white · 9.0:1 on pink            */

  /* ---- Accessible shades [A11Y] — contrast measured against white ------- */
  --color-pink-700: #c8005a;    /* 5.8:1 on white, 5.3:1 on pink tint         */
  --color-blue-700: #0270a3;    /* 5.4:1 on white, 5.0:1 on light-blue tint   */
  --color-green-700: #23863f;   /* 4.6:1 on white                             */
  --color-gray-700: #5e595b;    /* 6.9:1 on white — muted body text           */
  --color-gray-300: #c8c5c6;    /* 9.5:1 on ink — muted text in dark footer   */

  /* ---- Tints [TINT] — section backgrounds ------------------------------- */
  --color-pink-50: #fff1f7;
  --color-blue-50: #eef5fd;

  /* ---- Semantic roles --------------------------------------------------- */
  --text: var(--color-ink);
  --text-muted: var(--color-gray-700);
  --text-accent: var(--color-pink-700);
  --text-on-dark: var(--color-white);
  --text-on-dark-muted: var(--color-gray-300);
  --surface: var(--color-white);
  --surface-pink: var(--color-pink-50);
  --surface-blue: var(--color-blue-50);
  --surface-dark: var(--color-ink);
  --border: #e7e5e6;            /* Gray at ~35% on white (decorative only)    */
  --focus-ring: var(--color-blue-700);
  --error: var(--color-pink-700);

  /* Buttons: brand fill + ink text keeps the real brand color and passes AA */
  --btn-primary-bg: var(--color-pink);
  --btn-primary-bg-hover: #ff93bf; /* slightly deeper pink on hover (still 7.8:1 with ink) */
  --btn-primary-text: var(--color-ink);

  /* ---- Typography ------------------------------------------------------- */
  /* Manual: "Tipografia do logo / Títulos" = Questrial; "Apoio" = Montserrat.
     Both are on Google Fonts — no substitutes needed. */
  --font-heading: "Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* Fluid type scale (min @ 375px → max @ 1280px) */
  --fs-xs: 0.8125rem;                                   /* 13px  */
  --fs-sm: 0.9375rem;                                   /* 15px  */
  --fs-base: 1rem;                                      /* 16px  */
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);  /* 17–19 */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);      /* 20–24 */
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);          /* 24–32 */
  --fs-2xl: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);  /* 30–44 */
  --fs-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);    /* 36–60 */

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.65;
  --tracking-wide: 0.14em;      /* echoes the logo's "CLEANING SERVICE LLC" */

  /* ---- Spacing (4px base) ----------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-pad: clamp(4rem, 3rem + 4vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --container: 72rem;           /* 1152px */

  /* ---- Shape & depth ---------------------------------------------------- */
  /* The brand is built from circles, so shapes are generously rounded. */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(35 31 32 / 0.06), 0 2px 8px rgb(35 31 32 / 0.05);
  --shadow-md: 0 4px 12px rgb(35 31 32 / 0.07), 0 16px 32px rgb(35 31 32 / 0.07);
  --shadow-pink: 0 10px 24px rgb(255 167 204 / 0.45);

  /* ---- Logo ------------------------------------------------------------- */
  /* The manual defines no clear space or minimum size; these are our rules. */
  --logo-min-height: 64px;       /* stacked logo, on screen */
  --logo-clear-space: 0.25;      /* × symbol width, on every side */

  /* ---- Motion ----------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-reveal: 700ms;

  /* ---- Layers ----------------------------------------------------------- */
  --z-header: 100;
  --z-fab: 90;
  --z-menu: 110;

  --header-h: 4.5rem;
}
