/* ═══════════════════════════════════════════════════════════════════════════
   GIRON DU CENTRE 2027 — POLIEZ-PITTET
   Style charte graphique Giron 2027 — Light mode festif
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,300;0,400;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ─── Variables globales ────────────────────────────────────────────────── */
:root {
  /* Charte */
  --color-magenta:     #e50069;
  --color-magenta-dark:#c8005c;
  --color-magenta-light:#f0337a;
  --color-gold:        #fec700;
  --color-gold-dark:   #d4a900;
  --color-black:       #222222;
  --color-white:       #ffffff;
  --color-text-dark:   #1a1a1a;
  --color-text-muted:  #555555;
  --color-border:      #E8E8E8;

  /* Dégradé charte (couverture) */
  --gradient-main: linear-gradient(135deg,
    #f9a759 0%,
    #f68f67 25%,
    #f37d6d 50%,
    #f06971 75%,
    #ee4774 100%);

  /* Typographies */
  --font-display: 'Montserrat Alternates', 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Ombres */
  --shadow-card:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-card-hover:0 12px 32px rgba(0,0,0,0.20);
  --shadow-button:    0 5px 0 #8a0040, 0 7px 14px rgba(229,0,105,0.30);
  --shadow-button-hover: 0 4px 0 #8a0040, 0 6px 12px rgba(229,0,105,0.35);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

/* ─── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--gradient-main) fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-magenta); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 71, 116, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.125rem;
}
.navbar-logo img { height: 40px; width: auto; }

.navbar-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-links a {
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active {
  opacity: 1;
  color: var(--color-gold);
}

.navbar-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Menu mobile */
@media (max-width: 900px) {
  .navbar-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(220, 50, 95, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .navbar-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-links li { width: 100%; }
  .navbar-links a {
    display: block;
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .navbar-toggle { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO (vidéo arrière-plan)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  /* ~40% de la fenêtre sur desktop — borné pour rester équilibré */
  height: 40vh;
  min-height: 360px;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-white);
}
@media (max-width: 700px) {
  .hero { height: 40vh; min-height: 280px; }
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(229,0,105,0.55) 0%, rgba(34,34,34,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.5rem;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.30));
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid rgba(254, 199, 0, 0.4);
  border-radius: 50px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: 0.125rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.30);
  font-weight: 700;
  line-height: 1.1;
}

.hero-location {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 500;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.hero-dates {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(254, 199, 0, 0.95);
  color: var(--color-black);
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(254, 199, 0, 0.30);
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* En hero compact, réduire la taille des boutons */
.hero .btn-large {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOUTONS — Style 3D charte
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(180deg, #f0337a 0%, #e50069 60%, #c8005c 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  box-shadow: var(--shadow-button-hover);
  transform: translateY(1px);
  color: var(--color-white);
  opacity: 1;
}
.btn-primary:active {
  box-shadow: 0 2px 0 #8a0040, 0 3px 6px rgba(229,0,105,0.25);
  transform: translateY(3px);
}

.btn-secondary {
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 5px 0 #8a6700, 0 7px 14px rgba(254,199,0,0.30);
}
.btn-secondary:hover {
  box-shadow: 0 4px 0 #8a6700, 0 6px 12px rgba(254,199,0,0.35);
  transform: translateY(1px);
  color: var(--color-black);
  opacity: 1;
}
.btn-secondary:active {
  box-shadow: 0 2px 0 #8a6700, 0 3px 6px rgba(254,199,0,0.25);
  transform: translateY(3px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  box-shadow: 0 5px 0 rgba(255,255,255,0.30);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(1px);
  color: var(--color-white);
  opacity: 1;
  box-shadow: 0 4px 0 rgba(255,255,255,0.30);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Countdown — Pellicule cinéma ──────────────────────────────────────── */

.countdown-section {
  padding: 1.5rem 1.5rem 3rem;
  text-align: center;
}

.countdown-title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.20);
  font-family: var(--font-display);
  font-weight: 700;
}

.countdown-subtitle {
  color: rgba(255,255,255,0.90);
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Clap de cinéma au-dessus */
.countdown-clap {
  display: inline-block;
  background: var(--color-white);
  padding: 0.375rem 1.125rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: rotate(-1deg);
}
.countdown-clap::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 14px;
  background: repeating-linear-gradient(115deg, var(--color-black) 0 18px, var(--color-white) 18px 36px);
  border-radius: 4px 4px 0 0;
}
.countdown-clap span {
  font-family: 'Courier New', monospace;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* Bande pellicule */
.film-strip {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* Perforations haut/bas */
.film-perf {
  height: 26px;
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}
.film-perf span {
  flex: 1;
  height: 13px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-magenta-light));
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* Grille des 4 frames */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px;
  background: #0a0a0a;
}

/* Chaque frame = carte de pellicule blanche */
.countdown-cell {
  background: linear-gradient(180deg, #fafafa 0%, #ebebeb 100%);
  border-radius: 2px;
  padding: 1.25rem 0.5rem 0.875rem;
  position: relative;
  overflow: hidden;
}

/* Numéro de frame en haut à gauche */
.countdown-cell::before {
  content: attr(data-frame);
  position: absolute;
  top: 4px; left: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.5rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 0.05em;
}

/* Marqueur magenta en haut à droite */
.countdown-cell::after {
  content: '';
  position: absolute;
  top: 7px; right: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-magenta);
  box-shadow: 0 0 6px rgba(229,0,105,0.7);
}

.countdown-number {
  display: block;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 900;
  color: var(--color-magenta);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
}

@keyframes filmTick {
  0%   { transform: scale(1) rotateX(0deg); }
  40%  { transform: scale(1.1) rotateX(12deg); color: var(--color-magenta-dark); }
  100% { transform: scale(1) rotateX(0deg); }
}
.countdown-number.tick { animation: filmTick 0.4s ease-out; }

.countdown-label {
  display: block;
  margin-top: 0.625rem;
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
}

/* Métadonnées bas de pellicule */
.countdown-meta {
  background: #0a0a0a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.countdown-meta strong { color: var(--color-gold); }

/* Message quand l'événement est lancé */
.countdown-message {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.countdown-message h3 {
  color: var(--color-magenta);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .film-perf span:nth-child(n+7) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS GÉNÉRIQUES
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.section-title {
  color: var(--color-white);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.section-subtitle {
  color: rgba(255,255,255,0.90);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* ─── Cartes ────────────────────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card h3 { color: var(--color-text-dark); margin-bottom: 0.5rem; }
.card p { color: var(--color-text-muted); margin: 0; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(229,0,105,0.10), rgba(254,199,0,0.10));
  color: var(--color-magenta);
  font-size: 1.75rem;
}

/* Grilles */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

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

/* ═══════════════════════════════════════════════════════════════════════════
   COMPOSANTS SPÉCIFIQUES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Programme (timeline jours) ────────────────────────────────────────── */
.day-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.day-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-magenta), var(--color-gold));
}
.day-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.day-card-day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-magenta);
}
.day-card-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.day-events {
  list-style: none;
  padding: 0;
  margin: 0;
}
.day-events li {
  padding: 0.625rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.day-events li:last-child { border-bottom: none; }
.day-events time {
  flex-shrink: 0;
  background: rgba(229,0,105,0.08);
  color: var(--color-magenta);
  padding: 0.125rem 0.625rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

/* ─── Sponsors ──────────────────────────────────────────────────────────── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.sponsor-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.sponsor-card img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.sponsor-card:hover img { filter: grayscale(0%); }

/* ─── Gadgets ───────────────────────────────────────────────────────────── */
.gadget-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.gadget-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.gadget-card-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(229,0,105,0.05), rgba(254,199,0,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.gadget-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gadget-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gadget-card-body h3 { margin-bottom: 0.5rem; }
.gadget-card-body p {
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 1rem;
}
.gadget-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-magenta);
}

/* ─── Info pratique ─────────────────────────────────────────────────────── */
.info-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.info-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-gold));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(229,0,105,0.25);
}
.info-card h3 { font-size: 1.25rem; }
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.info-card ul li {
  padding: 0.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.info-card ul li:last-child { border-bottom: none; }

/* ─── Banquet card ─────────────────────────────────────────────────────── */
.banquet-hero {
  background: var(--color-white);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banquet-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254,199,0,0.20), transparent 70%);
  border-radius: 50%;
}
.banquet-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(229,0,105,0.15), transparent 70%);
  border-radius: 50%;
}
.banquet-hero > * { position: relative; z-index: 1; }
.banquet-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.banquet-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.banquet-meta-item {
  text-align: center;
}
.banquet-meta-item strong {
  display: block;
  color: var(--color-magenta);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.banquet-meta-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Formulaire contact ────────────────────────────────────────────────── */
.contact-form {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #FAFAFA;
  color: var(--color-text-dark);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-magenta);
  background: var(--color-white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.contact-info {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(229,0,105,0.10);
  color: var(--color-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-info-text strong {
  display: block;
  color: var(--color-text-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-info-text a,
.contact-info-text span {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-links a {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-magenta-dark));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s;
}
.social-links a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: rgba(34, 34, 34, 0.92);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  backdrop-filter: blur(8px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer h4 {
  color: var(--color-gold);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
}
.footer ul li a {
  color: rgba(255,255,255,0.75);
}
.footer ul li a:hover {
  color: var(--color-gold);
  opacity: 1;
}
.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.80;
  max-width: 360px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.70;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORMES DÉCORATIVES (subtiles)
   ═══════════════════════════════════════════════════════════════════════════ */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.deco-blob-gold {
  background: var(--color-gold);
  width: 300px; height: 300px;
}
.deco-blob-magenta {
  background: var(--color-magenta);
  width: 400px; height: 400px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tick {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); color: var(--color-gold-dark); }
  100% { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITAIRES
   ═══════════════════════════════════════════════════════════════════════════ */
.text-center  { text-align: center; }
.text-white   { color: var(--color-white); }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mt-4  { margin-top: 2rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Sélection texte */
::selection { background: var(--color-magenta); color: var(--color-white); }

/* Focus accessibilité */
*:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CADRE ÉCRAN CINÉMA — entoure le contenu principal (hors navbar/footer)
   ═══════════════════════════════════════════════════════════════════════════ */

.cinema-frame {
  position: relative;
  background: transparent;
  /* Liseré or visible sur le dégradé de fond */
  box-shadow:
    inset 0 0 0 22px transparent,
    inset 0 0 0 24px #fec700,
    inset 0 0 0 26px transparent;
  padding: 18px 26px 18px 26px;
}

/* Bande perforée haut */
.cinema-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 18px;
  background:
    radial-gradient(ellipse 8px 6px at center, rgba(249,167,89,0.85) 100%, transparent 100%)
      12px center / 30px 18px repeat-x,
    transparent;
  z-index: 1;
}

/* Bande perforée bas */
.cinema-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 26px; right: 26px;
  height: 18px;
  background:
    radial-gradient(ellipse 8px 6px at center, rgba(249,167,89,0.85) 100%, transparent 100%)
      12px center / 30px 18px repeat-x,
    transparent;
  z-index: 1;
}

/* Perforations latérales gauche */
.cinema-frame-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 26px;
  background:
    radial-gradient(ellipse 7px 9px at center, rgba(249,167,89,0.85) 100%, transparent 100%)
      center 14px / 26px 30px repeat-y,
    transparent;
  z-index: 1;
}

/* Perforations latérales droite */
.cinema-frame-right {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 26px;
  background:
    radial-gradient(ellipse 7px 9px at center, rgba(249,167,89,0.85) 100%, transparent 100%)
      center 14px / 26px 30px repeat-y,
    transparent;
  z-index: 1;
}

/* Zone de contenu interne — le dégradé de fond reprend ici */
.cinema-inner {
  position: relative;
  z-index: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

@media (max-width: 600px) {
  .cinema-frame {
    box-shadow:
      inset 0 0 0 12px transparent,
      inset 0 0 0 14px #fec700,
      inset 0 0 0 16px transparent;
    padding: 14px 16px;
  }
  .cinema-frame::before,
  .cinema-frame::after {
    left: 16px; right: 16px;
    height: 14px;
    background:
      radial-gradient(ellipse 6px 5px at center, rgba(249,167,89,0.85) 100%, transparent 100%)
        10px center / 22px 14px repeat-x,
      transparent;
  }
  .cinema-frame-left,
  .cinema-frame-right { width: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RIDEAU D'OUVERTURE — pages internes uniquement (class sur <body>)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Les deux panneaux sont positionnés dans .cinema-inner */
.cinema-inner { overflow: hidden; }

.curtain-left,
.curtain-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 10;
  pointer-events: none;
}

.curtain-left {
  left: 0;
  background:
    radial-gradient(ellipse 140% 55% at 50% -8%, rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(135deg, #6a0030 0%, #a8004a 35%, #e50069 100%);
  box-shadow: 8px 0 16px rgba(0,0,0,0.35);
  transform-origin: left center;
  will-change: transform;
  animation: curtainOpenLeft 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.curtain-right {
  right: 0;
  background:
    radial-gradient(ellipse 140% 55% at 50% -8%, rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(225deg, #6a0030 0%, #a8004a 35%, #e50069 100%);
  box-shadow: -8px 0 16px rgba(0,0,0,0.35);
  transform-origin: right center;
  will-change: transform;
  animation: curtainOpenRight 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Plis verticaux arrondis (façon velours) */
.curtain-left::before,
.curtain-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.42)     0px,
    rgba(0,0,0,0.14)     5px,
    rgba(255,255,255,0.10) 12px,
    rgba(255,255,255,0.20) 15px,
    rgba(255,255,255,0.10) 18px,
    rgba(0,0,0,0.14)     25px,
    rgba(0,0,0,0.42)     34px
  );
  background-size: 34px 100%;
  mix-blend-mode: soft-light;
}

/* Frange dorée en haut de chaque panneau */
.curtain-left::after,
.curtain-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    #fec700 0px 5px,
    #c99900 5px 10px
  );
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

/* L'ouverture combine un resserrement horizontal et une très légère oscillation,
   comme un tissu tiré sur un cordon plutôt qu'un panneau qui se contracte uniformément */
/* L'ouverture "à la grecque" : les deux pans s'écartent l'un de l'autre,
   glissant droit vers leur bord extérieur. Un seul segment d'animation,
   pour un mouvement continu sans à-coups. */
@keyframes curtainOpenLeft {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}
@keyframes curtainOpenRight {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Après ouverture : s'assurer que les rideaux ne bloquent plus les clics */
.curtain-left.opened,
.curtain-right.opened {
  display: none;
}
