/* ===== VARIABLES ===== */
:root {
  --noir: #0D0D0D;
  --noir-panel: #161616;
  --or: #C9A84C;
  --or-light: rgba(201,168,76,0.15);
  --blanc: #FAF8F4;
  --text-dim: rgba(250,248,244,0.6);
  --line-or: rgba(201,168,76,0.3);
  --line: rgba(255,255,255,0.08);
  --bg-light: #F4F1EC;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--noir); color: var(--blanc); font-family: 'Barlow Condensed', sans-serif; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== NAV ===== */
.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: transparent;
  transition: background 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--noir);
  border-bottom-color: var(--line-or);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--blanc);
  letter-spacing: 0.02em;
}
.nav-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--or); font-family: 'Playfair Display', serif; font-size: 20px; color: var(--or); text-decoration: none; }
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--or); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--blanc); margin: 6px 0;
  transition: all 0.3s;
}

/* ===== BANDEAU PROMO ===== */
.bandeau-promo { background: var(--or); color: var(--noir); text-align: center; padding: 10px 48px 10px 16px; font-size: 13px; font-weight: 600; position: fixed; top: 0; left: 0; right: 0; z-index: 200; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; }
.bandeau-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }
.bandeau-promo ~ .nav { top: 40px; }

/* ===== BTN ===== */
.btn-cta {
  display: inline-block;
  background: transparent;
  color: var(--or);
  border: 1px solid var(--or);
  padding: 13px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
}
.btn-cta:hover {
  background: var(--or);
  color: var(--noir);
}
.btn-cta-large { font-size: 0.85rem; padding: 16px 48px; margin-top: 24px; }
.section-terracotta .btn-cta { border-color: #fff; color: #fff; }
.section-terracotta .btn-cta:hover { background: #fff; color: var(--or); }
.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--or); text-decoration: none; display: inline-block; letter-spacing: 3px; }
.section-terracotta .phone-number { color: #fff; }

/* ===== HERO BARBERSHOP ===== */
.hero-barber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--noir);
  position: relative;
}
.hero-barber-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 64px 80px;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-barber-since {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 32px;
}
.hero-barber-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--blanc);
  line-height: 0.95;
  margin-bottom: 32px;
  min-width: 0;
}
.hero-barber-text p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 40px;
  min-width: 0;
}
.hero-barber-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-or);
}
.hero-barber-line span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 0;
}
.hero-barber-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-or);
}

.hero-barber-photo {
  position: relative;
  padding: 80px 64px 80px 32px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.hero-barber-frame {
  position: relative;
  width: 100%;
  flex: 1;
}
.hero-barber-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--line-or);
  pointer-events: none;
  z-index: 2;
}
.hero-barber-frame img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}

/* ===== A PROPOS BARBERSHOP ===== */
.apropos-barber {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 56px;
  align-items: start;
  min-width: 0;
}
.apropos-barber-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 15vw, 16rem);
  font-weight: 700;
  font-style: italic;
  color: var(--or);
  opacity: 0.1;
  line-height: 1;
  text-align: right;
  min-width: 0;
}
.apropos-barber-body {
  min-width: 0;
  padding-top: 16px;
}
.apropos-barber-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 24px;
}
.apropos-barber-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--blanc);
  margin-bottom: 20px;
  min-width: 0;
}
.apropos-barber-body p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
  min-width: 0;
}
.apropos-barber-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-top: 40px;
  filter: grayscale(30%);
  display: block;
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}
.section-beige {
  background: var(--noir-panel);
}
.section-dark { background: var(--noir); color: var(--blanc); }
.section-terracotta { background: var(--or); color: var(--noir); }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-narrow { max-width: 700px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--blanc);
  margin-bottom: 56px;
  text-align: center;
}
.section-subtitle { text-align: center; color: var(--text-dim); max-width: 560px; margin: 0 auto 48px; font-size: 15px; line-height: 1.75; font-weight: 300; font-family: 'Barlow Condensed', sans-serif; }
.section-dark .section-title { color: var(--or); }
.section-terracotta .section-title { color: var(--noir); }
.section-terracotta .section-subtitle { color: rgba(13,13,13,0.6); }

/* Catalogue / Menu tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-or); margin-bottom: 40px; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); padding: 12px 24px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--or); border-bottom-color: var(--or); }

/* Menu tabs (legacy compat) */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.menu-tab { padding: 10px 28px; background: transparent; color: var(--text-dim); border: 1px solid var(--line); font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.25s; }
.menu-tab:hover { border-color: var(--or); color: var(--or); }
.menu-tab.active { background: var(--or); border-color: var(--or); color: var(--noir); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 680px; margin: 0 auto; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 4px; color: var(--blanc); letter-spacing: 1px; font-style: italic; }
.menu-item-info p { font-size: 13px; color: var(--text-dim); }
.menu-item-prix { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--or); white-space: nowrap; margin-left: 20px; flex-shrink: 0; }

/* Horaires */
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; }
.horaires-table .jour { font-weight: 600; color: var(--blanc); text-transform: uppercase; letter-spacing: 0.1em; }
.horaires-table tr.ferme td { opacity: 0.35; }
.coordonnees { margin-top: 32px; }
.coord-item { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; color: var(--text-dim); margin-bottom: 10px; }
.coord-item a { color: var(--or); }

/* Map */
.map-container { border: 1px solid var(--line-or); }
.map-container iframe { display: block; width: 100%; border: 0; }

/* Footer */
.footer { background: #000; border-top: 1px solid var(--line-or); padding: 48px 0 24px; font-size: 14px; color: var(--text-dim); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--or); display: block; margin-bottom: 12px; letter-spacing: 2px; font-style: italic; }
.footer h4 { color: rgba(250,248,244,0.5); margin-bottom: 12px; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; }
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--or); }
.footer p { margin-bottom: 6px; font-family: 'Barlow Condensed', sans-serif; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-credit { color: rgba(250,248,244,0.15); }
.footer-credit a { color: rgba(250,248,244,0.15); }

/* Split legacy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split-text h2 { font-family: 'Playfair Display', serif; font-style: italic; color: var(--blanc); }
.split-text p { color: var(--text-dim); font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; line-height: 1.7; min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }

/* Placeholder */
.placeholder-img { background: var(--noir-panel); display: flex; align-items: center; justify-content: center; min-height: 200px; border: 1px solid var(--line); }
.placeholder-img span { color: var(--text-dim); font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; }

/* Formulaires */
.resa-back { background: none; border: none; color: var(--or); cursor: pointer; font-size: 0.88rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; color: var(--blanc); }
.resa-form input, .resa-form select, .resa-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); font-size: 1rem; font-family: inherit; background: var(--noir-panel); color: var(--blanc); }
.resa-form input:focus, .resa-form select:focus, .resa-form textarea:focus { outline: none; border-color: var(--or); }
.form-error { color: #e74c3c; font-size: 0.85rem; margin-bottom: 12px; padding: 8px 12px; background: rgba(231,76,60,0.1); }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3rem; color: var(--or); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: var(--text-dim); margin-bottom: 24px; }

/* Lang switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); padding: 3px 7px; font-size: 0.7rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-btn.active { background: var(--or); border-color: var(--or); color: var(--noir); }

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 90; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-barber { grid-template-columns: 1fr; }
  .hero-barber-text { padding: 100px 28px 48px; }
  .hero-barber-photo { padding: 0 28px 56px; }
  .hero-barber-frame img { min-height: 300px; }
  .apropos-barber { grid-template-columns: 1fr; gap: 0; }
  .apropos-barber-num { display: none; }
  .split { grid-template-columns: 1fr; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--noir); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; }
  .split-image { order: -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-barber-text h1 { font-size: 2.8rem; }
}
