/* ===================================================
   SHANA & ENZO - MARIAGE 29 MAI
   Design System & Feuille de Styles Romantique & Luxe
   =================================================== */

:root {
  /* Palette de couleurs */
  --primary: #c59b27;
  --primary-light: #dfba53;
  --primary-dark: #997415;
  --primary-glow: rgba(197, 155, 39, 0.25);
  
  --bg-cream: #faf7f2;
  --bg-sand: #f4eee5;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-dark: #1f1b18;
  
  --text-main: #2b2623;
  --text-muted: #6b635c;
  --text-light: #948b83;
  --text-inverse: #faf7f2;
  
  --accent-sage: #7d8c7c;
  --accent-rose: #d69f98;
  --border-light: rgba(197, 155, 39, 0.2);
  --border-subtle: rgba(43, 38, 35, 0.08);

  /* Typographie */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Ombres & Effets */
  --shadow-sm: 0 4px 12px rgba(43, 38, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(43, 38, 35, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 38, 35, 0.12);
  --shadow-gold: 0 10px 30px rgba(197, 155, 39, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Typographie Utilitaires */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

/* Barre de Navigation Flottante */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1120px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 12px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--primary-dark);
}

.nav-brand .heart-icon {
  color: var(--primary);
  font-size: 0.9rem;
  animation: pulseHeart 2s infinite ease-in-out;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Menu Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  transform: scale(1.03);
  animation: slowZoom 25s infinite alternate ease-in-out;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(31, 27, 24, 0.4) 0%,
    rgba(31, 27, 24, 0.6) 60%,
    rgba(31, 27, 24, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--text-inverse);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(223, 186, 83, 0.4);
  backdrop-filter: blur(8px);
  color: #f7e7be;
  font-size: 0.82rem;
  font-family: var(--font-display);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 1px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.hero-title .ampersand {
  font-family: var(--font-script);
  font-size: 0.9em;
  color: var(--primary-light);
  display: inline-block;
  margin: 0 10px;
  font-style: italic;
}

.hero-date-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 3px;
  color: #fffaf0;
}

.hero-date-banner .date-sep {
  width: 40px;
  height: 1px;
  background: var(--primary-light);
  opacity: 0.8;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #e5dfd7;
  max-width: 600px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Compte à Rebours */
.countdown-container {
  margin-top: 15px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #edd9b1;
  margin-top: 6px;
}

/* Boutons d'Action Hero */
.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(197, 155, 39, 0.4);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border-color: white;
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  color: var(--primary-light);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}

/* Sections Standards */
.section {
  padding: 110px 24px;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
  margin-bottom: -6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.section-desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 18px auto 0;
}

/* Section Bienvenue & Photos */
.welcome-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.welcome-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  aspect-ratio: 3 / 4;
  transition: var(--transition-smooth);
}

.welcome-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.welcome-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-message {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.welcome-text {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  color: var(--text-main);
  line-height: 1.5;
}

/* Programme / Timeline */
.timeline-section {
  background-color: var(--bg-sand);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--primary) 15%, var(--primary) 85%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 45px);
  background: var(--bg-card);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* Section Le Lieu (Venue & Map) */
.venue-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.venue-card + .venue-card {
  margin-top: 36px;
}

.venue-info {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

.venue-address {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.venue-address svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.venue-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
}

.venue-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.venue-detail-item .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.12);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.venue-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.venue-map-container {
  position: relative;
  min-height: 440px;
  height: 100%;
  background: #eae5de;
}

#map,
#map-matran {
  width: 100%;
  height: 100%;
  min-height: 440px;
}

/* Section Galerie Photo */
.gallery-section {
  background-color: var(--bg-cream);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #eee;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item.portrait {
  aspect-ratio: 2 / 3;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 27, 24, 0.8) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: white;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 15, 13, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption-text {
  color: #f0eae1;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-top: 16px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Section RSVP / Invitation */
.rsvp-section {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-sand) 100%);
  position: relative;
}

.rsvp-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 55px 50px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  position: relative;
}

.rsvp-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed var(--border-light);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.rsvp-header {
  text-align: center;
  margin-bottom: 35px;
}

.rsvp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.rsvp-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.rsvp-private-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.1) 0%, rgba(244, 238, 229, 0.8) 100%);
  border: 1px solid rgba(197, 155, 39, 0.35);
}

.rsvp-private-notice .notice-icon {
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.rsvp-private-notice strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.rsvp-private-notice p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-error-banner {
  display: none;
  margin: 4px 0 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fdecec;
  border: 1px solid rgba(184, 59, 59, 0.25);
  color: #a12b2b;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.form-error-banner.visible {
  display: block;
}

/* Radio Choix Présence */
.presence-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
  position: relative;
}

.choice-label {
  display: block;
  cursor: pointer;
}

#choice-no-label {
  position: relative;
  z-index: 10;
  will-change: transform;
}

.prank-hint {
  min-height: 22px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 18px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.prank-hint.visible {
  opacity: 1;
}

.choice-label input[type="radio"] {
  display: none;
}

.choice-box {
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  background: var(--bg-cream);
  transition: var(--transition-bounce);
}

.choice-box .icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}

.choice-box .title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
}

.choice-box .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.choice-label input[type="radio"]:checked + .choice-box {
  border-color: var(--primary);
  background: #fffdf7;
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-info-note {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checkbox-label {
  display: block;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  transition: var(--transition-smooth);
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--primary);
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.checkbox-text {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-main);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-card {
  border-color: var(--primary);
  background: #fffdf7;
  box-shadow: var(--shadow-sm);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-card .checkbox-box {
  background: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-card .checkbox-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* Confirmation RSVP après envoi */
.rsvp-success-card {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.rsvp-success-card.active {
  display: block;
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.success-message {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 26px;
}

.rsvp-recap-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 480px;
  margin: 0 auto 26px;
  text-align: left;
}

.rsvp-recap-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.rsvp-recap-item:last-child {
  border-bottom: none;
}

.rsvp-meme-container {
  max-width: 320px;
  margin: 0 auto 24px;
  background: var(--bg-cream);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-md);
  animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsvp-meme-container img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
  display: block;
}

.rsvp-meme-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.rsvp-calendar-prompt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Modal Calendrier */
.calendar-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 24, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-modal.active {
  display: flex;
  opacity: 1;
}

.calendar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calendar-modal.active .calendar-card {
  transform: scale(1);
}

.calendar-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.calendar-option-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.calendar-option-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.calendar-option-btn .icon {
  font-size: 1.3rem;
  width: 32px;
  display: flex;
  justify-content: center;
}

/* FAQ / Informations Pratiques */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.faq-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.faq-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  padding: 70px 24px 40px;
  text-align: center;
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 5px;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.footer-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #c5beba;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  list-style: none;
}

.footer-link {
  font-size: 0.88rem;
  color: #948b83;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #7a726c;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-trigger {
  background: none;
  border: none;
  color: #7a726c;
  cursor: pointer;
  font-size: 0.78rem;
  transition: var(--transition-smooth);
}

.admin-trigger:hover {
  color: var(--primary-light);
}

/* Animations Keyframes */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.2); opacity: 1; color: var(--primary-light); }
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 12px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .welcome-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-marker {
    left: 24px;
  }

  .timeline-content {
    width: 100% !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .navbar {
    width: calc(100% - 24px);
    top: 12px;
    padding: 8px 16px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .welcome-photos-grid {
    gap: 12px;
    margin-bottom: 32px;
  }

  .gallery-grid {
    gap: 14px;
  }

  .venue-map-container,
  #map,
  #map-matran {
    min-height: 300px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .rsvp-private-notice {
    padding: 14px;
    gap: 10px;
  }

  .countdown-box {
    min-width: 70px;
    padding: 10px 12px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .form-grid, .presence-choice {
    grid-template-columns: 1fr;
  }

  .rsvp-card {
    padding: 35px 20px;
  }

  .venue-info {
    padding: 30px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 110px 16px 64px;
  }

  .countdown-container {
    gap: 8px;
  }

  .countdown-box {
    min-width: 66px;
    padding: 10px 8px;
  }

  .timeline-content {
    padding: 20px 18px;
  }

  .venue-actions .btn {
    flex: 1 1 120px;
  }
}
