:root {
  /* PALETTE NOIR & BLANC VINTAGE SOFT */
  --black: #161616;
  --charcoal: #232323;
  --soft-black: #2e2e2e;

  --ivory: #f8f5ef;
  --cream: #f2eee8;
  --white: #ffffff;
  --pearl: #fbfaf7;

  --taupe: #b8b0a5;
  --stone: #8a8178;
  --mist: #d9d3cb;
  --silver: #e7e2db;

  --text-main: #191919;
  --text-soft: #59544d;
  --text-muted: #7c746a;

  --border-soft: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  --bg-main: var(--ivory);
  --bg-soft: var(--cream);
  --bg-card: rgba(255, 255, 255, 0.76);

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 20px 55px rgba(0, 0, 0, 0.18);

  --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(0, 0, 0, 0.03), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.04), transparent 38%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  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(--bg-main);
  animation: mainFade 1.1s ease;
}

.hidden {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

/* MUSIC TOGGLE */
.music-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: var(--transition);
}

.music-toggle:hover {
  transform: scale(1.08);
}

.music-toggle i {
  font-size: 1.05rem;
  color: var(--soft-black);
}

/* INTRO */
.intro-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  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(0, 0, 0, 0.16), rgba(0, 0, 0, 0.28));
  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;
  filter: grayscale(0.15) contrast(1.02);
}

.intro-hint {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: "Italiana", serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  animation: hintFloat 2.5s ease-in-out infinite;
}

.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-opening .intro-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-screen.is-finished .intro-trigger {
  display: none;
}

/* FLOATING LOGO */
.floating-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(135px, 13vw, 190px);
  height: clamp(135px, 13vw, 190px);
  z-index: 9998;
  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.92;
  filter: grayscale(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
  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;
}

/* SECTIONS */
.section {
  position: relative;
  padding: 100px 0;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(242, 238, 232, 0.68)),
    var(--bg-main);
  color: var(--text-main);
}

.section-dark {
  background:
    linear-gradient(135deg, #111111 0%, #1d1d1d 52%, #2b2b2b 100%);
  color: var(--white);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04), transparent 36%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03), transparent 38%);
  pointer-events: none;
}

.section-dark>* {
  position: relative;
  z-index: 1;
}

.section-with-banner {
  padding-top: 0;
}

.hero-soft {
  padding-top: 84px;
  padding-bottom: 84px;
}

.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 60%, rgba(0, 0, 0, 0.18));
  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;
  filter: grayscale(0.15);
}

.full-banner:hover .section-banner-image {
  transform: scale(1.05);
}

.section-head {
  margin-bottom: 46px;
}

.main-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.04;
  color: var(--charcoal);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-text {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.arabic-sub,
.section-arabic,
.section-label-ar,
.section-text-ar,
.arabic-inline,
.small-ar,
.card-subtitle-ar,
.card-title-ar,
.line-ar,
.label-ar {
  font-family: "Amiri", serif;
}

.arabic-sub {
  font-size: 1.45rem;
  color: var(--stone);
}

.arabic-inline {
  margin-top: 8px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.section-text-ar {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-label-ar {
  display: block;
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--taupe);
}

.section-label-ar.light {
  color: rgba(255, 255, 255, 0.7);
}

.section-arabic {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--stone);
}

.section-arabic.light {
  color: rgba(255, 255, 255, 0.8);
}

.small-ar,
.line-ar,
.card-subtitle-ar,
.card-title-ar,
.label-ar {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 768px) {

  .section-arabic,
  .arabic-sub {
    font-size: 1.3rem;
  }

  .ar-sub {
    font-size: 0.9em;
  }

  .line-ar,
  .card-subtitle-ar,
  .card-title-ar,
  .label-ar,
  .small-ar {
    font-size: 1.08rem;
  }
}

.card-subtitle-ar,
.card-title-ar,
.line-ar {
  color: rgba(255, 255, 255, 0.75);
}

.card-subtitle-ar.dark,
.card-title-ar.dark,
.line-ar.dark {
  color: var(--text-muted);
}

.label-ar {
  margin: -4px 0 10px;
  color: var(--text-muted);
}

.ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--stone);
  font-size: 0.9rem;
}

.ornament i {
  color: var(--charcoal);
  font-size: 0.85rem;
}

.ornament-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--taupe), transparent);
}

.ornament-light {
  color: rgba(255, 255, 255, 0.8);
}

.ornament-light i {
  color: rgba(255, 255, 255, 0.88);
}

.ornament-light .ornament-line {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.section-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.82);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-weight: 600;
}

.section-title.light {
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.section-text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
}

/* EVENT HIGHLIGHT */
.event-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 38px;
  padding: 28px;
  max-width: 760px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 239, 0.9));
  border: 1px solid var(--border-soft);
  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, #ffffff, #e7e2db);
  color: var(--charcoal);
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.event-highlight-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}

.event-highlight-label-ar {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 1rem;
}

.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(--charcoal);
  margin-bottom: 6px;
  font-weight: 600;
}

.event-highlight-content p {
  color: var(--text-soft);
  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: 24px 10px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 238, 232, 0.72));
  border: 1px solid var(--border-soft);
  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: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--stone), transparent);
}

.count-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.count-box span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.count-box small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.65rem;
  color: var(--stone);
  font-weight: 600;
}

.count-box em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: "Amiri", serif;
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* 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.08), transparent 45%);
  pointer-events: none;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.15;
}

.card p {
  color: inherit;
}

.card-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.95;
  font-weight: 600;
}

.card-subtitle i {
  margin-right: 8px;
}

.card-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.card-light {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-light h3 {
  color: var(--charcoal);
}

.card-light .card-subtitle {
  color: var(--stone);
}

.card-light i {
  color: var(--charcoal);
}

.card-light:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(8px);
}

.card-dark h3 {
  color: var(--white);
}

.card-dark .card-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.card-dark i {
  color: rgba(255, 255, 255, 0.84);
}

.card-dark:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.location-card .text-link {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  white-space: nowrap;
}

.location-card .text-link span {
  display: inline;
}

.location-card .text-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.text-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.75);
}

.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(--charcoal);
  font-size: 1rem;
}

/* MAP */
.map-box {
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dark);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-box:hover {
  transform: scale(1.01);
}

/* ═══════════════════════════════════════ */
/*   RSVP SECTION                          */
/* ═══════════════════════════════════════ */
.rsvp-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--bx-mid) 0%, transparent 60%),
    var(--bx-deep);
  padding-bottom: 120px;
  overflow: hidden;
}

.rsvp-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.rsvp-bg-pattern svg {
  width: 100%;
  height: 100%;
}

.rsvp-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(253, 241, 246, 0.90));
  border: 1px solid rgba(216, 188, 116, 0.16);
  border-radius: 28px;
  padding: 44px 40px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.rsvp-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.rsvp-field {
  margin-bottom: 24px;
}

.rsvp-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: "Crimson Pro", serif;
}

.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(--text-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: "Crimson Pro", serif;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 188, 116, 0.18);
  border-radius: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: rgba(142, 115, 128, 0.48);
  font-style: italic;
}

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
  background: rgba(255, 255, 255, 1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 188, 116, 0.10);
}

.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='%23D8BC74' 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;
  background-color: rgba(255, 255, 255, 0.92);
  padding-right: 44px;
  cursor: pointer;
}

.rsvp-field select option {
  background: #ffffff;
  color: var(--text-main);
}

.rsvp-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: "Crimson Pro", serif;
}

/* Radio buttons */
.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, 255, 255, 0.92);
  border: 1px solid rgba(216, 188, 116, 0.16);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.rsvp-radio span i {
  color: var(--gold);
  font-size: 1rem;
}

.rsvp-radio span strong {
  color: #8C2E34;
  font-size: 0.98rem;
}

.rsvp-radio span small {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.rsvp-radio:hover span {
  border-color: rgba(216, 188, 116, 0.26);
  background: rgba(255, 255, 255, 1);
}

.rsvp-radio input:checked+span {
  background: rgba(253, 241, 246, 0.98);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 188, 116, 0.10),
    inset 0 1px 0 rgba(216, 188, 116, 0.08);
}

.rsvp-radio input:checked+span i {
  color: var(--gold);
}

/* Status */
.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(253, 241, 246, 0.92);
  border: 1px solid rgba(216, 188, 116, 0.22);
  color: #8C2E34;
}

.rsvp-status.is-error {
  background: rgba(255, 245, 247, 0.96);
  border: 1px solid rgba(232, 176, 190, 0.28);
  color: #b56f85;
}

/* Erreurs champs */
.rsvp-field.has-error input,
.rsvp-field.has-error select,
.rsvp-field.has-error textarea {
  border-color: rgba(232, 176, 190, 0.65);
  box-shadow: 0 0 0 3px rgba(232, 176, 190, 0.10);
}

.rsvp-error-msg {
  display: block;
  margin-top: 6px;
  font-size: 0.80rem;
  color: #c98a9d;
  font-style: italic;
}

/* RSVP Actions */
.rsvp-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.section-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-vibes,
.section-khat,
.section-titre,
.section-sous {
  text-align: center;
  width: 100%;
}

.section-khat {
  direction: rtl;
}

.section-khat {
  font-family: "Amiri", serif;
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 8px 0 12px;
}

.section-vibes {
  text-align: center;
}

.section-titre {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sous {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-royal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111111, #2a2a2a);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: var(--transition);
}

.btn-royal:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, #1e1e1e 0%, #111111 100%);
  color: var(--white);
  padding: 76px 0 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.04), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03), 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(255, 255, 255, 0.55), 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: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.footer-text {
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
  margin: 0 auto 16px;
}

.footer-arabic {
  font-family: "Amiri", serif;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  margin-top: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-align: center;
}

/* ANIMATIONS */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom,
.reveal-fade {
  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-fade {
  transform: translateY(22px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible,
.reveal-fade.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes mainFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.012);
  }
}

@keyframes hintFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes logoSwim {
  0% {
    transform: translate3d(4vw, 10vh, 0);
  }

  20% {
    transform: translate3d(70vw, 16vh, 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);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .section {
    padding: 19px 0;
  }

  .section-with-banner {
    padding-top: 0;
  }

  .cards-grid {
    gap: 24px;
  }

  .section-banner-image {
    height: clamp(210px, 36vw, 370px);
  }
}

@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: 10px 0;
  }

  .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,
  .arabic-sub {
    font-size: 1.18rem;
  }

  .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,
  .rsvp-radio-group {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card,
  .rsvp-form {
    padding: 30px 22px;
  }

  .card h3 {
    font-size: 1.75rem;
  }

  .map-box {
    height: 320px;
    border-radius: 20px;
  }

  .footer {
    padding: 58px 0 64px;
  }

  .footer-arabic {
    font-size: 1.2rem;
  }

  .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;
  }

  .intro-hint {
    font-size: 0.8rem;
    padding: 12px 20px;
    bottom: 7%;
  }

  .music-toggle {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
}

@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-banner-image {
    height: 180px;
  }

  .text-with-icon {
    gap: 8px;
  }

  .floating-logo {
    width: 95px;
    height: 95px;
  }

  .footer-copyright {
    font-size: 0.72rem;
  }

  .intro-hint {
    font-size: 0.72rem;
    padding: 10px 16px;
    letter-spacing: 0.12em;
  }

  .sep-line {
    width: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-logo {
    top: 20px;
    left: 20px;
    transform: none !important;
  }
}

/* ========================= */
/*      BILINGUE FR / AR     */
/* ========================= */

.ar-sub {
  display: block;
  font-family: "Amiri", serif;
  font-size: 0.8em;
  line-height: 1.35;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-weight: 400;
}

.section-label,
.section-title,
.card-subtitle,
.card h3,
.section-text,
.event-highlight-label,
.event-highlight-content strong,
.event-highlight-content p,
.line-text,
.text-link span,
.text-with-icon span,
.footer-text,
.count-box small {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-hint span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.section-dark .ar-sub,
.section-label.light .ar-sub,
.section-title.light .ar-sub,
.card-dark .ar-sub,
.footer .ar-sub,
.intro-hint .ar-sub,
.text-link .ar-sub {
  color: rgba(255, 255, 255, 0.78);
}

.section-title,
.card h3,
.event-highlight-content strong,
.intro-title {
  line-height: 1.1;
}

.section-label,
.card-subtitle,
.line-text,
.section-text,
.footer-text,
.text-link span,
.text-with-icon span,
.count-box small {
  font-family: "Montserrat", sans-serif;
}

/* =========================
   SECTION LIEUX — VERSION SOFT
   ========================= */

.section-soft {
  background: linear-gradient(180deg, #fcfaf7 0%, #f6f1eb 100%);
  color: #000000;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Carte soft */
.card-soft {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(186, 168, 150, 0.18);
  box-shadow: 0 12px 35px rgba(86, 67, 52, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #000000;
  border-radius: 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at top right, rgba(215, 198, 180, 0.18), transparent 38%);
  pointer-events: none;
}

.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(86, 67, 52, 0.10);
  border-color: rgba(186, 168, 150, 0.28);
}

.card-soft h3 {
  color: #000000;
}

.card-soft .card-subtitle {
  color: #000000;
}

.card-soft .card-subtitle i,
.card-soft .card-line i {
  color: #000000;
}

.card-soft .ar-sub {
  color: #000000;
  opacity: 0.82;
  font-size: 0.72em;
  margin-top: 4px;
  margin-bottom: 0;
}

/* Carte lieu */
.location-card {
  text-align: left;
  padding: 34px 28px;
}

.location-card .card-subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.location-card h3 {
  margin-bottom: 22px;
  font-size: 2rem;
  line-height: 1.15;
  color: #000000;
}

.location-card .card-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.location-card .card-line i {
  flex: 0 0 18px;
  width: 18px;
  margin-top: 3px;
  font-size: 0.95rem;
  color: #000000;
}

.location-card .line-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #000000;
  line-height: 1.6;
}

.location-card .line-text .ar-sub {
  color: #000000;
  opacity: 0.82;
}

/* Lien soft */
.text-link-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(180, 155, 132, 0.08);
  color: #000000;
  border: 1px solid rgba(180, 155, 132, 0.14);
  font-weight: 500;
  transition: all 0.3s ease;
}

.text-link-soft span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #000000;
}

.text-link-soft .ar-sub {
  color: #000000;
  opacity: 0.82;
}

.text-link-soft i {
  color: #000000;
}

.text-link-soft:hover {
  background: rgba(180, 155, 132, 0.14);
  color: #000000;
  border-color: rgba(180, 155, 132, 0.24);
  transform: translateY(-1px);
}

/* Titres section lieux en noir */
.section-soft .section-label,
.section-soft .section-title,
.section-soft .section-text,
.section-soft .section-label .ar-sub,
.section-soft .section-title .ar-sub,
.section-soft .section-text .ar-sub {
  color: #000000;
}

/* Carte map plus douce */
.map-box-soft {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(186, 168, 150, 0.18);
  box-shadow: 0 12px 35px rgba(86, 67, 52, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

/* Responsive */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    padding: 26px 20px;
  }

  .location-card h3 {
    font-size: 1.7rem;
  }
}

/* ================================
   COMPTE À REBOURS — FRANÇAIS GRAND
================================ */
.count-box {
  text-align: center;
}

.count-box small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: none;
  color: var(--charcoal);
  font-weight: 600;
}

.count-box small .ar-sub {
  display: block;
  font-family: "Amiri", serif;
  font-size: 1.15rem;
  margin-top: 3px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ================================
   CARTES LIEUX — TOUT CENTRÉ
================================ */
.location-card {
  text-align: center;
}

.location-card .card-subtitle,
.location-card h3,
.location-card .card-line {
  justify-content: center;
  text-align: center;
}

.location-card .card-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.location-card h3 {
  font-size: 2.3rem;
  line-height: 1.15;
}

.location-card .card-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.location-card .card-line i {
  font-size: 1.1rem;
}

.location-card .line-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-card .line-text .ar-sub {
  display: block;
  margin-top: 2px;
}

.location-card .text-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
}

.location-card .text-link .ar-sub {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .count-box small {
    font-size: 1rem;
  }

  .count-box small .ar-sub {
    font-size: 1.05rem;
  }

  .location-card h3 {
    font-size: 2rem;
  }

  .location-card .card-subtitle {
    font-size: 1.05rem;
  }
}

/* =========================================
   LIEUX - Icônes à gauche + texte aligné
   ========================================= */

.location-card {
  text-align: left;
}

.location-card .card-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
}

.location-card .card-line>i {
  width: 28px;
  min-width: 28px;
  text-align: center;
  font-size: 1rem;
}

.location-card .card-line .line-text {
  display: block;
  text-align: left;
  margin: 0;
  line-height: 1.5;
}

/* Bouton itinéraire également aligné à gauche */
.location-card .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

/* Même alignement sur mobile */
@media (max-width: 768px) {
  .location-card .card-line {
    grid-template-columns: 28px 1fr;
    column-gap: 10px;
    text-align: left;
  }

  .location-card .card-line .line-text {
    text-align: left;
  }

  .location-card .text-link {
    margin-left: 38px;
  }
}

/* Lien "Ouvrir l’itinéraire" centré + icône sur la même ligne */
.location-card .text-link,
.location-card .text-link-soft {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  margin: 18px auto 0;
  width: fit-content;
  white-space: nowrap;
}

.location-card .text-link span,
.location-card .text-link-soft span {
  display: inline;
}

.location-card .text-link i,
.location-card .text-link-soft i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {

  .location-card .text-link,
  .location-card .text-link-soft {
    margin: 18px auto 0;
  }
}

.location-card .text-link {
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin: 18px auto 0;
}

.location-card .text-link span {
  display: inline;
}

@media (max-width: 768px) {
  .location-card .text-link {
    margin-left: auto;
    margin-right: auto;

    display: block;

  }
}