html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 60px 0px 0 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../img/paper_background.png');
  background-size: contain;
  min-height: 100vh;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: #5a5a5a;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- OVERLAY ---------- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    #ffffff url('../img/paper_background.png') repeat;
  background-size: 100% 100%, auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.7s ease;
  overflow: hidden;
}

.overlay-content {
  text-align: center;
  padding: 5vh 6vw;
  position: relative;
  opacity: 1;
  transform: scale(1);
  transition: all 0.6s ease;
  max-width: 85vw;
  max-height: 90vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay-content::before {
  display: none;
}

.overlay-content::after {
  display: none;
}

.overlay-logo {
  width: min(650px, 85vw);
  max-width: 65%;
  margin-bottom: 3vh;
  animation: fadeInDown 0.8s ease;
}

.overlay-subtitle {
  font-family: "Luxurious Script", cursive;
  font-size: clamp(60px, 8vw, 80px);
  font-weight: 400;
  color: #8a8a8a;
  margin: 0 0 2vh 0;
  animation: fadeInUp 0.8s ease 0.3s backwards;
  line-height: 1.2;
}

.overlay-name {
  display: block;
  font-size: clamp(80px, 12vw, 120px);
  font-weight: 400;
}

.overlay-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  color: #8a8a8a;
  margin: 0 0 1vh 0;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.overlay-guest {
  font-family: "Great Vibes", cursive;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 400;
  color: #c0c0c0;
  margin: 0 0 3vh 0;
  text-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.overlay-button {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #9a9a9a, #8a8a8a);
  padding: 14px 40px;
  border: 2px solid #7a7a7a;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease 0.6s backwards;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.overlay-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.overlay-button:hover {
  background: linear-gradient(135deg, #a89968, #968b52);
  border-color: #7a7a7a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.overlay-button:hover::before {
  left: 100%;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #8a8a8a;
  padding: 15px clamp(4px, 2vw, 10px);
  z-index: 1000;
  box-sizing: border-box;
  overflow: hidden;
}

.navbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(2px, 1.2vw, 14px);
  max-width: 100%;
  margin: 0 auto;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(12px, 4vw, 20px);
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px clamp(2px, 2.5vw, 15px);
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
  line-height: 1;
  text-align: center;
}

.nav-link:hover {
  color: #f5ecdd;
}

/* CONTAINER */
.section {
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ----- PRESENTATION BOX SILVER ----- */
.presentation-box {
  text-align: center;
  width: 90vw;
  max-width: 700px;
  padding: 60px 50px;

  /* Correction du fond : on simplifie */
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    /* Filtre blanc plus homogène */
    url('../img/paper_background.png') repeat;

  /* On passe tout en auto pour éviter les lignes de distorsion */
  background-size: auto;

  border: 6px solid #8a8a8a;
  border-radius: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.presentation-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  animation: lightShine 6s ease-in-out infinite;
  z-index: 0;
}

.presentation-box>* {
  position: relative;
  z-index: 1;
}

.presentation-box .hebrew-letter {
  font-family: "David Libre", serif;
  font-size: 20px;
  font-weight: 700;
  color: #8a8a8a;
  margin-top: 30px;
  margin-bottom: 15px;
  direction: rtl;
}

.presentation-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.presentation-line {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: #8a8a8a;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.grandparents-line {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 25px;
}

.names-large {
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.presentation-main {
  width: 100%;
  text-align: center;
  margin-top: 15px;
  position: relative;
  padding-bottom: 30px;
}

.presentation-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, #8a8a8a, transparent);
}

.main-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  color: #8a8a8a;
  margin: 0 0 15px 0;
  line-height: 1.6;
}

.bar-mitsvah-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0px 0;
}

.tribute {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.tribute-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 500;
  color: #8a8a8a;
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-style: italic;
}

.tribute-names {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  color: #8a8a8a;
  margin: 0;
  line-height: 1.4;
  font-style: italic;
}


/* ----- SAVE THE DATE ----- */
.save-the-date-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 60px 40px 80px 40px;
  background: #8a8a8ac4;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
}



.save-the-date-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  width: 100%;
}

.save-the-date-title {
  font-family: "Luxurious Script", cursive;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}


.name-david-moshe {
  font-family: "Luxurious Script", cursive;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
  text-align: center;
  /* AJOUTEZ CES DEUX LIGNES */
  white-space: nowrap; 
  display: inline-block;
  transform: translateX(-3px); /* Ajustez le chiffre selon vos besoins */
}

.save-the-date-title {
  position: relative;
  padding-bottom: 18px;
}

.save-the-date-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffffff, transparent);
}

.save-the-date-section .countdown {
  display: grid;
  /* 'auto' permet aux colonnes de ne prendre que la place nécessaire */
  grid-template-columns: auto auto;

  /* C'est ça qui ramène les deux colonnes vers le milieu */
  justify-content: center;

  /* --- RÉGLAGE DE L'ESPACE --- */
  /* Premier chiffre = espace entre haut et bas (ex: 30px) */
  /* Deuxième chiffre = espace entre gauche et droite (ex: 20px) */
  gap: 30px 80px !important;
  width: 100%;
}

.save-the-date-section .countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.save-the-date-section .countdown-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 100px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1;
}

.save-the-date-section .countdown-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.save-the-date-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .save-the-date-section {
    padding: 40px 20px;
  }

  .save-the-date-title {
    font-size: 44px;
  }

  .save-the-date-section .countdown-number {
    font-size: 60px;
  }

  .save-the-date-section .countdown-label {
    font-size: 18px;
  }

  .save-the-date-date {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .save-the-date-section {
    padding: 30px 15px;
  }

  .save-the-date-title {
    font-size: 66px;
  }

  .save-the-date-section .countdown {
    gap: 20px 50px;
  }

  .save-the-date-section .countdown-number {
    font-size: 58px;
  }

  .save-the-date-section .countdown-label {
    font-size: 16px;
  }

  .save-the-date-date {
    font-size: 25px;
  }
}

/* ----- SAVE THE DATE END -----
/* ----- SYNAGOGUE TEXT SILVER ----- */
.synagogue-text-silver {
  text-align: center;
  width: 90vw;
  max-width: 700px;
  padding: 60px 50px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    #ffffff url('../img/paper_background.png') repeat;
  background-size: auto, contain;
  border: 6px solid #8a8a8a;
  border-radius: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

.synagogue-name {
  display: inline-block;
  padding-right: 20px;
  line-height: 1.2;
}

.synagogue-text-silver:hover {
  box-shadow: 0 10px 30px rgba(138, 138, 138, 0.2);
  transform: translateY(-5px);
}

.synagogue-text-silver::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  animation: lightShine 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes lightShine {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, 20px);
  }
}

@keyframes slideInText {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpText {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.synagogue-text-silver>* {
  position: relative;
  z-index: 1;
}

.synagogue-text-silver .hebrew-letter {
  font-family: "David Libre", serif;
  font-size: 20px;
  font-weight: 700;
  color: #8a8a8a;
  margin-top: 30px;
  margin-bottom: 15px;
  direction: rtl;
}

.synagogue-text-silver .section-title {
  font-family: "Luxurious Script", cursive;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #8a8a8a;
  margin: 0 0 20px 0;
  text-align: center;
  transition: all 0.4s ease;
}



.oukchartam-image {
  max-width: 100%;
  width: 80%;
  height: auto;
  margin: 0 0 20px 0;
}

.synagogue-text-silver p,
.synagogue-text-silver a {
  color: #8a8a8a;
}

.synagogue-text-silver .synagogue-intro {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 15px 0;
  line-height: 1.4;
  color: #8a8a8a;
  transition: all 0.4s ease;
}



.synagogue-text-silver .synagogue-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #8a8a8a;
  transition: all 0.4s ease;
}



.synagogue-text-silver .synagogue-location {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: #8a8a8a;
  transition: all 0.4s ease;
}



.synagogue-text-silver .synagogue-name {
  font-family: "Luxurious Script", cursive;
  font-size: clamp(20px, 14vw, 56px);
  font-weight: 400;
  color: #8a8a8a;
  display: block;
  margin: 10px 0 0 0;
  line-height: 1;
  word-spacing: normal;
  white-space: nowrap;
  max-width: 90vw;
  overflow: visible;
  text-overflow: clip;
  position: relative;
  padding-bottom: 12px;
}

.synagogue-text-silver .synagogue-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, transparent, #8a8a8a, transparent);
}

.synagogue-text-silver .synagogue-address {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.5;
  color: #8a8a8a;
  transition: all 0.4s ease;
}


.synagogue-text-silver .synagogue-time {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 25px 0;
  color: #8a8a8a;
  transition: all 0.4s ease;
}


.synagogue-text-silver .synagogue-details {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0 25px 0;
  color: #8a8a8a;
  line-height: 1.5;
  transition: all 0.4s ease;
}


.synagogue-text-silver .calendar-link {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: #8a8a8a;
  text-decoration: underline;
  margin: 0 0 30px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  padding: 8px 15px;
}

.synagogue-text-silver .calendar-link i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.synagogue-text-silver .calendar-link:hover {
  color: #5a5a5a;
  transform: translateY(-2px);
}

.synagogue-text-silver .calendar-link:hover i {
  transform: scale(1.2);
}

.synagogue-text-silver .waze-button {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #9a9a9a, #8a8a8a);
  padding: 12px 35px;
  border: 2px solid #7a7a7a;
  border-radius: 0;
  text-decoration: none;
  margin: 0 0 30px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.synagogue-text-silver .waze-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.synagogue-text-silver .waze-button:hover {
  background: linear-gradient(135deg, #a89968, #968b52);
  color: #ffffff;
  border-color: #7a7a7a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.synagogue-text-silver .waze-button:hover::before {
  left: 100%;
}

.response-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.78)),
    url('../img/paper_background.png') repeat;
  background-size: auto, contain;
}

.response-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 42px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url('../img/paper_background.png') repeat;
  border: 5px solid #8a8a8a;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(90, 90, 90, 0.14);
}

.response-title {
  font-family: "Luxurious Script", cursive;
  font-size: 76px;
  font-weight: 400;
  color: #8a8a8a;
  text-align: center;
  margin: 0 0 22px 0;
  line-height: 1;
}

.response-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px 0;
}

.response-progress-item {
  width: 34px;
  height: 34px;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  background: #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.response-progress-item.active,
.response-progress-item.done {
  background: #8a8a8a;
  border-color: #8a8a8a;
  color: #ffffff;
  transform: translateY(-2px);
}

.response-step.animate-in {
  animation: responseStepIn 0.35s ease both;
}

@keyframes responseStepIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.response-step h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  color: #8a8a8a;
  text-align: center;
  margin: 0 0 24px 0;
}

.response-step-note {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #ffffff;
  background: #8a8a8a;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 28px auto;
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(90, 90, 90, 0.18);
}

.response-choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  justify-content: center;
  gap: 14px;
}

.response-choice-button {
  min-height: 54px;
  border: 2px solid #8a8a8a;
  border-radius: 8px;
  background: #ffffff;
  color: #8a8a8a;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.response-choice-button:hover,
.response-choice-button.selected {
  background: #8a8a8a;
  color: #ffffff;
}

.response-count-control {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 46px minmax(92px, 120px) 46px;
  align-items: center;
  gap: 12px;
  max-width: 430px;
  margin: 0 auto;
}

.response-count-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  color: #6f6f6f;
}

.response-count-button {
  width: 46px;
  height: 46px;
  border: 2px solid #8a8a8a;
  border-radius: 8px;
  background: #8a8a8a;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.response-count-button:hover {
  background: #777777;
  transform: translateY(-2px);
}

.response-count-input,
.response-field input {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(138, 138, 138, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #5a5a5a;
  box-sizing: border-box;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.response-count-input {
  text-align: center;
}

.response-count-input:focus,
.response-field input:focus {
  border-color: #8a8a8a;
  box-shadow: 0 0 0 3px rgba(138, 138, 138, 0.16);
}

.response-person-list {
  display: grid;
  gap: 18px;
}

.response-person {
  border: 2px solid rgba(138, 138, 138, 0.24);
  border-radius: 8px;
  padding: 18px;
  margin: 0;
  background: rgba(255, 255, 255, 0.48);
}

.response-person legend {
  padding: 0 10px;
  color: #8a8a8a;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
}

.response-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.response-field label {
  display: block;
  margin: 0 0 8px 0;
  color: #6f6f6f;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
}

.response-summary {
  text-align: center;
}

.response-summary-count {
  color: #6f6f6f;
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 18px 0;
}

.response-summary-note {
  color: #6f6f6f;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.response-summary-list {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}

.response-summary-list li {
  padding: 12px 14px;
  border: 1px solid rgba(138, 138, 138, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #5a5a5a;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
}

.response-summary-list span {
  color: #8a8a8a;
  font-weight: 700;
}

.response-status {
  margin: 24px auto 0 auto;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.response-status[hidden] {
  display: none;
}

.response-status-loading {
  color: #6f6f6f;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(138, 138, 138, 0.28);
}

.response-status-success {
  color: #4f6b55;
  background: rgba(244, 255, 246, 0.86);
  border: 2px solid rgba(79, 107, 85, 0.28);
}

.response-status-error {
  color: #8c4d4d;
  background: rgba(255, 246, 246, 0.88);
  border: 2px solid rgba(140, 77, 77, 0.28);
}

.response-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.response-button {
  width: min(260px, 100%);
  min-width: 180px;
  border: 2px solid #8a8a8a;
  border-radius: 8px;
  background: #8a8a8a;
  color: #ffffff;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 22px;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.response-button:hover:not(:disabled) {
  background: #777777;
  transform: translateY(-2px);
}

.response-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.response-button[hidden] {
  display: none;
}

.response-button-secondary {
  background: #ffffff;
  color: #8a8a8a;
}

.response-button-secondary:hover:not(:disabled) {
  background: #f2f2f2;
  color: #6f6f6f;
}

/* Responsive */
@media (max-width: 480px) {
  .section {
    padding: 20px 10px;
  }

  .synagogue-text-silver {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 40px;
  }

  .response-section {
    padding: 50px 14px;
  }

  .response-card {
    padding: 30px 18px;
  }

  .response-title {
    font-size: 56px;
  }

  .response-count-control {
    grid-template-columns: 44px 1fr 44px;
  }

  .response-count-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .response-fields {
    grid-template-columns: 1fr;
  }

  .response-choice-group {
    grid-template-columns: 1fr;
  }

  .response-step-note {
    font-size: 27px;
    padding: 9px 16px;
  }

  .response-button {
    width: 100%;
  }
}

.section-logo-bg {
  /* Positionnement au centre exact du parent */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Taille et style */
  width: min(340px, 70%);
  /* Taille adaptative */
  height: auto;
  opacity: 0.2;
  /* Très léger pour ne pas gêner la lecture */

  /* Ordre d'affichage : derrière le texte */
  z-index: 0;

  /* Sécurité */
  pointer-events: none;
}

.presentation-box,
.synagogue-text-silver {
  position: relative;
  overflow: hidden;
  /* Pour que le logo ne dépasse pas des arrondis */
}

/* On s'assure que le texte reste au-dessus du logo */
.presentation-content,
.synagogue-text-silver>*:not(.section-logo-bg) {
  position: relative;
  z-index: 1;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.scroll-item {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-item.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-item:nth-child(1) { transition-delay: 0.1s; }
.scroll-item:nth-child(2) { transition-delay: 0.2s; }
.scroll-item:nth-child(3) { transition-delay: 0.3s; }
.scroll-item:nth-child(4) { transition-delay: 0.4s; }
.scroll-item:nth-child(5) { transition-delay: 0.5s; }
.scroll-item:nth-child(6) { transition-delay: 0.6s; }
.scroll-item:nth-child(7) { transition-delay: 0.7s; }
.scroll-item:nth-child(8) { transition-delay: 0.8s; }
.scroll-item:nth-child(9) { transition-delay: 0.9s; }
.scroll-item:nth-child(10) { transition-delay: 1s; }

.music-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #8a8a8a;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  box-shadow: 0 8px 22px rgba(90, 90, 90, 0.22);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.music-toggle[hidden] {
  display: none;
}

.music-toggle:hover {
  background: #777777;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(90, 90, 90, 0.28);
}

.music-toggle:focus-visible {
  outline: 3px solid rgba(138, 138, 138, 0.35);
  outline-offset: 3px;
}

.music-icon {
  font-size: 20px;
  line-height: 1;
}

.language-switch {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #8a8a8a;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  z-index: 10001;
  box-shadow: 0 8px 22px rgba(90, 90, 90, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.language-switch img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.language-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(90, 90, 90, 0.28);
}

.hebrew-page {
  direction: rtl;
}

.hebrew-page,
.hebrew-page :where(p, h1, h2, h3, h4, h5, h6, a, button, span, strong, label, input, textarea, legend, li, div) {
  font-family: "David Libre", serif !important;
}

.hebrew-page .response-field label,
.hebrew-page .response-field input {
  text-align: right;
}

.hebrew-page .response-summary-list {
  text-align: right;
}

.hebrew-page .synagogue-text-silver,
.hebrew-page .presentation-box {
  direction: rtl;
}

.hebrew-page .latin-text {
  direction: ltr;
  unicode-bidi: isolate;
}

.hebrew-page .synagogue-text-silver .synagogue-name.latin-text,
.hebrew-page .synagogue-text-silver .synagogue-address.latin-text {
  text-align: center;
}

.hebrew-page .synagogue-text-silver .synagogue-address.latin-text {
  font-family: "Cormorant Garamond", serif !important;
}

@media (max-width: 480px) {
  .music-toggle {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .language-switch {
    left: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
