@font-face {
  font-family: "Arpona";
  src: url("fonts/Arpona-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #2a2559;
  --bg-soft: rgba(31, 29, 41, 0.42);
  --white: #ffffff;
  --pink: #f7bacb;
  --gold: #e0d0a6;
  --field: rgba(255, 255, 255, 0.96);
  --line: rgba(224, 208, 166, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

.hero,
.footer-image {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.hero img,
.footer-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 82px) 0;
}

.intro {
  text-align: center;
  font-family: "Arpona", Georgia, serif;
  font-weight: 300;
  line-height: 1.34;
}

.intro-main {
  margin: 0;
  color: var(--gold);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(27px, 4.2vw, 46px);
  font-weight: 300;
  letter-spacing: 0.015em;
}

.intro-date {
  margin: 36px 0 0;
  color: var(--white);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(22px, 3.1vw, 34px);
  font-weight: 300;
  line-height: 1.38;
}

.intro-text {
  margin: 34px 0 0;
  color: var(--white);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(20px, 2.65vw, 29px);
  font-weight: 300;
}

.program {
  margin-top: clamp(46px, 7vw, 74px);
}

.day-title {
  margin: 48px 0 24px;
  text-align: center;
  color: var(--pink);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(29px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.schedule {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(19px, 2.35vw, 25px);
  line-height: 1.22;
}

.row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  align-items: start;
}

.time {
  color: var(--gold);
  white-space: nowrap;
}

.event { color: var(--white); }

.rsvp {
  margin-top: clamp(58px, 8vw, 90px);
  padding: clamp(28px, 5vw, 52px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20);
}

.rsvp-title {
  margin: 0 0 16px;
  text-align: center;
  color: var(--pink);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.rsvp-note {
  margin: 0 0 34px;
  text-align: center;
  color: var(--gold);
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(20px, 2.8vw, 29px);
  font-weight: 300;
}

.rsvp-form {
  max-width: 660px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.field label,
.fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.01em;
}

.field input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(224, 208, 166, 0.72);
  border-radius: 0;
  background: var(--field);
  color: #151515;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--white);
  font-size: 20px;
}

.choice input {
  width: auto;
  transform: scale(1.14);
  accent-color: var(--gold);
}

.comprod-logo {
  display: flex;
  justify-content: center;
  margin: 22px 0 4px;
}

.comprod-logo img {
  width: 96px;
  height: auto;
}

button {
  margin-top: 10px;
  padding: 16px 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-family: "Arpona", Georgia, serif;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-2px);
  background: #f1e1b4;
}

.rsvp-deadline {
  margin: 28px 0 0;
  text-align: center;
  color: var(--gold);
  font-size: 18px;
}

.footer-image {
  margin-top: clamp(20px, 5vw, 54px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 920px);
    padding-top: 36px;
  }

  .row {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .schedule {
    gap: 11px;
    font-size: 18px;
  }

  .rsvp {
    padding: 26px 18px;
  }

  .choice {
    font-size: 18px;
  }
}


@font-face {
  font-family: "Arpona Medium";
  src: url("fonts/Arpona-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.highlight-medium {
  font-family: "Arpona Medium", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}


.intro-text{
    line-height:1.7 !important;
}

.highlight-medium{
    color:#e0d0a6 !important;
    font-size:1.08em;
    line-height:1.7;
    display:inline-block;
}


/* Ajustements texte v11 */
.names-highlight {
  display: inline-block;
  margin-bottom: 0.34em;
  color: #e0d0a6;
}

.row.no-time .time {
  visibility: hidden;
}


.names-bold{
    font-weight:700 !important;
}


/* V17 - lecture mobile améliorée */
.intro-main,
.intro-text{
    font-size: clamp(32px, 4.8vw, 42px) !important;
}

.intro-date{
    font-size: clamp(24px, 3vw, 30px) !important;
}

.row{
    display:block !important;
    margin-bottom:22px;
}

.time{
    display:block !important;
    margin-bottom:6px;
    font-size:1.05em;
    font-weight:600;
}

.event{
    display:block !important;
}


/* V18 équilibrage mobile */
.intro-main{
    font-size: clamp(28px, 4.2vw, 36px) !important;
}

.intro-text{
    font-size: clamp(28px, 4.2vw, 36px) !important;
}

.intro-date{
    font-size: clamp(22px, 2.8vw, 28px) !important;
}

.time{
    font-size: 1.25em !important;
}

.event{
    font-size: 1.15em !important;
    line-height: 1.35 !important;
}


/* V22 - ajustements finaux site */
.highlight-medium{
  line-height: 1.18 !important;
}

.intro-text{
  line-height: 1.45 !important;
}


/* V26 - lignes horaires spécifiques sur une seule ligne */
.row.inline-row{
  display: flex !important;
  align-items: baseline;
  gap: 0.45em;
  margin-bottom: 22px;
}

.row.inline-row .time{
  display: inline !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

.row.inline-row .event{
  display: inline !important;
}


/* V27 - modifications programme et hiérarchie intro */

.row.inline-row{
  display: flex !important;
  align-items: baseline;
  gap: 0.45em;
  margin-bottom: 22px;
}

.row.inline-row .time{
  display: inline !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

.row.inline-row .event{
  display: inline !important;
}

.intro-main{
  font-size: clamp(24px, 3vw, 30px) !important;
}

.names-highlight{
  font-size: clamp(28px, 4.2vw, 36px) !important;
}

.intro-palace{
  font-size: clamp(28px, 4.2vw, 36px) !important;
  color: #e0d0a6;
  font-weight: 700;
}


/* V28 - intro légèrement réduite */
.intro-main{
  font-size: clamp(21px, 2.7vw, 27px) !important;
}

.intro-palace{
  font-size: clamp(25px, 3.6vw, 32px) !important;
}
