/* === Page: homepage — extracted from inline <style> blocks === */

/* --- block 1 --- */
.how-v4 {
  padding: clamp(64px, 8vh, 104px) 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9, 28, 59, 0.06);
  border-bottom: 1px solid rgba(9, 28, 59, 0.06);
}
.how-v4-head {
  text-align: center;
  margin-bottom: 48px;
}
.how-v4-eyebrow {
  display: block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 14px;
}
.how-v4-title {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink-strong, #081B3A);
  margin: 0;
}
.how-v4-title em { font-style: italic; color: var(--ink-mute, #5a6378); font-family: inherit; }

.how-v4-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 768px) {
  .how-v4-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.how-v4-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-elev, #FFFDF4);
  border: 1px solid rgba(9, 28, 59, 0.08);
  border-radius: 20px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.how-v4-step:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -24px rgba(9, 28, 59, 0.18);
}
.how-v4-step-num {
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-size: 68px; font-weight: 400;
  color: var(--ink-strong, #081B3A);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.how-v4-step-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold, #C9A84C);
  margin-bottom: 18px;
}
.how-v4-step-icon svg { width: 20px; height: 20px; }
.how-v4-step h3 {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em; line-height: 1.2;
  color: var(--ink-strong, #081B3A);
  margin: 0 0 10px;
}
.how-v4-step p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; line-height: 1.6;
  color: var(--ink-mute, #5a6378);
  margin: 0;
}
.how-v4-cta-wrap {
  text-align: center;
  margin-top: 40px;
}
.how-v4-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--gold, #C9A84C);
  color: var(--navy-deep, #081B3A);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: 999px; text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.how-v4-cta:hover { background: #E3C26A; transform: translateY(-1px); }
.how-v4-cta svg { width: 14px; height: 14px; }

/* --- block 2 --- */
.salons-v4 {
  position: relative;
  padding: clamp(64px, 8vh, 104px) 0;
  background: linear-gradient(160deg, #101E30 0%, #091C3B 50%, #0D1628 100%);
  color: #FDFAF4;
  overflow: hidden;
}
.salons-v4-accent {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(201, 168, 76, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 55%);
}
.salons-v4 .container { position: relative; z-index: 1; }
.salons-v4-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.salons-v4-eyebrow {
  display: block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #E3C26A; margin-bottom: 14px;
}
.salons-v4-title {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1.08;
  color: #FDFAF4; margin: 0 0 12px;
  max-width: 620px;
}
.salons-v4-title em { font-style: italic; color: #CEC09D; font-family: inherit; }
.salons-v4-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px; line-height: 1.55;
  color: rgba(253, 250, 244, 0.72);
  max-width: 520px; margin: 0;
}
.salons-v4-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: #C9A84C; color: #081B3A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: 999px; text-decoration: none;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.salons-v4-cta:hover { background: #E3C26A; transform: translateY(-1px); }
.salons-v4-cta svg { width: 14px; height: 14px; }

.salons-v4-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.salon-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 24px;
  padding: 28px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 16px;
}
.salon-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-3px);
}
.salon-card.salon-card--next {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.45);
}

.salon-next-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #E3C26A;
  width: fit-content;
}
.salon-next-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #E3C26A;
  animation: salonPulse 2s ease-in-out infinite;
}
@keyframes salonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.salon-dates {
  display: flex; align-items: center; gap: 14px;
  color: #FDFAF4;
}
.salon-date {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1;
}
.salon-date-day {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.04em;
  color: #FDFAF4;
}
.salon-date-month {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(253, 250, 244, 0.6);
  margin-top: 4px;
}
.salon-dash {
  color: rgba(201, 168, 76, 0.6);
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-size: 24px;
  margin-top: 12px;
}

.salon-venue {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em; line-height: 1.2;
  color: #FDFAF4; margin: 0;
}
.salon-loc {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(253, 250, 244, 0.72);
}
.salon-loc svg { width: 12px; height: 12px; color: #E3C26A; flex-shrink: 0; }

.salon-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 4px 0;
}
.salon-tag {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(253, 250, 244, 0.82);
  border-radius: 999px;
}

.salon-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: #C9A84C; color: #081B3A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: 999px; text-decoration: none;
  transition: background 0.25s, gap 0.25s;
  margin-top: auto;
}
.salon-cta:hover { background: #E3C26A; gap: 12px; }
.salon-cta svg { width: 14px; height: 14px; transition: transform 0.25s; }
.salon-cta:hover svg { transform: translateX(3px); }

.salon-cta-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 0;
  color: rgba(253, 250, 244, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.salon-cta-ghost:hover { color: #E3C26A; }

@media (max-width: 640px) {
  .salon-card { padding: 22px; }
  .salon-dates { gap: 10px; }
  .salon-dash { font-size: 20px; margin-top: 8px; }
}

/* --- block 3 --- */
.faq-v4 {
  padding: clamp(64px, 8vh, 104px) 0;
  background: #F2ECDA;
  border-top: 1px solid rgba(9, 28, 59, 0.06);
  border-bottom: 1px solid rgba(9, 28, 59, 0.06);
}
.faq-v4-head {
  text-align: center;
  margin-bottom: 48px;
}
.faq-v4-eyebrow {
  display: block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 14px;
}
.faq-v4-title {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink-strong, #081B3A);
  margin: 0;
}
.faq-v4-title em { font-style: italic; color: var(--ink-mute, #5a6378); font-family: inherit; }

/* Two independent flex columns: each column flows on its own,
   so an opened item never leaves a row-alignment gap in the other column. */
.faq-v4-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}
.faq-v4-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}
@media (min-width: 900px) {
  .faq-v4-list { flex-direction: row; gap: 24px; align-items: flex-start; }
}

.fq {
  background: rgba(255, 253, 244, 0.85);
  border: 1px solid rgba(9, 28, 59, 0.09);
  border-radius: 16px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.3s;
  overflow: hidden;
}
.fq:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: #FDFAF4;
}
.fq.open {
  background: #FDFAF4;
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 10px 30px -18px rgba(9, 28, 59, 0.18);
}
.fq-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-strong, #081B3A);
  cursor: pointer;
  gap: 14px;
}
.fq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--gold, #C9A84C);
  transition: transform 0.3s var(--ease-out, cubic-bezier(.2,.8,.2,1));
}
.fq.open .fq-chevron { transform: rotate(180deg); }
.fq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-mute, #5a6378);
  transition: max-height 0.35s var(--ease-out, cubic-bezier(.2,.8,.2,1)), padding 0.3s;
}
.fq.open .fq-body {
  max-height: 600px;
  padding: 0 22px 20px;
}

/* --- block 4 --- */
/* Hero stat cards — align with title */
.hero-floating-stats { top: 35% !important; }

/* Bigger nav logo */
.nav-logo img { height: 96px !important; width: auto !important; }
.nav-wrap.scrolled .nav-logo img { height: 64px !important; }
@media (max-width: 1024px) { .nav-logo img { height: 72px !important; } .nav-wrap.scrolled .nav-logo img { height: 52px !important; } }
@media (max-width: 640px) { .nav-logo img { height: 56px !important; } .nav-wrap.scrolled .nav-logo img { height: 44px !important; } }

/* Transparent inputs */
.sg-transparent {
  background: transparent !important;
  border: 1px solid rgba(9,28,59,0.08) !important;
  border-radius: 12px;
  color: var(--ink-strong);
  transition: border-color 0.3s, background 0.3s;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
}
.sg-transparent:hover { border-color: var(--accent) !important; background: rgba(255,253,244,0.3) !important; }
.sg-transparent:focus { border-color: var(--accent) !important; outline: none; background: rgba(255,253,244,0.4) !important; }

/* Typewriter cursor */
.sg-typewriter { caret-color: var(--accent); }
.sg-typewriter::placeholder { color: var(--ink-mute); opacity: 1; transition: none; }

/* Ensure dropdowns are not clipped by any parent and stay on top */
.hero-cinema { overflow: visible !important; }
.search-glass { overflow: visible !important; position: relative; z-index: 200; }
.search-glass-grid { overflow: visible !important; }
.hero-chips-row { position: relative; z-index: 1; }
.hero-split { position: relative; z-index: 1; }
.hero-stats-bar { position: relative; z-index: 1; }

/* Custom dropdown button */
.sg-dropdown-wrap { position: relative; }
.sg-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}
.sg-dropdown-val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-dropdown-btn[data-field] .sg-dropdown-val { color: var(--ink-mute); }
.sg-dropdown-btn.has-value .sg-dropdown-val { color: var(--ink-strong); }
.sg-chevron { flex-shrink: 0; transition: transform 0.3s var(--ease-out); color: var(--ink-mute); }
.sg-dropdown-btn.open .sg-chevron { transform: rotate(180deg); }

/* Dropdown list */
.sg-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 9999;
  list-style: none;
  margin: 0; padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 16px 48px -12px rgba(9,28,59,0.18);
  max-height: 260px;
  overflow-y: auto;
  /* Scrollbar fine V4 */
  scrollbar-width: thin;
  scrollbar-color: #C9A84C rgba(9, 28, 59, 0.06);
}
.sg-dropdown-list::-webkit-scrollbar { width: 6px; }
.sg-dropdown-list::-webkit-scrollbar-track { background: rgba(9, 28, 59, 0.06); border-radius: 8px; margin: 6px 0; }
.sg-dropdown-list::-webkit-scrollbar-thumb { background: #C9A84C; border-radius: 8px; }
.sg-dropdown-list::-webkit-scrollbar-thumb:hover { background: #B08C35; }
.sg-dropdown-list.open { display: block; }
.sg-dropdown-list li {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.sg-dropdown-list li:hover { background: rgba(201,168,76,0.1); color: var(--accent-bright); }
.sg-dropdown-list li.selected { background: var(--accent); color: var(--navy-deep); font-weight: 600; }
.sg-dropdown-list li.hidden { display: none; }

/* Combo input (prestataire) */
.sg-combo-input { width: 100%; }
.sg-combo-list { min-width: 280px; }
.sg-combo-section {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 10px 14px 4px; pointer-events: none;
}

/* Compact search grid (no event field) */
.sg-grid-compact { grid-template-columns: 2fr 1fr 0.7fr auto !important; }
@media (max-width: 900px) { .sg-grid-compact { grid-template-columns: 1fr 1fr !important; } .sg-field-wide { grid-column: 1 / -1; } }
@media (max-width: 500px) { .sg-grid-compact { grid-template-columns: 1fr !important; } }

/* Trust pills */
.hero-trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}

/* Event type pills row */
.hero-event-types .pill { padding: 8px 14px; font-size: 12px; }

/* Compact hero title (2 lines) */
.hero-title-compact {
  font-size: clamp(40px, 6vw, 96px) !important;
  margin-bottom: 20px !important;
}

/* Title cinema animation */
.hero-cinema-title .line span {
  display: inline-block;
  transform: translateY(0);
  transition: none;
}
.hero-cinema-title.exit .line span {
  animation: slideDown 0.4s var(--ease-in-out) forwards;
}
.hero-cinema-title.exit .line:nth-child(2) span { animation-delay: 0.05s; }
.hero-cinema-title.exit .line:nth-child(3) span { animation-delay: 0.1s; }
.hero-cinema-title.enter .line span {
  transform: translateY(100%);
  animation: slideUp 0.6s var(--ease-out) forwards;
}
.hero-cinema-title.enter .line:nth-child(2) span { animation-delay: 0.08s; }
.hero-cinema-title.enter .line:nth-child(3) span { animation-delay: 0.16s; }
@keyframes slideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(-100%); opacity: 0; }
}

/* Hero Split Cards — glassmorphism blur */
.hero-split-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 20px; margin-bottom: 20px;
  position: relative; z-index: 1;
}
@media (max-width: 640px) { .hero-split-cards { grid-template-columns: 1fr; } }

.split-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 253, 244, 0.06);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(9, 28, 59, 0.08);
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.split-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}
.split-card:hover::before { opacity: 1; }
.split-card:hover {
  background: rgba(255, 253, 244, 0.12);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(9, 28, 59, 0.12);
}

.split-card-icon-wrap {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.split-card:hover .split-card-icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.1));
}
.split-card-icon-client { color: var(--royal-blue); background: linear-gradient(135deg, rgba(30,91,255,0.12), rgba(30,91,255,0.04)); border-color: rgba(30,91,255,0.18); }
.split-card:hover .split-card-icon-client { background: linear-gradient(135deg, rgba(30,91,255,0.2), rgba(30,91,255,0.08)); }

.split-card-text { flex: 1; min-width: 0; }
.split-card-label {
  display: block;
  font-family: var(--f-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 6px;
}
.split-card h3 {
  font-family: var(--f-display); font-weight: 400; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 3px;
  color: var(--ink-strong);
}
.split-card p {
  font-size: 12px; color: var(--ink-mute); line-height: 1.4; margin: 0;
}

.split-card-arrow-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(9, 28, 59, 0.04);
  border: 1px solid rgba(9, 28, 59, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright); opacity: 0.5;
  transition: all 0.4s var(--ease-out);
}
.split-card:hover .split-card-arrow-wrap {
  opacity: 1;
  background: var(--accent);
  color: var(--navy-deep);
  border-color: var(--accent);
  transform: translateX(4px);
}

/* Trust row */
.hero-trust-row {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-bottom: 32px; position: relative; z-index: 1;
}
.hero-cinema { padding-bottom: 0 !important; min-height: 100vh !important; min-height: 100svh !important; overflow: visible !important; display: flex !important; align-items: center !important; position: relative; z-index: 2; }

/* Masonry inspiration layout */
.masonry { columns: 3; column-gap: 16px; }
@media (max-width: 1200px) { .masonry { columns: 3; } }
@media (max-width: 800px) { .masonry { columns: 2; } }
@media (max-width: 500px) { .masonry { columns: 1; } }
.masonry .presta-card {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 16px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.5s;
}
.masonry .presta-card.in-view { opacity: 1; transform: translateY(0); }
.masonry .presta-card:hover { box-shadow: 0 30px 60px -20px rgba(9,28,59,0.25); }
.masonry .presta-img { border-radius: 16px; }
.masonry .presta-img img { border-radius: 16px; }
.venue-section { margin-top: 0; }

/* Photo break dynamic — blur reveal + Ken Burns */
.photo-break-reveal { display: none; }
.photo-break-dynamic .photo-break-img img {
  filter: blur(20px) saturate(0.6);
  transform: scale(1.15);
  opacity: 0.4;
  transition: none;
}
.photo-break-dynamic.revealed .photo-break-img img {
  animation: blurReveal 1.8s var(--ease-out) forwards, kenBurns 20s ease-in-out 1.8s infinite alternate;
}
.photo-break-dynamic .photo-break-caption {
  opacity: 0; transform: translateY(12px);
}
.photo-break-dynamic.revealed .photo-break-caption {
  animation: fadeUp 0.6s var(--ease-out) 1.2s both;
}
@keyframes blurReveal {
  0% { filter: blur(20px) saturate(0.6); transform: scale(1.15); opacity: 0.4; }
  60% { filter: blur(3px) saturate(0.9); opacity: 0.9; }
  100% { filter: blur(0px) saturate(1); transform: scale(1.08); opacity: 1; }
}
@keyframes kenBurns {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}

/* ── Venue Marquee ── */
.venue-section {
  padding: clamp(48px, 6vh, 72px) 0 clamp(40px, 5vh, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
}
.venue-title {
  font-family: var(--f-display); font-weight: 300;
  letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(28px, 3.5vw, 44px); margin: 0;
  color: var(--ink-strong);
}
.venue-title em { font-style: italic; color: var(--accent-bright); }
.venue-see-all {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; transition: gap 0.3s; white-space: nowrap;
}
.venue-see-all:hover { gap: 10px; }
.venue-marquee {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.venue-track {
  display: flex; gap: 16px;
  animation: marqueeH 40s linear infinite;
  flex-shrink: 0;
}
.venue-track:hover { animation-play-state: paused; }
/* =================== DISCOVER CARDS (match /prestataires #mainGrid) =================== */
#discover .presta-cat {
  background: var(--accent) !important;
  color: var(--navy-deep) !important;
  border-color: var(--accent) !important;
  font-weight: 600 !important;
}
#discover .presta-score { display: none !important; }
#discover .presta-tags { display: none !important; }
#discover .presta-rating {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 253, 244, 0.95);
  color: var(--navy-deep);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#discover .presta-rating .star {
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}
#discover .presta-rating .count {
  opacity: 0.55;
  font-weight: 500;
  margin-left: 2px;
}
#discover .presta-card .presta-img::after {
  background: linear-gradient(180deg, transparent 20%, rgba(8, 27, 58, 0.35) 45%, rgba(8, 27, 58, 0.95) 100%) !important;
  opacity: 1 !important;
}
#discover .presta-info {
  padding: 18px 20px 20px !important;
  transform: none !important;
  bottom: 0 !important;
}
#discover .presta-name { color: #fff !important; }
#discover .presta-loc {
  display: inline-flex !important;
  align-items: center; gap: 5px;
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
  opacity: 1 !important;
}
#discover .presta-loc svg { color: var(--accent-bright); flex-shrink: 0; }
#discover .presta-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* === Editorial vitrine card (fills masonry gaps, acts as CTA) === */
#discover .presta-vitrine { text-decoration: none; }
#discover .presta-vitrine .presta-img {
  background: linear-gradient(160deg, #081B3A 0%, #132847 45%, #5a4a1f 100%);
  overflow: hidden;
  position: relative;
}
#discover .presta-vitrine .presta-img::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 100%, rgba(201, 168, 76, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(201, 168, 76, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
#discover .presta-vitrine .presta-img::after { display: none !important; }
#discover .presta-vitrine .presta-vitrine-seal {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.6);
  background: rgba(8, 27, 58, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: #E3C26A;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#discover .presta-vitrine .presta-vitrine-seal svg {
  width: 20px; height: 20px;
  animation: vitrineSparkle 3.5s ease-in-out infinite;
}
@keyframes vitrineSparkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50%      { transform: scale(1.12) rotate(4deg); opacity: 0.8; }
}
#discover .presta-vitrine .presta-vitrine-content {
  position: absolute; inset: auto 0 0 0;
  padding: 22px 22px 22px;
  z-index: 2;
  color: #FDFAF4;
}
#discover .presta-vitrine-eyebrow {
  display: block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E3C26A;
  margin-bottom: 10px;
}
#discover .presta-vitrine h3 {
  font-family: var(--f-display, 'Fraunces', Georgia, serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #FDFAF4;
}
#discover .presta-vitrine h3 em {
  font-style: italic;
  color: #CEC09D;
}
#discover .presta-vitrine p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(253, 250, 244, 0.78);
  margin: 0 0 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
#discover .presta-vitrine-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E3C26A;
  transition: gap 0.25s var(--ease-out);
}
#discover .presta-vitrine:hover .presta-vitrine-cta { gap: 10px; }
#discover .presta-vitrine-cta svg { width: 14px; height: 14px; }

.venue-slide {
  flex: 0 0 320px; position: relative;
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/9;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.venue-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8, 27, 58, 0.45);
  z-index: 1;
  pointer-events: none;
  transition: background 0.4s var(--ease-out);
}
.venue-slide:hover::before { background: rgba(8, 27, 58, 0.3); }
.venue-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -28px rgba(8, 27, 58, 0.35);
}
.venue-slide-media {
  position: absolute; inset: 0;
  display: block;
  text-decoration: none;
}
.venue-slide-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.venue-slide:hover .venue-slide-media img { transform: scale(1.08); }
.venue-slide-info {
  position: absolute; bottom: 44px; left: 0; right: 0;
  z-index: 2;
  padding: 14px 16px 10px;
  background: transparent;
  color: #fff;
  pointer-events: none;
}
.venue-slide-info h3 {
  font-family: var(--f-display); font-weight: 400; font-size: 18px;
  letter-spacing: -0.01em; margin: 0 0 4px;
  color: #fff;
}
.venue-slide-meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.venue-slide-loc,
.venue-slide-rating {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255, 255, 255, 0.85);
}
.venue-slide-rating .star {
  color: #C9A84C;
  font-size: 11px;
}
.venue-slide-rating b {
  color: #fff; font-weight: 600;
  font-family: var(--f-mono); letter-spacing: 0.04em;
}
.venue-slide-rating .count {
  opacity: 0.65;
  text-transform: none;
}
/* CTA sits on top of the image (no background, no divider) so the
   info block + CTA read as one continuous section on the navy overlay. */
.venue-slide-cta {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  background: transparent;
  color: #fff;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-weight: 600; font-size: 13px;
  text-decoration: none;
  border: 0;
  transition: color 0.25s, gap 0.25s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.venue-slide-cta:hover {
  color: #C9A84C;
  gap: 12px;
}
.venue-slide-cta svg {
  width: 14px; height: 14px;
  transition: transform 0.25s;
}
.venue-slide-cta:hover svg { transform: translateX(3px); }
@media (max-width: 640px) { .venue-slide { flex: 0 0 260px; } }

/* === Mobile/tablette (<900px) : limite la grille discover à 5 cartes max (4 prestataires + 1 carte Vitrine We Event en position 5) ===
   JS rend 14 prestataires + 1 vitrine = 15 cards. Sur mobile/tablette on cache
   les cards 6+ pour eviter une page trop longue. CSS-only -> s'adapte au resize sans re-render. */
@media (max-width: 900px) {
  .masonry > .presta-card:nth-child(n+6) {
    display: none !important;
  }
}
