/* ============================================
   Invite Bar Mitzvah — Landing styles
   ============================================ */

:root {
  --bg: #fdfaf3;
  --bg-alt: #ffffff;
  --bg-dark: #14213d;
  --bg-dark-2: #1d2c52;
  --text: #14213d;
  --text-soft: #5a6378;
  --text-on-dark: #fdfaf3;
  --accent: #c8a04a;
  --accent-deep: #a4822f;
  --accent-soft: #f4ead4;
  --rose: #e8a598;
  --border: rgba(20, 33, 61, 0.1);
  --border-strong: rgba(20, 33, 61, 0.18);
  --shadow-sm: 0 2px 12px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 8px 32px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  color: var(--accent-deep);
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }

.btn--primary {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.btn--primary:hover {
  background: var(--bg-dark-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn--gold:hover {
  background: var(--accent-deep);
  color: var(--text-on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 243, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(253, 250, 243, 0.95);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.18);
}
.logo-mark svg {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 0 4px rgba(200, 160, 74, 0.4));
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.nav__logo:hover .logo-mark svg,
.nav__logo:focus-visible .logo-mark svg {
  transform: rotate(90deg);
}
.logo-mark__img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}
.logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 3px;
}
.logo-text__name {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 26px;
  line-height: 0.95;
  color: var(--text);
  letter-spacing: 0;
}
.logo-text__name::first-letter {
  color: var(--accent-deep);
}
.logo-text__sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.78;
}

/* Footer brand variant — slightly larger */
.footer__brand .logo-mark__img { height: 64px; width: 64px; }
.footer__brand .logo-text__name { font-size: 28px; }
.footer__brand .logo-text__sub { font-size: 10px; }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-soft);
  white-space: nowrap;
}
.nav__links a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 13.5px;
  padding: 9px 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}
.nav__burger:hover { background: var(--border); }
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.blob--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  top: -120px; left: -100px;
}
.blob--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--rose), transparent 70%);
  bottom: -180px; right: -120px;
  opacity: 0.35;
}

/* Floating Stars of David in the hero */
.hero__star {
  position: absolute;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(200, 160, 74, 0.4));
  opacity: 0.42;
  animation: heroStarFloat 7s ease-in-out infinite;
  pointer-events: none;
}
.hero__star--1 { top: 9%; left: 5%; width: 78px; --r: 12deg; animation-delay: 0s; }
.hero__star--2 { top: 14%; right: 7%; width: 60px; --r: -18deg; animation-delay: 1.6s; opacity: 0.35; }
.hero__star--3 { bottom: 16%; left: 8%; width: 52px; --r: 22deg; animation-delay: 3.4s; opacity: 0.32; }
.hero__star--4 { bottom: 22%; right: 6%; width: 64px; --r: -8deg; animation-delay: 2.4s; opacity: 0.38; }
@keyframes heroStarFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  25% { transform: translateY(-8px) rotate(calc(var(--r, 0deg) - 4deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
  75% { transform: translateY(-8px) rotate(calc(var(--r, 0deg) + 4deg)); }
}
@media (max-width: 600px) {
  .hero__star--1 { width: 56px; }
  .hero__star--2 { width: 44px; }
  .hero__star--3 { width: 40px; }
  .hero__star--4 { width: 48px; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.dot {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.dot::before,
.dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: dotPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.dot::after { animation-delay: 1.1s; }
@keyframes dotPulse {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  margin-bottom: 24px;
}
.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__lede-accent {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Caveat', 'Fraunces', cursive;
  font-weight: 600;
  font-size: 1.7em;
  line-height: 1;
  color: var(--accent-deep);
  letter-spacing: 0.005em;
  transform: rotate(-1.5deg);
}

.signature {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.4em;
  color: var(--accent-deep);
  letter-spacing: 0;
  line-height: 1.1;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* ============ SECTIONS ============ */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  margin: 0 0 16px;
}
.section__eyebrow--light { color: var(--accent); }
.section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
}
.section__lede {
  color: var(--text-soft);
  font-size: 17px;
  margin: 0;
}
.section--dark .section__lede,
.section--dark .pricing { color: rgba(253, 250, 243, 0.78); }

.section__cta {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.section__cta-note {
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
}

/* ============ GRID ============ */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--3 { grid-template-columns: 1fr; }
}

/* ============ CARDS ============ */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 18px;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.3s var(--ease);
}
.card:hover .card__icon {
  transform: rotate(90deg) scale(1.05);
  background: var(--accent);
  color: var(--bg-dark);
}
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-soft);
  margin: 0;
  font-size: 15px;
}

/* ============ STEPS ============ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* ============ FEATURES (Ce qui est inclus) ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  position: relative;
  padding: 28px 28px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.feature__num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.feature p strong {
  color: var(--text);
  font-weight: 600;
}

/* ============ EXAMPLES (gallery) ============ */
.gallery {
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
}
.example {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.example:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.example__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}
.example__media::before {
  content: '✦';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  color: rgba(255, 255, 255, 0.18);
  font-family: 'Fraunces', Georgia, serif;
  pointer-events: none;
}
.example__media--blue {
  background:
    radial-gradient(circle at 30% 30%, rgba(253, 224, 71, 0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.35), transparent 60%),
    linear-gradient(135deg, #0c1f4d 0%, #1e3a8a 50%, #2563eb 100%);
}
.example__media--rose {
  background:
    radial-gradient(circle at 25% 25%, rgba(245, 211, 179, 0.4), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(251, 207, 232, 0.5), transparent 60%),
    linear-gradient(135deg, #831843 0%, #be185d 50%, #f472b6 100%);
}
.example__media--rose::before { color: rgba(255, 255, 255, 0.3); }
.example__media--disco {
  background:
    radial-gradient(circle at 30% 30%, rgba(253, 224, 71, 0.3), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(244, 114, 182, 0.45), transparent 60%),
    linear-gradient(135deg, #1a001f 0%, #6b21a8 40%, #c026d3 75%, #ec4899 100%);
}
.example__media--football {
  background:
    radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.3), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(74, 222, 128, 0.4), transparent 60%),
    linear-gradient(135deg, #022c1a 0%, #14532d 50%, #16a34a 100%);
}
.example__theme-label {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.example__cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease);
}
.example:hover .example__cta {
  transform: translateX(4px);
}

.example__meta {
  padding: 20px 24px 24px;
}
.example__meta h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  margin: 0 0 4px;
  font-weight: 500;
}
.example__meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}
.example__note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}
.example__note code {
  background: var(--bg-alt);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
}

/* ============ PRICING ============ */
.pricing {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(200, 160, 74, 0.08), rgba(200, 160, 74, 0.0) 60%);
  border: 1px solid rgba(200, 160, 74, 0.25);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200, 160, 74, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pricing__title {
  color: var(--text-on-dark);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 32px;
}
.pricing__title em { color: var(--accent); }
.pricing__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--accent);
}
.pricing__price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 88px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.pricing__currency {
  font-size: 18px;
  letter-spacing: 0.05em;
  color: rgba(253, 250, 243, 0.7);
}
.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  text-align: left;
  display: inline-block;
}
.pricing__list li {
  padding: 8px 0;
  color: rgba(253, 250, 243, 0.88);
  font-size: 15px;
  border-bottom: 1px solid rgba(253, 250, 243, 0.08);
}
.pricing__list li:last-child { border-bottom: none; }

/* Pricing addon (option +50€) */
.pricing-addon {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 580px;
  margin: 24px auto 0;
  padding: 22px 26px;
  background: rgba(253, 250, 243, 0.04);
  border: 1px dashed rgba(200, 160, 74, 0.35);
  border-radius: var(--radius-lg);
  text-align: left;
}
.pricing-addon__plus {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 160, 74, 0.18);
  color: var(--accent);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}
.pricing-addon__body { flex: 1; min-width: 0; }
.pricing-addon__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pricing-addon__head h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  margin: 0;
  color: var(--text-on-dark);
}
.pricing-addon__price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
}
.pricing-addon p {
  margin: 0;
  color: rgba(253, 250, 243, 0.72);
  font-size: 14px;
  line-height: 1.6;
}
.pricing-addon p strong {
  color: var(--text-on-dark);
  font-weight: 600;
}

/* ============ FORM ============ */
.form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
  .form { padding: 28px 22px; }
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}
.form__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 16px;
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.form__divider::before,
.form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form__hint {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
  text-align: center;
}

.form__event-block {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 14px;
  padding: 18px 20px 4px;
  margin: 0 0 16px;
}
.form__event-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 0 8px;
  margin-left: -4px;
}
.form__event-title::before {
  content: '✦';
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-size: 0.9em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-alt);
  box-shadow: 0 0 0 4px rgba(200, 160, 74, 0.15);
}
.field--check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.field--check input { width: 18px; height: 18px; accent-color: var(--accent); }
.field--check span { font-size: 14px; color: var(--text); }

.form__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form__note {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.form__bot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
}

.form__feedback {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form__feedback.is-success {
  display: block;
  background: rgba(200, 160, 74, 0.12);
  border: 1px solid rgba(200, 160, 74, 0.4);
  color: var(--accent-deep);
}
.form__feedback.is-error {
  display: block;
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.3);
  color: #b03030;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
}
.footer__tag {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-style: italic;
}
.footer__copy {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}
.footer__copy a {
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.footer__copy a:hover { border-bottom-color: var(--accent); }

/* ============ REVEAL ============ */
/* Scopé sous html.js (classe posée par un script inline dans <head>) : sans
   JavaScript — navigateur in-app WhatsApp notamment — le contenu reste VISIBLE
   au lieu d'attendre une animation qui ne viendra jamais. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE NAV (full-page mobile menu) ============ */
.nav__backdrop { display: none; }

@media (max-width: 1000px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__cta { display: none !important; }
  .nav__burger { display: flex; position: relative; z-index: 110; }

  /* CTA appears centered at the bottom of the open menu */
  .nav.is-open .nav__cta {
    display: inline-flex !important;
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    transform: translateX(-50%);
    z-index: 116;
    padding: 11px 20px;
    font-size: 14px;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(20, 33, 61, 0.18);
    animation: navCtaIn 0.35s 0.08s cubic-bezier(0.22, 0.9, 0.32, 1) backwards;
  }
  @keyframes navCtaIn {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
  }

  /* Keep nav above the menu sheet so logo + X stay visible */
  .nav { z-index: 120; }
  .nav.is-open {
    background: var(--bg-alt);
    border-bottom-color: var(--border);
    /* Removing backdrop-filter prevents .nav from creating a containing
       block for our fixed panel — otherwise the panel collapses to nav size. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100vw;
    height: calc(100dvh - 68px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 calc(env(safe-area-inset-bottom, 0px) + 32px);
    background: var(--bg-alt);
    z-index: 115;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: navSlideIn 0.22s cubic-bezier(0.22, 0.9, 0.32, 1);
  }
  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav.is-open .nav__links a {
    padding: 20px 28px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
  }
  .nav.is-open .nav__links a:active,
  .nav.is-open .nav__links a:hover {
    background: var(--bg);
    color: var(--accent-deep);
  }
  .nav.is-open .nav__links a:last-of-type { border-bottom: none; }
  .nav.is-open .nav__links a::after { display: none; }

  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
