/* Pages d'accueil publiques de Replyk (/decouvrir pour les particuliers, /coachs pour les coachs).
   Thème clair, encre sur blanc, cartes gris clair, boutons en pilule. Indépendant de styles.css (l'app, elle, est sombre). */
/* Police du thème, hébergée ici (aucun appel à un serveur tiers). Licence SIL OFL 1.1, voir fonts/LICENCE-Geist.txt. */
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --ink: #0a0a0a;
  --text: #555;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --card: #f2f2f2;
  --tile: #fff;
  --ok: #22c55e;
  --warn: #f0a93b;
  --ko: #ff5a52;
  --font: 'Geist', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 24px; }
.ic { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn.ghost { background: #fff; color: #111; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09); }
.btn .ic { font-size: 18px; }
.btn.sm .ic { font-size: 15px; }

/* ---------- En-tête : barre simple, puis pilule flottante au défilement ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: center; padding: 0 24px; pointer-events: none; }
.nav-in { pointer-events: auto; width: 100%; max-width: 1080px; height: 80px; display: flex; align-items: center; gap: 22px; border-radius: 999px; border: 1px solid transparent; transition: max-width .35s ease, height .35s ease, margin .35s ease, padding .35s ease, background .35s ease, border-color .35s ease; }
.nav.stuck .nav-in { max-width: 600px; height: 56px; margin-top: 12px; padding: 0 9px 0 22px; background: rgba(255, 255, 255, .78); border-color: var(--line); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--text); font-size: 15px; text-decoration: none; }
.nav a.link:hover { color: var(--ink); }

/* ---------- Haut de page ---------- */
.hero { padding-top: 148px; text-align: center; }
.hero h1 { margin: 0 auto; max-width: 980px; color: var(--ink); font-size: clamp(40px, 7.4vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -.05em; text-wrap: balance; }
.hero .sub { margin: 34px auto 0; max-width: 640px; font-size: clamp(18px, 2vw, 20px); color: var(--text); }
.swap { display: inline-block; color: var(--ink); font-weight: 500; transition: opacity .3s ease, transform .3s ease; }
.swap.out { opacity: 0; transform: translateY(6px); }
.hero .btn { margin-top: 34px; }
.hero .hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.stage-tab { display: inline-flex; align-items: center; gap: 12px; margin-top: 64px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #f6f6f6; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.stage-tab i { font-style: normal; color: var(--muted); font-weight: 500; padding-right: 12px; border-right: 1px solid #d6d6d6; }
.stage { position: relative; height: 520px; margin-top: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 58%, transparent 96%); mask-image: linear-gradient(#000 58%, transparent 96%); }
.phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 46px; opacity: 0; transition: opacity .6s ease; }
.phones.on { opacity: 1; }
.phone { flex: none; width: 310px; margin-top: 40px; padding: 8px; border-radius: 48px; background: #0b0c0e; box-shadow: inset 0 0 0 1.5px #3a3d42, 0 0 0 1px #111; }
.phone.mid { width: 334px; margin-top: 0; }
.phone img { width: 100%; border-radius: 40px; }

/* ---------- Phrase résumé ---------- */
.pitch { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.pitch p { margin: 0 auto; max-width: 880px; font-size: clamp(24px, 3.3vw, 36px); line-height: 1.28; font-weight: 600; letter-spacing: -.03em; color: var(--muted); text-wrap: balance; }
.pitch b { color: var(--ink); font-weight: 650; white-space: nowrap; }
.pitch b .ic { font-size: .78em; margin-right: .22em; vertical-align: -.06em; stroke-width: 2.2; }

/* ---------- Fonctionnalités (grille de cartes) ---------- */
.bento { padding-top: 72px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cardx { grid-column: span 2; background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.cardx.wide { grid-column: span 3; }
.cardx.xl { grid-column: span 4; }
.cardx .demo { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; margin-bottom: 26px; min-height: 190px; }
.cardx h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; }
.cardx p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #666; max-width: 46ch; }
.cardx .note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.tile { background: var(--tile); border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.rowx { display: flex; align-items: center; gap: 10px; }
.rowx .grow { flex: 1; min-width: 0; }
.lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.small { font-size: 13px; color: #777; }
.strong { font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.big { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #e7e7e7; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill.on { background: var(--ink); color: #fff; }
.pill.okc { background: #e3f6ea; color: #15803d; }
.sq { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; font-size: 17px; }
.sq.soft { background: #e7e7e7; color: var(--ink); }
.tabsx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--tile); border-radius: 14px; padding: 5px; }
.tabsx span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #777; white-space: nowrap; }
.tabsx span.on { background: #e7e7e7; color: var(--ink); }
.ring { --p: 91; width: 84px; height: 84px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--ok) calc(var(--p) * 1%), #e4e4e4 0); }
.ring > span { width: 66px; height: 66px; border-radius: 50%; background: var(--tile); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.03em; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week span { aspect-ratio: 1; border-radius: 9px; background: #e4e4e4; }
.week .v { background: var(--ok); } .week .p { background: var(--warn); } .week .m { background: var(--ko); }
.week-l { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.lines i { display: block; height: 8px; border-radius: 4px; background: #e9e9e9; margin-top: 8px; }
.code { font-size: 34px; font-weight: 700; letter-spacing: .22em; color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; }
.plate { height: 150px; border-radius: 12px; background: #17191d url('landing/assiette.svg') center / cover no-repeat; }

/* ---------- Titre de section, étapes numérotées ---------- */
.head { padding-top: 88px; text-align: center; }
.head h2 { margin: 0; }
.head + .bento { padding-top: 32px; }
.cardx.step .demo { order: 1; flex: none; margin: 26px 0 0; min-height: 0; }
.cardx.step .note { margin-bottom: auto; }
.cardx .num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 650; }

/* ---------- Questions fréquentes ---------- */
.faq { padding-top: 96px; }
.faq h2, .get h2, .head h2 { margin: 0 0 32px; text-align: center; color: var(--ink); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
.faq-box { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 28px; padding: 8px 24px; }
.faq details { border-bottom: 1px solid #dedede; }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 62ch; font-size: 16px; color: #5c5c5c; }
.faq .help { margin: 22px 0 0; text-align: center; font-size: 15px; }
.faq .help a { color: var(--text); text-decoration: none; }
.faq .help a:hover { color: var(--ink); }

/* ---------- Appel final ---------- */
.get { padding-top: 120px; text-align: center; }
.get .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.specs { margin: 56px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(4, 1fr); }
.specs div { padding: 6px 12px; border-left: 1px solid var(--line); }
.specs div:first-child { border-left: 0; }
.specs span { display: block; font-size: 14px; color: var(--muted); }
.specs b { display: block; margin-top: 6px; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Pied de page ---------- */
.foot { padding: 112px 0 0; overflow: hidden; }
.foot-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-top .tag { color: var(--text); font-size: 15px; }
.foot-top a.up { margin-left: auto; color: var(--text); font-size: 15px; text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.foot nav a { color: var(--text); font-size: 14px; text-decoration: none; }
.foot nav a:hover, .foot-top a.up:hover { color: var(--ink); }
.foot small { display: block; margin-top: 22px; max-width: 1080px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.wordmark { margin: 56px 0 -0.24em; text-align: center; font-size: clamp(120px, 31vw, 420px); line-height: .8; font-weight: 700; letter-spacing: -.06em; color: transparent; background: linear-gradient(#e9e9e9, #f7f7f7 70%, #fff); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cardx, .cardx.wide, .cardx.xl { grid-column: span 2; }
  .cardx.half { grid-column: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { padding: 0 12px; }
  .nav-in { height: 68px; gap: 14px; }
  .nav.stuck .nav-in { padding: 0 8px 0 16px; }
  .nav .lg { display: none; }
  .nav a.link { font-size: 14px; }
  .brand { font-size: 18px; }
  .hero { padding-top: 112px; }
  .hero h1 { letter-spacing: -.045em; line-height: 1; }
  .hero .sub { margin-top: 22px; }
  .hero .btn { margin-top: 26px; }
  .stage-tab { margin-top: 44px; }
  .stage { height: 380px; margin-left: -16px; margin-right: -16px; }
  .phones { gap: 18px; }
  .phone { width: 196px; margin-top: 26px; padding: 5px; border-radius: 32px; }
  .phone.mid { width: 212px; }
  .phone img { border-radius: 27px; }
  .pitch { padding-top: 56px; padding-bottom: 16px; }
  .bento { padding-top: 40px; gap: 12px; }
  .cardx { padding: 20px; border-radius: 24px; }
  .cardx.half { grid-column: span 2; }
  .cardx .demo { min-height: 0; margin-bottom: 20px; }
  .cardx h3 { font-size: 20px; }
  .head { padding-top: 56px; }
  .head + .bento { padding-top: 24px; }
  .faq { padding-top: 64px; }
  .faq-box { padding: 4px 18px; border-radius: 24px; }
  .faq summary { padding: 18px 0; font-size: 16px; }
  .get { padding-top: 80px; }
  .get .cta .btn { width: 100%; }
  .specs { grid-template-columns: repeat(2, 1fr); row-gap: 22px; margin-top: 40px; }
  .specs div:nth-child(odd) { border-left: 0; }
  .foot { padding-top: 72px; }
  .foot-top a.up { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

img { height: auto; }
