/* ══════════════════════════════════════════════════════════
   SKY RIDEAU — page de lancement
   Reprend l'identité de la page d'accueil : fond crème,
   halos colorés, photo de Sky en héros, badge TikTok/Reels.
   Autonome : aucune dépendance au thème.
   ══════════════════════════════════════════════════════════ */
:root {
  --sky-bg:   #FDF9F5;
  --sky-ink:  #2B2118;
  --sky-mu:   #897060;
  --sky-r:    #FF3659;
  --sky-o:    #FF6B35;
  --sky-y:    #FFB800;
}

* { box-sizing: border-box; }

.skyr-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 40px;
  background: var(--sky-bg);
  color: var(--sky-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ── Halos décoratifs (comme l'accueil) ─────────────────── */
.skyr-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.skyr-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.skyr-b1 { width: 380px; height: 380px; top: -80px; right: -100px; background: rgba(255, 184, 0, 0.42); }
.skyr-b2 { width: 320px; height: 320px; bottom: -90px; left: -90px;  background: rgba(255, 54, 89, 0.28); }
.skyr-b3 { width: 260px; height: 260px; top: 42%; left: 52%; background: rgba(255, 107, 53, 0.22); }

.skyr-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: skyr-in 0.55s ease both;
}

@keyframes skyr-in {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ── Sky en héros, avec ses anneaux ─────────────────────── */
.skyr-dog {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skyr-halo {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,184,0,.30), rgba(255,184,0,0) 68%);
}
.skyr-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 184, 0, 0.55);
}
.skyr-r1 { inset: 2%;  animation: skyr-spin 26s linear infinite; }
.skyr-r2 { inset: 12%; border-color: rgba(255, 54, 89, 0.30); animation: skyr-spin 34s linear infinite reverse; }

@keyframes skyr-spin { to { transform: rotate(360deg); } }

.skyr-dog-img {
  position: relative;
  width: 82%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(43, 33, 24, 0.20));
}

/* ── Badge TikTok • Reels • Shorts ───────────────────────── */
.skyr-micro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 54, 89, 0.09);
  color: var(--sky-r);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.skyr-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky-r);
  animation: skyr-pulse 2s ease-out infinite;
}
@keyframes skyr-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 54, 89, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 54, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 54, 89, 0); }
}

.skyr-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 7vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.skyr-text {
  margin: 0 auto 26px;
  max-width: 460px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--sky-mu);
}

/* ── La carte du formulaire ─────────────────────────────── */
.skyr-card {
  background: #fff;
  border: 1.5px solid rgba(255, 54, 89, 0.12);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow: 0 14px 44px rgba(43, 33, 24, 0.10);
}

.skyr-card-lead {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.skyr-form { display: flex; gap: 8px; flex-wrap: wrap; }

.skyr-input {
  flex: 1;
  min-width: 200px;
  padding: 15px 16px;
  border: 1.5px solid #F0E8E0;
  border-radius: 14px;
  font: inherit;
  background: var(--sky-bg);
}
.skyr-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--sky-r);
  box-shadow: 0 0 0 3px rgba(255, 54, 89, 0.16);
}

.skyr-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-r), var(--sky-o));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 54, 89, 0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.skyr-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 54, 89, 0.38);
}

.skyr-form .skyr-input,
.skyr-form .skyr-btn { flex: 1 0 100%; }

.skyr-consent {
  flex: 1 0 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 0;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--sky-mu);
}
.skyr-consent input { margin-top: 3px; flex: 0 0 auto; }
.skyr-consent a { color: var(--sky-r); text-decoration: underline; }

.skyr-error {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fdecee;
  color: #b3122b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.skyr-legal { margin: 14px 0 0; font-size: 0.8rem; color: var(--sky-mu); }

.skyr-done {
  margin: 0;
  padding: 18px;
  background: rgba(34, 197, 94, 0.10);
  border-radius: 16px;
  font-weight: 800;
  color: #15803D;
}

.skyr-links { margin: 22px 0 0; font-size: 0.82rem; }
.skyr-links a { color: var(--sky-mu); text-decoration: underline; }
.skyr-links a:hover { color: var(--sky-r); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .skyr-body { padding: 24px 16px 32px; }
  .skyr-dog { width: min(260px, 64vw); margin-bottom: 18px; }
  .skyr-micro { font-size: 0.74rem; padding: 8px 14px; }
  .skyr-card { padding: 22px 18px 18px; }
  .skyr-form { flex-direction: column; }
  .skyr-input, .skyr-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .skyr-wrap, .skyr-ring, .skyr-dot { animation: none; }
  .skyr-btn:hover { transform: none; }
}

/* ── Compteur de visiteurs (si le plugin Sky Live est actif) ── */
.skyr-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.10);
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 700;
}
.skyr-online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: skyr-live 2.2s ease-out infinite;
}
@keyframes skyr-live {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .skyr-online-dot { animation: none; }
}
