/* La Boîte à Sourires — hi-fi V2 site
   Aligned to the brand logo: warm cream + tan/gold + warm brown.
   Type: Instrument Serif (editorial display) + Manrope (sans body).
   Mobile-first; scales up at 720px. */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* palette */
  --bg:        #f3ead4;   /* warm cream — paper */
  --bg-soft:   #e8dec4;   /* slightly deeper */
  --bg-dark:   #2c1f12;   /* deep espresso brown for inverted sections */
  --ink:       #3a2a1a;   /* warm brown for text */
  --ink-soft:  #6b5538;
  --ink-faint: #a8916b;
  --rule:      rgba(58,42,26,.18);
  --gold:      #b8916a;   /* logo gold */
  --gold-deep: #8a6a3f;
  --gold-soft: #e2caa6;

  /* type */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", -apple-system, system-ui, sans-serif;

  /* spacing scale */
  --pad-x: clamp(20px, 5vw, 64px);

  /* timing */
  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-accent="gold"]      { --gold: #b8916a; --gold-deep: #8a6a3f; --gold-soft: #e2caa6; }
[data-accent="terracotta"]{ --gold: #b86a4a; --gold-deep: #8a4a32; --gold-soft: #ecccbc; }
[data-accent="forest"]    { --gold: #5a7d4f; --gold-deep: #3f5836; --gold-soft: #c7d8c1; }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ============================================================
   typography
   ============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-deep);
}
.eyebrow.center::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 11vw, 120px);
  line-height: .95;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  color: var(--gold-deep);
}

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 7.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.title em { font-style: italic; color: var(--gold-deep); }

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 4.5vw, 30px);
  line-height: 1.25;
  color: var(--ink-soft);
}

.lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38ch;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; }

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   layout
   ============================================================ */
.section {
  padding: clamp(64px, 12vw, 140px) var(--pad-x);
  position: relative;
}
.section.tight { padding: clamp(40px, 8vw, 80px) var(--pad-x); }

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section.dark {
  background: var(--bg-dark);
  color: var(--bg);
}
.section.dark .lead { color: rgba(243,234,212,.72); }
.section.dark .eyebrow { color: rgba(243,234,212,.6); }
.section.dark .eyebrow::before { background: var(--gold); }
.section.dark .title em,
.section.dark .display em { color: var(--gold); }

.section.cream {
  background: var(--bg-soft);
}

/* ============================================================
   nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  background: rgba(243,234,212,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(232,222,196,.6);
}
.nav-links {
  display: none;
  gap: 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }

@media (min-width: 720px) {
  .nav-links { display: flex; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-gold { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-gold:hover { background: var(--ink); border-color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-light-ghost { background: transparent; color: var(--bg); border: 1px solid rgba(243,234,212,.4); }
.btn-light-ghost:hover { border-color: var(--bg); }

.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ============================================================
   hero (chapter 1)
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}
.hero-meta-item .lab {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* hero photo collage */
.hero-collage {
  position: relative;
  height: clamp(360px, 70vw, 580px);
}
.hero-collage .photo {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(58,42,26,.35);
}
.hero-collage .p1 {
  top: 0; left: 0;
  width: 82%; height: 46%;
  transform: rotate(-3deg);
}
.hero-collage .p2 {
  top: 15%; right: 0;
  width: 56%; height: 36%;
  transform: rotate(4deg);
}
.hero-collage .p3 {
  bottom: 0; right: 4%;
  width: 70%; height: 40%;
  transform: rotate(-2deg);
}
.hero-collage .frame {
  position: absolute;
  inset: 0;
  border: 12px solid #fff;
  border-bottom-width: 38px;
  border-radius: 4px;
}

/* ============================================================
   image / video placeholders (until real photos)
   ============================================================ */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 8px, rgba(0,0,0,.03) 8px 16px),
    linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(58,42,26,.6);
  text-transform: uppercase;
  height: 100%;
}
.ph::after {
  content: "";
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(58,42,26,.35);
}
.ph::before {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(58,42,26,.45);
}
.ph span {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  background: rgba(243,234,212,.85);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
}

/* Vraies photos — écrasent le placeholder */
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.ph:has(img)::before,
.ph:has(img)::after { display: none; }
.ph:has(img) { background: #1a1107; }

/* trust strip */
.trust {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px var(--pad-x);
  background: var(--bg);
}
.trust-row {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}
.trust-item { display: flex; align-items: baseline; gap: 12px; justify-content: center; }
.trust-item .v {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
}
.trust-item .l {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .trust-item { flex-direction: column; gap: 4px; align-items: center; }
  .trust-item .v { font-size: 26px; }
  .trust-item .l { font-size: 10px; }
}

/* ============================================================
   chapter intro headers
   ============================================================ */
.chapter-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(36px, 7vw, 64px);
  max-width: 720px;
}

/* ============================================================
   process / steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(243,234,212,.18);
}
.step:last-child { border-bottom: 1px solid rgba(243,234,212,.18); }
.step .when {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}
.step .body h3 {
  margin-bottom: 8px;
}
.step .body p {
  color: rgba(243,234,212,.65);
  margin: 0;
  max-width: 56ch;
}
@media (min-width: 720px) {
  .step { grid-template-columns: 140px 1fr; gap: 48px; padding: 40px 0; }
  .step .when { font-size: 28px; }
}

/* ============================================================
   formules
   ============================================================ */
.formules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 760px) {
  .formules { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.formule {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.formule:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(58,42,26,.25);
}
.formule .name {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 6px;
}
.formule .pitch {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 28px;
}
.formule .price {
  font-family: var(--serif);
  font-size: 56px;
  line-height: .95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.formule .price small {
  font-size: 14px;
  font-family: var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 6px;
  font-weight: 500;
}
.formule .duree {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep, #8b6442);
  background: rgba(139,100,66,.10);
  padding: 5px 12px;
  border-radius: 999px;
}
.formule .duree::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.formule.featured .duree {
  color: var(--bg, #f3ead4);
  background: rgba(243,234,212,.16);
}
.formule .features {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.formule .features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.formule .features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: var(--gold-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.formule.featured {
  background: var(--bg-dark);
  color: var(--bg);
  border-color: var(--bg-dark);
}
.formule.featured .pitch { color: rgba(243,234,212,.7); }
.formule.featured .price { color: var(--bg); }
.formule.featured .price small { color: rgba(243,234,212,.6); }
.formule.featured .features li { color: var(--bg); }
.formule.featured .features li::before { background: var(--gold); }
.formule .badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--gold-deep);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0 0 4px 4px;
}

/* options à la carte */
.options {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.options h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 20px;
}
.options-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .options-list { grid-template-columns: repeat(3, 1fr); }
}
.options-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.options-item .opt-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
}
.options-item .opt-price {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 17px;
}

/* ============================================================
   gallery preview (mosaic + slideshows)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 12px;
  }
  .gallery > .slide-show:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* Conteneur diaporama */
.gallery > .slide-show {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 760px) {
  .gallery > .slide-show { aspect-ratio: auto; height: 100%; }
}
.gallery > .slide-show:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px var(--gold-deep), 0 16px 40px -8px rgba(58,42,26,.28);
  z-index: 2;
}

/* Conteneur des slides */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Chaque slide est empilé en absolu */
.slide {
  position: absolute;
  inset: 0;
  background: #1a1107;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Points de navigation */
.slide-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .2s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.dot.active {
  background: #fff;
  transform: scale(1.6);
}

/* Barre de progression */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(184,145,106,.75);
  width: 0%;
  z-index: 3;
  transition: width linear;
}

/* Label */
.slide-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(243,234,212,.88);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-family: ui-monospace, monospace;
  letter-spacing: .2em;
  color: rgba(58,42,26,.65);
  text-transform: uppercase;
  pointer-events: none;
}

/* ============================================================
   galerie — hero « dernier événement » (mise en avant)
   ============================================================ */
.gallery-featured {
  margin-bottom: 28px;
}
.slide-show.gallery-hero {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(58,42,26,.10), 0 24px 60px -18px rgba(58,42,26,.40);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 760px) {
  .slide-show.gallery-hero { height: 520px; }
}
.slide-show.gallery-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--gold-deep), 0 30px 70px -18px rgba(58,42,26,.48);
}
/* le hero remplit le cadre (cover) plutôt que contain */
.slide-show.gallery-hero .slide {
  background: #1a1107;
}
.slide-show.gallery-hero .slide img {
  object-fit: cover;
}
/* dégradé bas pour lisibilité du label */
.slide-show.gallery-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(20,14,7,.55), transparent);
  pointer-events: none;
  z-index: 2;
}
/* badge « dernier événement » */
.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  background: var(--gold);
  color: #241608;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -4px rgba(58,42,26,.5);
  pointer-events: none;
}
/* label agrandi pour le hero */
.slide-label.hero-label {
  bottom: 18px;
  left: 18px;
  font-size: 12px;
  padding: 7px 16px;
  letter-spacing: .18em;
  background: rgba(243,234,212,.94);
  color: rgba(58,42,26,.85);
  font-weight: 600;
}
.slide-show.gallery-hero .slide-dots {
  bottom: 16px;
}

/* ============================================================
   flèches de navigation diaporama
   ============================================================ */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(243,234,212,.82);
  color: #3a2a1a;
  cursor: pointer;
  padding: 0;
  opacity: 1;
  transition: opacity .3s ease, background .2s ease, transform .2s ease;
  box-shadow: 0 4px 14px -4px rgba(58,42,26,.45);
}
.slide-arrow.prev { left: 10px; }
.slide-arrow.next { right: 10px; }
.slide-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slide-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.slide-arrow:active {
  transform: translateY(-50%) scale(.94);
}
/* flèches plus grandes sur le hero + toujours visibles au survol */
.slide-show.gallery-hero .slide-arrow {
  width: 46px;
  height: 46px;
}
.slide-show.gallery-hero .slide-arrow svg {
  width: 24px;
  height: 24px;
}
.slide-show.gallery-hero .slide-arrow.prev { left: 16px; }
.slide-show.gallery-hero .slide-arrow.next { right: 16px; }

/* ============================================================
   avis clients (dynamiques)
   ============================================================ */
.avis-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  min-height: 22px;
  flex-wrap: wrap;
}
.avis-rating .r-num {
  font-family: var(--serif, Georgia, serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-deep, #8b6442);
  line-height: 1;
}
.avis-rating .r-stars {
  color: var(--gold, #c9a227);
  letter-spacing: 2px;
  font-size: 17px;
}
.avis-rating .r-count {
  font-size: 13px;
  color: var(--ink-soft, #7a6248);
  letter-spacing: .04em;
}
.avis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 680px) {
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .avis-grid.many { grid-template-columns: repeat(3, 1fr); }
}
.avis-card {
  background: var(--card, #fffdf8);
  border: 1px solid rgba(139,100,66,.16);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 30px -18px rgba(58,42,26,.30);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.avis-stars {
  color: var(--gold, #c9a227);
  letter-spacing: 2px;
  font-size: 16px;
}
.avis-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink, #2a1c0d);
  flex: 1;
}
.avis-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
}
.avis-name {
  font-weight: 700;
  color: var(--brown, #5c3b1e);
  font-size: 14px;
}
.avis-event {
  font-size: 12.5px;
  color: var(--ink-soft, #7a6248);
}

/* ============================================================
   testimonial
   ============================================================ */
.quote-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-block::before {
  content: "“";
  font-family: var(--serif);
  font-size: 140px;
  line-height: .8;
  color: var(--gold);
  opacity: .35;
  align-self: center;
}
.quote {
  font-family: var(--serif);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.25;
  color: var(--ink);
}
.quote-attr {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  gap: 16px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background .2s var(--ease), transform .3s var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: transform .3s var(--ease), background .2s var(--ease);
}
.faq-q .plus::before {
  width: 12px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-q .plus::after {
  width: 1.5px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-q .plus { background: var(--ink); }
.faq-item[open] .faq-q .plus::before { background: var(--bg); }
.faq-a {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ============================================================
   final cta
   ============================================================ */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.final-cta .display { text-align: center; }
.final-cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 80px var(--pad-x) 32px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 30px;
}
.footer-brand .logo img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(243,234,212,.05);
  padding: 4px;
}
.footer-brand p {
  margin-top: 16px;
  color: rgba(243,234,212,.6);
  max-width: 32ch;
  line-height: 1.5;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: rgba(243,234,212,.8);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(243,234,212,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(243,234,212,.4);
  letter-spacing: .04em;
}

/* ============================================================
   floating WhatsApp
   ============================================================ */
.fab-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(37,211,102,.7), 0 6px 14px rgba(0,0,0,.18);
}
.fab-wa svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .fab-wa span { display: none; }
  .fab-wa { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab-wa svg { width: 24px; height: 24px; }
}

/* ============================================================
   reveal-on-scroll utility
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   utility
   ============================================================ */
.divider-mark {
  display: inline-block;
  width: 24px; height: 24px;
  margin: 0 auto;
  background: var(--gold-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z' fill='black'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z' fill='black'/></svg>") center/contain no-repeat;
}

/* ============================================================
   ANIMATION ENHANCEMENTS
   ============================================================ */

/* ============================================================
   features grid (chapitre 2)
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(243,234,212,.08);
  border: 1px solid rgba(243,234,212,.08);
  overflow: visible; /* laisse les cartes sortir au survol */
}
@media (min-width: 760px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
}

.feat-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3.5vw, 36px);
  background: var(--bg-dark);
  position: relative;
  transition: transform .48s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, background .3s var(--ease), z-index 0s;
}
.feat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .3s var(--ease);
}

/* transform-origin selon colonne — mobile (2 cols) */
.feat-item:nth-child(odd)  { transform-origin: left center; }
.feat-item:nth-child(even) { transform-origin: right center; }

/* transform-origin selon colonne — desktop (3 cols) */
@media (min-width: 760px) {
  .feat-item:nth-child(3n+1) { transform-origin: left center; }
  .feat-item:nth-child(3n+2) { transform-origin: center center; }
  .feat-item:nth-child(3n)   { transform-origin: right center; }
}

.feat-item:hover {
  transform: scale(1.22);
  z-index: 25;
  box-shadow: 0 28px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(184,145,106,.4);
  background: var(--bg-dark);
}
.feat-item:hover::after { border-color: rgba(184,145,106,.35); }

.feat-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .35s var(--ease), color .3s var(--ease), filter .3s var(--ease);
}
.feat-icon svg { width: 100%; height: 100%; }
.feat-item:hover .feat-icon {
  transform: scale(1.18);
  color: var(--gold-soft);
  filter: drop-shadow(0 0 8px rgba(184,145,106,.5));
}

/* SVG stroke draw — initial state */
.feat-icon svg path,
.feat-icon svg polyline,
.feat-icon svg rect,
.feat-icon svg circle,
.feat-icon svg line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
}

/* Triggered by .drawn class added via JS */
@keyframes iconDraw {
  from { stroke-dashoffset: 1000; opacity: 0; }
  to   { stroke-dashoffset: 0;    opacity: 1; }
}
.feat-item.drawn .feat-icon svg path,
.feat-item.drawn .feat-icon svg polyline,
.feat-item.drawn .feat-icon svg rect,
.feat-item.drawn .feat-icon svg circle,
.feat-item.drawn .feat-icon svg line {
  animation: iconDraw .9s cubic-bezier(.4,0,.2,1) .15s forwards;
}

.feat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  color: var(--bg);
  margin: 0;
  transition: color .25s var(--ease);
}
.feat-item:hover .feat-title { color: var(--gold-soft); }

.feat-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(243,234,212,.58);
  margin: 0;
}

/* Image révélée au survol */
.feat-hover-img {
  width: 100%;
  height: 110px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  max-height: 0;
  opacity: 0;
  margin-top: -14px; /* annule le gap parent pour un départ plus compact */
  transition:
    max-height .45s cubic-bezier(.2,.7,.2,1) .05s,
    opacity .35s ease .12s,
    margin-top .35s ease .05s;
}
.feat-item:hover .feat-hover-img {
  max-height: 110px;
  opacity: 1;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .feat-icon svg path,
  .feat-icon svg polyline,
  .feat-icon svg rect,
  .feat-icon svg circle,
  .feat-icon svg line { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; }
  .feat-item.drawn .feat-icon svg path,
  .feat-item.drawn .feat-icon svg polyline,
  .feat-item.drawn .feat-icon svg rect,
  .feat-item.drawn .feat-icon svg circle,
  .feat-item.drawn .feat-icon svg line { animation: none; }
}

/* --- 1. Hero cascade entrance --- */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text > * {
  opacity: 0;
  animation: heroSlideUp .75s cubic-bezier(.2,.7,.2,1) both;
}
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .18s; }
.hero-text > *:nth-child(3) { animation-delay: .30s; }
.hero-text > *:nth-child(4) { animation-delay: .40s; }
.hero-text > *:nth-child(5) { animation-delay: .52s; }

/* --- 2. Photo collage: entrance depuis les côtés --- */
@keyframes photoIn1 {
  from { opacity: 0; transform: rotate(-3deg) translate(-28px, 14px); }
  to   { opacity: 1; transform: rotate(-3deg) translate(0, 0); }
}
@keyframes photoIn2 {
  from { opacity: 0; transform: rotate(4deg) translate(28px, -14px); }
  to   { opacity: 1; transform: rotate(4deg) translate(0, 0); }
}
@keyframes photoIn3 {
  from { opacity: 0; transform: rotate(-2deg) translate(20px, 24px); }
  to   { opacity: 1; transform: rotate(-2deg) translate(0, 0); }
}

/* --- 3. Flottement doux des photos --- */
@keyframes float1 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%       { transform: rotate(-3deg) translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%       { transform: rotate(4deg) translateY(-7px); }
}
@keyframes float3 {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%       { transform: rotate(-2deg) translateY(-12px); }
}

.hero-collage .p1 {
  opacity: 0;
  will-change: transform;
  animation:
    photoIn1 .75s cubic-bezier(.2,.7,.2,1) .25s forwards,
    float1 5.5s ease-in-out 1.1s infinite;
}
.hero-collage .p2 {
  opacity: 0;
  will-change: transform;
  animation:
    photoIn2 .75s cubic-bezier(.2,.7,.2,1) .45s forwards,
    float2 6.5s ease-in-out 1.4s infinite;
}
.hero-collage .p3 {
  opacity: 0;
  will-change: transform;
  animation:
    photoIn3 .75s cubic-bezier(.2,.7,.2,1) .65s forwards,
    float3 5.8s ease-in-out 1.7s infinite;
}

/* --- 4. Hover galerie — géré dans la section gallery ci-dessus --- */

/* --- 5. Timeline : ligne qui se dessine --- */
.steps-timeline { position: relative; }
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(184,145,106,.15));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.8s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 720px) {
  .steps-timeline::before { left: 69px; }
}
.steps-timeline.in::before { transform: scaleY(1); }

/* --- Reduced motion overrides --- */
@media (prefers-reduced-motion: reduce) {
  .hero-text > * { opacity: 1; animation: none; }
  .hero-collage .p1 { opacity: 1; animation: none; transform: rotate(-3deg); }
  .hero-collage .p2 { opacity: 1; animation: none; transform: rotate(4deg); }
  .hero-collage .p3 { opacity: 1; animation: none; transform: rotate(-2deg); }
  .steps-timeline::before { display: none; }
  .gallery > .ph { transition: none; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-bar {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(to right, var(--gold-deep), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}

/* ============================================================
   CUSTOM GOLD CURSOR (desktop / fine pointer only)
   ============================================================ */
#cursor {
  position: fixed;
  width: 26px; height: 26px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  left: 0; top: 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition:
    opacity .3s ease,
    width .22s cubic-bezier(.2,.7,.2,1),
    height .22s cubic-bezier(.2,.7,.2,1),
    background .22s ease,
    border-color .22s ease,
    transform .18s cubic-bezier(.2,.7,.2,1);
  will-change: left, top, transform;
}
#cursor.is-visible  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#cursor.is-big      { width: 50px; height: 50px; background: rgba(184,145,106,.14); border-color: var(--gold-soft); }
#cursor.is-clicking { transform: translate(-50%, -50%) scale(0.68); }

@media (pointer: fine) {
  body.cursor-dark .section.dark *,
  body.cursor-dark .footer * { cursor: none; }
}

/* ============================================================
   BUTTON :active press feedback
   ============================================================ */
.btn:active { transform: scale(0.97); }

/* mobile menu */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 8px;
}
@media (min-width: 720px) { .menu-btn { display: none; } }
.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  padding: 24px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-drawer.open { transform: none; }
.mobile-drawer .top {
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.mobile-drawer nav a {
  font-family: var(--serif);
  font-size: 36px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-drawer .close {
  font-size: 22px; background: transparent; border: 0; padding: 8px;
}
