/* =========================================================
   ART BARBER — Design system
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #f0f0ee;
  --border: #e2e0db;
  --text: #171512;
  --text-muted: #55504a;
  --text-dim: #8a8579;
  --accent: #111111;
  --accent-light: #111111;
  --accent-dark: #9a9488;
  --cream: #111111;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-accent: 0 10px 30px -12px rgba(17, 17, 17, 0.25);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, #2b2b2b, var(--accent) 60%, #050505);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(17, 17, 17, 0.4); }

.btn--outline {
  border-color: rgba(23, 21, 18, 0.22);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-light); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-color: var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.brand .brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  background: #000;
}
.brand .brand-mark svg { width: 18px; height: 18px; }
.brand .brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand span.accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--text-muted);
}
.header-phone svg { width: 16px; height: 16px; color: var(--accent); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--cream);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background:
    radial-gradient(circle at 18% 20%, rgba(17, 17, 17, 0.045), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(17, 17, 17, 0.03), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f2 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(17,17,17,0.02) 0px, rgba(17,17,17,0.02) 1px, transparent 1px, transparent 70px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}
.hero-content .eyebrow { color: var(--accent-light); }
.hero-content h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.hero-meta span { font-size: 0.88rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 300px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow: 0 20px 50px -22px rgba(17,17,17,0.35);
  background:
    linear-gradient(160deg, #1e1e1e, #0a0a0a 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.12), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  position: relative;
}
.hero-visual-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-visual-badge .stars { color: #f5f5f5; font-size: 0.9rem; letter-spacing: 2px; }
.hero-visual-badge small { color: rgba(255,255,255,0.55); display: block; font-size: 0.75rem; margin-top: 2px; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Info cards (horaires / adresse / contact) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.info-card:hover { border-color: var(--accent-dark); transform: translateY(-4px); }
.info-card .icon-badge {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(17,17,17,0.045);
  border: 1px solid var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.info-card .icon-badge svg { width: 22px; height: 22px; color: var(--accent); }
.info-card h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.hours-list { display: flex; flex-direction: column; gap: 8px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hours-list li span:first-child { color: var(--text); font-weight: 500; }
.hours-list li.closed span:last-child { color: var(--text-dim); }

.info-card address { font-style: normal; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.info-card .map-embed {
  width: 100%;
  height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(0.4) contrast(1.1);
}
.info-card .map-embed iframe { width: 100%; height: 100%; border: 0; }

.directions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.directions-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.directions-row a:hover { border-color: var(--accent); color: var(--cream); transform: translateY(-2px); }
.directions-row svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-quick { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.contact-quick a { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-muted); transition: color var(--transition); }
.contact-quick a:hover { color: var(--accent-light); }
.contact-quick svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item { text-align: left; }
.feature-item .num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: block;
}
.feature-item h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: 12px; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 2; }
.gallery-grid .g-item:nth-child(7) { grid-row: span 1; }

.g-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-alt) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.g-item::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(17,17,17,0.05), transparent 60%);
  transition: opacity var(--transition);
  z-index: 1;
  pointer-events: none;
}
.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.g-item svg {
  width: 30%;
  color: var(--accent);
  opacity: 0.55;
  transition: transform var(--transition), opacity var(--transition);
  position: relative;
  z-index: 1;
}
.g-item .g-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: all var(--transition);
  z-index: 2;
}
.g-item:hover svg { transform: scale(1.1); opacity: 0.85; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover .g-caption { opacity: 1; }
.g-item:hover { border-color: var(--accent-dark); }

.gallery-note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

#produits-trigger { cursor: pointer; }

/* ---------- Product modal ---------- */
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal.open { display: flex; }
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 15, 12, 0.6);
  backdrop-filter: blur(3px);
}
.product-modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  max-height: 86vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 30px 70px -20px rgba(17, 15, 12, 0.45);
}
.product-modal-image { position: relative; min-height: 320px; }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-modal-details { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.product-modal-details h3 { font-size: 1.6rem; color: var(--cream); margin-bottom: 14px; }
.product-modal-details > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.product-price-list { display: flex; flex-direction: column; gap: 2px; }
.product-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.product-price-list li + li { margin-top: 8px; }
.product-price-list li span:first-child { color: var(--text); font-weight: 500; }
.product-price-list li span:last-child { font-family: var(--font-heading); color: var(--accent); font-size: 1.1rem; font-weight: 600; }
.product-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
}
.product-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.product-modal-close svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .product-modal-content { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .product-modal-image { min-height: 200px; }
}

/* ---------- Équipement carousel ---------- */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto;
  width: min(560px, 82vw);
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  background: var(--surface-2);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-btn svg { width: 18px; height: 18px; }

.salon-carousel-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 18px;
}
.salon-carousel-wrap { margin-bottom: 56px; }
.carousel-slide.contain {
  width: auto;
  height: 560px;
  aspect-ratio: auto;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.contain img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 640px) {
  .carousel-btn { display: none; }
  .carousel-slide { width: 86vw; }
  .carousel-slide.contain { height: 320px; width: 100%; }
  .carousel-slide.contain img { width: 100%; height: 100%; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #f7f7f5, #ececea 60%, #f7f7f5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 16px;
}
.cta-band p { color: var(--text-muted); margin-bottom: 32px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-about p { color: var(--text-dim); font-size: 0.9rem; margin: 18px 0 24px; max-width: 300px; }
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--text-dim); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; }
.footer-hours span:first-child { color: var(--text-muted); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Page hero (services/contact) ---------- */
.page-hero {
  padding: 168px 0 72px;
  background:
    radial-gradient(circle at 15% 30%, rgba(17, 17, 17, 0.035), transparent 45%),
    linear-gradient(180deg, #ffffff, #f4f4f2);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); color: var(--cream); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 560px; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }

/* ---------- Services page ---------- */
.services-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.services-tabs button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.services-tabs button:hover { color: var(--cream); border-color: var(--accent-dark); }
.services-tabs button.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.service-category { margin-bottom: 60px; }
.service-category h3 {
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.service-category > p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 26px; }

.service-list { display: flex; flex-direction: column; gap: 2px; }
.service-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.service-row + .service-row { margin-top: 10px; }
.service-row:hover { border-color: var(--accent-dark); background: var(--surface-2); }
.service-row .s-name { color: var(--cream); font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.service-row .s-desc { color: var(--text-dim); font-size: 0.85rem; }
.service-row .s-duration {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 0.85rem;
  white-space: nowrap;
}
.service-row .s-duration svg { width: 14px; height: 14px; color: var(--accent); }
.service-row .s-price {
  font-family: var(--font-heading);
  color: var(--accent-light);
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

.services-note {
  margin-top: 8px;
  padding: 18px 22px;
  background: rgba(17,17,17,0.03);
  border: 1px dashed var(--accent-dark);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 24px; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .icon-badge {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(17,17,17,0.045);
  border: 1px solid var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-list .icon-badge svg { width: 18px; height: 18px; color: var(--accent); }
.contact-info-list strong { display: block; color: var(--cream); font-size: 0.92rem; margin-bottom: 3px; }
.contact-info-list span, .contact-info-list a { color: var(--text-muted); font-size: 0.88rem; }
.contact-info-list a:hover { color: var(--accent-light); }
.contact-info-card .map-embed { width: 100%; height: 200px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; filter: grayscale(0.4) contrast(1.1); }
.contact-info-card .map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 9px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  border: 1px solid var(--accent-dark);
  background: rgba(17,17,17,0.04);
  color: var(--accent-light);
}
.form-feedback.show { display: block; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 280px; margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  body.nav-open .mobile-nav { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 110px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-item:nth-child(1),
  .gallery-grid .g-item:nth-child(4) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cream);
}
.mobile-nav a.active { color: var(--accent); }
.mobile-nav .btn { margin-top: 16px; }

/* =========================================================
   Bouton de thème + mode sombre
   ========================================================= */
.theme-toggle {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --border: #2c2c2c;
  --text: #f0f0f0;
  --text-muted: #a8a8a8;
  --text-dim: #8a8a8a;
  --accent: #ffffff;
  --accent-light: #ffffff;
  --accent-dark: #6b6b6b;
  --cream: #ffffff;
  --shadow-accent: 0 10px 30px -12px rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] .btn--primary {
  background: linear-gradient(135deg, #ffffff, #e8e8e8 60%, #bdbdbd);
  color: #111111;
}
[data-theme="dark"] .btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(255, 255, 255, 0.35); }
[data-theme="dark"] .btn--outline { border-color: rgba(240, 240, 240, 0.25); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(10, 10, 10, 0.92); }
[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.06), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
}
[data-theme="dark"] .hero::before {
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 70px);
}
[data-theme="dark"] .hero-visual {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,0.85);
}
[data-theme="dark"] .info-card .icon-badge,
[data-theme="dark"] .contact-info-list .icon-badge { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .g-item::before { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 60%); }
[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #141414, #1c1c1c 60%, #141414); }
[data-theme="dark"] .page-hero {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(180deg, #0a0a0a, #121212);
}
[data-theme="dark"] .services-tabs button.active { color: #111111; }
[data-theme="dark"] .services-note { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .form-feedback { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
[data-theme="dark"] .mobile-nav { background: rgba(10,10,10,0.98); }
[data-theme="dark"] .info-card .map-embed,
[data-theme="dark"] .contact-info-card .map-embed { filter: grayscale(0.4) contrast(1.05) brightness(0.8); }

@media (max-width: 640px) {
  .header-actions { gap: 8px; }
  .theme-toggle, .nav-toggle { width: 38px; height: 38px; }
  .header-actions .btn--sm { padding: 9px 14px; }
  .brand { font-size: 1.2rem; gap: 8px; }
}

@media (max-width: 480px) {
  .site-header .container { gap: 12px; padding: 0 16px; }
  .header-actions .btn--sm { display: none; }
}
