/* Page d'accueil des démonstrations (demo.logics-gestion.fr) :
   couleurs de la caisse Logic'S (packages/logics_ui/lib/src/theme.dart). */
:root {
  --fond: #14141f;
  --surface: #1a1a2e;
  --panneau: #232338;
  --bord: #3a3a50;
  --marque: #0090e6;
  --orange: #ff9500;
  --texte: #f2f3f8;
  --texte-2: #a9abc2;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.entete, main, .pied {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.entete { padding-top: 40px; padding-bottom: 8px; }

.marque {
  margin: 0 0 16px;
  color: var(--marque);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.2;
}

.chapo { margin: 0; color: var(--texte-2); max-width: 44em; }

.tuiles {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.tuile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
  background: var(--panneau);
  border: 1px solid var(--bord);
  border-top: 6px solid var(--couleur, var(--marque));
  color: var(--texte);
  text-decoration: none;
}

.tuile:hover, .tuile:focus-visible {
  background: #2c2e47;
  border-color: var(--couleur, var(--marque));
  outline: none;
}

.tuile .nom { font-size: 22px; font-weight: 800; }
.tuile .detail { color: var(--texte-2); flex: 1; }
.tuile .action { color: var(--couleur, var(--marque)); font-weight: 700; }
.tuile .action::after { content: " →"; }

.t-boucherie { --couleur: #e0574b; }
.t-boulangerie { --couleur: #d9a441; }
.t-restaurant { --couleur: #3fae6a; }
.t-bar { --couleur: #b06fd8; }
.t-epicerie { --couleur: #3fa7e0; }

.cloud {
  margin: 8px 0 32px;
  padding: 20px;
  border-radius: 10px;
  background: var(--surface);
  border-left: 4px solid var(--orange);
}

.cloud h2 { margin: 0 0 8px; font-size: 20px; }
.cloud p { margin: 0; color: var(--texte-2); }

.pied {
  padding-top: 16px;
  padding-bottom: 40px;
  border-top: 1px solid var(--bord);
  color: var(--texte-2);
}

.pied p { margin: 6px 0; }
.pied a { color: var(--marque); font-weight: 600; }
.mention { font-size: 14px; }
