/* ============================================================
   EVAA Fertility — "Living Light" design system (v2)
   Interactive, editorial. Purple brand retained, retuned.
   Token NAMES preserved so all pages restyle automatically.
   ============================================================ */

:root {
  /* Brand purples (deeper, richer) */
  --purple-900: #25104A;
  --ink:        #221046;   /* primary text */
  --purple-800: #3A1A6E;
  --purple-700: #6D28D9;   /* PRIMARY */
  --purple-600: #7C3AED;
  --purple-500: #9333EA;
  --lavender-400: #A78BFA;
  --lavender-300: #C9B8FB;
  --lavender-200: #E0D6FB;  /* accent */
  --lavender-100: #EFE9FE;
  --lavender-50:  #F7F3FF;

  /* Warm + life accents */
  --coral:      #FB6F5C;    /* primary CTA — warm coral */
  --coral-600:  #F4502F;
  --coral-100:  #FFE7E0;
  --orchid:     #C026D3;    /* decorative pink-violet */
  --peach:      #FFB59E;

  /* WhatsApp */
  --whatsapp:   #25D366;
  --whatsapp-600: #1EB257;

  /* Neutrals */
  --white: #FFFFFF;
  --bg:    #FBF8FF;
  --bg-alt: #F4EEFF;
  --line:  #EBE3FB;
  --slate-600: #574F6E;
  --slate-500: #837A9C;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(45,16,101,.06);
  --shadow-md: 0 18px 40px rgba(45,16,101,.12);
  --shadow-lg: 0 34px 80px rgba(45,16,101,.20);
  --shadow-coral: 0 16px 34px rgba(251,111,92,.34);
  --glass: rgba(255,255,255,.66);
  --glass-line: rgba(255,255,255,.7);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  --container: 1240px;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient aurora behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1000px 700px at 82% -8%, rgba(192,38,211,.12), transparent 60%),
    radial-gradient(820px 620px at -8% 8%, rgba(124,58,237,.12), transparent 58%),
    radial-gradient(760px 700px at 50% 120%, rgba(251,111,92,.08), transparent 60%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--orchid); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 68px 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: 12.5px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--purple-600);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--slate-600); font-size: 18.5px; }

/* gradient text accent */
.grad-text {
  background: linear-gradient(105deg, var(--purple-700), var(--orchid) 55%, var(--coral));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 16px; padding: 15px 28px;
  border-radius: var(--r-pill); min-height: 54px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 19px; height: 19px; }

.btn-coral { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-coral:hover { background: var(--coral-600); transform: translateY(-3px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 14px 28px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: var(--whatsapp-600); transform: translateY(-3px); }
.btn-purple { background: var(--purple-700); color: #fff; box-shadow: 0 14px 30px rgba(109,40,217,.3); }
.btn-purple:hover { background: var(--purple-800); transform: translateY(-3px); }
.btn-ghost { background: #fff; color: var(--purple-700); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--lavender-50); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--purple-700); box-shadow: inset 0 0 0 1.5px var(--lavender-300); }
.btn-outline:hover { background: rgba(255,255,255,.6); }
.btn-block { width: 100%; }

.link-arrow {
  font-weight: 600; color: var(--purple-700);
  display: inline-flex; align-items: center; gap: 7px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--coral); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--lavender-100); color: var(--purple-700);
}
.badge-free { background: var(--coral-100); color: var(--coral-600); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--lavender-200); }

/* glass panel */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md);
}

/* ---------- Placeholder media ---------- */
.ph {
  position: relative;
  background: linear-gradient(135deg, var(--lavender-100), var(--lavender-200) 60%, var(--peach));
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-600); overflow: hidden;
}
.ph::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 55%);
}
.ph::after {
  content: attr(data-label); position: absolute; bottom: 12px; left: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--purple-700); background: rgba(255,255,255,.82);
  padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.ph svg { width: 32%; height: 32%; opacity: .45; position: relative; }
.ph--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--photo::before { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Magnetic / tilt helpers ---------- */
.magnetic { transition: transform .25s var(--ease); will-change: transform; }
.tilt { transition: transform .2s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--purple-700), var(--orchid), var(--coral));
  z-index: 100; transition: width .1s linear;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease); min-height: 52px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--lavender-100);
}
.field .err { font-size: 12.5px; color: var(--coral-600); font-weight: 500; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--lavender-300); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
