/* Cyora marketing site — single stylesheet, partagé par toutes les pages.
   Pas de build, pas de framework. Tu édites, tu push, c'est en ligne. */

:root {
  --bg: #FAF7FD;
  --bg-card: #FFFFFF;
  --text-1: #2D2346;
  --text-2: #6B5E85;
  --text-3: #8B7FA6;
  --text-4: #B5AAC8;
  --primary: #723DC9;
  --primary-dark: #5E2DAE;
  --primary-light: #C4A2E4;
  --warm: #D4956A;
  --danger: #BA1A1A;
  --border: rgba(80, 60, 120, 0.08);
  --shadow: 0 4px 24px rgba(80, 60, 120, 0.06);
  --radius: 16px;
  --max-w: 880px;
}

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

html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ────────────────────────────────────────────────────── */

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

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 253, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav.main { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
nav.main a { color: var(--text-2); font-size: 14px; font-weight: 500; }
nav.main a:hover { color: var(--primary); text-decoration: none; }
nav.main a.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; padding: 8px 16px; border-radius: 8px;
  font-weight: 600;
}
nav.main a.cta:hover { opacity: 0.9; }

main { padding: 64px 0; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 0; margin-top: 64px;
  font-size: 13px; color: var(--text-3);
}
footer.site .wrap {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--text-3); }

/* ── Typo content ──────────────────────────────────────────────── */

h1 {
  font-size: 44px; line-height: 1.1; letter-spacing: -1px;
  font-weight: 800; margin-bottom: 16px;
}
h2 {
  font-size: 28px; line-height: 1.2; letter-spacing: -0.5px;
  font-weight: 700; margin: 56px 0 16px;
}
h3 {
  font-size: 20px; line-height: 1.3; letter-spacing: -0.3px;
  font-weight: 700; margin: 32px 0 12px;
}
p { margin-bottom: 16px; color: var(--text-1); font-size: 17px; }
.lead {
  font-size: 21px; color: var(--text-2); line-height: 1.5;
  margin-bottom: 32px; max-width: 720px;
}
ul, ol { margin: 16px 0 24px 24px; }
li { margin-bottom: 8px; }
strong { color: var(--text-1); font-weight: 700; }
em { color: var(--text-2); }
code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px; background: rgba(123, 94, 191, 0.08);
  padding: 2px 6px; border-radius: 4px; color: var(--primary-dark);
}
blockquote {
  border-left: 3px solid var(--primary); padding-left: 16px;
  color: var(--text-2); font-style: italic; margin: 24px 0;
}

/* ── Components ────────────────────────────────────────────────── */

.hero {
  text-align: center; padding: 32px 0 64px;
}
.hero p.lead { margin-left: auto; margin-right: auto; }

.cta-row {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin: 32px 0;
}
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 15px; transition: all 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(123, 94, 191, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); color: var(--text-1) !important;
}
.btn-ghost:hover { border-color: var(--primary); text-decoration: none; }

.card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border); margin: 16px 0;
}

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 32px 0;
}
.feature {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
}
.feature h3 { margin-top: 0; font-size: 17px; color: var(--primary); }
.feature p { font-size: 15px; color: var(--text-2); margin-bottom: 0; }

table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); font-size: 15px;
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: rgba(123, 94, 191, 0.06); font-weight: 700; color: var(--text-1); }
tr:last-child td { border-bottom: none; }
td.yes { color: #15803d; font-weight: 600; }
td.no { color: var(--danger); font-weight: 600; }
td.partial { color: var(--warm); font-weight: 600; }

.callout {
  background: rgba(123, 94, 191, 0.06); border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 8px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin: 32px 0;
}
.price {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.price.featured { border-color: var(--primary); box-shadow: var(--shadow); transform: scale(1.02); }
.price h3 { margin-top: 0; }
.price .amount { font-size: 36px; font-weight: 800; color: var(--text-1); margin: 8px 0; }
.price .period { font-size: 14px; color: var(--text-3); }
.price ul { margin-top: 20px; text-align: left; padding-left: 20px; }

.muted { color: var(--text-3); font-size: 14px; }

/* ── Mobile ───────────────────────────────────────────────────── */

@media (max-width: 720px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .lead { font-size: 18px; }
  nav.main { gap: 12px; }
  nav.main a { font-size: 13px; }
  main { padding: 32px 0; }
  .price.featured { transform: none; }
}
