*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: #ffffff;
  color: #14161a;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.card {
  min-height: 100svh;
  max-width: 420px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pic {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(20, 22, 26, 0.14);
  margin-bottom: 22px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  color: #6b7280;
}

/* Bouton principal (meme rendu que la reference : pilule bleue + ombre). */
#go {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin-top: 28px;
  padding: 16px 24px;
  background: #0099EB;
  color: #fff;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(0, 153, 235, 0.32);
  transition: transform 0.15s ease, opacity 0.15s ease;
  animation: shake-lite 3.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
#go:hover { opacity: 0.92; }
#go:focus-visible { outline: 2px solid #14161a; outline-offset: 3px; }
#go:active { animation: none; transform: scale(0.98); }
#go:disabled { cursor: default; opacity: 0.85; animation: none; }

/* Boutons secondaires (YouTube, TikTok) : liens clairs et directs, style neutre. */
.yt, .tt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin-top: 14px;
  padding: 14px 24px;
  background: #ffffff;
  color: #14161a;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.yt:hover, .tt:hover { opacity: 0.85; }
.yt:focus-visible, .tt:focus-visible { outline: 2px solid #14161a; outline-offset: 3px; }
.yt-ic, .tt-ic {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.yt-ic { fill: #ff0000; }
.tt-ic { fill: #14161a; }

@keyframes shake-lite {
  0%, 62%, 100% { transform: rotate(0deg) scale(1); }
  66% { transform: rotate(-3deg) scale(1.04); }
  70% { transform: rotate(3deg) scale(1.04); }
  74% { transform: rotate(-2.5deg) scale(1.04); }
  78% { transform: rotate(2deg) scale(1.03); }
  82% { transform: rotate(-1deg) scale(1.02); }
  86% { transform: rotate(0deg) scale(1); }
}

/* Bulle d'arrivee (navigateur integre) : pointe vers le menu ••• en haut a droite. */
.tip {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 50;
  max-width: 150px;
  padding: 6px 9px;
  background: #000;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: tip-in 0.35s ease-out both;
}
.tip::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 14px;
  width: 9px;
  height: 9px;
  background: #000;
  transform: rotate(45deg);
}
@keyframes tip-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ecran de sortie (navigateur integre, apres le clic) : aucun chemin vers la destination. */
.wall {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}
.wall-x {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
  font-family: inherit;
}
.wall-cue {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 72px;
  height: 72px;
  pointer-events: none;
  animation: cue-bob 1.1s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(5px, -5px); }
}
.wall-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.wall-head {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.wall-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 300px;
  margin-bottom: 26px;
  line-height: 1.45;
}
.wall-step {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.8);
}

.wall-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.wall-ext-ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #fff;
}

.tip-ic {
  width: 11px;
  height: 11px;
  vertical-align: -1px;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #go, .tip, .wall-cue { animation: none; }
}
