body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f6f8fb;
  color: #333;
  padding-bottom: 85px;
}
.top-bar {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.12), transparent 40%),
    linear-gradient(135deg, #5f4bff, #8f6bff);
  color: white;
  padding: 18px 15px 22px;
  text-align: center;
  border-radius: 0 0 22px 22px;
}

.top-bar h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.subtitle {
  font-size: 0.85em;
  opacity: 0.9;
}

/* Accueil type application */
.home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 10px;
}


.home-card {
  background: white;
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}


.home-card i {
  font-size: 24px;
  color: #ff8a2a;
  margin-bottom: 6px;
}

.home-card h2 {
  font-size: 0.9em;
  margin: 4px 0 2px;
}

.home-card p {
  font-size: 0.75em;
  opacity: 0.75;
  line-height: 1.2;
}


.home-card:active {
  transform: scale(0.97);
}

/* Menu du bas */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  border-top: 1px solid #444;
}

.bottom-nav a {
  color: #aaa;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  transition: 0.2s;
}

.bottom-nav a i {
  font-size: 18px;
  margin-bottom: 3px;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: #ff7b00;
}

.today-module {
  margin: 12px 0 18px;
}

.today-label {
  font-size: 0.8em;
  font-weight: 600;
  color: #6b5cff;
  margin-bottom: 6px;
  padding-left: 4px;
}

.today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.today-card {
  background: white;
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.today-type {
  font-size: 0.75em;
  color: #8f6bff;
  margin-bottom: 2px;
}

.today-desc {
  font-size: 0.75em;
  opacity: 0.85;
  margin: 4px 0;
  line-height: 1.2;
}

.today-commerce {
  font-size: 0.75em;
  font-weight: 600;
  margin: 2px 0;
}

.today-lieu {
  font-size: 0.7em;
  opacity: 0.7;
}

.today-time {
  font-size: 0.7em;
  opacity: 0.6;
  margin-top: 4px;
}



/* Desktop / tablette */
@media (min-width: 768px) {
  .home {
    grid-template-columns: repeat(3, 1fr);
  }
}
