* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
}

.entete {
  padding: calc(var(--ds-space-5) + env(safe-area-inset-top)) var(--ds-space-4) var(--ds-space-4);
  border-bottom: 1px solid var(--border);
}

.entete__marque {
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  max-width: 640px;
  margin: 0 auto;
}

.entete__sceau {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--ds-radius-lg);
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.entete h1 {
  margin: 0;
  font-size: var(--ds-text-xl);
}

.entete__sous-titre {
  margin: 2px 0 0;
  color: var(--text-2);
  font-size: var(--ds-text-sm);
}

.contenu {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--ds-space-5) var(--ds-space-4);
}

.intro {
  color: var(--text-2);
  margin: 0 0 var(--ds-space-5);
}

.grille-jeux {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-4);
}

.carte-jeu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ds-space-2);
  text-decoration: none;
  color: inherit;
  min-height: 48px;
  transition: border-color 0.15s ease, transform 0.05s ease;
}

a.carte-jeu {
  cursor: pointer;
}

a.carte-jeu:hover {
  border-color: var(--accent);
}

a.carte-jeu:active {
  transform: scale(0.99);
}

.carte-jeu--bientot {
  opacity: 0.75;
}

.carte-jeu__icone {
  font-size: 32px;
  line-height: 1;
}

.carte-jeu__titre {
  margin: 0;
  font-size: var(--ds-text-lg);
}

.carte-jeu__tagline {
  margin: 0;
  color: var(--text-2);
  font-size: var(--ds-text-sm);
}

.pied {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--ds-space-5) var(--ds-space-4) calc(var(--ds-space-5) + env(safe-area-inset-bottom));
  color: var(--text-3);
  font-size: var(--ds-text-xs);
}

.pied a {
  color: inherit;
}
