/* SOCIABET, site support & légal (sociabet.com). Palette et style repris de l'app (DA BUBBLE) :
   encre navy, papier crème, cartes blanches à gros bord, rose / teal en accents. */
:root {
  --ink: #1A1730;
  --ink-soft: #6E667E;
  --paper: #FBE9D2;
  --card: #FFFDF8;
  --pink: #FF4D97;
  --teal: #1FB6A6;
  --orange: #FF4116;
  --gold: #D99A06;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 20px 20px 60px; }

/* ---- header / nav ---- */
header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 18px 0 26px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 22px; letter-spacing: 0.5px;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.wordmark .b {
  background: var(--pink); color: #fff;
  border: 3px solid var(--ink); border-radius: 12px;
  padding: 3px 10px;
}
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; text-decoration: none; color: var(--ink);
  padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--card);
}
nav a.active, nav a:hover { background: var(--ink); color: var(--card); }

/* ---- typo ---- */
h1 {
  font-weight: 900; font-size: clamp(30px, 6vw, 44px);
  text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.1;
  margin-bottom: 6px; text-wrap: balance;
}
.subtitle {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-soft); margin-bottom: 28px;
}
h2 {
  font-weight: 900; font-size: 17px; text-transform: uppercase;
  letter-spacing: 0.4px; margin-bottom: 8px;
}
p, li { font-size: 15px; color: var(--ink); }
.soft { color: var(--ink-soft); }
a { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; }

/* ---- cartes ---- */
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
}
.card.accent { border-color: var(--pink); }
.card.teal { border-color: var(--teal); }

.badge {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: #fff; background: var(--pink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 14px;
}
.badge.teal { background: var(--teal); }
.badge.gold { background: var(--gold); }

.cta {
  display: inline-block; font-weight: 800; font-size: 15px;
  color: #fff; background: var(--ink); text-decoration: none;
  padding: 13px 22px; border-radius: 14px; border: 3px solid var(--ink);
  margin-top: 6px;
}
.cta:hover { background: var(--pink); }

ul { padding-left: 22px; margin-top: 6px; }
li { margin-bottom: 6px; }

.faq-q { font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.faq + .faq { margin-top: 16px; }

/* ---- footer ---- */
footer {
  margin-top: 40px; padding-top: 18px;
  border-top: 3px solid var(--ink);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
footer a { color: var(--ink-soft); }

/* ================= LANDING (index.html) ================= */
:root { --violet: #7C5CE0; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }

.nav-cta { background: var(--pink) !important; color: #fff !important; font-weight: 700; }

/* ---- hero ---- */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  padding: 22px 0 46px;
}
.hero-text { flex: 1 1 300px; min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 9vw, 60px); line-height: 1.03;
  margin: 14px 0; text-transform: none; letter-spacing: -0.5px;
}
.hero h1 .hl {
  color: var(--pink);
  text-decoration: underline; text-decoration-thickness: 5px;
  text-decoration-color: var(--ink); text-underline-offset: 6px;
}
.hero-sub { font-size: 16.5px; max-width: 44ch; margin-bottom: 22px; }
.hero-note {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--ink-soft); margin-top: 10px;
}

/* screenshot de l'app, encadré comme un téléphone */
.shot {
  display: block;
  border: 4px solid var(--ink); border-radius: 32px;
  box-shadow: 7px 7px 0 rgba(26, 23, 48, 0.16);
  background: var(--card);
}
.hero .shot { width: min(290px, 82vw); margin: 0 auto; transform: rotate(1.5deg); }

/* bouton App Store */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 16px; border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(26, 23, 48, 0.28);
  transition: transform 0.08s ease;
}
.appstore:hover { transform: translate(-1px, -1px); }
.appstore .apple-logo { font-size: 26px; line-height: 1; }
.appstore-txt { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 18px; }
.appstore-txt small { font-weight: 500; font-size: 11px; opacity: 0.85; }
.appstore.inv { background: #fff; color: var(--ink); }

/* ---- sections ---- */
.section-title {
  font-weight: 900; font-size: clamp(24px, 5.6vw, 34px);
  margin: 6px 0 6px; text-wrap: balance;
}
.section-sub {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--ink-soft); margin-bottom: 22px;
}

/* étapes « comment ça marche » */
.steps { padding-bottom: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px 18px; }
.step { text-align: center; min-width: 0; }
.step .shot { width: min(240px, 74vw); margin: 0 auto 16px; }
.step-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; }
.snum {
  width: 32px; height: 32px; border-radius: 999px; flex: 0 0 32px;
  border: 3px solid var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px;
}
.step h3 { font-weight: 900; font-size: 15px; letter-spacing: 0.4px; }
.step p { font-size: 13.5px; color: var(--ink-soft); max-width: 34ch; margin: 0 auto; }

/* section split (calendrier) */
.split {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  background: var(--card); border: 3px solid var(--ink); border-radius: 24px;
  padding: 26px; margin-bottom: 40px;
}
.split .shot { width: min(240px, 74vw); margin: 0 auto; transform: rotate(-1.5deg); }
.split-text { flex: 1 1 280px; min-width: 0; }
.split-text h2 { font-weight: 900; font-size: clamp(22px, 5vw, 30px); margin-bottom: 10px; text-wrap: balance; }
.split-text p { font-size: 14.5px; color: var(--ink-soft); max-width: 48ch; }

/* features */
.features { padding-bottom: 34px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.fcard { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 18px; min-width: 0; }
.fcard .fchip {
  width: 44px; height: 44px; border-radius: 999px; border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.fcard h3 { font-weight: 900; font-size: 14px; letter-spacing: 0.4px; margin-bottom: 6px; }
.fcard p { font-size: 13.5px; color: var(--ink-soft); }

/* bande CTA */
.ctaband {
  background: var(--ink); border-radius: 22px;
  color: #fff; text-align: center; padding: 34px 22px; margin: 6px 0 26px;
}
.ctaband h2 { font-weight: 900; font-size: clamp(24px, 5vw, 32px); margin-bottom: 8px; }
.ctaband p { color: rgba(255, 255, 255, 0.75); margin-bottom: 20px; }
/* 3 étapes dans une grille de 2 colonnes : la dernière prend toute la largeur, centrée */
.step:last-child { grid-column: 1 / -1; }

/* ---- landing v4 : desktop large + sections alternées ---- */
body.landing .wrap { max-width: 1060px; }
.split .badge, .split-text .badge { margin-bottom: 4px; }
.split.rev { flex-direction: row-reverse; }
.split { margin-bottom: 22px; }
.split-text h2 { margin-top: 8px; }
.split-text p strong { color: var(--ink); }
@media (min-width: 900px) {
  .hero .shot { width: 330px; }
  .split { padding: 32px 38px; gap: 44px; }
  .split .shot { width: 260px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step:last-child { grid-column: auto; }
}
@media (max-width: 899px) {
  .split.rev { flex-direction: row; }
}
