:root {
  --vert-foret: #2F4A3E;
  --vert-clair: #3d6152;
  --beige: #EDE7DA;
  --creme: #FDFCF8;
  --texte: #2a2a28;
  --texte-mute: #6b6b66;
  --ombre: 0 8px 30px rgba(47, 74, 62, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--creme);
  color: var(--texte);
  line-height: 1.6;
}

a { color: var(--vert-foret); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--vert-foret);
}

header.site .brand img { height: 40px; width: 40px; border-radius: 10px; }

header.site nav a {
  margin-left: 24px;
  color: var(--texte);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  margin: 8px 0 48px;
  background: var(--beige);
}

.hero img.fond {
  width: 100%;
  display: block;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.hero-text {
  padding: 40px 8px 8px;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  color: var(--vert-foret);
}

.hero-text p.tagline {
  font-size: 1.15rem;
  color: var(--texte-mute);
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: var(--vert-foret);
  color: #fff;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--vert-clair); text-decoration: none; }
.btn.outline {
  background: transparent;
  border: 1.5px solid var(--vert-foret);
  color: var(--vert-foret);
}
.btn.outline:hover { background: var(--beige); }

section { margin: 64px 0; }

section h2 {
  font-size: 1.7rem;
  color: var(--vert-foret);
  text-align: center;
  margin-bottom: 8px;
}

section p.lead {
  text-align: center;
  color: var(--texte-mute);
  max-width: 620px;
  margin: 0 auto 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--ombre);
  border: 1px solid var(--beige);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--vert-foret); }
.card p { margin: 0; color: var(--texte-mute); font-size: 0.92rem; }

.app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--ombre);
  border: 1px solid var(--beige);
}
.app-card img.icon-app { width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0; }
.app-card .info { flex: 1; }
.app-card h3 { margin: 0 0 6px; color: var(--vert-foret); font-size: 1.2rem; }
.app-card p { margin: 0 0 14px; color: var(--texte-mute); }

.screenshots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
}
.screenshots img {
  height: 480px;
  border-radius: 20px;
  box-shadow: var(--ombre);
  scroll-snap-align: start;
  flex-shrink: 0;
}

footer.site {
  border-top: 1px solid var(--beige);
  padding: 32px 0;
  color: var(--texte-mute);
  font-size: 0.88rem;
  text-align: center;
}
footer.site a { color: var(--texte-mute); margin: 0 10px; }
footer.site .brand-line { margin-bottom: 10px; color: var(--vert-foret); font-weight: 600; }

.legal {
  max-width: 760px;
  margin: 40px auto 80px;
  padding: 0 24px;
}
.legal h1 { color: var(--vert-foret); }
.legal h2 { color: var(--vert-foret); margin-top: 36px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--beige); font-size: 0.92rem; }
.legal hr { border: none; border-top: 1px solid var(--beige); margin: 28px 0; }

@media (max-width: 640px) {
  .hero-text h1 { font-size: 1.8rem; }
  .app-card { flex-direction: column; text-align: center; }
  header.site nav a { margin-left: 14px; font-size: 0.85rem; }
}
