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

:root {
  --green:      #9FBE9A; /* vert MIH : accents, filets, fonds de boutons */
  --green-text: #52764c; /* même teinte, assombrie : textes fins sur fond clair (≥4.5:1) */
  --green-tint: #f1f7f1; /* fond très clair (encadré) */
  --on-green:   #1a1a1a; /* texte sur fond vert (8.5:1) */
  --cream:   #faf8f4;
  --white:   #ffffff;
  --dark:    #1a1a1a;
  --mid:     #4a4a4a;
  --light:   #8a8a8a;
  --border:  #e8e2d9;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --section-pad: 100px;
  --radius: 4px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 40px;
}
h2 em { font-style: italic; color: var(--green-text); }

h3 { font-size: 1.3rem; margin-bottom: 10px; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 16px;
  display: block;
}

.section-intro {
  max-width: 560px;
  color: var(--mid);
  margin-bottom: 60px;
  font-size: 1.05rem;
}

.center { text-align: center; }
.center.section-intro { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--on-green);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--green);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-text); border-color: var(--green-text); color: var(--white); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green-text);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 26px;
  border: 1px solid var(--green);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--green); color: var(--on-green); }

.link-underline {
  font-size: 0.85rem;
  color: var(--green-text);
  border-bottom: 1px solid var(--green);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.link-underline:hover { color: var(--dark); }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
}
#navbar ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  list-style: none;
  height: 70px;
}
#navbar a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled a { color: var(--dark); }
#navbar a:hover { color: var(--green); }
#navbar.scrolled a:hover { color: var(--green-text); }
#navbar .nav-cta {
  border: 1px solid rgba(255,255,255,0.6);
  padding: 8px 20px;
  color: var(--white);
}
#navbar.scrolled .nav-cta { border-color: var(--green); color: var(--green-text); }
#navbar .nav-cta:hover,
#navbar.scrolled .nav-cta:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }
#navbar .nav-lang {
  font-size: 0.65rem;
  opacity: 0.6;
  letter-spacing: 0.15em;
}
#navbar .nav-lang:hover { opacity: 1; color: var(--green); }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/corse/piantarella.jpg') center center / cover no-repeat;
  background-color: #2a3a35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 24px;
}
#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
}
#hero h1 .hero-name {
  display: block;
  white-space: nowrap;
}
#hero h1 .hero-amp {
  font-style: italic;
  color: var(--green);
  display: block;
  font-size: 0.42em;
  margin: 10px 0 8px;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--green);
  margin: 32px auto;
}
.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.hero-location {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 48px;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── PRESENTATION ─── */
#presentation {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.presentation-photo {
  position: relative;
}
.parallax-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.parallax-wrap.welcome-photo {
  aspect-ratio: 4 / 5;
}
.parallax-wrap img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  display: block;
}
.parallax-wrap.welcome-photo img {
  object-position: 78% 18%;
}
/* Photo « Le grand jour » (portrait 427×640, ratio 2:3) : cadre au même ratio, photo entière (parallax désactivé pour ne rien rogner) */
/* Photo d'accueil (paysage 4:3) dans un cadre 3:4 : recadrée à droite pour garder la mariée ET le marié */
.parallax-wrap.couple-photo { aspect-ratio: 3 / 4; }
.parallax-wrap.couple-photo img { height: 100%; object-position: 100% 50%; transform: none !important; }
.photo-frame {
  position: absolute;
  top: 20px; left: 20px;
  right: -20px; bottom: -20px;
  border: 1px solid var(--green);
  z-index: 0;
}
.presentation-text p {
  color: var(--mid);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.presentation-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.presentation-en {
  color: var(--light);
  font-size: 0.97rem;
}

.signature {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--green-text);
  margin-top: 32px;
}

.adults-note {
  font-size: 0.98rem;
  color: var(--mid);
  background: var(--cream);
  border-left: 2px solid var(--green);
  padding: 16px 18px;
  margin-top: 8px;
}

/* ─── PLANNING ─── */
#planning {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-top: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 0 1fr;
  gap: 0 40px;
  margin-bottom: 56px;
  align-items: start;
}
.timeline-time {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-text);
  text-align: right;
  padding-top: 2px;
}
.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--cream);
  outline: 1px solid var(--green);
  margin: 5px -5px;
  position: relative;
  z-index: 1;
}
.timeline-body h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.timeline-body p { color: var(--mid); font-size: 0.95rem; margin-bottom: 8px; }
.timeline-day-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-green);
  background: var(--green);
  display: inline-block;
  padding: 6px 16px;
  margin-left: 140px;
  margin-bottom: 8px;
}
.timeline-day-sublabel {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green-text);
  display: block;
  margin-left: 140px;
  margin-bottom: 36px;
}

.timeline-place {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
}

/* ─── HÉBERGEMENTS ─── */
#hebergements {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
/* Si nombre impair, on centre la dernière carte sur sa ligne */
.hotels-grid > .hotel-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
  justify-self: center;
}
.hotel-card {
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.hotel-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.hotel-card.featured { border-color: var(--green); }
.hotel-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green);
  color: var(--on-green);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 2;
}
.hotel-img {
  height: 280px;
  background: #ccc center/cover no-repeat;
  background-color: #d4c9b8;
}
.hotel-img-empty {
  background: repeating-linear-gradient(
    135deg,
    #efe8dc,
    #efe8dc 12px,
    #e4dccf 12px,
    #e4dccf 24px
  );
  position: relative;
}
.hotel-img-empty::after {
  content: "Photo à venir";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light);
}
.hotel-card.hotel-placeholder:hover .hotel-img {
  transform: none;
}
.btn-outline.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}
.hotel-info {
  padding: 24px;
}
.hotel-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.hotel-stars { color: var(--green-text); font-size: 0.8rem; margin-bottom: 12px; }
.hotel-info p { font-size: 0.9rem; color: var(--mid); margin-bottom: 16px; }
.hotel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.hotel-meta span { font-size: 0.82rem; color: var(--light); }

.hotel-promo {
  background: var(--green-tint);
  border: 1px dashed var(--green);
  padding: 14px 16px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.hotel-promo-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 6px;
}
.hotel-promo-code {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--green-text);
  letter-spacing: 0.04em;
  margin-right: 6px;
}
.hotel-promo .hotel-promo-desc {
  display: block;
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--mid);
}
.hotel-promo .hotel-promo-contact {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--mid);
}
.hotel-promo .hotel-promo-contact a {
  color: var(--green-text);
  border-bottom: 1px solid var(--green);
  transition: color var(--transition);
}
.hotel-promo .hotel-promo-contact a:hover { color: var(--dark); }

/* ─── INFOS UTILES ─── */
#infos {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: box-shadow var(--transition);
}
.info-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.info-icon { font-size: 1.8rem; margin-bottom: 16px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.info-card p { font-size: 0.9rem; color: var(--mid); margin-bottom: 8px; }
.info-card a {
  color: var(--green-text);
  border-bottom: 1px solid var(--green);
  transition: color var(--transition);
}
.info-card a:hover { color: var(--dark); }
.info-card .taxi-reco a { word-break: break-word; }

/* Netlify honeypot (invisible to users, visible to bots) */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ─── MAP ─── */
#map {
  padding: var(--section-pad) 0 0;
  background: var(--white);
}
#leaflet-map {
  height: 480px;
  width: 100%;
  margin-top: 40px;
  filter: saturate(0.85);
}
.map-legend {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--mid);
}
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-rose  { background: #b56a6a; }
.dot-blue  { background: #4a7fb5; }
.dot-green { background: #5a8a5a; }
.dot-muted { background: #c5beb3; }
.dot-violet { background: #8a6aa8; }
.dot-teal  { background: #2f7f86; }

/* ─── RSVP ─── */
#rsvp {
  padding: var(--section-pad) 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.rsvp-container { max-width: 680px; }

#rsvp-form { margin-top: 48px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 13px 16px;
  transition: border-color var(--transition);
  appearance: none;
  outline: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-text); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--light);
  margin: -4px 0 10px;
}
.form-error {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: #a94442;
}
#jours-group {
  flex-direction: column;
  align-items: stretch;
}
#jours-group .checkbox-label {
  width: 100%;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.radio-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 9px 18px;
  background: var(--white);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.radio-label:hover {
  border-color: var(--green);
  color: var(--dark);
}
.radio-label input[type="radio"] {
  display: none;
}
.radio-label:has(input:checked) {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}

/* Checkboxes en style chips */
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 9px 18px;
  background: var(--white);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.checkbox-label:hover {
  border-color: var(--green);
  color: var(--dark);
}
.checkbox-label input[type="checkbox"] {
  display: none;
}
.checkbox-label:has(input:checked) {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}

.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn-primary { font-size: 0.75rem; padding: 18px 48px; border: none; cursor: pointer; }

.form-success {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--green);
  color: var(--mid);
  font-size: 1rem;
}
.hidden { display: none; }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 60px 40px;
  text-align: center;
}
.footer-names {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--green);
  margin-bottom: 8px;
}
.footer-date {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-love { font-size: 0.78rem; opacity: 0.4; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ENTRANCE ─── */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow              { animation: heroEnter 0.9s ease both; animation-delay: 0.3s; }
#hero h1                   { animation: heroEnter 1s ease both;   animation-delay: 0.6s; }
.hero-divider              { animation: heroEnter 0.8s ease both; animation-delay: 1s; }
.hero-date                 { animation: heroEnter 0.8s ease both; animation-delay: 1.15s; }
.hero-location             { animation: heroEnter 0.8s ease both; animation-delay: 1.3s; }
.hero-content .btn-primary { animation: heroEnter 0.8s ease both; animation-delay: 1.5s; }

/* ─── TIMELINE LINE DRAW ─── */
.timeline::before {
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline.line-visible::before {
  transform: scaleY(1);
}

/* ─── HOTEL IMAGE ZOOM ─── */
.hotel-card { overflow: hidden; }
.hotel-img { transition: transform 0.55s ease; }
.hotel-card:hover .hotel-img { transform: scale(1.06); }

/* ─── NAV ACTIVE ─── */
#navbar a.active { color: var(--green); }
#navbar.scrolled a.active { color: var(--green-text); }

/* ─── BUTTON RIPPLE ─── */
.btn-primary,
.btn-outline { position: relative; overflow: hidden; }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  width: 0; height: 0;
  transform: translate(-50%, -50%);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { width: 220px; height: 220px; opacity: 0; }
}

/* ─── REDUCE MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── NAV TOGGLE (hamburger) ─── */
.nav-toggle { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
  #navbar ul { gap: 22px; padding: 0 16px; }
  #navbar a { font-size: 0.65rem; }
}

@media (max-width: 900px) {
  .presentation-grid { grid-template-columns: 1fr; gap: 60px; }
  .photo-frame { display: none; }
  .hotels-grid { grid-template-columns: 1fr; }
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 80px; }
  .timeline-item { grid-template-columns: 80px 0 1fr; }
  .timeline-day-label,
  .timeline-day-sublabel { margin-left: 100px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 70px; }
  .container { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .infos-grid { grid-template-columns: 1fr; }
  .map-legend { flex-direction: column; gap: 16px; }
  .timeline::before { left: 50px; }
  .timeline-item { grid-template-columns: 50px 0 1fr; gap: 0 20px; }
  .timeline-day-label { font-size: 1.5rem; margin-left: 70px; }
  .timeline-day-sublabel { margin-left: 70px; }
  #hero h1 { font-size: clamp(1.7rem, 8.4vw, 2.6rem); }

  /* Chips : pleine largeur sur mobile */
  .radio-group,
  .checkbox-group { gap: 10px; }
  .radio-label,
  .checkbox-label { width: 100%; justify-content: center; }

  /* Hamburger */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 110;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  #navbar.scrolled .nav-toggle span { background: var(--dark); }
  .nav-toggle.open span { background: var(--dark); } /* croix visible sur le menu ouvert (fond blanc), même en haut de page */

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(0, 6.5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(0, -6.5px); }

  #navbar ul {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    height: 100dvh;
    z-index: 105;
  }
  #navbar ul.open { display: flex; }
  #navbar ul.open a { color: var(--dark); font-size: 0.75rem; letter-spacing: 0.2em; }
  #navbar ul.open .nav-cta { border-color: var(--green); color: var(--green-text); }
}

/* ─── PROGRAMME : blocs « Activités à la carte » / « Programme du mariage » ─── */
.programme-block { max-width: 680px; margin: 0 auto; }
.programme-block + .programme-block { margin-top: 72px; }
.programme-block-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  text-align: center;
  margin-bottom: 8px;
}
.programme-block-rule {
  width: 48px; height: 1px;
  background: var(--green);
  margin: 0 auto 40px;
}
.carte-list { list-style: none; border-top: 1px solid var(--border); }
.carte-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0 28px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.carte-day {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-text);
}
.carte-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  line-height: 1.4;
}
.programme-block .timeline { padding-top: 0; }
.timeline-time:empty { visibility: hidden; }

@media (max-width: 640px) {
  .carte-item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .programme-block + .programme-block { margin-top: 56px; }
  .timeline-item .timeline-time { font-size: 0.95rem; }
}

/* Mobile : colonne horaire plus large (« à partir de 18h30 »), étiquettes de jour à taille normale */
@media (max-width: 640px) {
  .timeline::before { left: 78px; }
  .timeline-item { grid-template-columns: 78px 0 1fr; gap: 0 18px; margin-bottom: 40px; }
  .timeline-item .timeline-time { font-size: 0.92rem; line-height: 1.3; }
  .timeline-day-label { font-size: 0.66rem; margin-left: 96px; }
  .timeline-day-sublabel { margin-left: 96px; font-size: 1.3rem; margin-bottom: 26px; }
}
/* Lisibilité du titre sur la nouvelle photo, très lumineuse */
.hero-content { text-shadow: 0 1px 18px rgba(0,0,0,0.28); }
#hero h1 .hero-amp { color: var(--green); font-weight: 400; text-shadow: 0 0 2px rgba(0,0,0,0.7), 0 1px 14px rgba(0,0,0,0.65); }
.hero-divider { box-shadow: 0 0 6px rgba(0,0,0,0.35); }

/* 0710 : tarifs activités + hébergements */
.carte-price{display:block;margin-top:.3em;font-size:.88em;font-style:italic;opacity:.75}
.hotels-grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));max-width:760px;margin-left:auto;margin-right:auto}
.hotels-more{margin-top:2.5rem;overflow-wrap:anywhere}
.hotels-more a{text-decoration:underline;color:inherit}

/* 0810 : bouton cagnotte dans la carte */
.info-card a.info-card-btn { margin-top: 12px; border: 1px solid var(--green); text-align: center; }
.info-card a.info-card-btn:hover { color: var(--on-green); }

/* ═══════════ v11 — modifs Audrey 16/10 ═══════════ */
:root { --sea: #2f6f86; --sea-tint: #eef5f7; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.small-note { font-size: .85rem; color: var(--mid); margin: 8px 0 16px; }

/* Placeholders bien visibles */
.todo { background: #fff3b0; color: #7a4b00; font-weight: 500; padding: 1px 6px; border-radius: 3px; }
.todo.block { display: inline-block; margin: 12px auto; padding: 8px 14px; border: 1px dashed #d9a400; }
p.todo.block { display: block; max-width: 680px; }
.todo.small { display: block; font-size: .75rem; margin-top: 4px; width: fit-content; }
.todo-img { background: repeating-linear-gradient(45deg,#fff8d6,#fff8d6 10px,#fff3b0 10px,#fff3b0 20px); display:flex; align-items:center; justify-content:center; text-align:center; color:#7a4b00; font-size:.8rem; font-weight:500; padding: 12px; }
.hotel-img-empty span { position: relative; z-index: 1; color:#7a4b00; font-size:.8rem; font-weight:500; background:#fff3b0; padding:2px 6px; }

/* Compte à rebours discret */
.countdown { display: flex; gap: 28px; justify-content: center; margin: 0 0 40px; font-family: var(--font-serif); }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.countdown span { font-size: 1.9rem; font-weight: 300; line-height: 1; }
.countdown small { font-family: var(--font-sans); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; opacity: .75; margin-top: 6px; }

/* Photos défilantes */
#galerie { background: var(--white); padding: 0 0 60px; overflow: hidden; }
.marquee { position: relative; }
.marquee-viewport { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.marquee-viewport::-webkit-scrollbar { display: none; }
.marquee-viewport.dragging { cursor: grabbing; user-select: none; }
.marquee-viewport:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.marquee-track { display: flex; gap: 14px; width: max-content; }
.marquee-track img { user-select: none; -webkit-user-drag: none; }
/* Galerie : jamais plus grand que la taille réelle de la photo (pas d'agrandissement) */
.marquee-track img { max-height: none; flex: none; }
.marquee-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--dark); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.marquee-arrow:hover { background: #fff; }
.marquee-prev { left: 14px; }
.marquee-next { right: 14px; }
@media (max-width: 640px) { .marquee-arrow { width: 36px; height: 36px; font-size: 1.4rem; } .marquee-prev { left: 8px; } .marquee-next { right: 8px; } }
.marquee-track img { height: 300px; width: auto; border-radius: var(--radius); object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Détail méditerranéen : vague fine */
.wave-divider { height: 18px; margin: 0 auto 28px; width: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M0 9 Q10 0 20 9 T40 9 T60 9 T80 9 T100 9 T120 9' fill='none' stroke='%232f6f86' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .7; }

/* Lettres (textes longs) */
#intentions, #conclusion { padding: var(--section-pad) 0; background: var(--cream); }
.letter p { font-size: 1.02rem; line-height: 1.85; color: var(--mid); margin-bottom: 18px; }
.letter strong { color: var(--dark); font-weight: 500; }
.letter-sign { margin-top: 32px; }

/* Bandeaux photo Corse */
.photo-band { height: 46vh; min-height: 260px; background: center/cover no-repeat fixed; }
@media (max-width: 900px) { .photo-band { background-attachment: scroll; height: 34vh; } }

/* Programme : cartes événements */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.event-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event-img { aspect-ratio: 16/9; }
.event-body { padding: 24px 26px 28px; }
.event-day { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sea); margin-bottom: 6px; }
.event-meta { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--mid); margin: 6px 0; }
.event-meta svg, .tab svg, .info-icon svg { width: 18px; height: 18px; color: var(--sea); flex: none; }
.info-icon svg { width: 30px; height: 30px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.cal-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-btn { font-size: .72rem; letter-spacing: .06em; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--mid); transition: var(--transition); }
.cal-btn:hover { border-color: var(--sea); color: var(--sea); }

/* Dress code */
#dresscode { padding: var(--section-pad) 0; background: var(--white); }
.dress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.dress-card { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.dress-card h3 { font-size: 1.35rem; }
.dress-card h4 { font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; margin: 18px 0 6px; }
.dress-card p { font-size: .9rem; color: var(--mid); margin-bottom: 10px; line-height: 1.7; }
.dress-theme { font-size: .72rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--dark) !important; margin: 4px 0 16px !important; }
.dress-white { background: #ffffff; box-shadow: inset 0 0 0 6px #f6f4ef; }
.dress-pastel { background: #f6efe9; }
.dress-dolce { background: var(--sea-tint); }

/* Activités */
#activites { padding: var(--section-pad) 0; background: var(--cream); }
.carte-sub { font-style: italic; text-align: center; margin: 32px 0 8px; }
.carte-price { font-weight: 500; color: var(--sea); letter-spacing: .1em; }

/* Hébergements */
.hotels-grid-3 { grid-template-columns: repeat(3, 1fr); }
.other-title { margin-top: 56px; }

/* Onglets Venir à Bonifacio */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; flex-wrap: wrap; }
.tab { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; background: none; border: 1px solid var(--border); padding: 12px 22px; cursor: pointer; color: var(--mid); border-radius: 999px; }
.tab.active { border-color: var(--sea); color: var(--sea); background: var(--sea-tint); }
.tab-panel { max-width: 720px; margin: 28px auto 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.tab-panel p { color: var(--mid); margin-bottom: 10px; }
.tab-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cagnotte-card { max-width: 720px; margin: 40px auto 0; }

/* Carte */
.poi-icon { background: none; border: none; }
.city-label { background: rgba(255,255,255,.9); border: none; font-family: var(--font-serif); font-size: .95rem; box-shadow: none; }

/* FAQ */
#faq { padding: var(--section-pad) 0; background: var(--white); }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.15rem; }

.footer-credits { font-size: .65rem; opacity: .5; margin-top: 14px; max-width: 700px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .events-grid, .dress-grid, .hotels-grid-3 { grid-template-columns: 1fr; }
  .marquee-track img { height: 200px; }
  .countdown { gap: 18px; }
  .countdown span { font-size: 1.5rem; }
}

/* Photos des lieux et des hôtels (retours 22/10) */
.event-img { overflow: hidden; background: var(--border); }
.event-img picture, .hotel-img picture { display: block; width: 100%; height: 100%; }
.event-img img, .hotel-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hotel-img { overflow: hidden; }

/* Encart décroché « L'esprit de… » dans les colonnes du dress code */
.dress-card { display: flex; flex-direction: column; }
.dress-esprit { margin: 24px 6px 6px; padding: 18px 20px 16px; background: rgba(255,255,255,.75); border: 1px solid var(--green); box-shadow: 0 0 0 6px var(--green-tint); position: relative; }
.dress-card > p:last-of-type { margin-bottom: 22px; }
.dress-esprit h4 { margin: 0 0 6px !important; font-style: italic; color: var(--green-text); }
.dress-card .dress-esprit-soon { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--light); margin: 0; letter-spacing: .02em; }

.rsvp-deadline { color: var(--mid); margin: 4px auto 28px; }
/* Grilles à 3 colonnes : la règle « dernière carte impaire centrée » ne s'applique pas (3 cartes sur une ligne) */
.hotels-grid-3 > .hotel-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; justify-self: stretch; }
.dress-esprit p { font-size: .88rem; }
.dress-esprit p:last-child { margin-bottom: 0; }

/* Retours des mariés 23/10 */
.adults-only { margin: 22px 0 8px; padding: 18px 22px; border: 1px solid var(--green); background: var(--green-tint); border-radius: var(--radius); }
.adults-only p { margin: 0; }
.adults-only .adults-only-label { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-text); margin-bottom: 6px; }
.photo-caption { position: relative; z-index: 2; margin-top: 34px; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--mid); text-align: center; }
@media (max-width: 900px) { .photo-caption { margin-top: 12px; } }
.dress-title { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; letter-spacing: .04em; margin: 48px 0 0; }
.dress-title + .dress-grid { margin-top: 28px; }
.carte-time { display: block; margin-top: 4px; font-size: .95rem; letter-spacing: .06em; color: var(--dark); }
@media (max-width: 640px) { .carte-time { display: inline; margin: 0 0 0 10px; } }
.carte-time { text-transform: none; font-weight: 400; }
.hotel-distance { display: flex; align-items: center; gap: 8px; font-size: .85rem !important; color: var(--mid); margin: -6px 0 18px !important; }
.hotel-distance svg { width: 16px; height: 16px; color: var(--sea); flex: none; }
.hotel-distance .todo { color: var(--light); font-style: italic; }
@media (min-width: 901px) { .hotels-grid-3 > .hotel-card:nth-child(4):last-child { grid-column: 2; } }
.photo-stack { position: relative; }
#villa-itineraire[hidden] { display: none !important; }
.agence-sperone { max-width: 760px; margin: 2.5rem auto 0; text-align: center; }
.agence-sperone p { color: var(--mid); margin-bottom: 14px; }

/* Le Dune (photo 399×501 fournie par Livia le 29/10) : cadrage sur la mer et la table, sans agrandir au-delà de la colonne */
.event-img-dune img { object-position: 50% 62%; }
