/* ═══════════════════════════════════════════
   SITE MARIAGE — FEUILLE DE STYLE PRINCIPALE
   ═══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --champagne: #F7E7CE;
  --champagne-dark: #E8D5B0;
  --champagne-deep: #D4B896;
  --gold: #C9A84C;
  --gold-light: #E8C96E;
  --gold-bright: #F5D680;
  --gold-dark: #8B6914;
  --cream: #FDF6EC;
  --text-dark: #3A2E1F;
  --text-mid: #6B5030;
  --bg-dark: #0e0b05;
  --bg-mid: #12100a;
  --bg-deeper: #1a1208;
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #E8DDD0;
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  cursor: default;
  color: var(--text-dark);
}

/* ═══════════════════════════════════════════
   PARTICLES
═══════════════════════════════════════════ */
.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float linear infinite;
  opacity: 0;
  z-index: 0;
}
@keyframes particle-float {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-20px) translateX(30px) scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════
   PASSPORT SCREEN
═══════════════════════════════════════════ */
#passport-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #E8DDD0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#passport-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.passport-container {
  perspective: 1200px;
  cursor: pointer;
}

.passport {
  width: 380px;
  height: 480px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 2s ease-in-out infinite;
  transition: transform 0.1s ease;
}
.passport:hover { animation: none; transform: scale(1.02) rotateY(-5deg) rotateX(2deg); }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateY(-3deg) rotateX(1deg); }
  50%       { transform: translateY(-12px) rotateY(3deg) rotateX(-1deg); }
}

.passport-cover {
  width: 100%;
  height: 100%;
  background-color: #EFE0CC;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 4px,
      rgba(139,105,20,0.05) 4px,
      rgba(139,105,20,0.05) 5px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 4px,
      rgba(139,105,20,0.05) 4px,
      rgba(139,105,20,0.05) 5px
    ),
    radial-gradient(ellipse at center, #F5E8D5 0%, #E8D4B8 100%);
  border-radius: 8px 16px 16px 8px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(100, 70, 10, 0.35),
    0 8px 20px rgba(100, 70, 10, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px;
  overflow: hidden;
}

/* Spine */
.passport-cover::before {
  display: none;
}

/* Texture removed */
.passport-cover::after {
  display: none;
}

.passport-emblem {
  width: min(270px, 55vw); height: min(270px, 55vw);
  position: relative;
  z-index: 2;
}
.passport-emblem img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(80,50,5,0.35));
}

.passport-country {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6b420e;
  text-align: center;
  z-index: 2;
  text-transform: uppercase;
}

.passport-title {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  letter-spacing: 2px;
  line-height: 1.3;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}

.passport-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: normal;
  text-align: center;
  z-index: 2;
  letter-spacing: 1px;
  margin-top: -14px;
  white-space: nowrap;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}
.passport-ampersand {
  font-size: 0.8em;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}

@keyframes gold-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}


.passport-divider {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, #9a7030, transparent);
  z-index: 2;
  margin: 6px 0;
}

.passport-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  z-index: 2;
  line-height: 1.4;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}

.passport-date {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 2;
  margin-top: 0;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}

.passport-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  flex: 1;
  padding-bottom: 10px;
}

.passport-mrz {
  font-family: 'Cinzel', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.6;
  z-index: 2;
  text-align: center;
  background: linear-gradient(90deg, #5C3D08 0%, #8B6218 25%, #C9A84C 50%, #8B6218 75%, #5C3D08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shine 3s linear infinite;
}

.click-hint {
  margin-top: 30px;
  text-align: center;
  color: rgba(139, 105, 20, 0.8);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 2px;
  animation: pulse-hint 2.5s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50%       { opacity: 1; transform: translateY(-3px); }
}

/* Open animation — fade out */
.passport-open {
  animation: fade-open 1s ease forwards !important;
}
@keyframes fade-open {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}


/* ═══════════════════════════════════════════
   MAIN SITE
═══════════════════════════════════════════ */
#main-site {
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
  background: #E8DDD0;
}
#main-site.visible { opacity: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E8DDD0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 2px 12px rgba(100,70,10,0.08);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 2px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  opacity: 1;
  transition: color 0.3s;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4), 0 3px 12px rgba(0,0,0,0.25);
}
.nav-links a:hover { color: var(--gold-dark); text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 3px 14px rgba(0,0,0,0.3); }

/* ── HAMBURGER MENU ── */
.nav-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-toggle.open span:nth-child(2) { opacity: 0; }
.nav-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: fit-content;
  min-width: 0;
  background: #E8DDD0;
  border: 1px solid rgba(201,168,76,0.2);
  border-top: none;
  padding: 0;
  z-index: 150;
  box-shadow: 0 8px 24px rgba(100,70,10,0.1);
}
.nav-dropdown.open {
  display: flex;
}
.nav-dropdown a {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: background 0.3s, color 0.3s;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover {
  background: rgba(201,168,76,0.08);
  color: var(--gold-dark);
}

@media (max-width: 600px) {
  .nav-dropdown {
    width: fit-content;
  }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #E8DDD0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg::before {
  display: none;
}
@keyframes bg-shift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(3%, 2%); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 1s ease 0.3s forwards;
}
.hero-names + .hero-eyebrow {
  margin-top: 48px;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -1px;
  opacity: 0;
  animation: fade-up 1s ease 0.5s forwards;
  text-shadow: 0 0 80px rgba(201,168,76,0.15);
  white-space: nowrap;
}
.hero-names span {
  display: inline;
  background: linear-gradient(135deg, #8B6914, #C9A84C, #6B4F10, #A07820);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-ampersand {
  font-size: clamp(40px, 6vw, 70px);
  color: var(--gold);
  -webkit-text-fill-color: initial;
  display: inline;
  margin: 0 16px;
  opacity: 0.7;
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--text-mid);
  opacity: 0;
  animation: fade-up 1s ease 0.7s forwards;
}

.hero-divider {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 32px auto;
  opacity: 0;
  animation: fade-up 1s ease 0.9s forwards;
}

.hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--text-mid);
  letter-spacing: 2px;
  opacity: 0;
  animation: fade-up 1s ease 1.1s forwards;
  line-height: 1.8;
}

.hero-instagram {
  display: inline-block;
  margin-top: 20px;
  opacity: 0;
  animation: fade-up 1s ease 1.3s forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hero-instagram:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.hero-map {
  margin-top: 48px;
  opacity: 0;
  animation: fade-up 1s ease 1.5s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-map img {
  width: 160px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 1s ease 1.5s forwards;
}
.hero-scroll span {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--gold);
  animation: scroll-anim 1.5s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50%       { transform: scaleY(1); transform-origin: top; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS COMMUNES ── */
section {
  padding: 120px 20px;
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.section-inner { max-width: 900px; margin: 0 auto; width: 100%; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.8;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}
.ornament-line {
  flex: 1; max-width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament-line.right { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── PROGRAMME ── */
#programme { background: #E8DDD0; }

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 50px 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }

.timeline-dot {
  position: absolute;
  left: -5px; top: 6px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}

.timeline-time {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}
.timeline-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 14px;
  color: rgba(74, 46, 6, 0.6);
  line-height: 1.6;
  font-style: italic;
}
.timeline-icon {
  position: absolute;
  right: 0; top: 0;
  font-size: 28px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── INFOS PRATIQUES ── */
#infos { background: #E8DDD0; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s, border-color 0.4s;
}
.info-card.visible { opacity: 1; transform: translateY(0); }
.info-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.35);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.5;
}
.info-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40px; height: 40px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
}

.info-icon { font-size: 32px; opacity: 0.7; text-align: center; display: block; margin-bottom: 12px; }
.info-icon-row { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 12px; margin-bottom: 12px; }
.info-card-title {
  font-family: 'Cinzel', serif;
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}

@media (max-width: 767px) {
  .info-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .info-card-content {
    text-align: center;
    width: 100%;
  }
  .info-card-content p,
  .info-card-content span,
  .info-card-content small,
  .info-card-content a {
    text-align: center;
    display: block;
  }
  .info-card-content span span {
    display: inline;
    white-space: nowrap;
  }
  .map-btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
  }
}
.info-card-content {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
}
.info-card-content small {
  display: block;
  font-size: 13px;
  color: rgba(74, 46, 6, 0.5);
  font-style: italic;
  margin-top: 8px;
}

.map-btn {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  text-decoration: none;
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.map-btn:visited { color: #2a1a00; border-color: rgba(42,26,0,0.4); }
.map-btn:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ── RSVP ── */
#histoire { background: #E8DDD0; }

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}
.histoire-photo {
  width: 100%;
}
.histoire-photo img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.3);
}
.histoire-photo-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.histoire-text {
  text-align: left;
}

@media (max-width: 767px) {
  .histoire-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .histoire-text {
    text-align: center;
  }
}
#galerie { background: #E8DDD0; }
#cadeau { background: #E8DDD0; }

.carousel-vertical {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(74, 46, 6, 0.25), 0 2px 12px rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  height: 320px;
}
.carousel-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.5s ease;
  font-size: 0;
  line-height: 0;
  height: 100%;
}
.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  height: 100%;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}
.carousel-placeholder {
  width: 100%;
  height: 320px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #C9A84C;
  font-size: 36px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  padding: 0 8px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(74,46,6,0.3);
}
.carousel-btn:hover { opacity: 0.7; transform: translateY(-50%) scale(1.15); }
.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

@media (max-width: 600px) {
  .carousel-vertical {
    height: 260px;
    aspect-ratio: unset;
    overflow: hidden;
  }
  .carousel-track {
    height: 100%;
    will-change: transform;
  }
  .carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f5efe8;
  }
}



.rsvp-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 48px;
  border: 1px solid rgba(201,168,76,0.2);
  position: relative;
  background: rgba(201,168,76,0.02);
  box-shadow: 0 8px 40px rgba(139,98,20,0.13), 0 2px 12px rgba(139,98,20,0.08);
}
.rsvp-container::before,
.rsvp-container::after {
  content: '✦';
  position: absolute;
  font-size: 12px;
  color: var(--gold);
  opacity: 0.6;
}
.rsvp-container::before {
  top: -8px; left: 50%;
  transform: translateX(-50%);
  background: #E8DDD0;
  padding: 0 12px;
}
.rsvp-container::after {
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  background: #E8DDD0;
  padding: 0 12px;
}

.rsvp-field { margin-bottom: 28px; }

.rsvp-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  opacity: 0.8;
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  background: #E8DDD0;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 10px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
}
.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus { border-color: var(--gold); }
.rsvp-input::placeholder { color: rgba(74, 46, 6, 0.3); font-style: italic; }
.rsvp-select { cursor: pointer; }
.rsvp-select option { background: #E8DDD0; color: #4a2e06; }
.rsvp-textarea { resize: none; min-height: 80px; }

.rsvp-radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.rsvp-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-dark);
}
.rsvp-radio-label input[type="radio"] { display: none; }
.radio-custom {
  width: 18px; height: 18px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.rsvp-radio-label input:checked + .radio-custom {
  border-color: var(--gold);
  background: radial-gradient(circle at center, var(--gold) 40%, transparent 40%);
}

.rsvp-btn {
  width: 100%;
  padding: 18px;
  background: #E8DDD0;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
  margin-top: 12px;
}
.rsvp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.rsvp-btn:hover { color: #1a1208; }
.rsvp-btn:hover::before { transform: translateX(0); }
.rsvp-btn span { position: relative; z-index: 1; }

.rsvp-success {
  display: none;
  text-align: center;
  padding: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
}
.rsvp-success .success-icon { font-size: 40px; display: block; margin-bottom: 16px; }

/* ── FOOTER ── */
footer {
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.2);
  background: #E8DDD0;
}
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 12px;
  opacity: 0.7;
}
.footer-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(139,105,20,1);
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 8px; letter-spacing: 2px; }
  section { padding: 80px 16px; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; }
  .rsvp-container { padding: 40px 24px; }
  .passport { width: min(300px, 80vw); height: auto; min-height: min(420px, 112vw); }
  .passport-names { font-size: clamp(22px, 7vw, 32px); }
  .passport-emblem { width: min(220px, 50vw); height: min(220px, 50vw); }
  .passport-title { font-size: 24px; }
  .passport-subtitle { font-size: 18px; margin-top: -10px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-icon { font-size: 28px; }
  .info-icon-row { gap: 8px; }

  /* Hero names — une ligne sur mobile */
  .hero-names {
    white-space: nowrap;
    font-size: clamp(28px, 8vw, 52px);
    line-height: 1.1;
  }
  .hero-names span {
    display: inline;
  }
  .hero-ampersand {
    display: inline;
    margin: 0 6px;
    font-size: clamp(20px, 6vw, 38px);
  }

  /* Hero global */
  #hero {
    min-height: 100dvh;
    padding: 0;
  }
  .hero-content {
    padding: 70px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    gap: 0;
  }
  .hero-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 8px;
  }
  .hero-names + .hero-eyebrow {
    margin-top: 12px;
    margin-bottom: 8px;
  }
  .hero-date {
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 4px;
  }
  .hero-divider {
    height: 30px;
    margin: 10px auto;
  }
  .hero-location {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
  }
  .hero-instagram {
    margin-top: 10px;
  }
  .hero-instagram svg {
    width: 22px;
    height: 22px;
  }
  .hero-map {
    margin-top: 8px;
    flex-direction: column;
    align-items: center;
  }
  .hero-map img {
    width: 110px;
  }
  .countdown {
    flex-wrap: nowrap;
    gap: 4px;
  }
  .countdown-item {
    min-width: 40px;
  }
  .countdown-num {
    font-size: 14px;
    min-width: 36px;
    padding: 6px 6px;
  }
  .countdown-label {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .countdown-sep {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════
   IPAD (601px – 1024px)
═══════════════════════════════════════════ */
@media (min-width: 601px) and (max-width: 1024px) {

  /* Nav */
  nav { padding: 16px 28px; }

  /* Passeport */
  .passport { width: min(340px, 60vw); height: auto; min-height: min(480px, 84vw); }
  .passport-emblem { width: min(240px, 42vw); height: min(240px, 42vw); }
  .passport-title { font-size: 28px; }
  .passport-subtitle { font-size: 22px; }
  .passport-names { font-size: clamp(24px, 5vw, 36px); }

  /* Hero */
  #hero { min-height: 100dvh; padding: 0; }
  .hero-content {
    padding: 80px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    gap: 0;
  }
  .hero-eyebrow {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 14px;
  }
  .hero-names {
    white-space: nowrap;
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1.15;
  }
  .hero-names span { display: inline; }
  .hero-ampersand {
    display: inline;
    margin: 0 12px;
    font-size: clamp(32px, 6vw, 56px);
  }
  .hero-names + .hero-eyebrow {
    margin-top: 24px;
    margin-bottom: 14px;
  }
  .hero-date {
    font-size: 12px;
    letter-spacing: 4px;
  }
  .hero-divider {
    height: 40px;
    margin: 18px auto;
  }
  .hero-location {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-instagram { margin-top: 16px; }
  .hero-instagram svg { width: 26px; height: 26px; }
  .hero-map { margin-top: 14px; }
  .hero-map img { width: 120px; }

  /* Sections */
  section { padding: 80px 40px; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .rsvp-container { padding: 48px 40px; }
}

/* ── FLOATING NAV ── */
.floating-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(232, 221, 208, 0.85);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 30px;
  padding: 10px 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.floating-nav-btn {
  background: none;
  border: none;
  color: #C9A84C;
  font-size: 20px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.2s;
  padding: 0;
}
.floating-nav-btn:hover {
  color: #8B6914;
  transform: scale(1.2);
}
.floating-nav-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(201,168,76,0.35);
  border: 1px solid rgba(201,168,76,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.float-dot.active {
  background: #C9A84C;
  transform: scale(1.3);
}
.float-dot:hover {
  background: rgba(201,168,76,0.7);
}
@media (max-width: 600px) {
  .floating-nav {
    left: 8px;
    padding: 8px 6px;
  }
}

/* ── MAP PIN OVERLAY ── */
.map-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  background: #E8DDD0;
}
.map-base {
  width: 160px;
  display: block;
  background: #E8DDD0;
}
.map-pin-overlay {
  position: absolute;
  left: 53.9%;
  top: 38.4%;
  transform: translate(-50%, -100%);
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  pointer-events: none;
  animation: pin-bounce 2s ease-in-out infinite;
  line-height: 1;
}
@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, -120%); }
}

/* ── MUSIC BUTTON ── */
.nav-music-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.nav-music-btn:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.8);
}

/* ── SCROLL REVEAL ── */
.scroll-hidden {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#contact { background: #E8DDD0; }
#rsvp { background: #E8DDD0; }

.footer-copy {
  text-align: center;
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(201,168,76,0.9);
  letter-spacing: 2px;
}

/* ── COUNTDOWN ── */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 52px;
}
.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 44px;
  text-align: center;
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(201,168,76,0.04);
  box-shadow: 0 4px 16px rgba(74, 46, 6, 0.2), 0 1px 4px rgba(201, 168, 76, 0.15);
}
.countdown-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,1);
}
.countdown-sep {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: rgba(201,168,76,0.4);
  margin-bottom: 14px;
}

@media (min-width: 1024px) {
  .hero-instagram svg { width: 48px; height: 48px; }
  .hero-map img { width: 280px; }
  .hero-map { margin-top: 64px; }
  .countdown { margin-top: 56px; gap: 12px; }
  .countdown-num { font-size: 28px; min-width: 64px; padding: 12px 16px; }
  .countdown-label { font-size: 11px; letter-spacing: 3px; }
  .countdown-sep { font-size: 26px; }
  .countdown-item { min-width: 70px; }
}

/* ── HIDE ORIGINAL MAP PIN ── */
.map-pin-hide {
  position: absolute;
  left: 50.2%;
  top: 13.5%;
  width: 14.1%;   /* 64.3% - 50.2% */
  height: 20.4%;  /* 33.9% - 13.5% */
  background: #E8DDD0;
  border-radius: 0;
  pointer-events: none;
}

/* Saut de ligne desktop uniquement */
.desktop-break { display: inline; }
@media (max-width: 767px) {
  .desktop-break { display: none; }
}

/* Champs côte à côte */
.rsvp-row {
  display: flex;
  gap: 16px;
}
.rsvp-row .rsvp-field {
  flex: 1;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .rsvp-row { flex-direction: column; gap: 0; }
  .rsvp-row .rsvp-field { margin-bottom: 28px; }
}
