/* =========================================================
   CUTSHOP — Shared stylesheet
   Brand kit : 2026-06-09_brand-kit-cutshop-v1.md
   Toutes les pages (home, services, about, salons) le partagent.
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --surface-0: #0E0B09;
  --surface-1: #181310;
  --surface-2: #221A16;
  --surface-3: #2D231D;

  --accent: #D4A05A;
  --accent-hover: #E8B570;
  --accent-deep: #9E7438;
  --accent-glow: rgba(212, 160, 90, 0.25);
  --accent-glow-strong: rgba(212, 160, 90, 0.4);

  --text-primary: #F5F1EA;
  --text-secondary: #B5A797;
  --text-muted: #7A6B5C;
  --text-on-accent: #0E0B09;

  --border-subtle: #2D231D;
  --border-strong: #4A3A30;
  --border-accent: rgba(212, 160, 90, 0.3);

  --shadow-card: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-elevated: 0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow-accent: 0 0 32px rgba(212, 160, 90, 0.25);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1280px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Subtle grain overlay sur tout le body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- 3. UTILITAIRES TYPO ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.no-line::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text-primary);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 60ch;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 250ms var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 4px 16px rgba(212,160,90,0.18);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px var(--accent-glow-strong), 0 8px 24px rgba(0,0,0,0.4);
}
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn-outlined {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outlined:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  padding: 10px 0;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover { gap: 14px; color: var(--accent-hover); }

/* ---------- 5. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 64px; }
}
section { padding: 96px 0; position: relative; }
@media (min-width: 1024px) {
  section { padding: 128px 0; }
}

.section-marker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 24px;
  transition: background 300ms var(--ease-in-out),
              backdrop-filter 300ms var(--ease-in-out),
              border-color 300ms var(--ease-in-out),
              padding 300ms var(--ease-in-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 11, 9, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
  padding: 14px 24px;
}
.nav.is-solid {
  background: rgba(14, 11, 9, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-links {
  display: none;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 200ms ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text-primary); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 250ms var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta { font-size: 12px; padding: 11px 22px; }
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 200ms ease;
}
@media (min-width: 1024px) {
  .nav-burger { display: none; }
}

/* ---------- 7. PAGE HEADER (variantes pour pages internes) ---------- */
.page-header {
  padding: 200px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(212,160,90,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(212,160,90,0.04) 0%, transparent 60%);
  z-index: 0;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .eyebrow { margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 32px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  position: relative;
}
.page-header h1 em::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 4px;
  height: 6px;
  background: var(--accent-glow);
  filter: blur(8px);
  z-index: -1;
}
.page-header .subtitle {
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.55;
}

/* Breadcrumb subtil sous la nav */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); transition: color 200ms ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-strong); }

/* ---------- 8. FOOTER ---------- */
.footer {
  background: var(--surface-0);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-brand .nav-logo { font-size: 26px; }
.footer-tagline {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 30ch;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 200ms ease, padding-left 200ms var(--ease-out);
  display: inline-block;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all 250ms var(--ease-out);
}
.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-accent);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-bottom span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 9. ACCESSIBILITY ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
