/* Conteiro — charte reprise du mockup iOS (docs/screens/mockups.html) */

:root {
  --bg: #0a0910;
  --bg-deep: #050409;
  --surface: #14121F;
  --surface-2: #1F1B2E;
  --border: #272233;
  --text: #F0EDF7;
  --muted: #8B85A3;
  --accent: #A78BFA;
  --accent-soft: #C9B6FF;
  --glow: #9a7af6;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.2; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.lang { display: none; }
.lang.active { display: block; }

/* ---- layout ---- */

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

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

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 22px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }

/* ---- hero ---- */

.hero {
  position: relative; text-align: center;
  padding: 88px 0 72px; overflow: hidden;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  max-width: 18ch; margin: 0 auto 20px;
}

.hero p.tagline {
  color: var(--muted); font-size: clamp(16px, 2.5vw, 19px);
  max-width: 52ch; margin: 0 auto 36px;
}

/* étoiles décoratives */
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #bda1ff; opacity: .7;
  animation: twinkle 3.5s ease-in-out infinite;
}
.stars i:nth-child(2n) { animation-delay: 1.2s; width: 3px; height: 3px; }
.stars i:nth-child(3n) { animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .85; } }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: var(--bg);
  border-radius: 14px; padding: 12px 24px;
  font-size: 16px; font-weight: 600;
}
.store-btn:hover { background: #fff; text-decoration: none; }
.store-btn svg { flex: none; }
.store-btn small { display: block; font-size: 11px; font-weight: 400; text-align: left; line-height: 1.2; }
.store-btn span { display: block; text-align: left; line-height: 1.2; }

/* ---- screenshots placeholder ---- */

.shots { display: flex; justify-content: center; gap: 28px; padding: 24px 0 72px; flex-wrap: wrap; }

.phone {
  width: 230px; aspect-ratio: 9 / 19;
  border: 1px solid var(--border); border-radius: 36px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-deep) 70%);
  box-shadow: 0 0 60px rgba(154, 122, 246, .12);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px;
}
.phone:nth-child(2) { transform: translateY(24px); }

/* mobile : un seul placeholder, hero resserré */
@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .shots { padding-bottom: 48px; }
  .phone:nth-child(n+2) { display: none; }
  .phone:nth-child(2) { transform: none; }
}

/* ---- features ---- */

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px; padding-bottom: 88px;
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px;
}
.card svg { color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---- legal pages ---- */

article.legal { padding: 48px 0 80px; max-width: 720px; margin: 0 auto; }
article.legal h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 8px; }
article.legal p.updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
article.legal h2 { font-size: 22px; margin: 36px 0 12px; }
article.legal p, article.legal li { color: #c5c0d4; font-size: 15.5px; margin-bottom: 12px; }
article.legal ul { padding-left: 22px; margin-bottom: 12px; }

/* ---- footer ---- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px; text-align: center;
  color: var(--muted); font-size: 14px;
}
footer.site nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent-soft); }
