:root {
  --bg-color: #E6F2FF;
  --card-bg: #FFFFFF;
  --primary-green: #2E7D32;
  --secondary-green: #33691E;
  --primary-purple: #4A235A;
  --text-dark: #455A64;
  --text-muted: #546E7A;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  padding: 20px 10px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* En-tête */
header {
  text-align: center;
  padding: 20px 0 30px;
}

header img.logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
}

header h1 {
  color: var(--primary-green);
  font-size: 2.2rem;
  font-weight: 800;
}

header p.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Cartes / CardView */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card h2 {
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Section / Mockup téléphone */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
  }
  .hero-text {
    flex: 1;
  }
  .hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

.phone-frame {
  width: 260px;
  border: 10px solid #333;
  border-radius: 36px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  overflow: hidden;
  background: #000;
}

.phone-frame img {
  width: 100%;
  display: block;
}

/* Cartouche Google Play */
.download-box {
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 20px;
  margin: 30px 0;
}

.download-box h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.play-badge {
  display: inline-block;
  margin-top: 15px;
  transition: transform 0.2s;
}

.play-badge:hover {
  transform: scale(1.05);
}

.play-badge img {
  height: 60px;
}

/* Grid Fonctionnalités */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.feature-item {
  background: #F1F8E9;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-green);
}

.feature-item h4 {
  color: var(--secondary-green);
  margin-bottom: 5px;
}

/* Pied de page */
footer {
  text-align: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}