/* ==========================================================================
   JULIANA DRIGOTTE — DESIGN SYSTEM & BASE STYLES
   Cabeleireira & Terapeuta Capilar | Tabapuã - SP
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Neutrals & Warm Tones */
  --color-bg-primary: #FAF8F5;       /* Warm silk off-white */
  --color-bg-secondary: #F3EDE4;     /* Soft linen beige / warm nude */
  --color-bg-card: #FFFFFF;          /* Pure white card surface */
  --color-bg-card-warm: #F8F4EE;     /* Soft ivory surface */
  --color-bg-dark: #1F1A17;          /* Rich espresso dark background */
  --color-bg-dark-surface: #2A2420;  /* Elevated espresso surface */

  /* Text Colors */
  --color-text-primary: #251E1A;     /* Deep roasted espresso */
  --color-text-secondary: #6A5F56;   /* Warm taupe grey */
  --color-text-muted: #8F8379;       /* Muted ash brown */
  --color-text-light: #FDFBF7;       /* Off-white for dark surfaces */
  --color-text-light-muted: #D1C8C0; /* Muted light text */

  /* Metallic Champagne Gold */
  --color-gold-primary: #C5A265;
  --color-gold-light: #DFC89E;
  --color-gold-dark: #A17E42;
  --color-gold-subtle: rgba(197, 162, 101, 0.12);
  --color-gold-border: rgba(197, 162, 101, 0.35);

  /* Subtle Lilac / Lavender Accents (Referencing Juliana's Photo) */
  --color-lilac-primary: #8A7596;
  --color-lilac-light: #F4EEF7;
  --color-lilac-subtle: rgba(138, 117, 150, 0.1);
  --color-lilac-border: rgba(138, 117, 150, 0.28);
  --color-lilac-rose: #B85D8E;

  /* Botanical Emerald Accents (From Official Uniform Embroidery) */
  --color-emerald-primary: #1EA896;
  --color-emerald-light: #EAF7F4;
  --color-emerald-subtle: rgba(30, 168, 150, 0.12);
  --color-emerald-border: rgba(30, 168, 150, 0.3);

  /* Conversion Accent (WhatsApp) */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5A;
  --color-whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2.5rem;    /* 40px */
  --space-xl: 4rem;      /* 64px */
  --space-2xl: 6.5rem;   /* 104px */

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(37, 30, 26, 0.04);
  --shadow-card: 0 10px 30px rgba(37, 30, 26, 0.06);
  --shadow-hover: 0 18px 45px rgba(37, 30, 26, 0.11);
  --shadow-gold: 0 8px 30px rgba(197, 162, 101, 0.22);
  --shadow-dark: 0 15px 40px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.22;
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.text-highlight {
  font-style: italic;
  color: var(--color-gold-primary);
}

.text-lilac {
  color: var(--color-lilac-primary);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

.section-bg-secondary {
  background-color: var(--color-bg-secondary);
}

.section-bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-bg-dark h2,
.section-bg-dark h3 {
  color: var(--color-text-light);
}

.section-bg-dark p {
  color: var(--color-text-light-muted);
}

/* Section Header Typography Component */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl) auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold-dark);
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.section-tag.tag-lilac {
  color: var(--color-lilac-primary);
  background: var(--color-lilac-subtle);
  border-color: var(--color-lilac-border);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. UTILITY CLASSES & ACCESSIBILITY
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
  margin: 1.5rem auto;
}

.divider-gold-left {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-primary), transparent);
  margin: 1.2rem 0;
}
