/* ===== Just'Nails 83 — Feuille de style (thème or & ivoire, ambiance balinaise) ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Poppins:wght@300;400;500&display=swap');

:root {
  --bg: #faf6f0;
  --bg-soft: #f3ece1;
  --bg-card: #ffffff;
  --gold: #b89253;
  --gold-deep: #9c7b3f;
  --gold-soft: #d8c08a;
  --gold-grad: linear-gradient(135deg, #d4af37 0%, #b89253 50%, #9c7b3f 100%);
  --text: #3a322a;
  --text-muted: #8a7d6b;
  --border: rgba(184, 146, 83, 0.28);
  --shadow: 0 10px 30px rgba(120, 96, 50, 0.10);
  --radius: 14px;
  --max: 1100px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: .3px; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  background: var(--gold-grad);
  color: #fffdf8;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12.5px;
  padding: 13px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); opacity: .94; box-shadow: 0 8px 22px rgba(156, 123, 63, 0.32); }
.btn-outline {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(184, 146, 83, 0.08); box-shadow: none; }

/* ===== En-tête / Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .5px;
}
.logo img { height: 52px; width: auto; }
.logo .wordmark span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--gold);
}
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--gold-deep); transition: .3s; }

/* ===== Section hero ===== */
.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 24px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 192, 138, 0.30), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 146, 83, 0.14), transparent 70%);
}
.hero-logo { position: relative; width: 180px; height: auto; margin-bottom: 22px; }
.hero .tag {
  position: relative;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.hero h1 { position: relative; font-size: 62px; line-height: 1.05; margin-bottom: 18px; font-weight: 500; }
.hero p { position: relative; color: var(--text-muted); max-width: 540px; margin: 0 auto 32px; }
.hero-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.signature {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--gold-deep);
  margin-bottom: 26px;
}

/* ===== Sections génériques ===== */
section { padding: 76px 0; }
.section-title { text-align: center; margin-bottom: 8px; font-size: 42px; font-weight: 500; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 18px auto 48px; }
.line { width: 70px; height: 2.5px; border-radius: 3px; background: var(--gold-grad); margin: 14px auto 0; }

/* ===== Cartes / Grilles ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(120, 96, 50, 0.16); }
.card .icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14px; }

/* ===== Tableau de prix ===== */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.price-card.featured { border: 2px solid var(--gold); }
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: #fffdf8;
  font-size: 11px; letter-spacing: 1px; padding: 5px 18px; border-radius: 20px;
}
.price-card h3 { font-size: 26px; margin-bottom: 6px; }
.price-card .price { font-size: 46px; color: var(--gold-deep); font-family: 'Cormorant Garamond', serif; font-weight: 600; margin: 10px 0; }
.price-card .price small { font-size: 15px; color: var(--text-muted); }
.price-card ul { list-style: none; margin: 18px 0 24px; text-align: left; }
.price-card li { color: var(--text-muted); font-size: 14px; padding: 7px 0; border-bottom: 1px solid rgba(184,146,83,0.12); }
.price-card li::before { content: '✦ '; color: var(--gold); }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--gold-deep);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
  position: relative;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 20px; border-radius: 30px; cursor: pointer; font-family: 'Poppins', sans-serif;
  font-size: 13px; transition: .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--gold-grad); color: #fffdf8; border-color: transparent; }

/* ===== Formulaires ===== */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: .5px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,83,0.12);
}
.field select option { background: #fff; }

.confirmation {
  display: none;
  background: rgba(184, 146, 83, 0.10);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  margin-top: 24px;
}
.confirmation.show { display: block; }
.confirmation h3 { color: var(--gold-deep); margin-bottom: 8px; font-size: 24px; }

/* ===== Bandeau d'appel ===== */
.cta-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 66px 24px;
}
.cta-band h2 { font-size: 40px; margin-bottom: 14px; font-weight: 500; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; }

/* ===== Pied de page ===== */
footer { background: var(--bg-soft); padding: 54px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--gold-deep); margin-bottom: 14px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: var(--text-muted); font-size: 14px; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-deep); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 13px; padding-top: 24px; border-top: 1px solid rgba(184,146,83,0.15); }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: 76px; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-soft);
    width: 230px; height: calc(100vh - 76px);
    padding: 20px; transform: translateX(100%); transition: transform .3s;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .burger { display: flex; }
  .hero h1 { font-size: 44px; }
  .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3, .gallery, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .form-wrap { padding: 26px; }
  .logo .wordmark { font-size: 22px; }
}
