/* =========================================================
   BLACK & BEAUTY STUDIO — DESIGN SYSTEM
   Gothique Moderne & Royal
   ========================================================= */



:root {
  /* —— Palette officielle (du brief) —— */
  --noir-profond:      #050505;
  --noir-velours:      #0d0709;
  --noir-marbre:       #150b10;
  --rouge-rubis:       #A10B1B;
  --rouge-sang:        #6b0510;
  --rose-metal:        #E2A9B3;
  --rose-poudre:       #f0c9d1;
  --argent-givre:      #D1D5DB;
  --argent-doux:       #9ba0a8;

  /* —— Tokens —— */
  --titre: 'Cinzel', serif;
  --titre-deco: 'Cinzel Decorative', serif;
  --script: 'Italianno', cursive;
  --corps: 'Montserrat', sans-serif;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;

  --shadow-rubis: 0 0 24px rgba(161, 11, 27, 0.5), 0 0 48px rgba(161, 11, 27, 0.25);
  --shadow-rose: 0 0 18px rgba(226, 169, 179, 0.3);
  --gradient-metal: linear-gradient(180deg, #f4d4dd 0%, #E2A9B3 35%, #8a4d57 70%, #E2A9B3 100%);
  --gradient-rubis: linear-gradient(135deg, #d61b30 0%, #A10B1B 50%, #4a0510 100%);
  --gradient-noir: radial-gradient(ellipse at center, #1a0d12 0%, #050505 80%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--corps);
  background: var(--noir-profond);
  color: var(--argent-givre);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* —— Texture marbre noire de fond —— */
.bg-marbre {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(161,11,27,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(107,5,16,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(226,169,179,0.05) 0%, transparent 60%),
    var(--noir-profond);
}
.bg-marbre::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.008) 40px, rgba(255,255,255,0.008) 41px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 60px, rgba(161,11,27,0.02) 60px, rgba(161,11,27,0.02) 61px);
  pointer-events: none;
}

/* —— Fumée animée —— */
.smoke {
  position: absolute;
  pointer-events: none;
  filter: blur(30px);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: smokeDrift 18s infinite ease-in-out;
}
.smoke-red {
  background: radial-gradient(ellipse, rgba(161,11,27,0.5) 0%, transparent 60%);
}
.smoke-purple {
  background: radial-gradient(ellipse, rgba(75,30,90,0.5) 0%, transparent 60%);
}
@keyframes smokeDrift {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0); opacity: 0.3; }
  33% { transform: translate(30px,-20px) scale(1.15) rotate(5deg); opacity: 0.55; }
  66% { transform: translate(-20px,15px) scale(1.08) rotate(-3deg); opacity: 0.4; }
}

/* —— Scintillements —— */
.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--rose-metal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rose-metal), 0 0 16px var(--rose-poudre);
  animation: sparkle 3s infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* —— Typographie —— */
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
.title-metal {
  background: var(--gradient-metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(226,169,179,0.3));
}
.title-rubis {
  background: var(--gradient-rubis);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(161,11,27,0.5));
}
.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--titre);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose-metal);
  font-weight: 500;
}

/* —— Boutons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-rubis);
  color: var(--rose-poudre);
  border: 1px solid rgba(226,169,179,0.3);
  box-shadow: var(--shadow-rubis);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(161,11,27,0.8), 0 0 72px rgba(161,11,27,0.4);
  letter-spacing: 0.32em;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-ghost {
  background: transparent;
  color: var(--rose-metal);
  border: 1px solid rgba(226,169,179,0.4);
}
.btn-ghost:hover {
  background: rgba(226,169,179,0.08);
  border-color: var(--rose-metal);
  box-shadow: var(--shadow-rose);
}

/* —— Séparateurs gothiques —— */
.divider-cross {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 32px auto;
  color: var(--rouge-rubis);
}
.divider-cross::before,
.divider-cross::after {
  content: ''; flex: 1; max-width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rouge-rubis), transparent);
}
.divider-cross svg { width: 22px; height: 22px; }

/* —— Cadre ornement gothique (coins fleurdelisés) —— */
.gothic-frame {
  position: relative;
  border: 1px solid rgba(226,169,179,0.15);
  padding: 48px;
}
.gothic-frame::before,
.gothic-frame::after,
.gothic-frame .corner-tl,
.gothic-frame .corner-tr {
  content: '';
  position: absolute;
  width: 30px; height: 30px;
  border: 1px solid var(--rose-metal);
}
.gothic-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gothic-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.gothic-frame .corner-tl { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.gothic-frame .corner-tr { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

/* —— Navigation —— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 70%, transparent 100%);
  backdrop-filter: blur(8px);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--titre); font-weight: 700;
  letter-spacing: 0.2em; font-size: 13px;
  color: var(--rose-metal);
  text-decoration: none;
}
.nav-logo img { height: 44px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--argent-givre); text-decoration: none;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 400;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--rose-metal); }
.nav-links a.active { color: var(--rose-metal); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: var(--rouge-rubis);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rouge-rubis);
}

/* —— Footer —— */
.footer {
  padding: 80px 48px 32px;
  background: var(--noir-velours);
  border-top: 1px solid rgba(226,169,179,0.1);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer h4 {
  font-family: var(--titre); font-size: 13px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--rose-metal); margin-bottom: 20px;
}
.footer a { color: var(--argent-doux); text-decoration: none; font-size: 13px; line-height: 2.2; transition: color 0.3s; display: block; }
.footer a:hover { color: var(--rose-metal); }
.footer-bottom {
  text-align: center; padding-top: 32px;
  border-top: 1px solid rgba(226,169,179,0.08);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--argent-doux); max-width: 1280px; margin: 0 auto;
}
.footer-bottom .legal-links {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  font-size: 10.5px; letter-spacing: 0.2em;
}
.footer-bottom .legal-links a { color: var(--argent-doux); text-decoration: none; transition: color 0.3s; }
.footer-bottom .legal-links a:hover { color: var(--rose-metal); }
.footer-bottom .legal-links span { color: var(--rouge-rubis); font-size: 9px; }

/* —— Sections —— */
.section { padding: 120px 48px; position: relative; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 920px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 18px 0;
}

/* —— Tableau prix style affiche —— */
.price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
}
.price-list-col h3 {
  font-family: var(--titre); font-size: 16px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--rose-metal);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226,169,179,0.2);
  text-align: left;
}
.price-row {
  display: flex; align-items: baseline;
  margin-bottom: 18px;
  font-family: var(--titre);
  font-size: 13.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--argent-givre);
}
.price-row .name { white-space: nowrap; }
.price-row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(209, 213, 219, 0.3);
  margin: 0 14px;
  transform: translateY(-4px);
}
.price-row .price {
  color: var(--rose-metal);
  font-weight: 600;
  white-space: nowrap;
}
.price-row.cross::before {
  content: '✠';
  color: var(--rouge-rubis);
  margin-right: 14px;
  font-size: 11px;
}

/* —— Card service —— */
.service-card {
  background: linear-gradient(180deg, rgba(21,11,16,0.8) 0%, rgba(13,7,9,0.95) 100%);
  border: 1px solid rgba(226,169,179,0.15);
  padding: 40px 32px;
  position: relative;
  transition: all 0.5s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-metal), transparent);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226,169,179,0.4);
  box-shadow: 0 20px 60px rgba(161,11,27,0.2), inset 0 0 60px rgba(161,11,27,0.05);
}
.service-card .icon {
  width: 56px; height: 56px; margin-bottom: 24px;
  color: var(--rouge-rubis);
}

/* —— Rose en coin (SVG décoratif) —— */
.rose-corner {
  position: absolute;
  width: 200px; height: 200px;
  pointer-events: none;
  opacity: 0.85;
}
.rose-corner.tl { top: 0; left: 0; }
.rose-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.rose-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.rose-corner.br { bottom: 0; right: 0; transform: scale(-1, -1); }

/* —— Cross gem séparateur —— */
.gothic-cross {
  display: inline-block;
  font-size: 18px;
  color: var(--rouge-rubis);
  text-shadow: 0 0 8px rgba(161,11,27,0.6);
}

/* —— Animations entrée —— */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* —— Menu mobile (hamburger + panneau) —— */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid rgba(226,169,179,0.3);
  border-radius: var(--r-sm);
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--rose-metal);
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 110;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(161,11,27,0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,5,5,0.98), rgba(13,7,9,0.98));
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 30px; text-align: center;
}
.mobile-menu a {
  color: var(--argent-givre);
  text-decoration: none;
  font-family: var(--titre);
  font-size: 15px; letter-spacing: 0.3em;
  text-transform: uppercase; font-weight: 500;
  transition: color 0.3s, letter-spacing 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--rose-metal); letter-spacing: 0.36em; }

/* —— Mobile —— */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 36px; }
  .section { padding: 80px 24px; }
  .price-list { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gothic-frame { padding: 28px 20px; }
  .rose-corner { width: 120px; height: 120px; }
}
@media (max-width: 600px) {
  .section { padding: 72px 18px; }
  .price-list-col { min-width: 0; }
  .price-list-col h3 { letter-spacing: 0.2em; }
  .price-row { font-size: 12.5px; letter-spacing: 0.1em; }
  .price-row .dots { margin: 0 8px; }
}
