/* ===========================
   L'Élégance Coiffure — styles
   Voice: precise, coppery, workshop-barbershop.
   Reference: a barber's ticket stub + brushed-steel signage, not a spa brochure.
   =========================== */

:root {
  --black: oklch(14% 0.015 55);
  --charcoal: oklch(19% 0.018 55);
  --charcoal-2: oklch(24% 0.02 55);
  --ink: oklch(96% 0.008 55);
  --ink-dim: oklch(96% 0.008 55 / 0.62);
  --gold: oklch(74% 0.11 75);
  --gold-dim: oklch(74% 0.11 75 / 0.55);
  --gold-bright: oklch(82% 0.1 78);
  --paper: oklch(91% 0.022 75);
  --paper-ink: oklch(22% 0.02 75);
  --paper-muted: oklch(22% 0.02 75 / 0.6);
  --line: oklch(74% 0.11 75 / 0.28);
  --shadow: 0 24px 60px oklch(0% 0 0 / 0.4);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 350;
  background: var(--black);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
  text-wrap: balance;
}

p { margin: 0 0 1em; color: var(--ink-dim); max-width: 62ch; }

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

.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section--charcoal { background: var(--charcoal); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper p { color: var(--paper-muted); }
.section--paper h2, .section--paper h3 { color: var(--paper-ink); }

.heading-block {
  max-width: 720px;
  margin: 0 0 48px;
}

.heading-block h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.heading-block p { font-size: 1.02rem; margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-bright); }

.btn--outline { border-color: oklch(96% 0.008 55 / 0.35); color: var(--ink); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline-dark { border-color: oklch(22% 0.02 75 / 0.3); color: var(--paper-ink); }
.btn--outline-dark:hover { border-color: var(--gold); color: oklch(45% 0.1 75); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(14% 0.015 55 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.brand-name {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--gold); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; display: block; text-transform: uppercase; margin-top: -2px; }

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav a {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(96% 0.008 55 / 0.7);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; color: var(--ink); font-family: var(--mono); font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.6rem; cursor: pointer; padding: 4px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background:
      radial-gradient(circle at 85% 15%, oklch(74% 0.11 75 / 0.12), transparent 55%),
      var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 0 32px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
  }
  .main-nav.is-open { visibility: visible; pointer-events: auto; transition: none; }

  .main-nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: none;
    font-family: var(--display);
    font-size: 2.1rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav a.active::after { display: none; }

  .main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav.is-open a:nth-child(1) { transition-delay: 0.06s; }
  .main-nav.is-open a:nth-child(2) { transition-delay: 0.11s; }
  .main-nav.is-open a:nth-child(3) { transition-delay: 0.16s; }
  .main-nav.is-open a:nth-child(4) { transition-delay: 0.21s; }
  .main-nav.is-open a:nth-child(5) { transition-delay: 0.26s; }

  .nav-toggle { display: block; position: relative; width: 26px; height: 20px; }
  .nav-toggle span {
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-toggle span:nth-child(1) { top: 2px; }
  .nav-toggle span:nth-child(2) { top: 10px; }
  .nav-toggle span:nth-child(3) { top: 18px; }
  .nav-toggle.is-active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

  .header-phone { display: none !important; }
}
@media (min-width: 901px) { .header-phone { display: inline; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(14% 0.015 55 / 0.35) 0%, oklch(14% 0.015 55 / 0.55) 45%, oklch(14% 0.015 55 / 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 0 88px;
}

.hero-content .label { margin-bottom: 18px; }

.hero-content h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-content h1 em { font-style: normal; color: var(--gold); }

.hero-content p {
  font-size: 1.1rem;
  color: oklch(96% 0.008 55 / 0.82);
  max-width: 460px;
}

.hero-content .btn-row { margin-top: 30px; }

/* Page header */
.page-header {
  background: var(--black);
  padding: 152px 0 56px;
}

.page-header h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 760px;
}

.page-header p { max-width: 560px; margin-top: 14px; }

/* ===== Plaque strip (stats) ===== */
.plaque-strip {
  background: var(--gold);
  color: var(--black);
}

.plaque-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
}

.plaque-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plaque-item strong {
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* ===== Value list (replaces card grid) ===== */
.value-list { border-top: 1px solid var(--line); }

.value-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.value-row h3 {
  font-size: 1.5rem;
  margin: 0;
}

.value-row p { margin: 0; font-size: 0.98rem; }

@media (max-width: 800px) {
  .value-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ===== Salon showcase ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }

@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.showcase-media { position: relative; overflow: hidden; min-height: 420px; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.showcase-text {
  background: var(--charcoal);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-text h2 { font-size: clamp(2rem, 4vw, 3rem); }

.stat-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.stat-line span:last-child { color: var(--gold); }

/* ===== Gallery (Réalisations) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--mono);
  background: oklch(14% 0.015 55 / 0.75);
  color: var(--gold-bright);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* ===== Avis (reviews) ===== */
.rating-hero { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.rating-score { font-family: var(--display); font-size: clamp(4rem, 12vw, 8rem); color: var(--gold); line-height: 0.9; }
.rating-meta { font-family: var(--mono); font-size: 0.9rem; color: var(--ink-dim); }
.rating-meta .stars { color: var(--gold); font-size: 1.1rem; display: block; margin-bottom: 6px; }

.quote-wall { display: flex; flex-direction: column; gap: 0; }

.quote-row {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.quote-row:last-child { border-bottom: 1px solid var(--line); }

.quote-who { font-family: var(--mono); font-size: 0.85rem; }
.quote-who .name { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.quote-who .meta { color: var(--gold-dim); }

.quote-row blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  text-transform: none;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
}

.quote-reply {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gold-dim);
  font-style: normal;
}

@media (max-width: 800px) {
  .quote-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ===== Tarifs — ticket motif ===== */
.ticket {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 36px 40px;
  margin-bottom: 28px;
  position: relative;
  background-image:
    radial-gradient(circle at 0 50%, transparent 9px, var(--paper) 10px),
    radial-gradient(circle at 100% 50%, transparent 9px, var(--paper) 10px);
  background-position: left center, right center;
  background-repeat: no-repeat;
}

.ticket:last-child { margin-bottom: 0; }

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed oklch(22% 0.02 75 / 0.35);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.ticket-head h3 { font-size: 1.5rem; margin: 0; color: var(--paper-ink); }
.ticket-head .label { color: oklch(45% 0.1 75); }

.ticket-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 40px; }
@media (max-width: 700px) { .ticket-list { grid-template-columns: 1fr; } }

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px dotted oklch(22% 0.02 75 / 0.25);
  gap: 16px;
  font-size: 0.98rem;
}

.ticket-row .amount { font-family: var(--mono); font-weight: 600; color: oklch(45% 0.1 75); white-space: nowrap; }

.pricing-note { text-align: center; margin-top: 40px; font-size: 0.88rem; color: var(--ink-dim); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--charcoal); padding: 44px; }

.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { color: var(--gold); font-size: 1.05rem; width: 24px; flex-shrink: 0; }
.info-row .label { display: block; margin-bottom: 6px; }
.info-row a, .info-row div { color: var(--ink); font-size: 0.95rem; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-family: var(--mono); }
.hours-table td { padding: 4px 0; font-size: 0.85rem; color: var(--ink-dim); }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table tr.closed td { color: var(--gold); }

.map-frame { width: 100%; height: 100%; min-height: 420px; border: none; filter: grayscale(0.2) contrast(1.05) brightness(0.95); }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: var(--ink-dim); padding: 64px 0 28px; border-top: 1px solid var(--line); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-grid h4 { font-family: var(--mono); color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-brand .brand-name { color: var(--ink); }
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-top: 14px; }

.footer-links { list-style: none; padding: 0; margin: 0; font-family: var(--mono); font-size: 0.85rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }

.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.85rem; font-family: var(--mono); color: var(--gold-bright); }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.78rem; font-family: var(--mono); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Legal ===== */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { margin-top: 40px; font-size: 1.25rem; text-transform: none; font-family: var(--sans); font-weight: 700; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-dim); font-size: 0.96rem; }

/* ===== Motion ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img, .btn { transition: none; }
  .main-nav, .main-nav a, .nav-toggle span { transition: none !important; }
}
