:root {
  --beige-1: #f8f1e5;
  --beige-2: #f1e5d2;
  --beige-3: #e6d0b1;
  --beige-4: #d4b893;

  --gold: #bf954a;
  --gold-light: #d8b36b;
  --gold-soft: rgba(191, 149, 74, 0.16);
  --gold-line: rgba(191, 149, 74, 0.30);

  --marron: #5d4330;
  --marron-soft: rgba(93, 67, 48, 0.78);
  --marron-muted: rgba(93, 67, 48, 0.56);

  --terracotta: #996e47;
  --olive: #7a7458;

  --white: #fffaf2;
  --card: rgba(255, 250, 242, 0.78);
  --card-strong: rgba(255, 248, 238, 0.92);

  --shadow: 0 18px 45px rgba(93, 67, 48, 0.14);
  --shadow-sm: 0 10px 26px rgba(93, 67, 48, 0.10);

  --radius: 24px;
  --transition: all 0.38s ease;
  --container: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: "Cormorant Garamond", serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(191,149,74,0.10), transparent 25%),
    radial-gradient(circle at 90% 85%, rgba(153,110,71,0.08), transparent 25%),
    linear-gradient(180deg, #fbf5ea 0%, #f0e2ca 50%, #fbf5ea 100%);
  color: var(--marron);
  line-height: 1.75;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(93,67,48,0.012) 0px,
      rgba(93,67,48,0.012) 1px,
      transparent 1px,
      transparent 26px
    );
}

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;
  animation: mainFade 1.1s ease;
}

.hidden {
  display: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

/* ═══════════════════════════════════════ */
/*   FOND MARRAKECH                       */
/* ═══════════════════════════════════════ */
.arabesque-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pattern-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arabesque-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(191,149,74,0.18), transparent 70%);
  top: -140px;
  left: -120px;
  animation: orbDrift 28s ease-in-out infinite alternate;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(153,110,71,0.14), transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: orbDrift 24s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(216,179,107,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbDrift 36s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(36px, 28px) scale(1.04); }
  100% { transform: translate(-24px, 34px) scale(0.96); }
}

/* ═══════════════════════════════════════ */
/*   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(255, 248, 238, 0.95);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

body.intro-finished .music-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.music-toggle:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.music-toggle i {
  font-size: 1.05rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════ */
/*   INTRO SCREEN                         */
/* ═══════════════════════════════════════ */
.intro-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(73,49,33,0.18), rgba(73,49,33,0.36)),
    radial-gradient(circle at center, rgba(191,149,74,0.10), transparent 50%),
    linear-gradient(180deg, #f6ead7 0%, #e6cfac 100%);
  overflow: hidden;
  z-index: 5000;
}

.intro-screen.is-finished {
  position: relative;
  inset: auto;
  height: 100vh;
  min-height: 100dvh;
  z-index: 1;
}

.intro-frame {
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.40);
  box-shadow: inset 0 0 0 1px rgba(191,149,74,0.20);
  z-index: 2;
  pointer-events: none;
}

.intro-frame::before,
.intro-frame::after {
  content: "";
  position: absolute;
  border-radius: 22px;
  inset: 12px;
  border: 1px solid rgba(191,149,74,0.22);
}

.intro-frame::after {
  inset: 30px;
  border-color: rgba(255,255,255,0.14);
}

.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(60,42,28,0.14), rgba(60,42,28,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.8s ease-in-out infinite;
}

.video-end-frame {
  z-index: 1;
  opacity: 1;
}

.intro-copy {
  position: absolute;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  width: min(92%, 720px);
  color: #fff9f2;
  text-shadow: 0 6px 20px rgba(50, 35, 23, 0.30);
}

.intro-kicker {
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255,246,230,0.94);
}

.intro-copy h1 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.intro-open {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: rgba(255,244,226,0.94);
}

.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.014); }
}

/* ═══════════════════════════════════════ */
/*   SECTIONS GLOBALES                    */
/* ═══════════════════════════════════════ */
.section {
  position: relative;
  padding: 78px 0;
  z-index: 1;
}

/* ═══════════════════════════════════════ */
/*   HERO                                 */
/* ═══════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(191,149,74,0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,248,238,0.82), rgba(241,229,210,0.82));
  padding: 90px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 94vw);
  height: min(760px, 80vh);
  border-radius: 420px 420px 26px 26px;
  background: linear-gradient(180deg, rgba(255,251,245,0.72), rgba(255,251,245,0.36));
  border: 1px solid rgba(191,149,74,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  pointer-events: none;
}

.hero-medallion {
  margin-bottom: 30px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.medallion-svg {
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  opacity: 0.35;
  animation: medallionSpin 120s linear infinite;
}

@keyframes medallionSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 1px solid rgba(191,149,74,0.20);
  background: rgba(255,249,241,0.72);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.hero-quote {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.35;
  margin: 0 auto 18px;
  max-width: 640px;
}

.hero-names {
  margin-bottom: 18px;
}

.names-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
  font-weight: 400;
  color: var(--marron);
  line-height: 1.05;
  text-shadow: 0 8px 20px rgba(191,149,74,0.10);
}

.names-amp {
  color: var(--gold);
  font-size: 0.82em;
}

.names-arabic {
  font-family: "Amiri", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--terracotta);
  margin-top: 6px;
  opacity: 0.95;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px auto;
}

.divider-wing {
  display: inline-block;
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(191,149,74,0.72));
}

.hero-divider .divider-wing:last-child {
  background: linear-gradient(to left, transparent, rgba(191,149,74,0.72));
}

.divider-heart {
  color: var(--gold);
  font-size: 0.92rem;
}

.hero-subtitle {
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  color: var(--marron-soft);
  max-width: 680px;
  margin: 0 auto 38px;
  font-style: italic;
}

.event-date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 38px;
  background: rgba(255,249,241,0.82);
  border: 1px solid rgba(191,149,74,0.22);
  border-radius: 22px;
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.date-pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 20px;
}

.date-divider-v {
  width: 1px;
  height: 86px;
  background: linear-gradient(to bottom, transparent, rgba(191,149,74,0.55), transparent);
}

.date-day {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.date-num {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--marron);
  line-height: 1;
  font-weight: 700;
}

.date-num small {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--gold);
}

.date-month {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marron-muted);
}

.date-icon {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.countdown-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.countdown-label {
  font-family: "Amiri", serif;
  font-size: 1.15rem;
  color: var(--terracotta);
  margin-bottom: 18px;
  opacity: 0.9;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 140px;
}

.count-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255,250,242,0.92), rgba(243,231,211,0.94));
  border: 1px solid rgba(191,149,74,0.22);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.count-inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(191,149,74,0.12);
}

.count-inner:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow);
}

.count-inner span {
  font-family: "Cinzel", serif;
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  color: var(--marron);
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.count-block small {
  display: block;
  margin-top: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.count-sep {
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 22px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  animation: sepPulse 1.2s ease-in-out infinite;
}

@keyframes sepPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.22; }
}

/* ═══════════════════════════════════════ */
/*   TITRES DE SECTIONS                   */
/* ═══════════════════════════════════════ */
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.ornament-royal {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--gold);
}

.ornament-royal span {
  display: inline-block;
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(191,149,74,0.72));
}

.ornament-royal span:last-child {
  background: linear-gradient(to left, transparent, rgba(191,149,74,0.72));
}

.ornament-royal i {
  font-size: 1rem;
  color: var(--gold);
}

.section-vibes {
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 12px;
}

.section-khat {
  font-family: "Amiri", serif;
  font-size: 1.5rem;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-titre {
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--marron);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.section-sous {
  max-width: 680px;
  margin: 0 auto;
  color: var(--marron-soft);
  font-size: 1.08rem;
  font-style: italic;
}

.section-sous strong {
  color: var(--gold);
  font-style: normal;
}

/* ═══════════════════════════════════════ */
/*   SÉPARATEURS                          */
/* ═══════════════════════════════════════ */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  margin-top: -20px;
}

.sep-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(191,149,74,0.45));
}

.sep-line.right {
  background: linear-gradient(to left, transparent, rgba(191,149,74,0.45));
}

.sep-center {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(191,149,74,0.68);
  font-size: 0.55rem;
  letter-spacing: 6px;
}

/* ═══════════════════════════════════════ */
/*   BANNERS                              */
/* ═══════════════════════════════════════ */
.full-banner {
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.section-banner-image {
  width: 100%;
  height: clamp(240px, 38vw, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.4s ease;
}

.full-banner:hover .section-banner-image {
  transform: scale(1.04);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(70,50,35,0.16) 0%,
    rgba(70,50,35,0.05) 40%,
    rgba(70,50,35,0.32) 100%);
}

/* ═══════════════════════════════════════ */
/*   LIEU                                 */
/* ═══════════════════════════════════════ */
.section-lieu {
  background:
    linear-gradient(180deg, rgba(255,249,242,0.18) 0%, rgba(241,229,210,0.10) 100%);
  padding-top: 0;
}

.lieu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.lieu-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(191,149,74,0.20);
  border-radius: var(--radius);
  padding: 38px 30px;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.lieu-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(191,149,74,0.10);
  pointer-events: none;
}

.lieu-card-deco {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,149,74,0.12), transparent 70%);
  pointer-events: none;
}

.lieu-card:hover {
  transform: translateY(-10px);
  border-color: rgba(191,149,74,0.34);
  box-shadow: var(--shadow);
}

.lieu-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(191,149,74,0.10);
  border: 1px solid rgba(191,149,74,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.lieu-card-icon i {
  color: var(--gold);
  font-size: 1.2rem;
}

.lieu-card h3 {
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  color: var(--marron);
  margin-bottom: 12px;
  font-weight: 700;
}

.lieu-card p {
  color: var(--marron-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.lieu-card p i {
  color: var(--terracotta);
}

.btn-royal-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(191,149,74,0.45);
  background: rgba(255,250,242,0.55);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.btn-royal-outline:hover {
  background: rgba(191,149,74,0.10);
  border-color: var(--gold);
  color: var(--marron);
  transform: translateY(-2px);
}

.map-box {
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(191,149,74,0.18);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
  background: #fff;
}

.map-box:hover {
  transform: scale(1.01);
}

/* ═══════════════════════════════════════ */
/*   INFOS                                */
/* ═══════════════════════════════════════ */
.section-dress {
  background:
    radial-gradient(circle at 50% 100%, rgba(191,149,74,0.09), transparent 24%),
    linear-gradient(180deg, rgba(255,249,242,0.08), rgba(255,249,242,0.18));
  padding-top: 40px;
}

.dress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dress-card {
  position: relative;
  background: var(--card-strong);
  border: 1px solid rgba(191,149,74,0.20);
  border-radius: 28px;
  padding: 48px 34px 54px;
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.dress-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(191,149,74,0.10);
  pointer-events: none;
}

.dress-card:hover {
  transform: translateY(-12px);
  border-color: rgba(191,149,74,0.34);
  box-shadow: var(--shadow);
  background: rgba(255,250,242,0.95);
}

.dress-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.dress-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(191,149,74,0.10);
  border: 1px solid rgba(191,149,74,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dress-icon-wrap i {
  color: var(--gold);
  font-size: 1.55rem;
}

.dress-tag {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.dress-card h3 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--marron);
  margin-bottom: 14px;
  font-weight: 700;
}

.dress-card p {
  color: var(--marron-soft);
  font-size: 1.05rem;
  line-height: 1.72;
}

.arabic-note {
  margin-top: 10px;
  font-family: "Amiri", serif;
  color: var(--terracotta) !important;
  font-weight: 700;
}

.dress-motif {
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-size: 0.9rem;
  color: rgba(191,149,74,0.30);
  letter-spacing: 4px;
}

/* ═══════════════════════════════════════ */
/*   RSVP                                 */
/* ═══════════════════════════════════════ */
.rsvp-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(191,149,74,0.10), transparent 22%),
    linear-gradient(180deg, rgba(255,248,238,0.16), rgba(241,229,210,0.28));
  padding-bottom: 120px;
  overflow: hidden;
}

.rsvp-form {
  background: rgba(255, 249, 242, 0.88);
  border: 1px solid rgba(191,149,74,0.20);
  border-radius: 28px;
  padding: 44px 40px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.rsvp-form::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(191,149,74,0.10);
  pointer-events: none;
}

.rsvp-field {
  margin-bottom: 24px;
}

.rsvp-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.rsvp-field label i {
  color: var(--gold);
  font-size: 0.85rem;
}

.rsvp-field .optional {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--marron-muted);
  font-weight: 400;
}

.rsvp-field input[type="text"],
.rsvp-field select,
.rsvp-field textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--marron);
  background: rgba(255,252,247,0.95);
  border: 1px solid rgba(191,149,74,0.22);
  border-radius: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: var(--marron-muted);
  font-style: italic;
}

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
  background: #fffefb;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191,149,74,0.10);
}

.rsvp-field textarea {
  resize: vertical;
  min-height: 100px;
}

.rsvp-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rsvp-radio {
  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;
  gap: 7px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,252,247,0.92);
  border: 1px solid rgba(191,149,74,0.18);
  color: var(--marron-soft);
  font-size: 0.98rem;
  transition: all 0.3s ease;
}

.rsvp-radio span i {
  color: var(--gold);
  font-size: 1rem;
}

.rsvp-radio span strong {
  color: var(--marron);
  font-size: 0.98rem;
}

.rsvp-radio span small {
  color: var(--marron-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.rsvp-radio:hover span {
  border-color: rgba(191,149,74,0.30);
  transform: translateY(-3px);
}

.rsvp-radio input:checked + span {
  background: rgba(241,229,210,0.65);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(191,149,74,0.10);
}

.rsvp-radio input:checked + span i {
  color: var(--gold-light);
}

.rsvp-status {
  display: none;
  margin: 16px 0 6px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.rsvp-status.is-visible {
  display: block;
}

.rsvp-status.is-success {
  background: rgba(122,116,88,0.10);
  border: 1px solid rgba(122,116,88,0.22);
  color: #596043;
}

.rsvp-status.is-error {
  background: rgba(153,110,71,0.10);
  border: 1px solid rgba(153,110,71,0.22);
  color: #7b4f2d;
}

.rsvp-field.has-error input,
.rsvp-field.has-error select,
.rsvp-field.has-error textarea {
  border-color: rgba(153,110,71,0.65);
  box-shadow: 0 0 0 3px rgba(153,110,71,0.10);
}

.rsvp-error-msg {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #8a5a35;
  font-style: italic;
}

.rsvp-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ═══════════════════════════════════════ */
/*   BOUTON                               */
/* ═══════════════════════════════════════ */
.btn-royal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 44px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(191,149,74,0.55);
  background: linear-gradient(180deg, #d9b66c 0%, #bf954a 100%);
  color: #fffaf2;
  box-shadow: 0 12px 30px rgba(191,149,74,0.20);
  transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  min-width: 240px;
}

.btn-royal::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
}

.btn-royal:hover {
  background: linear-gradient(180deg, #cfa75c 0%, #b58839 100%);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(191,149,74,0.24);
}

.btn-royal:hover::before {
  left: 100%;
}

.btn-royal i {
  font-size: 1.1rem;
}

.btn-royal:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* ═══════════════════════════════════════ */
/*   FOOTER                               */
/* ═══════════════════════════════════════ */
.footer {
  background:
    linear-gradient(180deg, rgba(241,229,210,0.28) 0%, rgba(232,214,187,0.42) 100%);
  padding: 80px 0 90px;
  text-align: center;
  border-top: 1px solid rgba(191,149,74,0.14);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(191,149,74,0.08), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  max-width: 700px;
  margin: 0 auto;
}

.footer-ornament {
  display: block;
  width: 300px;
  margin: 0 auto 28px;
}

.footer-ornament-bottom {
  margin-top: 28px;
  margin-bottom: 28px;
}

.footer-names {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 9vw, 6.4rem);
  font-weight: 400;
  color: var(--marron);
  text-shadow: 0 4px 18px rgba(191,149,74,0.12);
  line-height: 1.05;
  margin-bottom: 10px;
}

.footer-arabic {
  font-family: "Amiri", serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--terracotta);
  margin-bottom: 14px;
}

.footer-text {
  color: var(--marron-soft);
  font-style: italic;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.footer-copy {
  color: var(--marron-muted);
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  margin-top: 0;
}

/* ═══════════════════════════════════════ */
/*   ANIMATIONS REVEAL                    */
/* ═══════════════════════════════════════ */
.reveal-fade,
.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-fade {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-zoom {
  transform: scale(0.95);
}

.reveal-fade.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(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════ */
/*   RESPONSIVE                           */
/* ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .lieu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .dress-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-titre {
    font-size: 1.65rem;
  }

  .hero-section {
    padding: 70px 0 100px;
  }

  .names-script {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .event-date-block {
    max-width: 360px;
  }

  .date-num {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .countdown {
    gap: 6px;
  }

  .count-block {
    max-width: 82px;
  }

  .count-inner {
    border-radius: 12px;
  }

  .count-inner span {
    font-size: clamp(1.3rem, 4.5vw, 2rem);
  }

  .count-sep {
    width: 14px;
    font-size: 1.2rem;
  }

  .count-block small {
    font-size: 0.56rem;
  }

  .lieu-grid {
    grid-template-columns: 1fr;
  }

  .dress-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-box {
    height: 300px;
    border-radius: 18px;
  }

  .rsvp-form {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .rsvp-radio-group {
    grid-template-columns: 1fr;
  }

  .btn-royal {
    width: 100%;
    min-width: unset;
  }

  .footer {
    padding: 60px 0 70px;
  }

  .section-banner-image {
    height: 220px;
  }

  .intro-copy {
    bottom: 42px;
  }

  .intro-copy h1 {
    font-size: clamp(2.7rem, 10vw, 4.4rem);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 18px);
  }

  .hero-section {
    padding: 52px 0 90px;
  }

  .names-script {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .event-date-block {
    max-width: 300px;
  }

  .date-pillar {
    padding: 20px 12px;
  }

  .countdown {
    gap: 4px;
  }

  .count-block {
    max-width: 68px;
  }

  .count-inner span {
    font-size: 1.15rem;
  }

  .count-sep {
    font-size: 1rem;
    width: 12px;
  }

  .section-titre {
    font-size: 1.35rem;
  }

  .section-khat {
    font-size: 1.2rem;
  }

  .lieu-card {
    padding: 28px 18px;
  }

  .dress-card {
    padding: 36px 22px 44px;
  }

  .rsvp-form {
    padding: 22px 16px;
  }

  .section-banner-image {
    height: 180px;
  }

  .intro-copy {
    bottom: 30px;
  }

  .intro-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .intro-open {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
  }
}
