/* =========================================================
   Lia Atelier — Base / Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-fa);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Latin wordmark */
.latin { font-family: var(--font-latin); font-weight: 500; letter-spacing: 0.02em; }

/* --- Layout helpers --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--sp-9); }
.section-sm { padding-block: var(--sp-7); }

/* --- Section heading --- */
.section-head { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: var(--sp-7); }
.section-head .eyebrow {
  display: inline-block; font-size: var(--fs-xs); letter-spacing: 0.28em;
  color: var(--accent); font-weight: 600; margin-bottom: var(--sp-3);
}
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { color: var(--text-muted); margin-top: var(--sp-3); font-size: var(--fs-md); }

.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; text-align: start; max-width: none; }
.section-head--split .link-more { color: var(--accent); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.section-head--split .link-more:hover { color: var(--accent-hover); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0.85rem 1.9rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1;
  transition: all var(--dur) var(--ease); border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: var(--fs-base); }

/* --- Pills / tags --- */
.pill { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 600; background: var(--white); box-shadow: var(--shadow-xs); }
.pill--pink { background: var(--pink); color: #9d5f5a; }
.pill--lilac { background: var(--lilac); color: #6f5f8a; }
.pill--accent { background: var(--accent-soft); color: var(--accent-hover); }

/* --- Utility --- */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.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; }

/* --- Focus visibility --- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- Branded placeholders (product photos supplied later by client) --- */
.ph {
  position: relative; overflow: hidden;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='150' viewBox='0 0 120 150' fill='none' stroke='%23b08d80' stroke-width='1.4' opacity='0.28'><rect x='42' y='58' width='36' height='70' rx='6'/><path d='M60 58v-9'/><path d='M60 40c3 4 3 7 0 9c-3-2-3-5 0-9z' fill='%23b08d80' stroke='none'/><path d='M34 128h52'/></svg>") center 42% / 74px no-repeat,
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.7), transparent 58%),
    linear-gradient(135deg, var(--cream-deep), var(--gray-100));
}
.ph--pink { background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='150' viewBox='0 0 120 150' fill='none' stroke='%23c98f88' stroke-width='1.4' opacity='0.3'><rect x='42' y='58' width='36' height='70' rx='6'/><path d='M60 58v-9'/><path d='M60 40c3 4 3 7 0 9c-3-2-3-5 0-9z' fill='%23c98f88' stroke='none'/><path d='M34 128h52'/></svg>") center 42% / 74px no-repeat,
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, var(--pink), var(--cream-deep)); }
.ph--lilac { background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='150' viewBox='0 0 120 150' fill='none' stroke='%238a79b0' stroke-width='1.4' opacity='0.28'><rect x='42' y='58' width='36' height='70' rx='6'/><path d='M60 58v-9'/><path d='M60 40c3 4 3 7 0 9c-3-2-3-5 0-9z' fill='%238a79b0' stroke='none'/><path d='M34 128h52'/></svg>") center 42% / 74px no-repeat,
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, var(--lilac), var(--cream-deep)); }
.ph-label { position: absolute; inset-inline: 0; bottom: 14px; text-align: center; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.22em; z-index: 1; opacity: 0.72; }

@media (max-width: 992px) {
  :root { --fs-2xl: 1.9rem; --fs-3xl: 2.4rem; --fs-4xl: 2.8rem; }
  .section { padding-block: var(--sp-7); }
}
@media (max-width: 560px) {
  .container { padding-inline: var(--sp-4); }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
