:root {
  --bg-ivory: #f6f1e8;
  --bg-cream: #efe7da;
  --surface: #fffdf9;
  --surface-soft: #fffaf3;

  --gold: #c8a96b;
  --gold-deep: #b6904f;
  --gold-light: #e7d3a8;

  --text-main: #1f1a17;
  --text-soft: #5e564d;
  --text-muted: #8b8175;

  --shadow-lg: 0 24px 60px rgba(73, 52, 24, 0.08);
  --shadow-md: 0 10px 26px rgba(73, 52, 24, 0.05);
  --shadow-sm: 0 2px 10px rgba(73, 52, 24, 0.04);

  /* Rayons harmonisés (grands blocs / cartes / photos) */
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --title-font: "Cormorant Garamond", serif;
  --display-font: "Cormorant Garamond", serif;
  --serif-font: "Cormorant Garamond", serif;
  --sans-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-max: 62ch;
  --content-pad: clamp(22px, 4vw, 46px);
  --section-pad: clamp(80px, 9vw, 124px);

  --border: rgba(200, 169, 107, 0.4);
  --border-2: rgba(200, 169, 107, 0.55);
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: rgba(255, 255, 255, 0.96);
}

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

body {
  min-height: 100vh;
  font-family: var(--sans-font);
  color: var(--text-main);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 248, 235, 0.95), rgba(255, 248, 235, 0) 32%),
    radial-gradient(circle at 50% 52%, rgba(234, 223, 202, 0.18), rgba(234, 223, 202, 0) 52%),
    linear-gradient(180deg, #f8f4ec 0%, #f1eadf 100%);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
textarea {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  pointer-events: none;
  z-index: 0;
}

body::before {
  left: 0;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.98), transparent);
}

body::after {
  right: 0;
  background: linear-gradient(270deg, rgba(251, 250, 247, 0.98), transparent);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(181, 142, 43, 0.55);
  outline-offset: 4px;
  border-radius: 12px;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--section-pad) + 22px) var(--content-pad) var(--section-pad);
  text-align: center;
}

.hero__inner {
  max-width: 900px;
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding: 28px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-2);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* hero__inner double-liseré géré par premium-card */

.seal {
  display: grid;
  place-items: center;
}

.seal__logo {
  width: 232px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

.seal__mark {
  width: 232px;
  height: 232px;
  display: none;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(16, 16, 16, 0.4);
  box-shadow: var(--shadow);
  font-family: "Cinzel Decorative", serif;
  font-size: 3rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

.seal--fallback .seal__logo {
  display: none;
}

.seal--fallback .seal__mark {
  display: grid;
}

.hero__eyebrow,
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: rgba(40, 34, 26, 0.7);
}

/* Hero only: “Bar Mitsva” plus visible */
.hero .hero__eyebrow {
  font-family: var(--display-font);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.hero__title {
  font-family: var(--title-font);
  font-size: clamp(3.2rem, 6.2vw, 5.3rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-wrap: balance;
  color: var(--text-main);
  text-shadow: 0 22px 70px rgba(10, 10, 10, 0.12);
}

.hero__date {
  font-family: var(--serif-font);
  font-size: 1.5rem;
  color: rgba(40, 40, 40, 0.72);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(720px, 100%);
}

.countdown__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.countdown__value {
  font-family: var(--display-font);
  font-size: 2rem;
  color: rgba(181, 142, 43, 0.98);
  display: block;
}

.countdown__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(40, 40, 40, 0.62);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button--primary {
  background: linear-gradient(135deg, #d4b06a 0%, #c49a57 45%, #e4c98f 100%);
  color: #241b12;
  border: 1px solid rgba(191, 148, 78, 0.9);
  box-shadow:
    0 10px 22px rgba(196, 154, 87, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button--ghost {
  border: 1px solid rgba(200, 169, 107, 0.72);
  color: var(--text-soft);
  background: rgba(255, 253, 249, 0.88);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(196, 154, 87, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.section {
  padding: calc(var(--section-pad) * 1.1) var(--content-pad);
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  text-align: center;
  justify-items: center;
  padding: 32px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-2);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* liseré géré par premium-card */

.section__header {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.section__title {
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-wrap: balance;
  color: rgba(15, 15, 15, 0.92);
  text-shadow: 0 18px 60px rgba(10, 10, 10, 0.12);
}

.section__text {
  color: var(--text-soft);
  font-size: 0.97rem;
  max-width: 58ch;
  line-height: 1.9;
}

main p {
  text-wrap: pretty;
}

/* Exceptions pour éviter le wrap sur les blocs invitation/dates */
.invitation-header .parents-line,
.invitation-header .siblings-line,
.program-date-block .date-line,
.program-date-block .year-line {
  text-wrap: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 24px;
  justify-items: center;
  align-items: stretch;
  justify-content: center;
}

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.96);
  border: 1px solid rgba(200, 169, 107, 0.68);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 10px);
  padding: 2px;
  background: var(--frame-3d-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 0;
}

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

.card__title {
  font-family: var(--display-font);
  font-size: 1.65rem;
  color: rgba(15, 15, 15, 0.88);
  letter-spacing: 0.03em;
}

/* Programme : bloc dates (remplace card__meta) */
.program-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.date-line,
.year-line {
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #b58e2b !important;
  -webkit-text-fill-color: #b58e2b !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.card__text {
  color: var(--text-soft);
  max-width: var(--text-max);
}

.card__text--brunch {
  font-size: 1.1rem;
  font-weight: 500;
}

.card__text--address {
  font-size: 0.82rem;
}

.card__text--hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}


.card__link {
  color: rgba(15, 15, 15, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.card__link--button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__summary {
  width: 100%;
  max-width: 720px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel-2);
  border: 1px solid var(--border-2);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 14px;
  text-align: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
}

.form__summary::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 10px);
  padding: 2px;
  background: var(--frame-3d-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 0;
}

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

.form__summary-title {
  font-family: var(--display-font);
  letter-spacing: 0.06em;
  color: rgba(181, 142, 43, 0.95);
  font-weight: 500;
  font-size: 1.2rem;
}

.form__summary-content {
  display: grid;
  gap: 10px;
  color: rgba(93, 85, 76, 0.95);
  text-align: center;
}

.form__summary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero--compact {
  min-height: auto;
  padding: calc(var(--section-pad) - 20px) var(--content-pad) calc(var(--section-pad) - 34px);
}

.card__links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.dedication {
  text-align: center;
}

.dedication .section__inner {
  max-width: 1100px;
  padding: 40px 46px;
  background: rgba(255, 252, 246, 0.98);
}

.dedication .section__title {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.dedication .section__text {
  font-family: var(--serif-font);
  font-size: 1.22rem;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--text-soft);
}

/* Pensée : cadre “photo” (liserés plus proches + dorure plus joaillerie) */
.dedication .premium-card::before {
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(231, 211, 168, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

/* Ornement “carton luxe” autour de la dédicace */
.dedication__sep {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dedication__sep--top {
  margin-top: 2px;
}

.dedication__sep--bottom {
  margin-bottom: 2px;
}

.dedication__line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 107, 0.85), transparent);
}

.dedication__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.9);
  box-shadow:
    0 0 0 3px rgba(231, 211, 168, 0.18),
    0 6px 14px rgba(73, 52, 24, 0.08);
}

.dedication__symbol {
  font-family: var(--display-font);
  font-size: 1.05rem;
  color: rgba(180, 144, 51, 0.95);
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(73, 52, 24, 0.08);
}

.form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  text-align: center;
  justify-items: center;
  width: 100%;
}

.form__row,
.form__block {
  display: grid;
  gap: 10px;
  width: 100%;
}

.form__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(30, 26, 20, 0.9);
}

.form__input,
.form__textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(181, 142, 43, 0.32);
  border-radius: 14px;
  color: rgba(15, 15, 15, 0.9);
  padding: 12px 14px;
  font-size: 1rem;
  width: 100%;
  text-align: left;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(30, 26, 20, 0.6);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: rgba(181, 142, 43, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.form__block {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel-2);
  border: 1px solid var(--border-2);
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
}

.form__block::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 10px);
  padding: 2px;
  background: var(--frame-3d-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 0;
}

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

.form__block-header h3 {
  font-family: "Cinzel Decorative", serif;
  margin-bottom: 4px;
}

.form__block-header p {
  font-size: 1.2rem; /* +20% */
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(181, 142, 43, 0.92);
  text-transform: uppercase;
}

.form__choices {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.choice {
  position: relative;
  border: 1px solid rgba(181, 142, 43, 0.28);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(15, 15, 15, 0.86);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 244, 238, 0.82));
  box-shadow: 0 10px 26px rgba(10, 10, 10, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.choice:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 142, 43, 0.45);
  box-shadow: 0 14px 32px rgba(10, 10, 10, 0.1);
}

.choice input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(181, 142, 43, 0.4);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  margin: 0;
  flex: 0 0 auto;
}

.choice input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: scale(0);
  transition: transform 0.12s ease;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(181, 142, 43, 0.95));
  box-shadow: 0 8px 18px rgba(181, 142, 43, 0.22);
}

.choice input[type="radio"]:checked::before {
  transform: scale(1);
}

.choice:has(input[type="radio"]:checked) {
  border-color: rgba(181, 142, 43, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 231, 189, 0.2));
}

.choice:has(input[type="radio"]:focus-visible) {
  box-shadow:
    0 14px 32px rgba(10, 10, 10, 0.1),
    0 0 0 3px rgba(212, 175, 55, 0.16);
}

.form__counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  width: 100%;
}

.counter {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.counter__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.counter__btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(181, 142, 43, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 238, 0.78));
  color: rgba(15, 15, 15, 0.86);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  display: grid;
  place-items: center;
  line-height: 1;
}

.counter__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(10, 10, 10, 0.1);
  border-color: rgba(181, 142, 43, 0.5);
}

.counter__btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.08);
}

.counter__btn:focus-visible {
  outline: none;
  box-shadow:
    0 14px 28px rgba(10, 10, 10, 0.1),
    0 0 0 3px rgba(212, 175, 55, 0.16);
}

.counter__value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.88);
}

.form__note {
  color: rgba(201, 193, 182, 0.88);
  font-size: 0.85rem;
}

.form__status {
  min-height: 20px;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.form__status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form__status--success {
  color: #0b0b0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.form__status--error {
  color: var(--text);
  background: rgba(120, 20, 20, 0.35);
  border-color: rgba(212, 175, 55, 0.25);
}

.form__status--info {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.25);
}

.footer {
  padding: 40px 24px;
  text-align: center;
  color: rgba(201, 193, 182, 0.85);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer p + p {
  margin-top: 12px;
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer__whatsapp {
  color: rgba(201, 193, 182, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__whatsapp:hover {
  color: #25D366;
}

.footer__whatsapp--icon {
  display: inline-flex;
  color: rgba(201, 193, 182, 0.9);
}

.footer__whatsapp--icon:hover {
  color: #25D366;
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--section-pad) var(--content-pad) 0;
}

.landing__main {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing .footer {
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
}

.landing__content {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 32px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(181, 142, 43, 0.22);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* liseré géré par premium-card */

.landing__title {
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: 0.08em;
  text-wrap: nowrap;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
  color: #b58e2b !important;
  -webkit-text-fill-color: #b58e2b !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.landing__name {
  font-family: var(--serif-font);
  font-size: clamp(1.6rem, 3.1vw, 2.25rem);
  color: #1f1a17 !important;
  -webkit-text-fill-color: #1f1a17 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.landing__date {
  font-size: 1.2rem;
  color: rgba(40, 40, 40, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.landing__divider {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.landing__text {
  color: rgba(40, 40, 40, 0.72);
  max-width: 520px;
  line-height: 1.9;
}

.intro__block {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(760px, 100%);
  padding: 28px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(181, 142, 43, 0.22);
  background:
    radial-gradient(circle at 30% 0%, rgba(212, 175, 55, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* liseré géré par premium-card / inner-card */

/* Carte premium (tous les encadrés principaux) */
.premium-card {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 251, 245, 0.96) 100%);
  border: 1px solid rgba(200, 169, 107, 0.72);
  box-shadow: var(--shadow-lg), var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(231, 211, 168, 0.5);
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 30px 70px rgba(73, 52, 24, 0.1),
    0 14px 34px rgba(73, 52, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Invitation header : parents + siblings */
.invitation-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.parents-line {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  max-width: 100%;
  text-align: center;
  line-height: 1.7;
  font-family: var(--serif-font);
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.siblings-line {
  text-align: center;
  line-height: 1.7;
  font-family: var(--serif-font);
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.intro__line {
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

.intro__noah {
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 4.3vw, 3.25rem);
  letter-spacing: 0.14em;
  color: rgba(181, 142, 43, 0.98);
  margin-top: 2px;
  text-shadow: 0 14px 45px rgba(10, 10, 10, 0.12);
}

.intro .section__eyebrow {
  color: rgba(15, 15, 15, 0.62);
  letter-spacing: 0.5em;
}

.intro__footer {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(181, 142, 43, 0.18);
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  width: min(620px, 100%);
}

.intro__footer-title {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  color: rgba(40, 40, 40, 0.62);
}

.intro__footer-text {
  color: rgba(40, 40, 40, 0.72);
  line-height: 1.8;
  font-size: 0.98rem;
  max-width: 64ch;
}

.landing__cta {
  margin-top: 6px;
}

@media print {
  body::before,
  body::after,
  .side-marquee,
  .audio-toggle {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .backdrop {
    display: none !important;
  }

  .card,
  .form__block,
  .intro__block {
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
  }

  .card__text,
  .section__text,
  .footer {
    color: #222222 !important;
  }

  a {
    text-decoration: underline !important;
  }
}

.audio-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(181, 142, 43, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(15, 15, 15, 0.82);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(10px);
}

.audio-toggle--hint {
  animation: audio-hint-pulse 1.6s ease-in-out infinite;
}

@keyframes audio-hint-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.15);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.05);
  }
}

.audio-toggle:hover {
  transform: translateY(-2px);
}

.audio-toggle__icon {
  font-size: 1rem;
  color: rgba(181, 142, 43, 0.95);
}

.audio-toggle__text {
  display: none;
}

.side-marquee {
  position: fixed;
  top: 16px;
  bottom: 16px;
  width: 360px;
  z-index: 1;
}

.side-marquee--left {
  left: 16px;
}

.side-marquee--right {
  right: 16px;
}

.side-marquee__viewport {
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(181, 142, 43, 0.18);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.side-marquee__track {
  display: grid;
  gap: 12px;
  padding: 12px;
  align-content: start;
  animation: side-marquee-scroll 18s linear infinite;
}

.side-marquee__viewport:hover .side-marquee__track {
  animation-play-state: paused;
}

.side-marquee__item {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  border: 1px solid rgba(181, 142, 43, 0.2);
  background-color: rgba(255, 255, 255, 0.82);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  filter: saturate(0.92) contrast(1.03);
}

.side-marquee__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 10%, rgba(212, 175, 55, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.25));
  opacity: 1;
}

.side-marquee__item::after {
  content: "";
  position: absolute;
  inset: auto 10px 10px 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  opacity: 0.7;
}

.side-marquee__item--p1 {
  background-image: url("photos/photo-1.png");
}

.side-marquee__item--p2 {
  background-image: url("photos/photo-2.png");
}

.side-marquee__item--p3 {
  background-image: url("photos/photo-3.png");
}

.side-marquee__item--p4 {
  background-image: url("photos/photo-4.png");
}

.side-marquee__item--p5 {
  background-image: url("photos/photo-5.png");
}

.side-marquee__item--p6 {
  background-image: url("photos/photo-6.png");
}

.side-marquee__item--p7 {
  background-image: url("photos/photo-7.png");
}

.side-marquee__item--p8 {
  background-image: url("photos/photo-8.png");
}

.side-marquee__item--p9 {
  background-image: url("photos/photo-9.png");
}

.side-marquee__item--p10 {
  background-image: url("photos/photo-10.png");
}

.side-marquee__item--p11 {
  background-image: url("photos/photo-11.png");
}

.side-marquee__item--p12 {
  background-image: url("photos/photo-12.png");
}

.side-marquee__item--p13 {
  background-image: url("photos/photo-13.png");
}

.side-marquee__item--p14 {
  background-image: url("photos/photo-14.png");
}

.side-marquee__item--p15 {
  background-image: url("photos/photo-15.png");
}

.side-marquee__item--p16 {
  background-image: url("photos/photo-16.png");
}

.side-marquee__item--p17 {
  background-image: url("photos/photo-17.png");
}

.side-marquee__item--p18 {
  background-image: url("photos/photo-18.png");
}

.side-marquee__item--p19 {
  background-image: url("photos/photo-19.png");
}

.side-marquee__item--p20 {
  background-image: url("photos/photo-20.png");
}

.side-marquee__fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  pointer-events: none;
  z-index: 1;
}

.side-marquee__fade--top {
  top: 0;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.98), transparent);
}

.side-marquee__fade--bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(251, 250, 247, 0.98), transparent);
}

@keyframes side-marquee-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes side-marquee-scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 980px) {
  .hero,
  .section,
  .landing {
    padding-left: 460px;
    padding-right: 460px;
  }
}


@media (max-width: 768px) {
  body::before,
  body::after {
    display: none;
  }

  .landing {
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .landing .footer {
    width: 100%;
    margin-top: 0;
  }

  .side-marquee {
    display: block;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: auto;
    width: auto;
    height: 122px;
  }

  .side-marquee--right {
    display: none;
  }

  .side-marquee__viewport {
    border-radius: 18px;
  }

  .side-marquee__track {
    display: flex;
    gap: 12px;
    padding: 12px;
    width: max-content;
    animation: side-marquee-scroll-x 22s linear infinite;
  }

  .side-marquee__item {
    width: 150px;
    height: 96px;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .side-marquee__fade {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 70px;
    height: auto;
  }

  .side-marquee__fade--top {
    left: 0;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.95), transparent);
  }

  .side-marquee__fade--bottom {
    right: 0;
    left: auto;
    background: linear-gradient(270deg, rgba(11, 11, 11, 0.95), transparent);
  }

  .seal__logo {
    width: 198px;
  }

  .seal__mark {
    width: 198px;
    height: 198px;
    font-size: 2.6rem;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__inner,
  .section__inner,
  .landing__content {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__title {
    font-size: clamp(2.6rem, 10vw, 3.4rem);
  }

  .section__title {
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
  }

  .form__choices {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-marquee {
    margin-top: 36px;
  }

  .photo-marquee--hero {
    margin-bottom: 18px;
  }

  /* Mobile prioritaire : noms + dates (ne pas toucher au desktop) */
  .mobile-names-block {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-names-block .parents-line {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-height: 1.15 !important;
    font-size: 1.73rem !important;
    color: #1f1a17 !important;
    -webkit-text-fill-color: #1f1a17 !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
  }

  .mobile-names-block .siblings-line {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-height: 1.2 !important;
    font-size: 1.73rem !important;
    color: #1f1a17 !important;
    -webkit-text-fill-color: #1f1a17 !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
    margin-top: 0.2em !important;
  }

  .program-date-block .date-line,
  .program-date-block .year-line {
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
    color: #b58e2b !important;
    -webkit-text-fill-color: #b58e2b !important;
    font-size: clamp(0.7rem, 3.5vw, 1rem) !important;
    letter-spacing: 0.08em !important;
  }

  .photo-marquee__item {
    width: 172px;
    height: 110px;
  }
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .photo-marquee__track {
    animation: none !important;
  }

  .side-marquee__track {
    animation: none !important;
  }
}
