/* 
  ========================================
  DESIGN SYSTEM - Destrava Completo v2
  High-Converting Health Product
  ========================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  /* === BRAND COLORS === */
  --green-50:  #eafff3;
  --green-100: #c8ffd9;
  --green-200: #6be89a;
  --green-400: #34d06b;
  --green-500: #1fba55;
  --green-600: #18a349;
  --green-700: #12803a;
  --green-800: #0a5425;
  --green-900: #06331a;

  /* Neutrals */
  --white: #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #0a0e17;

  /* Semantic */
  --danger:   #ef4444;
  --danger-bg:#fef2f2;
  --warning:  #f59e0b;
  --warning-bg:#fffbeb;

  /* === TYPOGRAPHY === */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* === SPACING === */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* === RADII === */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.02);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-green: 0 8px 32px rgba(31, 186, 85, 0.25);
  --shadow-green-lg: 0 12px 40px rgba(31, 186, 85, 0.35);

  /* === KEPT FOR QUIZ COMPAT === */
  --color-primary-900: #0d1b11;
  --color-primary-800: #16301e;
  --color-primary-700: #1f452a;
  --color-primary-500: #2c6e3f;
  --color-surface-100: #fcfbf9;
  --color-surface-200: #f2f0ea;
  --color-surface-300: #e5e2da;
  --color-text-900: #1a1a1a;
  --color-text-700: #4a4a4a;
  --color-text-500: #737373;
  --color-accent-gold: #b39b5d;
  --color-accent-sand: #d1c6ad;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-sans: 'DM Sans', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --border-thin: 1px solid var(--color-surface-300);
  --border-dark: 1px solid var(--color-primary-900);
}

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

html {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body { min-height: 100vh; overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; }

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.text-green { color: var(--green-500); }
.text-white { color: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Green CTA - main conversion button */
.btn-cta {
  background: linear-gradient(180deg, var(--green-400) 0%, var(--green-600) 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255,255,255,0.2);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-lg), inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.05);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta-lg {
  padding: 1.15rem 3rem;
  font-size: 1.05rem;
}

.btn-cta-xl {
  padding: 1.25rem 3.5rem;
  font-size: 1.1rem;
  border-radius: var(--r-lg);
}

/* Kept for quiz compat */
.btn-primary {
  background-color: var(--color-primary-900);
  color: var(--color-surface-100);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}
.btn-primary:hover:not(:disabled) { background-color: var(--color-primary-700); }
.btn-outline {
  background-color: transparent;
  color: var(--color-primary-900);
  border: 1px solid var(--color-primary-900);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}
.btn-outline:hover:not(:disabled) { background-color: var(--color-surface-200); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* === DIVIDER === */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-surface-300);
  margin: var(--space-md) 0;
}
