:root{
  --black: #060608;
  --black2:#0b0b0f;

  --white: rgba(255,255,255,.92);
  --white2: rgba(255,255,255,.76);
  --white3: rgba(255,255,255,.55);

  --red: #e11d2e;
  --red2: rgba(225,29,46,.55);

  --cardBg: rgba(8,8,10,.22);
  --cardStroke: rgba(255,255,255,.14);
  --shadow: 0 40px 120px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--white);
  background: radial-gradient(1200px 900px at 20% 10%, #1a0b10 0%, var(--black2) 50%, var(--black) 100%);
  overflow:hidden;
}

/* Background */
.bg{ position:fixed; inset:0; z-index:0; }
.bg__slide{
  position:absolute;
  inset:-2%;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.03);
  transition:opacity 1.2s ease, transform 1.6s ease;
}
.bg__slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 700px at 18% 25%, rgba(225,29,46,.16), transparent 60%),
    radial-gradient(900px 700px at 70% 15%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.62));
}
.bg__slide.is-active{
  opacity:1;
  transform:scale(1);
}

/* Label bas discret */
.bg__ui{
  position:absolute;
  bottom:18px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  z-index:2;
  pointer-events:none;
}
.bg__label{
  pointer-events:auto;
  padding:8px 14px;
  border-radius:999px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size:13px;
  color: rgba(255,255,255,.84);
  max-width: min(720px, 90vw);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Foreground */
.wrap{
  position:relative;
  z-index:1;
  height:100%;
  display:grid;
  place-items:center;
  padding: 28px;
}

/* Card */
.card{
  width: min(820px, 92vw);
  padding: 28px 30px;
  border-radius: 22px;

  background: var(--cardBg);
  border: 1px solid var(--cardStroke);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: var(--shadow);
}

/* Header : logo + badge */
.card__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 10px;
}

/* ✅ Logo avec bords arrondis */
.logo{
  width: 54px;
  height: 54px;
  object-fit: contain;

  border-radius: 14px;              /* arrondi */
  background: rgba(255,255,255,.06); /* léger support si png transparent */
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px;

  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}

/* Badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(0,0,0,.18);
  border: 1px solid rgba(225,29,46,.45);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .2px;
}

/* Pulse rouge */
.pulse{
  width:10px;height:10px;border-radius:50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225,29,46,.55);
  animation: pulse 1.5s infinite;
}
@keyframes pulse{
  0%   { box-shadow: 0 0 0 0 rgba(225,29,46,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(225,29,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,46,0); }
}

/* Text */
h1{
  margin: 10px 0 8px;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 10px;
  color: var(--white2);
  font-size: 17px;
  line-height: 1.6;
}
.sub{
  margin:0;
  color: var(--white3);
  font-size: 14px;
}

/* CTA : centré + espacé */
.cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 18px;
}
.cta--center{
  justify-content:center;
  margin-top: 22px; /* ✅ petit espace supplémentaire */
}

/* Button */
.btn{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .2px;

  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  user-select:none;
}
.btn:active{ transform: scale(.99); }
.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  color: rgba(255,255,255,.96);
  border-color: rgba(225,29,46,.55);
  background: linear-gradient(180deg, rgba(225,29,46,.92), rgba(225,29,46,.55));
  box-shadow: 0 18px 55px rgba(225,29,46,.22);
}
.btn--primary:hover{
  box-shadow: 0 22px 70px rgba(225,29,46,.30);
  filter: saturate(1.05);
}

.credit{
  margin-top: 18px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
}

/* Mobile */
@media (max-width: 520px){
  .card{ padding: 22px 18px; }
  .card__header{ align-items:flex-start; }
  .logo{ width: 46px; height: 46px; border-radius: 12px; }
  .btn{ width:100%; }
  .bg__label{ display:none; }
}
 