
/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Couleurs principales */
:root {
  --primary-color: #a96cd0; /* Couleur principal de l'app */
  --secondary-color: #ffffff; /* Fond blanc */
  --text-color: #333; /* Texte sombre */
  --bg-color: #f9f9f9; /* Fond général */
  --light-gray: #eee; /* Gris clair pour les éléments de fond */
  --shadow: rgba(0, 0, 0, 0.05); /* Ombre discrète */
}

/* Corps */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 0;
}

/* En-tête */
header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}

header .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

header .tagline {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.appstore-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: var(--primary-color);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.appstore-button:hover {
  background-color: #e1eaff;
}

/* Section principale */
main {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 0 10px var(--shadow);
}

/* Sections */
section {
  margin-bottom: 2rem;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Captures d’écran */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--shadow);
  transition: transform 0.3s;
}

.screenshot-gallery img:hover {
  transform: scale(1.03);
}

/* Liste de liens */
.links ul {
  list-style: none;
  padding-left: 0;
}

.links ul li {
  margin: 0.5rem 0;
}

.links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

/* Sélecteur de langue */
.language-selector {
  text-align: center;
}

.language-selector a {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: transform 0.2s;
}

.language-selector a:hover {
  transform: scale(1.2);
}

/* Bouton retour */
.button-back {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.button-back:hover {
  background-color: #a96cd0;
}

/* Pied de page */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
  background-color: var(--light-gray);
  margin-top: 3rem;
}
