* { box-sizing: border-box; }
body { margin: 0; background: #000; color: #fff; font-family: system-ui, Arial, sans-serif; text-align: center; }
.container { margin: 40px auto 100px; max-width: 1080px; padding: 0 16px; } /* + espace bas pour le bandeau */

/* Titre (sans please) */
.main-title {
  font-family: 'The Seasons', serif;
  font-size: 80px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
}

/* Notices */
.notice { margin: 12px 0; padding: 10px 12px; border-radius: 8px; text-align: left; font-size: 14px; }
.notice.error { background: #2b0000; border: 1px solid #aa0000; color: #ffb3b3; }
.hidden { display: none; }

.fineprint { color: #bbb; font-size: 12px; margin: 6px 0 14px; }

#totalContainer { font-size: 24px; margin: 10px 0; }
#progress-bar { width: 100%; height: 30px; background: #333; margin: 20px auto; border-radius: 15px; overflow: hidden; }
#progress { width: 0; height: 100%; background: gold; transition: width .4s ease; }

input[type=text], input[type=number], #payment-element {
  width: 100%; min-height: 44px; margin: 10px 0; padding: 10px 12px;
  border-radius: 8px; border: 1px solid #444; background: #1a1a1a; color: #fff; font-size: 16px;
}

button {
  width: 100%; height: 44px; border: 0; border-radius: 8px; background: gold; color: #000; font-weight: 700; cursor: pointer;
}
button:disabled { opacity: .6; cursor: not-allowed; }

#animationCanvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999; }

/* Reveal */
.reveal { margin: 26px 0 24px; }
.reveal-title { font-size: 22px; margin-bottom: 6px; color: #ffd166; }
.reveal-legend { font-size: 14px; color: #bbb; margin-bottom: 10px; }

.reveal-stage {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1080 / 1616;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.08), inset 0 0 0 1px rgba(255,255,255,0.05);
}

#photoCanvas, #maskCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
#maskCanvas {
  image-rendering: pixelated;
  background: #c9a227;
  mix-blend-mode: normal;
}

/* Deux colonnes */
.two-columns {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  text-align: left;
}
.two-columns .col { 
  flex: 1 1 45%;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px 24px;
}
.left-col { text-align: center; }
.left-col .big-goal {
  font-family: 'The Seasons', serif;
  font-size: 70px;
  margin-bottom: 16px;
}
.formula-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin: 8px 0;
  white-space: nowrap;
}
.right-col .big-thank {
  font-family: 'The Seasons', serif;
  font-size: 70px;
  margin-bottom: 16px;
}
.right-col .thanks-multi {
  font-size: 14px;
  line-height: 1.6;
}

/* ✅ Bandeau bas */
.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #0f0f0f;
  border-top: 1px solid #222;
  z-index: 1000;
}
.site-footer .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 14px;
  color: #bbb;
  text-align: center;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .container { max-width: 900px; }
  .main-title { font-size: 64px; }
  .left-col .big-goal, .right-col .big-thank { font-size: 56px; }
  .formula-row { font-size: 20px; }
}
@media (max-width: 768px) {
  .container { max-width: 640px; padding: 0 14px; }
  .main-title { font-size: 48px; }
  .two-columns { gap: 20px; }
  .two-columns .col { flex: 1 1 100%; }
  .left-col .big-goal, .right-col .big-thank { font-size: 44px; text-align: center; }
  .formula-row { font-size: 18px; }
  .reveal-title { font-size: 18px; }
  .reveal-legend { font-size: 12px; }
}
@media (max-width: 420px) {
  .main-title { font-size: 40px; }
  .left-col .big-goal, .right-col .big-thank { font-size: 36px; }
  .formula-row { font-size: 16px; gap: 8px; }
}
/* Footer social links */
.social-links {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  transition: background .2s;
}
.social-link:hover {
  background: #444;
}
.footer-inner-text {
  font-size: 14px;
  color: #bbb;
}
