/* ============================================================
   Femme Salon — Design System
   Playfair Display (headings) + Poppins (body)
   Palette: deep wine + rose-gold + soft cream
   ============================================================ */

:root {
  --ink:        #241a1e;
  --ink-soft:   #4a3d43;
  --wine:       #5a2440;
  --wine-deep:  #40182d;
  --rose:       #b76e79;
  --rose-soft:  #d8a2ab;
  --gold:       #c6a15b;
  --gold-soft:  #e4cf9e;
  --cream:      #fbf6f1;
  --blush:      #f4e9e2;
  --blush-2:    #efe0d8;
  --white:      #ffffff;
  --muted:      #857176;
  --line:       #e8dcd4;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 4px 14px rgba(64, 24, 45, .06);
  --shadow-md:  0 14px 40px rgba(64, 24, 45, .12);
  --shadow-lg:  0 30px 70px rgba(64, 24, 45, .18);

  --font-body:    'Poppins', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
}

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.bg-blush { background: var(--blush); }
.bg-wine  { background: var(--wine-deep); color: #f3e4dd; }
.bg-wine h1, .bg-wine h2, .bg-wine h3 { color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 14px;
  display: inline-block;
}
.bg-wine .eyebrow { color: var(--gold-soft); }

.section-title { font-size: clamp(2rem, 4vw, 2.85rem); margin-bottom: 16px; }
.section-lead  { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.02rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; padding: 14px 30px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 10px 24px rgba(90,36,64,.28); }
.btn--primary:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(90,36,64,.36); }
.btn--gold { background: linear-gradient(135deg, var(--gold), #b8934a); color: #2a2019; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn--outline:hover { background: var(--wine); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--wine); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s ease; padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(251,246,241,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(64,24,45,.08);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.brand span { color: var(--rose); }
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links a { color: #fff; }
.site-header:not(.scrolled).on-light .brand,
.site-header:not(.scrolled).on-light .nav-links a { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: .92rem; font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--rose); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; transition: .3s; }
.site-header:not(.scrolled):not(.on-light) .menu-toggle { color: #fff; }
.site-header.scrolled .menu-toggle, .site-header.on-light .menu-toggle { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(45,15,30,.86) 0%, rgba(64,24,45,.6) 55%, rgba(90,36,64,.35) 100%);
}
.hero__inner { max-width: 680px; padding: 120px 0 60px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; margin-bottom: 22px; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap; }
.hero__meta div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero__meta strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.hero__meta small { color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: .04em; }

/* ---------- Feature pills ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blush), var(--blush-2)); color: var(--wine); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__img img { transform: scale(1.07); }
.service-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card__blurb { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.service-list { list-style: none; margin-bottom: 22px; }
.service-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.service-list li:last-child { border-bottom: none; }
.service-list .price { color: var(--wine); font-weight: 600; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Split (about / cta) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.split__media .badge {
  position: absolute; bottom: -22px; right: -18px; background: var(--wine); color: #fff;
  padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-md); text-align: center;
}
.split__media .badge strong { font-family: var(--font-display); font-size: 1.8rem; display: block; }
.split__media .badge small { font-size: .78rem; letter-spacing: .05em; opacity: .85; }
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin: 20px 0 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink-soft); font-weight: 500; }
.check-list li::before {
  content: '✓'; display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  background: var(--blush); color: var(--wine); border-radius: 50%; font-size: .8rem; font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; }
.gallery-grid a:hover img { transform: scale(1.08); filter: brightness(.85); }
.gallery-grid a::after {
  content: '＋'; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 1.8rem; opacity: 0; transition: opacity .3s;
}
.gallery-grid a:hover::after { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.quote__mark { font-family: var(--font-display); font-size: 3.5rem; color: var(--rose-soft); line-height: .6; }
.quote p { color: var(--ink-soft); font-style: italic; margin: 12px 0 20px; }
.quote__name { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--wine); }
.quote__name span { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--wine)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; }

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.course-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  border-left: 4px solid var(--gold);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.course-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.course-meta { display: flex; gap: 22px; font-size: .82rem; }
.course-meta span { color: var(--wine); font-weight: 600; }
.course-meta small { display: block; color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(64,24,45,.9), rgba(45,15,30,.92)); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  padding: 180px 0 80px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--wine-deep), var(--wine));
}
.page-banner::before {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 20% 30%, var(--gold) 0, transparent 40%), radial-gradient(circle at 80% 70%, var(--rose) 0, transparent 40%);
}
.page-banner h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); position: relative; }
.page-banner .crumb { position: relative; margin-top: 12px; color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: .05em; }
.page-banner .crumb a:hover { color: var(--gold-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 44px; border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(183,110,121,.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error { color: #c0392b; font-size: .8rem; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #c0392b; }

.alert { padding: 16px 22px; border-radius: 12px; margin-bottom: 26px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.alert--success { background: #eaf6ec; color: #237a32; border: 1px solid #bfe3c6; }

.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: none; }
.info-list .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--blush); color: var(--wine); display: grid; place-items: center; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list span { color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: #d9c4cd; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { font-size: .9rem; color: #c9adb7; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: .92rem; color: #c9adb7; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--gold); color: var(--wine-deep); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: .85rem; color: #a98d97; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--wine-deep); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.6rem; padding: 10px; }
.mobile-menu a:hover { color: var(--gold-soft); }
.mobile-menu .close { position: absolute; top: 24px; right: 28px; font-size: 2rem; background: none; border: none; color: #fff; cursor: pointer; }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .services-grid, .testimonials, .course-grid, .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { order: -1; }
  .split__media img { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .hero__meta { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
