/* ===========================
   VARIABLES & BASE
   =========================== */
:root {
  --orange:  #F4874B;
  --rose:    #F2A7B0;
  --fushia:  #E8407A;
  --jaune:   #F5C842;
  --gold:    #C8A96E;
  --gold-light: rgba(200,169,110,0.25);
  --noir:    #1A1A1A;
  --blanc:   #FDFCF8;
  --gris:    #F5F2EC;
  --text-muted: rgba(26,26,26,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--blanc);
  color: var(--noir);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===========================
   NAVIGATION
   =========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(253,252,248,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--gold-light);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--noir);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 1; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.orb-1 { width: 500px; height: 500px; background: var(--orange); top: -10%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: var(--fushia); bottom: -5%; right: -8%; }
.orb-3 { width: 300px; height: 300px; background: var(--jaune); top: 20%; right: 5%; }
.orb-4 { width: 350px; height: 350px; background: var(--rose); bottom: 10%; left: 5%; }

.hero-content { position: relative; z-index: 1; }

.hero-tagline {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.logo-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.9s ease 0.1s both;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--noir);
  animation: fadeUp 1s ease 0.15s both;
}

.hero-names em {
  font-style: italic;
  display: block;
}

.amp {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--gold);
  display: block;
  margin: 0.15rem 0;
  font-style: normal;
}

.hero-date {
  margin-top: 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.2em;
  color: var(--noir);
  opacity: 0.7;
  animation: fadeUp 1s ease 0.25s both;
}

.hero-lieu {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gold);
  opacity: 0.85;
  margin-top: 0.5rem;
  animation: fadeUp 1s ease 0.3s both;
}

/* COUNTDOWN */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  animation: fadeUp 1s ease 0.4s both;
}

.cd-item { text-align: center; }

.cd-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--noir);
  line-height: 1;
  min-width: 2.5rem;
}

.cd-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}

.cd-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.4;
  align-self: flex-start;
  padding-top: 0.3rem;
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.4;
  animation: bounce 2s ease infinite;
}

/* ===========================
   SECTION DIVIDER
   =========================== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 1rem auto;
  padding: 0 2rem;
}

.divider-line {
  flex: 1;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.4), transparent);
}

.divider-diamond {
  font-size: 10px;
  color: var(--gold);
  opacity: 0.5;
}

/* ===========================
   SECTIONS COMMUNES
   =========================== */
section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--gris);
}

.section-dark {
  background: var(--noir);
  color: white;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.section-tag.light { color: rgba(200,169,110,0.8); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--noir);
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.section-title.light { color: white; }

.section-intro {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-bottom: 2rem;
  margin-top: -1.5rem;
}

.section-intro.light { color: rgba(255,255,255,0.7); }

/* ===========================
   PROGRAMME - TIMELINE
   =========================== */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--orange), var(--rose), var(--fushia), var(--jaune));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.tl-marker {
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--blanc);
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.08);
}

.tl-time {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.tl-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.15rem;
}

.tl-lieu {
  font-size: 0.82rem;
  color: var(--noir);
  opacity: 0.45;
  font-style: italic;
}

/* ===========================
   LIEU
   =========================== */
.lieu-card {
  border: 0.5px solid rgba(200,169,110,0.3);
  overflow: hidden;
  background: white;
}

.map-container {
  width: 100%;
  overflow: hidden;
  border-bottom: 0.5px solid rgba(200,169,110,0.2);
}

.map-container iframe { display: block; }

.lieu-info {
  padding: 1.8rem 2rem;
}

.lieu-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.lieu-info p {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.btn-maps {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-maps:hover {
  background: var(--gold);
  color: var(--blanc);
}

/* ===========================
   DRESS CODE
   =========================== */
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dresscode-card {
  padding: 2rem 1.8rem;
  border: 0.5px solid rgba(200,169,110,0.25);
  background: white;
  text-align: center;
}

.dc-icon {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.dresscode-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--noir);
}

.dresscode-card p {
  font-size: 0.85rem;
  color: var(--noir);
  opacity: 0.55;
  margin-bottom: 1rem;
}

.swatches {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0.8rem 0;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.dc-note {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold) !important;
  opacity: 0.8 !important;
  text-transform: uppercase;
  margin-bottom: 0 !important;
}

/* ===========================
   RSVP FORM
   =========================== */
.rsvp-form {
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(200,169,110,0.3);
  color: white;
  padding: 0.75rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-group select option { background: #2a2a2a; color: white; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,169,110,0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder { opacity: 0.35; }

.btn-rsvp {
  margin-top: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-rsvp:hover {
  background: var(--gold);
  color: var(--noir);
}

.rsvp-success {
  max-width: 560px;
  padding: 2rem;
  border: 0.5px solid rgba(200,169,110,0.4);
  color: rgba(255,255,255,0.8);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--noir);
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  border-top: 0.5px solid rgba(200,169,110,0.12);
}

.footer-logo {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(200,169,110,0.45);
  margin-bottom: 0.8rem;
}

footer p {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

.footer-sub {
  margin-top: 0.4rem;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  font-size: 0.8rem !important;
  opacity: 0.3 !important;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 9px; letter-spacing: 0.12em; }

  .countdown-wrap { gap: 0.8rem; }
  .cd-num { font-size: 1.8rem; }

  .form-row { grid-template-columns: 1fr; }
  .dresscode-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 2.2rem; }
  .tl-marker { left: -1.8rem; }
}
