:root {
  --pink: #E10E72;
  --pink-light: #f5c6de;
  --pink-pale: #fdf0f7;
  --pink-dark: #b00a5a;
  --white: #ffffff;
  --off-white: #fafafa;
  --black: #111;
  --gray: #666;
  --gray-light: #e8e8e8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── CONFETTI BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(225,14,114,0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(225,14,114,0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ── HERO BANNER ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

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

.hero-deco::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,14,114,0.12) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-deco::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,14,114,0.08) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.confetti-dots {
  position: absolute;
  width: 100%; height: 100%;
}

.confetti-dots span {
  position: absolute;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.15;
  animation: floatDot linear infinite;
}

@keyframes floatDot {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-20px) rotate(720deg); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.logo-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 1.2s ease forwards;
}

.logo-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--pink);
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 30px rgba(225,14,114,0.2);
}

.logo-main::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(225,14,114,0.3);
  transform: translate(4px, 4px);
  z-index: -1;
}

.logo-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gray);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.logo-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--pink);
  text-transform: uppercase;
  margin-top: 24px;
  opacity: 0.7;
}

.hero-date-badge {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--pink);
  color: white;
  padding: 14px 32px;
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 30px rgba(225,14,114,0.35);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(225,14,114,0.35); }
  50% { box-shadow: 0 12px 40px rgba(225,14,114,0.55); }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  opacity: 0.5;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-hint::after {
  content: '↓';
  font-size: 1.2rem;
}

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

/* ── SECTIONS GÉNÉRALES ── */
section {
  position: relative;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.full-bleed {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 24px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--pink);
  margin: 24px 0;
  border-radius: 2px;
}

/* ── SÉPARATEUR DÉCORATIF ── */
.wave-sep {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}

/* ── VIDÉO ── */
#video {
  background: var(--pink-pale);
  max-width: 100%;
  padding: 80px 40px;
  text-align: center;
}

#video .inner {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(225,14,114,0.2);
  border: 2px solid rgba(225,14,114,0.15);
  background: #f0d9e8;
  margin-top: 40px;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--pink);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
}

.video-play-icon {
  width: 80px; height: 80px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.video-play-icon:hover {
  background: var(--pink);
  color: white;
  transform: scale(1.1);
}

/* Remplacez le placeholder par votre iframe YouTube/Vimeo */
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── TEXTE ── */
#message {
  text-align: center;
}

#message .message-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
}

#message .message-body strong {
  color: var(--pink);
  font-weight: 600;
}

#message .message-signature {
  margin-top: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--pink);
}

/* ── GALERIE ── */
#galerie {
  max-width: 100%;
  padding: 80px 40px;
  background: var(--white);
}

#galerie .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}

.photo-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--pink-pale);
  border: 2px dashed rgba(225,14,114,0.25);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--pink);
  font-size: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.photo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(225,14,114,0.2);
}

.photo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Affiché quand vous ajoutez des vraies images */
}

.photo-item .photo-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

.photo-item .photo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--pink);
  opacity: 0.6;
  letter-spacing: 0.1em;
}

.photo-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.photo-item:nth-child(5) { grid-column: span 2; aspect-ratio: 16/9; }

/* ── FORMULAIRE ── */
#rsvp {
  background: var(--pink);
  max-width: 100%;
  padding: 80px 40px;
  color: white;
}

#rsvp .inner {
  max-width: 750px;
  margin: 0 auto;
}

#rsvp .section-label { color: rgba(255,255,255,0.6); }
#rsvp .section-title { color: white; }
#rsvp .section-divider { background: rgba(255,255,255,0.4); }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 14px 18px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
  outline: none;
  backdrop-filter: blur(4px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

.form-group select option {
  background: var(--pink-dark);
  color: white;
}

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

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.radio-option:hover, .radio-option.selected {
  background: rgba(255,255,255,0.2);
  border-color: white;
}

.radio-option input[type="radio"] { accent-color: white; }

.submit-btn {
  margin-top: 32px;
  width: 100%;
  padding: 18px;
  background: white;
  color: var(--pink);
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ── CADEAUX ── */
#cadeaux {
  text-align: center;
}

.gift-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.gift-card {
  border: 1.5px solid var(--pink-light);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
  background: white;
}

.gift-card:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 30px rgba(225,14,114,0.12);
  transform: translateY(-4px);
}

.gift-card .gift-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.gift-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.gift-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
}

.gift-card .gift-detail {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--pink-pale);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--pink-dark);
  font-weight: 500;
}

/* ── INFOS PRATIQUES ── */
#pratique {
  background: var(--off-white);
  max-width: 100%;
  padding: 80px 40px;
}

#pratique .inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.info-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--pink);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.info-card .info-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.info-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

.info-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}

.info-card .info-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.5;
}

/* ── LIEU ── */
#lieu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.lieu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: var(--pink-pale);
  border: 2px dashed rgba(225,14,114,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--pink);
  font-size: 3rem;
  overflow: hidden;
}

.map-placeholder span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Décommentez et remplacez pour intégrer Google Maps */
.map-placeholder iframe {
  width: 100%; height: 100%;
  border: none;
  border-radius: 18px;
  display: none;
}

.lieu-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.lieu-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.lieu-detail .lieu-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--pink);
}

.itinerary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid var(--pink);
  border-radius: 30px;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.itinerary-btn:hover {
  background: var(--pink);
  color: white;
}

/* ── DIVERS ── */
#divers {
  background: var(--pink-pale);
  max-width: 100%;
  padding: 80px 40px;
}

#divers .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.divers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.divers-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(225,14,114,0.08);
}

.divers-card .divers-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.divers-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.divers-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 60px 20px 40px;
  border-top: 1px solid var(--pink-light);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  display: block;
  margin-bottom: 8px;
}

footer p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 60px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-item:nth-child(1),
  .photo-item:nth-child(5) { grid-column: span 2; }
  .lieu-content { grid-template-columns: 1fr; }
  #galerie, #pratique, #rsvp, #divers, #video { padding: 60px 16px; }
}

@media (max-width: 500px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-item:nth-child(1),
  .photo-item:nth-child(5) { grid-column: span 1; }
}
