:root {
  /* ═══════════════════════════════════════ */
  /*   PALETTE VERTE NATURELLE               */
  /* ═══════════════════════════════════════ */
  --sage:        #A3B18A;
  --sage-light:  #C7D3B5;
  --sage-pale:   #DDE8CE;
  --olive:       #87986A;
  --olive-dark:  #5C6B5A;
  --forest:      #2F3A2E;

  --blush:       #E8CFCB;
  --rose-dust:   #DDB6B0;
  --rose-deep:   #C4897F;

  --cream:       #FFFDF8;
  --ivory:       #F4EEE6;
  --white:       #ffffff;

  /* Textes */
  --text-dark:          #2F3A2E;
  --text-main:          #5C6B5A;
  --text-soft:          #7A8A78;

  --text-on-dark:       #F4EEE6;
  --text-on-dark-soft:  rgba(244, 238, 230, 0.92);
  --text-on-dark-muted: rgba(244, 238, 230, 0.72);
  --text-on-dark-rose:  #E8CFCB;
  --text-on-dark-sage:  #C7D3B5;

  --accent-title:    #F4EEE6;
  --accent-subtitle: #C7D3B5;
  --accent-icon:     #E8CFCB;
  --accent-link:     #DDE8CE;

  --border-soft:   rgba(92, 107, 90, 0.14);
  --border-olive:  rgba(135, 152, 106, 0.26);
  --border-gold:   rgba(163, 177, 138, 0.38);
  --border-rose:   rgba(196, 137, 127, 0.28);

  --shadow:       0 16px 40px rgba(47, 58, 46, 0.10);
  --shadow-hover: 0 24px 55px rgba(47, 58, 46, 0.18);
  --shadow-dark:  0 20px 48px rgba(20, 30, 20, 0.32);

  --radius:     26px;
  --transition: all 0.35s ease;
  --container:  1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at top left,  rgba(163, 177, 138, 0.32), transparent 32%),
    radial-gradient(circle at bottom right, rgba(232, 207, 203, 0.25), transparent 38%),
    var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

body.intro-active { overflow: hidden; }

img, iframe { max-width: 100%; display: block; }
a { text-decoration: none; }
button, input, textarea, select { font: inherit; }
main { overflow: hidden; }

.main-content {
  position: relative;
  z-index: 2;
  background: var(--cream);
  animation: mainFade 1.1s ease;
}

.hidden  { display: none; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ═══════════════════════════════════════ */
/*   BOUTON MUSIQUE                        */
/* ═══════════════════════════════════════ */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 238, 230, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(135, 152, 106, 0.28);
  box-shadow: 0 10px 25px rgba(47, 58, 46, 0.18);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

body.intro-finished .music-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.music-toggle:hover { transform: translateY(0) scale(1.08); }

.music-toggle i {
  font-size: 1.2rem;
  color: var(--forest);
}

/* ═══════════════════════════════════════ */
/*   INTRO SCREEN                          */
/* ═══════════════════════════════════════ */
.intro-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  background: var(--forest);
  overflow: hidden;
  z-index: 5000;
}

.intro-screen.is-finished {
  position: relative;
  inset: auto;
  height: 100vh;
  min-height: 100dvh;
  z-index: 1;
}

.intro-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  transition: opacity 1.6s ease, transform 1.6s ease, visibility 1.6s ease;
}

.intro-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 58, 46, 0.15), rgba(47, 58, 46, 0.45));
  pointer-events: none;
  transition: opacity 1.4s ease;
}

.intro-cover,
.video-end-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-cover {
  z-index: 2;
  animation: gentlePulse 4.5s ease-in-out infinite;
}

.video-end-frame { z-index: 1; opacity: 1; }

.intro-open {
  color: rgba(244, 238, 230, 0.97);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  font-size: 1rem;
  font-weight: 500;
}

.intro-screen.is-opening .intro-trigger {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.intro-screen.is-opening .intro-trigger::after { opacity: 0; }
.intro-screen.is-finished .intro-trigger { display: none; }

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.012); }
}

/* ═══════════════════════════════════════ */
/*   FLOATING LOGO                         */
/* ═══════════════════════════════════════ */
.floating-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(150px, 14vw, 210px);
  height: clamp(150px, 14vw, 210px);
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  animation: logoSwim 26s ease-in-out infinite;
}

.floating-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  opacity: 0.96;
  filter: drop-shadow(0 8px 24px rgba(47, 58, 46, 0.30));
  animation: logoFloat 5.5s ease-in-out infinite;
}

body.logo-active .floating-logo {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.4s ease, visibility 1.4s ease;
}

@keyframes logoSwim {
  0%   { transform: translate3d(4vw,  10vh, 0); }
  20%  { transform: translate3d(70vw, 17vh, 0); }
  40%  { transform: translate3d(62vw, 60vh, 0); }
  60%  { transform: translate3d(14vw, 72vh, 0); }
  80%  { transform: translate3d(22vw, 34vh, 0); }
  100% { transform: translate3d(4vw,  10vh, 0); }
}

@keyframes logoFloat {
  0%   { transform: translateY(0)   rotate(-5deg) scale(1);    }
  25%  { transform: translateY(-8px) rotate(2deg)  scale(1.03); }
  50%  { transform: translateY(3px)  rotate(6deg)  scale(0.985);}
  75%  { transform: translateY(-6px) rotate(-2deg) scale(1.02); }
  100% { transform: translateY(0)   rotate(-5deg) scale(1);    }
}

/* ═══════════════════════════════════════ */
/*   SECTIONS                              */
/* ═══════════════════════════════════════ */
.section {
  position: relative;
  padding: 100px 0;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 238, 230, 0.82)),
    linear-gradient(135deg, rgba(199, 211, 181, 0.45), rgba(255, 255, 255, 0.88)),
    var(--cream);
  color: var(--text-dark);
}

/* ─── SECTION DARK : dégradé vert naturel ─── */
.section-dark {
  background: linear-gradient(135deg, var(--forest) 0%, var(--olive-dark) 55%, var(--olive) 100%);
  color: var(--text-on-dark);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(199, 211, 181, 0.12), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(232, 207, 203, 0.09), transparent 36%);
  pointer-events: none;
}

.section-dark > * { position: relative; z-index: 1; }

.section-with-banner { padding-top: 0; }

.full-banner {
  width: 100%;
  margin: 0 0 56px;
  overflow: hidden;
  position: relative;
}

.full-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(47, 58, 46, 0.20));
  pointer-events: none;
}

.section-banner-image {
  width: 100%;
  height: clamp(220px, 34vw, 440px);
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  transition: transform 1.4s ease;
}

.full-banner:hover .section-banner-image { transform: scale(1.06); }

/* ═══════════════════════════════════════ */
/*   SECTION HEAD                          */
/* ═══════════════════════════════════════ */
.section-head img {
  width: 100%;
  height: clamp(500px, 65vw, 850px);
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 20px;
  margin-bottom: 32px;
}
.section-head { margin-bottom: 46px; }

/* ═══════════════════════════════════════ */
/*   COUNTDOWN SECTION — image intégrée    */
/*   (sans espace, même fond que section)  */
/* ═══════════════════════════════════════ */
#countdownSection {
padding-top: 0 !important; /* Supprime l'espace interne du haut de la section */}

#countdownSection .countdown-banner {
 width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  display: block;
}

#countdownSection .countdown-banner img {
  width: 100%;
  max-height: 70vh; /* Empêche l'image de devenir gigantesque sur PC */
  object-fit: cover; /* Recadre proprement sans déformer ni laisser de blanc */
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, rgba(0,0,0,0.2) 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, rgba(0,0,0,0.2) 95%, transparent 100%);
}

#countdownSection .countdown-intro {
padding-top: 24px;  margin-top: 0 !important;
}

#countdownSection .countdown-intro .ornament {
  margin-top: 0;
  margin-bottom: 14px;
}
#countdownSection > .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#countdownSection .countdown-intro {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#countdownSection .section-head {
 margin-top: 0 !important;
  margin-bottom: 34px !important;
}


.ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--olive-dark);
  font-size: 0.9rem;
}

.ornament i {
  color: var(--rose-deep);
  font-size: 0.85rem;
}

.ornament-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
}

.ornament-light { color: var(--text-on-dark-sage); }

.ornament-light i { color: var(--text-on-dark-rose); }

.ornament-light .ornament-line {
  background: linear-gradient(to right, transparent, rgba(199, 211, 181, 0.90), transparent);
}

.section-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-label.light { color: var(--text-on-dark-sage); }

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--forest);
  font-weight: 700;
}

.section-title.light {
  color: var(--accent-title);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.section-arabic {
  font-family: "Amiri", serif;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--rose-deep);
}

.section-arabic.light { color: var(--text-on-dark-rose); }

.section-text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-main);
  font-size: 1.02rem;
}

.section-dark .section-text { color: var(--text-on-dark-soft); }

/* Textes sur fond sombre */
.light-text { color: var(--text-on-dark-soft) !important; }
.light-text strong { color: var(--accent-title); font-weight: 700; }

.rose-text  { color: var(--text-on-dark-rose) !important; }
.sage-text  { color: var(--text-on-dark-sage) !important; }

/* ═══════════════════════════════════════ */
/*   EVENT HIGHLIGHT                       */
/* ═══════════════════════════════════════ */
.event-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 38px;
  padding: 26px 28px;
  max-width: 720px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 238, 230, 0.92));
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
  text-align: left;
  backdrop-filter: blur(10px);
}

.event-highlight-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-dust), var(--olive));
  color: var(--white);
  font-size: 1.55rem;
  box-shadow: 0 10px 24px rgba(47, 58, 46, 0.20);
}

.event-highlight-content { flex: 1; }

.event-highlight-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
}

.event-highlight-content strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 6px;
  font-weight: 700;
}

.event-highlight-content p {
  color: var(--text-main);
  margin: 0;
}

/* ═══════════════════════════════════════ */
/*   COUNTDOWN                             */
/* ═══════════════════════════════════════ */
.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: nowrap;
}

.count-box {
  position: relative;
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 26px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 238, 230, 0.88));
  border: 1px solid var(--border-olive);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.count-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--sage), transparent);
}

.count-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.count-box span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--forest);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.count-box small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  color: var(--rose-deep);
  font-weight: 700;
}

/* ═══════════════════════════════════════ */
/*   CARDS                                 */
/* ═══════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.09), transparent 45%);
  pointer-events: none;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}

.card p { color: inherit; }

.card-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 1;
  font-weight: 700;
}

.card-subtitle i { margin-right: 8px; color: inherit; }

.card-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-light {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-gold);
  color: var(--text-dark);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-light h3        { color: var(--forest); }
.card-light .card-subtitle { color: var(--rose-deep); }
.card-light i         { color: var(--olive); }

.card-light:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(135, 152, 106, 0.38);
}

.card-dark {
  background: rgba(244, 238, 230, 0.08);
  border: 1px solid rgba(199, 211, 181, 0.18);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.card-dark h3          { color: var(--accent-title); }
.card-dark .card-subtitle { color: var(--text-on-dark-rose); }
.card-dark i           { color: var(--text-on-dark-sage); }

.card-dark p,
.card-dark .card-line  { color: var(--text-on-dark-soft); }

.card-dark:hover {
  transform: translateY(-12px);
  border-color: rgba(199, 211, 181, 0.40);
  background: rgba(244, 238, 230, 0.12);
}

/* ═══════════════════════════════════════ */
/*   LIENS                                 */
/* ═══════════════════════════════════════ */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text-on-dark-sage);
  font-weight: 700;
  border-bottom: 1px solid rgba(199, 211, 181, 0.44);
  padding-bottom: 3px;
  transition: var(--transition);
}

.text-link i { color: var(--text-on-dark-rose); }

.text-link:hover {
  color: var(--accent-title);
  transform: translateY(-1px);
  border-color: var(--accent-title);
}

/* ═══════════════════════════════════════ */
/*   DRESS GRID & ICÔNES                   */
/* ═══════════════════════════════════════ */
.dress-grid .card { min-height: 220px; }

.text-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.text-with-icon i { color: var(--rose-dust); font-size: 1rem; }

/* ═══════════════════════════════════════ */
/*   MAP                                   */
/* ═══════════════════════════════════════ */
.map-box {
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(199, 211, 181, 0.24);
  box-shadow: var(--shadow-dark);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-box:hover {
  transform: scale(1.01);
  border-color: rgba(199, 211, 181, 0.48);
}

/* ═══════════════════════════════════════ */
/*   RSVP                                  */
/* ═══════════════════════════════════════ */
.rsvp-section { padding-bottom: 120px; }

.rsvp-form {
  margin-top: 40px;
  padding: 40px 38px;
  border-radius: 28px;
  background: rgba(244, 238, 230, 0.08);
  border: 1px solid rgba(199, 211, 181, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 25px 60px rgba(20, 30, 20, 0.22);
}

.rsvp-field {
  margin-bottom: 22px;
  flex: 1;
  min-width: 0;
}

.rsvp-row { display: flex; gap: 22px; flex-wrap: wrap; }

.rsvp-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}

.rsvp-field label i {
  color: var(--text-on-dark-rose);
  font-size: 0.9rem;
}

.rsvp-field .optional {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  font-style: italic;
  opacity: 0.88;
  font-weight: 500;
}

.rsvp-field input[type="text"],
.rsvp-field input[type="tel"],
.rsvp-field select,
.rsvp-field textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(163, 177, 138, 0.28);
  border-radius: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: rgba(92, 107, 90, 0.66);
  font-style: italic;
}

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
  background: var(--white);
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(163, 177, 138, 0.20);
}

.rsvp-field textarea {
  resize: vertical;
  min-height: 90px;
  font-family: "Montserrat", sans-serif;
}

.rsvp-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2387986A' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.rsvp-field select option {
  background: var(--white);
  color: var(--forest);
}

.rsvp-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }

.rsvp-radio {
  flex: 1;
  min-width: 220px;
  position: relative;
  cursor: pointer;
}

.rsvp-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rsvp-radio span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(163, 177, 138, 0.24);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
}

.rsvp-radio span i {
  font-size: 1rem;
  color: var(--olive);
}

.rsvp-radio span strong {
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--forest);
}

.rsvp-radio span small {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-main);
}

.rsvp-radio:hover span {
  background: var(--white);
  border-color: rgba(135, 152, 106, 0.28);
}

.rsvp-radio input:checked + span {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(244, 238, 230, 0.98));
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(163, 177, 138, 0.18);
  color: var(--forest);
}

.rsvp-radio input:checked + span i { color: var(--rose-deep); }

.rsvp-status {
  display: none;
  margin: 18px 0 8px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rsvp-status.is-visible { display: block; }

.rsvp-status.is-success {
  background: rgba(199, 211, 181, 0.15);
  border: 1px solid rgba(163, 177, 138, 0.32);
  color: var(--text-on-dark-sage);
}

.rsvp-status.is-error {
  background: rgba(232, 207, 203, 0.16);
  border: 1px solid rgba(196, 137, 127, 0.28);
  color: #ffdce0;
}

.rsvp-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}

/* ═══════════════════════════════════════ */
/*   BOUTONS                               */
/* ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}

.btn i { font-size: 1.1rem; }
.btn:disabled { opacity: 0.8; cursor: wait; }

.btn-whatsapp {
  background: linear-gradient(135deg, #fffdf8 0%, #f0f4ea 100%);
  color: var(--forest);
  box-shadow: 0 12px 30px rgba(20, 30, 20, 0.20);
}

.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transition: left 0.6s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 30, 20, 0.26);
}

.btn-whatsapp:hover::before { left: 100%; }

.btn-whatsapp i { font-size: 1.35rem; }

.rsvp-field.has-error input,
.rsvp-field.has-error select,
.rsvp-field.has-error textarea {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(196, 137, 127, 0.18);
}

.rsvp-error-msg {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #ffdce0;
  font-style: italic;
}

/* ═══════════════════════════════════════ */
/*   FOOTER                                */
/* ═══════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, var(--olive) 0%, var(--olive-dark) 55%, var(--forest) 100%);
  color: var(--text-on-dark);
  padding: 76px 0 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(199, 211, 181, 0.08), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(232, 207, 203, 0.06), transparent 40%);
  pointer-events: none;
}

.footer > * { position: relative; z-index: 1; }

.footer-divider {
  width: 140px;
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(to right, transparent, rgba(199, 211, 181, 0.80), transparent);
}

.footer-divider-bottom { margin-top: 28px; margin-bottom: 26px; }

.intro-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.05;
  color: var(--ivory);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.footer-text {
  color: var(--text-on-dark-soft);
  max-width: 720px;
  margin: 0 auto 16px;
}

.footer-arabic {
  font-family: "Amiri", serif;
  font-size: 1.6rem;
  color: var(--text-on-dark-rose);
}

.footer-copyright {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.08em;
  text-align: center;
}

/* ═══════════════════════════════════════ */
/*   ANIMATIONS REVEAL                     */
/* ═══════════════════════════════════════ */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom  { transform: scale(0.94); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible { opacity: 1; transform: none; }

@keyframes mainFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════ */
/*   RESPONSIVE                            */
/* ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .section-with-banner { padding-top: 0; }
  .cards-grid { gap: 24px; }
  .section-banner-image { height: clamp(210px, 36vw, 370px); }
  #countdownSection .countdown-banner img { height:  clamp(900px, 150vw, 1600px); }
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .countdown { gap: 10px; }
}

@media (max-width: 768px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding: 72px 0; }
  .section-with-banner { padding-top: 0; }
  #countdownSection { padding-top: 0; }
  #countdownSection .countdown-banner img { max-height: 450px; /* Hauteur idéale sur mobile */
    object-fit: cover;}
  .full-banner { margin-bottom: 36px; }
  .section-banner-image { height: 220px; }
  .section-head { margin-bottom: 34px; }
  .section-title { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .section-arabic { font-size: 1.4rem; }
  .ornament-line { width: 40px; }

  .event-highlight {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 14px;
  }

  .event-highlight-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    font-size: 1.25rem;
  }

  .countdown { flex-wrap: wrap; gap: 12px; }
  .count-box {
    width: calc(50% - 6px);
    flex: unset;
    padding: 18px 8px;
    border-radius: 18px;
  }
  .count-box span  { font-size: clamp(1.3rem, 6vw, 2rem); margin-bottom: 6px; }
  .count-box small { font-size: 0.58rem; letter-spacing: 0.08em; }

  .cards-grid, .dress-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }

  .card   { padding: 30px 22px; }
  .card h3 { font-size: 1.75rem; }
  .map-box { height: 320px; border-radius: 20px; }

  .rsvp-form    { padding: 28px 22px; border-radius: 22px; }
  .rsvp-row     { flex-direction: column; gap: 0; }
  .rsvp-radio   { min-width: 100%; }
  .rsvp-actions { flex-direction: column; align-items: stretch; }
  .btn          { width: 100%; min-width: unset; }

  .footer { padding: 58px 0 64px; }
  .footer-arabic { font-size: 1.3rem; }
  .intro-title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .floating-logo { width: 110px; height: 110px; }
  .footer-copyright { font-size: 0.78rem; letter-spacing: 0.04em; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 18px); }
  .countdown { gap: 10px; }
  .count-box { width: calc(50% - 5px); padding: 14px 6px; }
  .count-box span  { font-size: 1.3rem; }
  .count-box small { font-size: 0.54rem; }
  .card   { padding: 24px 18px; }
  .card h3 { font-size: 1.5rem; }
  .section-title { font-size: 1.8rem; }
  .section-arabic { font-size: 1.2rem; }
  .section-banner-image { height: 180px; }
  #countdownSection .countdown-banner img { height: 450px; }
  .text-with-icon { gap: 8px; }
  .floating-logo { width: 95px; height: 95px; }
  .footer-copyright { font-size: 0.72rem; }
  .rsvp-form { padding: 24px 18px; }
  .rsvp-field label { font-size: 0.74rem; }
  .btn { padding: 14px 24px; font-size: 0.88rem; }
  .intro-open { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  * { animation: none !important; transition: none !important; }
  .reveal-up, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
  }
  .floating-logo { top: 20px; left: 20px; transform: none !important; }
}
