/* ====== Groomity — design system (repris de l'app) ====== */
:root {
  --ink: #1A1A1A;
  --green: #00B87C;
  --bg: #FFFFFF;
  --soft: #F5F5F5;
  --border: #EBEBEB;
  --muted: #6B6B6B;
  --grey: #AAAAAA;
  --btn: #111111;
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 760px; }

.wordmark {
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.nav-link:hover { background: var(--soft); }

/* ====== Hero ====== */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.accent { color: var(--green); }
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 36ch;
}
.hero-note {
  font-size: 13px;
  color: var(--grey);
  margin: 14px 0 0;
}

/* Boutons stores (désactivés "Bientôt") */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-store {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--grey);
  cursor: not-allowed;
  user-select: none;
}
.store-top { font-size: 11px; line-height: 1.2; }
.store-bottom { font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--muted); }
.soon-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Téléphone : capture d'écran dans un cadre type iPhone */
.phone {
  justify-self: center;
  width: 280px;
  max-width: 100%;
  border: 11px solid #1A1A1A;
  border-radius: 46px;
  background: #1A1A1A;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  line-height: 0;
}
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

/* ====== Sections ====== */
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
  margin: 0 auto 36px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--bg);
}
.card h3 { font-size: 17px; margin: 12px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 184, 124, 0.12);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

/* Section pro */
.section-pro { background: var(--soft); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 820px;
}
.stat {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); }

.features-pro {
  list-style: none;
  padding: 0;
  margin: 36px auto 8px;
  max-width: 560px;
  display: grid;
  gap: 12px;
}
.features-pro li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}
.pro-price {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 20px 0 24px;
}

/* Boutons */
.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-pro { display: block; width: max-content; margin: 0 auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 18px;
  background: var(--bg);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--grey); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

/* ====== Footer ====== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer-word { font-size: 16px; }
.footer-tagline { color: var(--muted); font-size: 14px; margin: 10px 0 18px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 18px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--grey); font-size: 12px; margin: 0; }

/* ====== Responsive ====== */
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { max-width: none; }
  .phone { width: 240px; }
  .section { padding: 48px 0; }
}

/* Accessibilité : focus visible */
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
