/* ==========================================================================
   MS Événement — direction "Nuit Dorée"
   ========================================================================== */

:root {
  --ink: #1c1620;
  --ink-2: #140f1a;
  --ink-soft: #2c2432;
  --cream: #faf5ec;
  --cream-2: #f1e7d4;
  --gold: #cd9f4f;
  --gold-light: #e2c084;
  --rose: #b8456f;
  --rose-dark: #8f3457;
  --text: #2a2230;
  --text-soft: #5c5164;
  --on-dark: #f6efe1;
  --on-dark-soft: #cfc3d6;
  --line: rgba(28, 22, 32, 0.12);
  --line-dark: rgba(246, 239, 225, 0.16);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 24px 70px -24px rgba(20, 15, 26, 0.4);
  --shadow-sm: 0 10px 30px -12px rgba(20, 15, 26, 0.3);
  --header-h: 80px;
}

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

body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { line-height: 1.65; margin: 0 0 1em; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

section[id] { scroll-margin-top: 96px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* Reveal gating: invisible without JS to avoid an all-hidden page */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-stagger.is-visible .reveal-item { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Flourish divider ---------- */
.flourish { display: block; margin: 0 auto; color: var(--gold); }
.flourish--sm { width: 90px; height: auto; }
.flourish--lg { width: 150px; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--rose-dark); }
.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark);
}
.btn-ghost-light:hover { border-color: var(--gold); }
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav-desktop a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 12px 22px; font-size: 14px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span, .burger::before, .burger::after { content: ''; display: block; width: 20px; height: 2px; background: var(--ink); }
.burger { flex-direction: column; gap: 5px; }
.burger::before, .burger::after { content: none; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--cream);
  z-index: 55;
  overflow-y: auto;
  padding: 30px 24px 60px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 26px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 26px; width: 100%; white-space: normal; text-align: center; }

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions .btn-ghost { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,26,.55) 0%, rgba(20,15,26,.72) 55%, rgba(20,15,26,.93) 100%),
    linear-gradient(100deg, rgba(20,15,26,.75) 10%, rgba(20,15,26,.25) 55%);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 70px; }
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0.3em 0 0.4em;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-lead { color: var(--on-dark-soft); font-size: 17.5px; max-width: 500px; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(246, 239, 225, 0.08);
  border: 1px solid var(--line-dark);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  margin: 22px 0 30px;
}
.rating-badge .stars { display: flex; gap: 2px; }
.rating-badge svg { width: 15px; height: 15px; }
.rating-badge strong { color: #fff; font-weight: 700; }
.rating-badge span { color: var(--on-dark-soft); font-size: 14px; }
.rating-badge:hover { border-color: var(--gold); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 26px; left: 0; right: 0;
  display: flex; justify-content: center;
  z-index: 2;
  color: var(--on-dark-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Sections generic ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-soft); }
.section-cream2 { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head .flourish { margin-top: 18px; }

/* ---------- Prestations ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
}
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,26,0) 30%, rgba(20,15,26,.92) 100%);
}
.service-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px;
  z-index: 2;
  color: #fff;
}
.service-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.service-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.service-card p { color: var(--on-dark-soft); font-size: 14px; margin: 0; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4/3; }
}

/* ---------- Bandeau clients ---------- */
.clients-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  align-items: center;
}
.clients-list li {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.clients-list li:not(:last-child)::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 40px;
}

/* ---------- Avis Google ---------- */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card .stars { display: flex; gap: 3px; }
.review-card .stars svg { width: 15px; height: 15px; color: var(--gold); }
.review-card blockquote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}
.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-soft);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.review-foot strong { color: var(--ink); font-weight: 600; }
.g-badge { display: inline-flex; align-items: center; gap: 5px; }
.g-badge svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---------- Pourquoi nous ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-item { text-align: left; }
.why-item .num {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.why-item .num::after { content: ''; height: 1px; flex: 1; background: var(--line-dark); }
.why-item h3 { color: #fff; font-size: 1.1rem; }
.why-item p { font-size: 14.5px; }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Galerie teaser ---------- */
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-teaser-grid a {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
}
.gallery-teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-teaser-grid a:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
  .gallery-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-teaser-grid a:nth-child(3), .gallery-teaser-grid a:nth-child(4) { display: none; }
}

/* ---------- Zone d'intervention ---------- */
.zone-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.zone-map { display: flex; justify-content: center; }
.zone-map svg { width: 100%; max-width: 380px; height: auto; }
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.zone-list li {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 860px) {
  .zone-wrap { grid-template-columns: 1fr; text-align: center; }
  .zone-list { justify-content: center; }
}

/* ---------- Contact ---------- */
.contact-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.contact-info { padding: 60px; }
.contact-info h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-rows { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-row a, .contact-row span { color: var(--on-dark-soft); font-size: 15px; line-height: 1.6; }
.contact-row a:hover { color: var(--gold-light); }
.contact-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.contact-visual {
  position: relative;
  min-height: 320px;
}
.contact-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

@media (max-width: 860px) {
  .contact-block { grid-template-columns: 1fr; }
  .contact-visual { min-height: 220px; order: -1; }
  .contact-info { padding: 40px 26px; }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #08210f;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 14px 30px -8px rgba(8, 33, 15, 0.55);
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.02); }
.whatsapp-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark-soft); padding: 64px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo img { height: 30px; }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 {
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--on-dark-soft);
  opacity: 0.75;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   Galerie page
   ========================================================================== */

.gallery-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 150px 0 70px;
  text-align: center;
}
.gallery-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3rem); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 34px 0;
  position: sticky;
  top: var(--header-h);
  background: var(--cream);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-chip .count {
  font-size: 11.5px;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 1px 7px;
  color: var(--text-soft);
}
.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter-chip.is-active .count { background: rgba(255,255,255,.15); color: #fff; }

.masonry {
  columns: 3 220px;
  column-gap: 18px;
  padding: 50px 0 100px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.masonry-item img { width: 100%; height: auto; display: block; }
.masonry-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, rgba(20,15,26,0) 0%, rgba(20,15,26,.85) 100%);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transition: opacity .25s ease;
}
.masonry-item:hover .masonry-caption { opacity: 1; }
.masonry-item[hidden] { display: none; }

@media (max-width: 700px) {
  .masonry { columns: 2 160px; }
}

dialog.lightbox {
  margin: auto;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  background: var(--ink);
  overflow: hidden;
}
dialog.lightbox::backdrop { background: rgba(20, 15, 26, 0.86); }
.lightbox-body { position: relative; }
.lightbox-body img { max-height: 82vh; width: auto; max-width: 90vw; margin: 0 auto; display: block; }
.lightbox-caption {
  color: var(--on-dark-soft);
  font-size: 14px;
  padding: 14px 20px;
  text-align: center;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20,15,26,.6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.lightbox-nav.prev { left: 14px; right: auto; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }
