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

/* Palette KITKIT : couleurs vives (orange, rose fuchsia, vert) */
:root {
  --orange: #F37D22;
  --orange-light: #ff9d4d;
  --fuchsia: #E91E63;
  --fuchsia-light: #f06292;
  --green: #4CAF50;
  --green-light: #66bb6a;
  --bg: #fffbf8;
  --surface: #fff5f0;
  --text: #1f1a18;
  --text-muted: #5c524c;
  --border: rgba(243, 125, 34, 0.3);
  --glow-orange: rgba(243, 125, 34, 0.4);
  --glow-fuchsia: rgba(233, 30, 99, 0.35);
  --glow-green: rgba(76, 175, 80, 0.3);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

/* Fond vif : dégradé orange → fuchsia → vert */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 245, 240, 0.98) 0%, rgba(255, 240, 248, 0.95) 40%, rgba(240, 252, 241, 0.95) 100%),
    radial-gradient(ellipse 100% 60% at 30% 0%, rgba(243, 125, 34, 0.25), transparent 55%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(233, 30, 99, 0.2), transparent 50%),
    radial-gradient(ellipse 70% 45% at 10% 90%, rgba(76, 175, 80, 0.2), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 3rem;
}

/* Header & logo — plus visible, bien en haut */
.header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.logo-img {
  height: clamp(100px, 18vw, 180px);
  width: auto;
  max-width: min(90vw, 420px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 20px rgba(243, 125, 34, 0.28)) drop-shadow(0 2px 12px rgba(233, 30, 99, 0.2));
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 0 2.5rem;
}

/* Carte principale : plus d’espace, répartie sur la page */
.card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
  box-shadow:
    0 8px 32px rgba(243, 125, 34, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.hero {
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, var(--fuchsia), var(--fuchsia-light));
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  margin-bottom: 2.25rem;
  box-shadow: 0 2px 16px var(--glow-fuchsia);
}

.title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 1.5rem;
  color: var(--text);
  letter-spacing: -0.025em;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 2.75rem;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Bouton gradient — plus grand et lisible */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--fuchsia) 50%, var(--green) 100%);
  padding: 1.1rem 2.25rem;
  border-radius: 16px;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 4px 24px var(--glow-orange), 0 4px 20px var(--glow-fuchsia), 0 2px 14px var(--glow-green);
}

.btn-download:hover {
  box-shadow: 0 8px 28px var(--glow-orange), 0 6px 24px var(--glow-fuchsia), 0 4px 16px var(--glow-green);
  transform: translateY(-1px);
}

.btn-download:active {
  transform: translateY(0) scale(0.98);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  flex-shrink: 0;
}

.hint {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
}

.footer-note {
  text-align: center;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(243, 125, 34, 0.22);
}

.footer-note p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.footer {
  flex-shrink: 0;
  text-align: center;
  padding-top: 2.5rem;
}

.footer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
