/* Disposition : un hero sombre en violet HappyCrea qui porte le compte a rebours, puis des bandes claires
   (programme, mythes, intervenante, inscription en etapes) sur fond blanc casse. */
:root {
  --night: #230b3b;
  --night-2: #3a1362;
  --violet: #8a3ffc;
  --violet-deep: #6a22d8;
  --magenta: #c23fb0;
  --indigo: #4a45e6;
  --paper: #faf8f3;
  --card: #ffffff;
  --ink: #1d1331;
  --muted: #5e5472;
  --line: #e7e0f1;
  --soft: #f0e9fb;
  --wa: #1fae5b;
  --wa-deep: #148a47;
  --ok: #1a7f4b;
  --err: #b3261e;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; }
.band { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: linear-gradient(100deg, var(--violet) 0%, var(--magenta) 100%); color: #fff; box-shadow: 0 10px 26px -10px rgba(138, 63, 252, .8); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-wa { background: var(--wa); color: #fff; font-size: 18px; padding: 18px 30px; box-shadow: 0 12px 28px -12px rgba(20, 138, 71, .9); }
.btn-wa:hover { background: var(--wa-deep); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 90% at 85% 0%, var(--night-2) 0%, var(--night) 55%, #150626 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -140px; top: 40px; width: 560px; height: 560px; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(214, 140, 255, .55) 1.6px, transparent 2px); background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%); mask-image: radial-gradient(circle, #000 25%, transparent 70%); pointer-events: none; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; position: relative; z-index: 2; }
.topbar img { height: 40px; width: auto; }
.topbar .btn { padding: 10px 20px; font-size: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 28px 72px; position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #5cf29b; box-shadow: 0 0 0 4px rgba(92, 242, 155, .25); }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; margin-top: 18px; }
.hero h1 .lead { display: block; font-size: .5em; font-weight: 600; color: #e6d6ff; margin-bottom: 10px; }
.grad { background: linear-gradient(95deg, #b57bff 0%, #ff6ad5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 18px; font-size: 19px; color: #e8def8; max-width: 34em; }
.hero .sub b { color: #b9b5ff; font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 20px; height: 20px; flex: none; stroke: #c9a6ff; }
.count { display: flex; gap: 10px; margin-top: 28px; }
.count div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 12px 8px 10px; min-width: 74px; text-align: center; }
.count b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.count small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #cdb8f0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.live { margin-top: 28px; background: rgba(92, 242, 155, .14); border: 1px solid rgba(92, 242, 155, .5); border-radius: 18px; padding: 16px 18px; }
.visual { position: relative; justify-self: center; width: min(100%, 380px); }
.visual .flyer { border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transform: rotate(3deg); border: 1px solid rgba(255, 255, 255, .15); }
.visual .mascot { position: absolute; left: -34px; bottom: -34px; width: 38%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ---------- sections ---------- */
section { padding-block: 84px; }
.sec-head { max-width: 700px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-top: 10px; }
.sec-head p { margin-top: 14px; color: var(--muted); }
.zones { background: var(--card); border-block: 1px solid var(--line); padding-block: 26px; }
.zones .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.zones h2 { font-size: 17px; font-weight: 700; margin-right: 8px; }
.zone { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.zone b { font-family: var(--font-display); font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.zone.me b { color: var(--violet-deep); }

.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.part { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.part .tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; font-family: var(--font-display); }
.part h3 { font-size: 21px; font-weight: 700; }
.part p { color: var(--muted); font-size: 16px; }
.part .num { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--soft); -webkit-text-stroke: 2px var(--violet); }
.part.fort { background: linear-gradient(160deg, var(--night-2), var(--night)); color: #fff; border: 0; transform: translateY(-14px); box-shadow: 0 30px 50px -28px rgba(58, 19, 98, .9); }
.part.fort .tag, .part.fort p { color: #dccbf6; }
.part.fort .num { color: transparent; -webkit-text-stroke-color: #ff8fe0; }

.mythes { background: var(--soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flip { display: block; width: 100%; height: 250px; perspective: 1000px; border: 0; background: none; padding: 0; text-align: left; color: inherit; }
.flip .in { display: block; position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.3, .7, .2, 1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .in { transform: rotateY(180deg); }
.flip .face { position: absolute; box-sizing: border-box; width: 100%; height: 100%; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.flip .front { background: var(--card); border: 1px solid var(--line); }
.flip .front q { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; quotes: none; }
.flip .front span, .flip .back span { display: block; font-size: 14px; font-weight: 600; color: var(--violet-deep); }
.flip .back { background: var(--violet-deep); color: #fff; transform: rotateY(180deg); }
.flip .back p { font-size: 16.5px; }
.flip .back span { color: #e8d6ff; }

.speaker { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.avatar { width: 100%; aspect-ratio: 4/5; border-radius: 26px; background: linear-gradient(150deg, var(--violet), var(--magenta)); display: grid; place-items: center; overflow: hidden; position: relative; }
.avatar span { font-family: var(--font-display); font-weight: 800; font-size: 88px; color: rgba(255, 255, 255, .92); letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-top: 8px; }
.speaker .role { color: var(--violet-deep); font-weight: 600; margin-top: 6px; }
.speaker .bio { margin-top: 20px; display: grid; gap: 14px; max-width: 40em; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.route .stop { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; }
.route .stop b { display: block; font-family: var(--font-display); font-size: 16px; }
.route .stop small { color: var(--muted); font-size: 13px; }
.route .arrow { color: var(--violet); font-weight: 700; }
.host { margin-top: 26px; padding: 16px 18px; background: var(--soft); border-radius: 16px; display: inline-block; }
.host b { font-family: var(--font-display); }

.founder { background: var(--card); border-block: 1px solid var(--line); }
.founder .wrap { display: grid; grid-template-columns: 150px 1fr; gap: 34px; align-items: center; max-width: 860px; }
.founder img { width: 150px; border-radius: 50%; mix-blend-mode: multiply; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.45; }
.founder cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: var(--muted); }
.founder cite b { color: var(--ink); font-family: var(--font-display); }

/* ---------- inscription ---------- */
.signup { background: linear-gradient(180deg, var(--paper), var(--soft)); }
.stage { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px; max-width: 760px; margin-inline: auto; box-shadow: 0 40px 70px -48px rgba(58, 19, 98, .6); }
.progress { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--magenta)); transition: width .4s ease; }
.step-label { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stage h3 { font-size: 26px; font-weight: 700; margin: 8px 0 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%; min-width: 0; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(138, 63, 252, .18); }
.field.bad input, .field.bad select { border-color: var(--err); }
.msg { color: var(--err); font-size: 14px; min-height: 0; }
.phone { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.phone output { display: grid; place-items: center; background: var(--soft); border-radius: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opts { display: grid; gap: 12px; }
.opt { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 17px; color: var(--ink); transition: border-color .15s, background .15s, transform .15s; display: flex; gap: 14px; align-items: center; }
.opt:hover { border-color: var(--violet); transform: translateX(3px); }
.opt[aria-pressed="true"] { border-color: var(--violet-deep); background: var(--soft); }
.opt .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.opt[aria-pressed="true"] .dot { border-color: var(--violet-deep); background: var(--violet-deep); box-shadow: inset 0 0 0 4px #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--violet-deep); flex: none; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.nav .back { background: none; border: 0; color: var(--muted); font-weight: 600; padding: 10px 4px; }
.mascot-hint { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; background: var(--soft); border-radius: 18px; padding: 12px 16px; font-size: 15px; }
.mascot-hint img { width: 54px; flex: none; }

.done { text-align: center; }
.done .badge { display: inline-block; background: linear-gradient(100deg, var(--violet), var(--magenta)); color: #fff; font-family: var(--font-display); font-weight: 700; padding: 8px 20px; border-radius: 999px; margin-top: 8px; }
.done h3 { font-size: clamp(26px, 4vw, 34px); margin-top: 10px; }
.done .lead { color: var(--muted); margin: 12px auto 0; max-width: 34em; }
.tip { margin: 22px auto 0; max-width: 34em; background: var(--soft); border-radius: 16px; padding: 14px 18px; text-align: left; font-size: 15.5px; }
.tip b { font-family: var(--font-display); color: var(--violet-deep); }
.todo { display: grid; gap: 12px; margin: 28px 0 0; text-align: left; }
.todo .row { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; flex-wrap: wrap; }
.todo .row p { flex: 1 1 200px; min-width: 0; }
.todo .row p b { display: block; font-family: var(--font-display); }
.todo .row p span { font-size: 14px; color: var(--muted); word-break: break-all; }
.todo .btn { padding: 11px 20px; font-size: 15px; }
.finale { margin-top: 30px; padding-top: 28px; border-top: 2px dashed var(--line); }
.finale p { margin-bottom: 14px; font-weight: 600; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--violet-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.faq .wrap { max-width: 780px; }

footer { background: var(--night); color: #d9c9f1; padding-block: 44px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
footer img { height: 38px; width: auto; }
footer small { display: block; max-width: 38em; margin-top: 12px; color: #b9a3d8; font-size: 13.5px; line-height: 1.55; }
footer a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }

.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; color: inherit; border-bottom-width: 1.5px; opacity: .92; transition: transform .15s, opacity .15s; }
.social a:hover { transform: translateY(-2px); opacity: 1; }
.social svg { width: 20px; height: 20px; stroke: currentColor; }
.follow { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .95; }
.follow .social { margin-top: 0; }
.hero .follow { color: #e8def8; }
@media (max-width: 880px) {
  .hero { background: linear-gradient(180deg, var(--night) 0, var(--night) 76px, var(--paper) 76px, #f3ecfb 100%); color: var(--ink); }
  .hero::before { display: none; }
  .topbar { height: 76px; padding-block: 0; }
  .topbar img { height: 32px; }
  .hero-grid { padding-block: 24px 40px; gap: 34px; }
  .pill { background: var(--soft); border-color: var(--line); color: var(--violet-deep); }
  .hero h1 .lead { color: var(--violet-deep); }
  .hero .sub { color: var(--muted); font-size: 16px; }
  .hero .sub b { color: var(--violet-deep); }
  .facts { gap: 8px 18px; font-size: 15px; }
  .facts svg { stroke: var(--violet-deep); }
  .count div { background: #fff; border-color: var(--line); box-shadow: 0 8px 20px -14px rgba(58, 19, 98, .5); }
  .count b { color: var(--ink); }
  .count small { color: var(--muted); }
  .hero h1 .grad { background: linear-gradient(100deg, var(--violet-deep), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .hero .cta-row .btn { width: 100%; }
  .hero .follow { color: var(--muted); }
  .visual .flyer { box-shadow: 0 24px 40px -22px rgba(58, 19, 98, .45); border-color: var(--line); }
  .flip { height: 190px; }
  section { padding-block: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 56px; }
  .visual { width: min(78%, 320px); }
  .parts, .cards3 { grid-template-columns: 1fr; }
  .part.fort { transform: none; }
  .speaker { grid-template-columns: 1fr; gap: 28px; }
  .avatar { max-width: 340px; margin-inline: auto; }
  .founder .wrap { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .founder img { margin-inline: auto; width: 110px; }
  .stage { padding: 24px 18px; border-radius: 22px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .count { gap: 6px; }
  .count div { min-width: 0; flex: 1; padding-inline: 4px; }
  .count b { font-size: 26px; }
  .hero .sub { font-size: 17px; }
  .btn-wa { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { border-color: #fff; }

@media (max-width: 880px) {
  .hero .cta-row .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
}

.mailhint { margin: 12px auto 0; max-width: 34em; font-size: 14px; color: var(--muted); text-align: center; }
