
:root {
  --text: #f7f7f9;
  --muted: rgba(247,247,249,0.48);
  --pink: #e8c0d0;
  --pink-dark: #dca9c0;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 34px 88px rgba(0,0,0,0.50);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(68,74,108,0.20), transparent 28%),
    linear-gradient(180deg, #05060b 0%, #04050a 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body { min-height: 100vh; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 570px;
  background: rgba(8, 10, 15, 0.90);
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.00) 46%, rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.44) 78%, rgba(0,0,0,0.78) 100%),
    url('/hero.jpg');
  background-size: cover;
  background-position: center 24%;
}
.hero-inner {
  width: 100%;
  text-align: center;
  padding: 18px 28px 30px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(32,36,47,0.72);
  color: rgba(255,255,255,0.94);
  font-size: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.06);
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #33d16f;
  box-shadow: 0 0 0 5px rgba(51,209,111,0.10);
}
h1 {
  margin: 0 0 10px;
  font-size: 60px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.sub {
  margin: 0 auto;
  max-width: 18ch;
  color: rgba(255,255,255,0.95);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 18px rgba(0,0,0,0.20);
}
.content {
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, #06070d 0%, #04050a 100%);
}
.buttons {
  display: grid;
  gap: 12px;
}
.btn {
  display: flex;
  width: 100%;
  min-height: 64px;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 999px;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.025em;
  transition: transform .12s ease, opacity .12s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.98; }
.btn-primary {
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #141414;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.44), 0 10px 28px rgba(0,0,0,0.18);
}
.btn-secondary {
  background: linear-gradient(180deg, #1a1e28 0%, #0f121a 100%);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.18);
}
.footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px 0 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.footer .sep { opacity: 0.40; }
.legal { padding: 30px; }
.legal h1 { font-size: 32px; margin-bottom: 10px; }
.legal p {
  color: rgba(247,247,249,0.70);
  line-height: 1.65;
  margin: 0 0 18px;
}
.back {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-weight: 600;
}
@media (max-width: 560px) {
  .page {
    align-items: flex-start;
    justify-content: center;
    padding: 10px 10px max(12px, env(safe-area-inset-bottom));
  }
  .card { border-radius: 28px; }
  .hero {
    min-height: 500px;
    background-position: center 22%;
  }
  .hero-inner { padding: 14px 18px 22px; }
  .status {
    margin-bottom: 14px;
    font-size: 15px;
    padding: 9px 16px;
  }
  h1 {
    font-size: 44px;
    margin: 0 0 8px;
  }
  .sub {
    max-width: 16ch;
    font-size: 18px;
    line-height: 1.28;
  }
  .content { padding: 16px 14px 12px; }
  .buttons { gap: 10px; }
  .btn {
    font-size: 18px;
    min-height: 60px;
    padding: 16px 18px;
  }
  .footer { padding: 12px 0 8px; font-size: 12px; }
}
@media (max-width: 420px) {
  .hero {
    min-height: 448px;
    background-position: center 21%;
  }
  .hero-inner { padding: 12px 16px 18px; }
  .status { margin-bottom: 12px; }
  h1 { font-size: 40px; }
  .sub { font-size: 17px; }
}


/* V13.1 corrections */
.hero-inner {
  position: relative;
}

.status {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  margin-bottom: 0 !important;
  z-index: 3;
  white-space: nowrap;
}

h1 {
  margin-top: 0;
}

.sub {
  max-width: none !important;
  white-space: nowrap;
  font-size: 16px !important;
  line-height: 1.15 !important;
}

@media (max-width: 560px) {
  .hero {
    min-height: 500px;
    background-position: center 22%;
  }
  .hero-inner {
    padding-top: 86px !important;
  }
  .status {
    top: 18px;
    font-size: 14px !important;
    padding: 8px 15px !important;
  }
  .dot {
    width: 12px !important;
    height: 12px !important;
  }
  h1 {
    font-size: 52px !important;
    margin-bottom: 8px !important;
  }
  .sub {
    font-size: 14px !important;
    letter-spacing: -0.02em !important;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    padding-top: 80px !important;
  }
  .status {
    top: 16px;
  }
  .sub {
    font-size: 13.2px !important;
  }
}


/* V13.2 overlap fix */
.hero-inner{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-end !important;
  min-height:100% !important;
}

.status{
  position:static !important;
  transform:none !important;
  margin:0 0 18px 0 !important;
}

h1{
  display:block !important;
  position:static !important;
  z-index:2 !important;
}

.sub{
  margin-top:12px !important;
}

@media (max-width:560px){
  .hero-inner{
    padding-top:14px !important;
    padding-bottom:22px !important;
  }
  .status{
    margin:0 0 14px 0 !important;
  }
}

@media (max-width:420px){
  .hero-inner{
    padding-top:12px !important;
    padding-bottom:18px !important;
  }
  .status{
    margin:0 0 12px 0 !important;
  }
}


/* V13.3 boutons a deux lignes (label + sous-texte) */
.btn{
  flex-direction: column !important;
  gap: 5px !important;
  min-height: 72px !important;
  padding: 14px 22px !important;
}
.btn-label{
  font-size: 21px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.025em;
}
.btn-sub{
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: none;
}
.btn-primary .btn-sub{
  color: rgba(20,20,20,0.62);
}
.btn-secondary .btn-sub{
  color: rgba(247,247,249,0.55);
}
@media (max-width: 560px){
  .btn{
    min-height: 66px !important;
    padding: 12px 18px !important;
    gap: 4px !important;
  }
  .btn-label{ font-size: 18px; }
  .btn-sub{ font-size: 11.5px; }
}
