/* ============================================
   BASE - Reset, Typography, Variables, Globals
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* - Brand Colors - */
  --clr-violet-deep:     #2D0B4E;
  --clr-violet-medium:   #5A2A83;
  --clr-violet-light:    #7B3FA0;
  --clr-fuschia:         #E84393;
  --clr-fuschia-dark:    #C73882;
  --clr-fuschia-light:   #F06AAF;
  --clr-pink-soft:       #F7C6DA;
  --clr-pink-softer:     #FCE4EF;
  --clr-bg-lila:         #F8F5FC;
  --clr-bg-lila-mid:     #F1EBFA;
  --clr-white:           #FFFFFF;
  --clr-gray-text:       #444444;
  --clr-gray-light:      #777777;
  --clr-gray-border:     #E8E0F0;
  --clr-whatsapp:        #25D366;
  --clr-whatsapp-dark:   #1DA851;

  /* - Typography - */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* - Font Sizes (fluid) - */
  --fs-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --fs-sm:    clamp(0.8125rem, 0.75rem + 0.3vw, 0.875rem);
  --fs-base:  clamp(0.9375rem, 0.85rem + 0.4vw, 1rem);
  --fs-md:    clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg:    clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --fs-xl:    clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl:   clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-3xl:   clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --fs-4xl:   clamp(2.25rem, 1.5rem + 3.75vw, 3.5rem);

  /* - Spacing - */
  --space-xs:   0.5rem;
  --space-sm:   0.75rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* - Layout - */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 3vw, 2rem);

  /* - Borders & Radii - */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 50%;

  /* - Shadows - */
  --shadow-sm:   0 1px 3px rgba(45, 11, 78, 0.06);
  --shadow-md:   0 4px 12px rgba(45, 11, 78, 0.08);
  --shadow-lg:   0 8px 30px rgba(45, 11, 78, 0.1);
  --shadow-xl:   0 16px 50px rgba(45, 11, 78, 0.12);
  --shadow-card: 0 4px 20px rgba(45, 11, 78, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(45, 11, 78, 0.12);

  /* - Transitions - */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-in-out);

  /* - Header - */
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-gray-text);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

strong {
  font-weight: 600;
  color: var(--clr-violet-medium);
}

/* ============================================
   ACCESSIBILITY FOCUS STYLES
   ============================================ */
:focus-visible {
  outline: 2px solid var(--clr-fuschia);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .whatsapp-float,
  .hero-bg-shapes,
  .hero-scroll-indicator,
  .nav-overlay {
    display: none !important;
  }

  .hero {
    padding-top: var(--space-xl);
    min-height: auto;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
