/* ===========================================================
   LA GRANDE TOMBOLA DU 83 — design tokens
   Dial reading: VARIANCE 9 / MOTION 8 / DENSITY 4
   Identity: ceremonial "grand prize medal" system.
   One functional accent (medal gold) locked across every page.
   Each "univers" (age bracket) page carries its own decorative
   tint (hero glow + icon color) on top of the fixed gold chrome,
   the same way a multi-category product line keeps one wordmark
   but gives each line its own color story.
=========================================================== */
:root {
  --bg: #08090d;
  --bg-alt: #0c0e14;
  --surface: #12141c;
  --surface-2: #171a24;
  --border: #262b3a;
  --border-soft: #1b1f2a;

  --text: #f4f1e8;
  --text-muted: #9aa1b0;
  --text-faint: #656c7d;

  --accent: #f0b429;
  --accent-soft: #f0b42922;
  --accent-ink: #241c07;

  /* decorative per-page tint, overridden per [data-theme] */
  --tint: #f0b429;
  --tint-soft: #f0b42920;

  /* real background photography, set inline per section via style="--hero-photo:url(...)" */
  --hero-photo: none;
  --card-photo: none;

  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;

  --container: 1240px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Sora', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="enfants"]  { --tint: #2dd4bf; --tint-soft: #2dd4bf22; }
[data-theme="ados"]     { --tint: #a855f7; --tint-soft: #a855f722; }
[data-theme="jeunes"]   { --tint: #ec4899; --tint-soft: #ec489922; }
[data-theme="adultes"]  { --tint: #10b981; --tint-soft: #10b98122; }
[data-theme="seniors"]  { --tint: #f2795c; --tint-soft: #f2795c22; }

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

/* ===== Logo mark ===== */
.logo-mark { display: block; }
.logo-mark--nav { width: 40px; height: 40px; }
.logo-mark--hero {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 20px 60px rgba(240, 180, 41, 0.35));
  animation: logo-spin 70s linear infinite;
}
.logo-mark--footer { width: 44px; height: 44px; opacity: 0.9; }

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark--hero { animation: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  box-shadow: 0 12px 32px -10px var(--accent-soft), 0 0 0 4px var(--accent-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand-word em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-dropdown-trigger i { font-size: 0.85rem; transition: transform 0.2s var(--ease); }
.nav-dropdown.is-open .nav-dropdown-trigger i { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  min-width: 240px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.nav-dropdown-menu a:hover { background: var(--surface-2); }
.nav-dropdown-menu .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-input);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 24px 20px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.is-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-links.is-open .nav-dropdown { width: 100%; }
  .nav-links.is-open .nav-dropdown-trigger { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-soft); justify-content: space-between; }
  .nav-links.is-open .nav-dropdown-menu { position: static; transform: none; display: none; width: 100%; margin-top: 6px; box-shadow: none; }
  .nav-links.is-open .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
}

/* ===== Hero (shared) ===== */
.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(8,9,13,0.94) 0%, rgba(8,9,13,0.8) 45%, rgba(8,9,13,0.4) 100%),
    radial-gradient(60% 55% at 82% 15%, var(--tint-soft), transparent),
    var(--hero-photo);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

@media (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(8,9,13,0.55) 0%, rgba(8,9,13,0.88) 55%, var(--bg) 100%),
      radial-gradient(60% 55% at 82% 15%, var(--tint-soft), transparent),
      var(--hero-photo);
  }
}

.hero-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
}
.hero-video.is-active { display: block; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(8,9,13,0.94) 0%, rgba(8,9,13,0.8) 45%, rgba(8,9,13,0.4) 100%),
    radial-gradient(60% 55% at 82% 15%, var(--tint-soft), transparent);
}
@media (max-width: 900px) {
  .hero-scrim {
    background-image:
      linear-gradient(180deg, rgba(8,9,13,0.55) 0%, rgba(8,9,13,0.88) 55%, var(--bg) 100%),
      radial-gradient(60% 55% at 82% 15%, var(--tint-soft), transparent);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--tint-soft);
  border: 1px solid var(--tint);
  color: var(--tint);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 15ch;
}
.dot-accent { color: var(--accent); }

.hero-sub {
  margin-top: 20px;
  max-width: 48ch;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.ring-1 { width: 300px; height: 300px; }
.ring-2 { width: 380px; height: 380px; border-color: var(--border-soft); }

.prize-orb {
  position: relative;
  z-index: 3;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 30px 80px -20px var(--tint-soft), inset 0 -10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.6rem;
  color: #0a0d13;
  overflow: hidden;
}
.prize-orb::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), transparent 62%);
  pointer-events: none;
}
.prize-orb i { position: relative; z-index: 1; }

.prize-badge {
  position: absolute;
  bottom: 4%;
  right: 22%;
  width: 56px;
  height: 56px;
  z-index: 5;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
}

@media (max-width: 900px) {
  .prize-orb { width: 160px; height: 160px; font-size: 3.4rem; }
  .prize-badge { width: 44px; height: 44px; }
}

.floater {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--tint);
  z-index: 4;
}
.floater-1 { top: 4%; left: 2%; animation: drift 7s ease-in-out infinite; }
.floater-2 { bottom: 8%; left: -2%; animation: drift 8.5s ease-in-out infinite reverse; }
.floater-3 { top: 10%; right: 0%; animation: drift 6.5s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .floater { animation: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { height: 260px; order: -1; }
  .logo-mark--hero { width: 150px; height: 150px; }
  .ring-1 { width: 220px; height: 220px; }
  .ring-2 { width: 280px; height: 280px; }
}

/* ===== Marquee (max one per site, homepage only) ===== */
.marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-track span i { color: var(--accent); margin: 0 6px; font-size: 0.7rem; vertical-align: middle; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
}

/* ===== Stats strip ===== */
.stats { border-bottom: 1px solid var(--border-soft); background: var(--bg); }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Univers selector (home) ===== */
.univers-section { padding: 110px 24px; background: var(--bg-alt); border-bottom: 1px solid var(--border-soft); }
.univers-section h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); text-align: center; }
.univers-sub { text-align: center; max-width: 52ch; margin: 16px auto 0; color: var(--text-muted); }

.univers-row {
  margin-top: 56px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.univers-row::-webkit-scrollbar { height: 6px; }
.univers-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.univers-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.univers-card:hover { transform: translateY(-6px); }

.univers-card.has-photo {
  background-image:
    linear-gradient(175deg, rgba(8,9,13,0.15) 0%, rgba(8,9,13,0.55) 55%, rgba(8,9,13,0.96) 100%),
    var(--card-photo);
  background-size: cover;
  background-position: center;
}
.univers-card.has-photo .univers-icon { backdrop-filter: blur(2px); }

.univers-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.univers-age {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.univers-card h3 { font-size: 1.25rem; }
.univers-card p { color: var(--text-muted); font-size: 0.9rem; flex-grow: 1; }
.univers-link { font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.univers-link i { transition: transform 0.2s var(--ease); }
.univers-card:hover .univers-link i { transform: translateX(4px); }

.card-enfants  { background: linear-gradient(155deg, #10221f, var(--surface) 60%); border-color: #2dd4bf33; }
.card-ados     { background: linear-gradient(155deg, #1d1526, var(--surface) 60%); border-color: #a855f733; }
.card-jeunes   { background: linear-gradient(155deg, #24131c, var(--surface) 60%); border-color: #ec489933; }
.card-adultes  { background: linear-gradient(155deg, #0f1f19, var(--surface) 60%); border-color: #10b98133; }
.card-seniors  { background: linear-gradient(155deg, #241811, var(--surface) 60%); border-color: #f2795c33; }

.card-enfants .univers-icon  { background: #2dd4bf22; color: #2dd4bf; }
.card-ados .univers-icon     { background: #a855f722; color: #a855f7; }
.card-jeunes .univers-icon   { background: #ec489922; color: #ec4899; }
.card-adultes .univers-icon  { background: #10b98122; color: #10b981; }
.card-seniors .univers-icon  { background: #f2795c22; color: #f2795c; }

.card-enfants .univers-age  { color: #2dd4bf; }
.card-ados .univers-age     { color: #a855f7; }
.card-jeunes .univers-age   { color: #ec4899; }
.card-adultes .univers-age  { color: #10b981; }
.card-seniors .univers-age  { color: #f2795c; }

.card-enfants .univers-link  { color: #2dd4bf; }
.card-ados .univers-link     { color: #a855f7; }
.card-jeunes .univers-link   { color: #ec4899; }
.card-adultes .univers-link  { color: #10b981; }
.card-seniors .univers-link  { color: #f2795c; }

/* ===== Grand lot (full width statement) ===== */
.grand-lot { padding: 120px 24px; text-align: center; background: var(--bg); position: relative; }
.grand-lot.has-photo {
  background-image:
    linear-gradient(180deg, rgba(8,9,13,0.88) 0%, rgba(8,9,13,0.7) 45%, rgba(8,9,13,0.92) 100%),
    var(--card-photo);
  background-size: cover;
  background-position: center;
}
.grand-lot-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe28a, var(--accent) 60%, #b9840f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-ink);
  box-shadow: 0 24px 60px -18px rgba(240,180,41,0.5);
}
.grand-lot-eyebrow { color: var(--accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.grand-lot h2 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 18ch; margin: 0 auto; }
.grand-lot p { margin: 20px auto 0; max-width: 54ch; color: var(--text-muted); font-size: 1.05rem; }

/* ===== Countdown ===== */
.countdown-section { padding: 100px 24px; text-align: center; background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.countdown-inner { max-width: 720px; margin: 0 auto; }
.countdown-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.countdown-sub { margin-top: 14px; color: var(--text-muted); font-size: 1rem; }

.countdown {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.countdown-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 8px;
}
.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.countdown-unit {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-family: var(--font-body);
}

/* ===== Steps ===== */
.steps { padding: 100px 24px; background: var(--bg); }
.steps h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-align: center; }

.steps-flow {
  margin-top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; text-align: left; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.96rem; max-width: 32ch; }

.step-connector {
  flex: 0 0 60px;
  height: 1px;
  background: var(--border);
  margin-top: 20px;
}

@media (max-width: 860px) {
  .steps-flow { flex-direction: column; gap: 36px; }
  .step-connector { display: none; }
}

/* ===== Age group headers + jump nav (single-page lots) ===== */
.lots-jump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}
.lots-jump a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lots-jump a:hover { border-color: var(--accent); color: var(--accent); }

.age-group { margin-bottom: 68px; scroll-margin-top: 90px; }
.age-group:last-child { margin-bottom: 0; }
.age-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.age-group-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-soft);
  color: var(--tint);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.age-group-title { font-family: var(--font-display); font-size: 1.35rem; }
.age-group-range {
  font-size: 0.76rem;
  color: var(--tint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 176px;
  gap: 14px;
}
@media (max-width: 900px) {
  .lot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lot-grid { grid-template-columns: 1fr; }
}

/* ===== Bento (lots) ===== */
.lots { padding: 110px 24px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.lots h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-align: center; }
.lots-sub { text-align: center; max-width: 56ch; margin: 16px auto 56px; color: var(--text-muted); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  background: linear-gradient(155deg, var(--tint-soft), var(--surface) 65%);
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--tint); }

.bento-card.bento-photo {
  background-image:
    linear-gradient(180deg, rgba(8,9,13,0.05) 0%, rgba(8,9,13,0.25) 45%, rgba(8,9,13,0.95) 100%),
    var(--card-photo);
  background-size: cover;
  background-position: center;
}

.bento-large { grid-column: span 2; grid-row: span 2; }

.bento-icon {
  position: absolute;
  top: 26px;
  left: 26px;
  font-size: 1.9rem;
  color: var(--tint);
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.65));
}
.bento-large .bento-icon { font-size: 3rem; }

.bento-price {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  white-space: nowrap;
}
.bento-large .bento-price { font-size: 0.9rem; padding: 6px 14px; }

.bento-text h3 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.bento-large .bento-text h3 { font-size: 1.5rem; }
.bento-text p { font-size: 0.88rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento-large { grid-column: span 2; grid-row: span 1; min-height: 220px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
}

/* ===== FAQ / accordion ===== */
.faq { padding: 100px 24px; background: var(--bg); }
.faq-inner { max-width: 760px; }
.faq h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-align: center; margin-bottom: 44px; }

.accordion-item { border-bottom: 1px solid var(--border); padding: 6px 0; }
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "\f0140";
  font-family: "Phosphor";
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion-item[open] summary::after { transform: rotate(180deg); color: var(--accent); }

.accordion-body { padding: 0 4px 18px; color: var(--text-muted); font-size: 0.96rem; max-width: 62ch; }
.accordion-body a { color: var(--accent); }

/* ===== Participer / form ===== */
.participer { padding: 110px 24px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); }
.participer-inner {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
}
.participer-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.participer-copy p { margin-top: 10px; color: var(--text-muted); }

.form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-divider { border-top: 1px solid var(--border-soft); padding-top: 20px; margin-top: 4px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-error { display: none; font-size: 0.82rem; color: #ff8a8a; }
.field.has-error input, .field.has-error select { border-color: #ff8a8a; }
.field.has-error .field-error { display: block; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox-field input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-field a { color: var(--accent); }

.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
}
.form-success.is-visible { display: flex; }

@media (max-width: 640px) {
  .participer-inner { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-alt); padding: 70px 24px 30px; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { margin-top: 14px; color: var(--text-muted); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.9rem; margin-bottom: 16px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-col i { margin-right: 6px; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  max-width: var(--container);
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Legal page ===== */
.legal { padding: 140px 24px 100px; max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal .legal-updated { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 48px; display: block; font-family: var(--font-body); }
.legal article { margin-bottom: 40px; }
.legal h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--accent); font-family: var(--font-body); }
.legal p { color: var(--text-muted); margin-bottom: 12px; }
.legal .placeholder { border: 1px dashed var(--border); border-radius: var(--radius-input); padding: 12px 16px; color: var(--text-faint); font-size: 0.9rem; }
