:root {
  --ink: #171922;
  --cream: #f3f0e4;
  --cream-soft: #faf8f2;
  --rose: #df728e;
  --rose-dark: #b84261;
  --gold: #e2c83b;
  --gold-dark: #b7a01e;
  --white: #fff;
  --shadow: 0 20px 65px rgb(29 25 20 / 18%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); }

button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  overflow: hidden;
  padding: 12px 0;
  color: var(--white);
  background: var(--rose);
  font-weight: 800;
  letter-spacing: .055em;
  white-space: nowrap;
}

.announcement-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: marquee 20s linear infinite;
}

@keyframes marquee { to { transform: translateX(-50%); } }

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 65%, rgb(255 255 255 / 90%), transparent 36%),
    linear-gradient(180deg, #f7f4ea 0%, #eeeadb 100%);
}

.hero-inner {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 54px 0 46px;
}

.hero h1 {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  max-width: 990px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: .98;
  text-transform: uppercase;
}

.hero h1 span:first-child { font-size: .68em; font-weight: 500; }
.hero h1 strong { color: var(--rose); font-weight: 900; }
.hero h1 span:last-child { font-size: .58em; line-height: 1.1; }

.hero-proof {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 0;
  font-size: clamp(.78rem, 1.55vw, 1.15rem);
  font-weight: 800;
}

.hero-proof i { width: 2px; height: 22px; background: currentColor; }

.hero-portrait {
  width: min(440px, 72vw);
  margin: -8px auto -72px;
  filter: drop-shadow(0 18px 30px rgb(48 32 15 / 12%));
}

.cta {
  position: relative;
  z-index: 3;
  display: inline-grid;
  gap: 5px;
  min-width: min(100%, 480px);
  border: 0;
  border-radius: 999px;
  padding: 15px 36px;
  color: var(--white);
  background: linear-gradient(180deg, #ead843 0%, var(--gold-dark) 100%);
  box-shadow: inset 0 1px rgb(255 255 255 / 50%), 0 9px 22px rgb(146 122 0 / 20%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px rgb(255 255 255 / 50%), 0 14px 28px rgb(146 122 0 / 27%); }
.cta:focus-visible { outline: 4px solid rgb(223 114 142 / 30%); outline-offset: 4px; }
.cta strong { font-size: 1.25rem; }
.cta span { font-size: .85rem; letter-spacing: .18em; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  color: var(--white);
  text-align: center;
  background: var(--rose);
}

.facts article { display: grid; gap: 3px; }
.facts strong { font-size: clamp(1rem, 1.6vw, 1.35rem); }
.facts span { font-size: clamp(.9rem, 1.4vw, 1.1rem); }

.section-shell { width: min(100% - 32px, 1120px); margin: 0 auto; }
.program-intro { padding: 52px 0 28px; text-align: center; }
.program-intro p { margin: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.program-intro h2 { margin: 2px 0 0; font-size: clamp(1.75rem, 3.8vw, 3.2rem); line-height: 1.05; }

.program { display: grid; gap: 30px; padding-bottom: 74px; }
.program-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 26px rgb(35 31 20 / 10%);
}
.program-card.reverse img { order: 2; }
.program-card img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.program-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px; }
.day-pill { display: inline-block; border-radius: 99px; padding: 8px 24px; color: var(--white); background: var(--rose); font-weight: 900; }
.program-date { margin: 20px 0 8px; color: var(--rose-dark); font-size: 1.05rem; font-weight: 800; }
.program-copy h3 { margin: 0 0 26px; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.15; }
.program-copy h3 small { display: block; margin-top: 8px; font-size: .64em; font-weight: 600; }
.cta-small { min-width: 0; padding: 13px 25px; }
.cta-small strong { font-size: .92rem; }

.speaker-section { padding: 76px 0; color: var(--white); background: var(--rose); }
.speaker-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(34px, 6vw, 80px); }
.speaker-photo-wrap { position: relative; }
.speaker-photo-wrap::before { content: ""; position: absolute; inset: -15px 15px 15px -15px; border: 2px solid rgb(255 255 255 / 65%); border-radius: 50% 50% 8px 8px; }
.speaker-photo-wrap img { position: relative; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 8px 8px; }
.speaker-kicker { margin: 0 0 4px; font-size: 1rem; font-weight: 900; letter-spacing: .17em; }
.speaker-copy h2 { margin: 0 0 24px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .95; }
.speaker-copy p { margin: 0 0 14px; font-size: 1rem; line-height: 1.55; }
.speaker-copy .cta { margin-top: 10px; }

.closing-cta { padding: 72px 0; text-align: center; background: var(--cream-soft); }
.closing-cta h2 { max-width: 850px; margin: 0 auto 20px; font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.05; }
.closing-cta p { max-width: 820px; margin: 0 auto 30px; font-size: 1.16rem; line-height: 1.55; }

.legal-footer { padding: 38px 0; color: #eee; background: #1e2027; text-align: center; }
.legal-footer p { max-width: 940px; margin: 0 auto 11px; font-size: .72rem; line-height: 1.55; }
.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 18px; }
.legal-footer a { color: var(--white); font-size: .75rem; }

.warning-banner { padding: 17px 20px; color: var(--white); background: linear-gradient(180deg, #d0262f, #a90f18); text-align: center; font-size: clamp(.82rem, 1.8vw, 1.2rem); font-weight: 900; letter-spacing: .03em; }
.confirmation-page { background: var(--cream); }
.confirmation-hero { padding: 34px 0 62px; text-align: center; }
.confirmation-hero h1 { max-width: 900px; margin: 0 auto 12px; font-size: clamp(2rem, 4.7vw, 3.8rem); line-height: 1.02; }
.confirmation-hero h1 em { color: var(--rose); font-style: normal; }
.confirmation-hero p { margin: 0 0 27px; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; }
.video-shell { width: min(100%, 460px); aspect-ratio: 9 / 13; margin: 0 auto; overflow: hidden; background: #d7d1c5; box-shadow: 0 14px 38px rgb(33 26 14 / 14%); }
.video-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #d7d1c5; }
.video-frame::before { content: "Chargement de la vidéo…"; position: absolute; inset: 0; display: grid; place-items: center; color: #514b41; font-weight: 700; }
.video-frame > * { position: relative; z-index: 1; }

.steps { display: grid; gap: 24px; padding-bottom: 72px; }
.step-card { padding: clamp(28px, 5vw, 55px); border-radius: 7px; background: var(--white); box-shadow: 0 8px 25px rgb(37 31 18 / 9%); text-align: center; }
.step-number { display: inline-block; margin-bottom: 16px; border-radius: 99px; padding: 9px 24px; color: var(--white); background: var(--rose); font-weight: 900; }
.step-card h2 { max-width: 780px; margin: 0 auto 26px; font-size: clamp(1.35rem, 3vw, 2.25rem); line-height: 1.15; }
.success-ticket { display: flex; align-items: center; justify-content: center; gap: 15px; width: min(100%, 650px); margin: 0 auto; border: 1px solid #bdd7c2; border-radius: 8px; padding: 18px; color: #194f2a; background: #eff9f1; text-align: left; }
.success-ticket div { display: grid; gap: 4px; }
.success-check { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: #348b4d; font-size: 1.35rem; font-weight: 900; }
.whatsapp-cta { text-decoration: none; background: linear-gradient(180deg, #39cb70, #168b48); }
.tally-frame { display: block; width: 100%; border: 0; }

.contact-confirmation { padding: 72px 0; background: var(--rose); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch; }
.contact-summary, .contact-update { border-radius: 7px; padding: clamp(28px, 4vw, 48px); background: var(--white); }
.contact-summary h2, .contact-update h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.05; }
.contact-summary h3, .contact-update h3 { margin: 0 0 24px; font-size: 1.15rem; }
.contact-summary p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; font-size: 1rem; line-height: 1.45; }
.contact-summary p span { font-size: 1.3rem; }
#contact-update-form { display: grid; gap: 10px; }
#contact-update-form > input { min-height: 48px; border: 1px solid #6a7180; border-radius: 6px; padding: 12px; background: #fbfaf7; }
#contact-update-form > input:focus { outline: 3px solid rgb(223 114 142 / 22%); border-color: var(--rose-dark); }

@media (max-width: 720px) {
  .confirmation-hero { padding-top: 28px; padding-bottom: 42px; }
  .confirmation-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .video-shell { width: min(100%, 440px); }
  .steps { padding-bottom: 50px; }
  .step-card { padding-inline: 22px; }
  .success-ticket { align-items: flex-start; }
  .contact-confirmation { padding: 52px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

.registration-dialog {
  width: min(700px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 0;
  padding: 0;
  overflow: visible;
  background: var(--white);
  box-shadow: var(--shadow);
}

.registration-dialog::backdrop { background: rgb(17 17 17 / 62%); }
.registration-dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }

.dialog-close {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 1.9rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}

.dialog-content { padding: 62px 96px 54px; text-align: center; }
.dialog-eyebrow { margin: 0 0 5px; font-size: 1rem; }
.dialog-progress { height: 10px; margin-bottom: 12px; overflow: hidden; border-radius: 99px; background: #eee; }
.dialog-progress span { display: block; width: 70%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rose), #ee9caf); }
.dialog-content h2 { margin: 0 0 20px; font-size: clamp(1.65rem, 3.2vw, 2.25rem); line-height: 1.16; }

#registration-form { display: grid; gap: 8px; }
#registration-form > input,
.phone-row { width: 100%; min-height: 48px; }
#registration-form > input,
.phone-row input,
.country-code { border: 1px solid #6a7180; background: #fbfaf7; }
#registration-form > input,
.phone-row input { border-radius: 6px; padding: 12px; color: #252936; }
#registration-form > input:focus,
.phone-row input:focus { outline: 3px solid rgb(223 114 142 / 22%); border-color: var(--rose-dark); }

.phone-help { margin: 1px 0 -2px; font-size: .8rem; font-weight: 700; line-height: 1.16; }
.phone-row { display: grid; grid-template-columns: auto 1fr; }
.phone-row input { min-width: 0; border-left: 0; border-radius: 0 6px 6px 0; }
.country-code { display: flex; align-items: center; padding: 0 6px; border-radius: 6px 0 0 6px; }
.country-code select { width: 106px; border: 0; outline: 0; color: #4a4d56; background: transparent; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { min-height: 0; margin: 0; color: #a02743; font-size: .84rem; font-weight: 700; }
.form-message:not(:empty) { min-height: 20px; }
.form-submit {
  min-height: 49px;
  border: 0;
  border-radius: 99px;
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(180deg, #ebd83e 0%, #d1b925 100%);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.form-submit:disabled { opacity: .65; cursor: wait; }
.privacy-note { margin: 11px 0 0; font-size: .66rem; }

@media (max-width: 720px) {
  .announcement { font-size: .72rem; }
  .hero-inner { padding-top: 38px; }
  .hero h1 { line-height: 1.02; }
  .hero-proof { flex-wrap: wrap; gap: 7px; }
  .hero-proof i { height: 16px; }
  .hero-portrait { margin-top: 4px; margin-bottom: -50px; width: min(540px, 108vw); }
  .cta { min-width: 0; width: min(100%, 440px); padding-inline: 18px; }
  .cta strong { font-size: 1.05rem; }
  .cta span { font-size: .7rem; }
  .facts { grid-template-columns: 1fr; gap: 13px; padding-block: 20px; }
  .facts article:not(:last-child) { padding-bottom: 13px; border-bottom: 1px solid rgb(255 255 255 / 35%); }
  .program-intro { padding-top: 38px; }
  .program { padding-bottom: 50px; }
  .program-card,
  .program-card.reverse { grid-template-columns: 1fr; }
  .program-card.reverse img { order: 0; }
  .program-card img { min-height: 0; aspect-ratio: 16 / 9; }
  .program-copy { padding: 28px 24px 32px; }
  .speaker-section { padding: 54px 0; }
  .speaker-inner { grid-template-columns: 1fr; }
  .speaker-photo-wrap { width: min(88%, 430px); margin: 0 auto; }
  .closing-cta { padding: 52px 0; }
  .dialog-content { padding: 42px 22px 34px; }
  .dialog-close { top: 6px; right: 6px; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
