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

:root {
  --black: #0a0a0a;
  --white: #f8f7f5;
  --gray-light: #ececea;
  --gray-mid: #b0afa9;
  --gray-dark: #3a3a38;
  --accent: #c8a96e;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(248,247,245,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--black);
  font-style: italic;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── HERO ── */
#accueil {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #f8f7f5 60%, #eeecea 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
}
.hero-line {
  width: 1px; height: 80px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
  animation: growLine 1s ease forwards;
}
@keyframes growLine { from { height: 0; opacity: 0; } to { height: 80px; opacity: 1; } }
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.3s both;
}
.hero-names {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  animation: fadeUp 0.8s 0.5s both;
}
.hero-amp {
  font-style: italic; color: var(--accent);
  display: block; font-size: 0.6em; line-height: 1.6;
}
.hero-date {
  margin-top: 1.5rem;
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gray-mid);
  animation: fadeUp 0.8s 0.7s both;
}
.hero-location {
  font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--gray-dark); margin-top: 0.5rem;
  animation: fadeUp 0.8s 0.85s both;
}
.countdown {
  display: flex; gap: 3rem; margin-top: 3.5rem;
  animation: fadeUp 0.8s 1s both;
}
.countdown-item { text-align: center; }
.countdown-num {
  font-family: var(--serif);
  font-size: 2.8rem; font-weight: 300; line-height: 1;
  color: var(--black);
}
.countdown-label {
  font-size: 0.58rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gray-mid);
  margin-top: 0.3rem;
}
.countdown-sep {
  font-family: var(--serif); font-size: 2.5rem;
  color: var(--accent); align-self: center;
  padding-bottom: 0.5rem;
}

/* ── RSVP ── */
.rsvp-section {
  margin-top: 4rem; width: 100%; max-width: 480px;
  animation: fadeUp 0.8s 1.1s both;
  position: relative; z-index: 1;
}
.rsvp-title {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gray-dark);
  margin-bottom: 1.5rem;
}
.rsvp-form { display: flex; flex-direction: column; gap: 1rem; }
.rsvp-row { display: flex; gap: 0.8rem; }
.rsvp-input {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1px solid var(--gray-light);
  background: white; font-family: var(--sans);
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--black); outline: none;
  transition: border-color 0.2s;
}
.rsvp-input:focus { border-color: var(--accent); }
.rsvp-input::placeholder { color: var(--gray-mid); }
.rsvp-select {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1px solid var(--gray-light);
  background: white; font-family: var(--sans);
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--black); outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b0afa9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  transition: border-color 0.2s;
}
.rsvp-select:focus { border-color: var(--accent); }
.rsvp-btn {
  padding: 0.9rem 2rem;
  background: var(--black); color: var(--white);
  border: none; font-family: var(--sans);
  font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.rsvp-btn:hover { background: var(--accent); }
.rsvp-success {
  display: none; padding: 1rem;
  background: var(--gray-light);
  font-size: 0.8rem; color: var(--gray-dark);
  letter-spacing: 0.05em; text-align: center;
}

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

/* ── PAGES ── */
.page {
  min-height: 100vh; padding: 8rem 3rem 6rem;
  position: relative;
}
.page:nth-child(even) { background: var(--gray-light); }
.page-inner { max-width: 900px; margin: 0 auto; }

.section-label {
  font-size: 0.6rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 3rem;
}
.section-divider {
  width: 40px; height: 1px;
  background: var(--accent); margin-bottom: 3rem;
}

/* ── INFOS ── */
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--gray-light);
}
.info-card {
  background: var(--white); padding: 2.5rem 2rem;
}
.info-card-label {
  font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gray-mid);
  margin-bottom: 0.8rem;
}
.info-card-value {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 300; color: var(--black);
  line-height: 1.4;
}
.info-card-sub {
  font-size: 0.78rem; color: var(--gray-mid);
  margin-top: 0.4rem;
}

/* ── HÉBERGEMENTS ── */
.hotels-list { display: flex; flex-direction: column; gap: 1px; background: #ddd; }
.hotel-item {
  background: var(--white); padding: 2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem;
}
.hotel-name {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 300; margin-bottom: 0.3rem;
}
.hotel-addr { font-size: 0.8rem; color: var(--gray-mid); }
.hotel-dist {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  white-space: nowrap; padding-top: 0.4rem;
}
.hotel-stars { color: var(--accent); font-size: 0.8rem; margin-top: 0.2rem; }

/* ── ACCÈS ── */
.acces-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.acces-block-title {
  font-family: var(--serif); font-size: 1.2rem;
  margin-bottom: 1rem; font-weight: 300;
}
.acces-steps { list-style: none; counter-reset: steps; }
.acces-steps li {
  counter-increment: steps;
  padding: 0.8rem 0 0.8rem 2.5rem;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
  font-size: 0.85rem; color: var(--gray-dark);
}
.acces-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute; left: 0; top: 0.8rem;
  font-family: var(--serif); font-size: 0.8rem;
  color: var(--accent);
}

/* ── PROGRAMME ── */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 0.6rem; top: 0; bottom: 0;
  width: 1px; background: var(--gray-light);
}
.timeline-item {
  position: relative; padding: 0 0 3rem 2.5rem;
}
.timeline-dot {
  position: absolute; left: -2.45rem; top: 0.35rem;
  width: 10px; height: 10px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.timeline-time {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.3rem;
}
.timeline-event {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 300; margin-bottom: 0.3rem;
}
.timeline-desc { font-size: 0.82rem; color: var(--gray-mid); }

/* ── MENU ── */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.menu-course-label {
  font-size: 0.58rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gray-light);
}
.menu-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.menu-item-name {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 300;
}
.menu-item-desc { font-size: 0.78rem; color: var(--gray-mid); margin-top: 0.2rem; }
.menu-wine {
  margin-top: 3rem; padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
  grid-column: 1 / -1;
}
.menu-wine-title {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 300; margin-bottom: 1.5rem;
}
.wine-list { display: flex; gap: 3rem; flex-wrap: wrap; }
.wine-name {
  font-family: var(--serif); font-size: 1rem;
  font-weight: 300;
}
.wine-desc { font-size: 0.75rem; color: var(--gray-mid); }

/* ── FOOTER ── */
footer {
  background: var(--black); color: var(--white);
  text-align: center; padding: 3rem;
}
footer .footer-names {
  font-family: var(--serif); font-size: 1.5rem;
  font-style: italic; font-weight: 300;
  color: var(--accent);
}
footer p {
  font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--gray-mid); margin-top: 0.8rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.6rem; }
  .page { padding: 7rem 1.5rem 4rem; }
  .info-grid, .acces-grid, .menu-grid { grid-template-columns: 1fr; }
  .countdown { gap: 1.5rem; }
  .rsvp-row { flex-direction: column; }
  .hotel-item { flex-direction: column; }
  .menu-wine { grid-column: auto; }
}
