/*
  Feuille de style du site watchin.expo.app.

  Partagée par la page d'accueil et les pages de référencement. La palette est
  celle de l'app (theme/tokens.ts) : quelqu'un qui arrive du moteur de
  recherche puis installe l'app doit reconnaître le même produit.

  Pas de framework, pas de police distante au-delà de Google Fonts : la page
  doit s'afficher vite, y compris sur un téléphone en 4G.
*/

:root {
  --bg: #0A0B1A;
  --surface: #12142B;
  --surface-alt: #1A1D38;
  --border: #23264A;
  --text: #FFFFFF;
  --muted: #9AA0B8;
  --faint: #6B7192;
  --accent: #7B5CFF;
  --accent-to: #9B7CFF;
  --ok: #5FD3B0;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-to); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- en-tête */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 26, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.mark span { color: var(--accent-to); }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}
nav a:hover { color: var(--text); }

/* ------------------------------------------------------------------- héros */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

h1 {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 54ch;
}

.shot {
  width: 100%;
  max-width: 340px;
  border-radius: 26px;
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto;
}

/* ------------------------------------------------------------------ boutons */

.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-to));
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn:hover { filter: brightness(1.08); }

.price {
  color: var(--faint);
  font-size: 14px;
  margin-top: 14px;
}

/* ------------------------------------------------------------------ blocs */

section { padding: 56px 0; border-top: 1px solid var(--border); }

h2 {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}

h3 { font-size: 19px; margin: 0 0 8px; }

p { margin: 0 0 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { color: var(--muted); margin: 0; font-size: 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-to);
  margin: 0 0 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Tableau comparatif : il doit défiler seul sur téléphone, jamais la page. */
.table-scroll { overflow-x: auto; margin-top: 24px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
th { color: var(--faint); font-weight: 600; font-size: 14px; }
td.yes { color: var(--ok); }
td.no { color: var(--faint); }

.faq { margin-top: 28px; }
.faq h3 { margin-top: 26px; }
.faq p { color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 48px;
  color: var(--faint);
  font-size: 14px;
}
footer a { color: var(--muted); margin-right: 18px; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 40px; }
  nav a { margin-left: 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
