/* ReputeAI — site de vente (bloc 7). Palette CLAIRE, bleu confiance.
   Tendance SaaS 2027: site blanc/clair; le produit (dashboard) reste sombre. */
:root {
  --white: #ffffff;
  --bg: #f8fafc;            /* fond très clair */
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;          /* slate foncé */
  --text-dim: #475569;
  --muted: #94a3b8;
  --blue: #0a66c2;          /* bleu « LinkedIn » du logo */
  --blue-dark: #084ea0;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .dot { color: var(--blue); }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav .btn { padding: 8px 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 1px solid transparent;
  transition: all 0.15s;
}
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--blue); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); }
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 640px; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 96px 0 64px; }
.hero .eyebrow {
  display: inline-block; background: #e6f0fb; color: var(--blue); font-weight: 600;
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; margin-bottom: 20px;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; max-width: 760px; margin: 0 auto; }
.hero h1 .accent { color: var(--blue); }
.hero p.lead { font-size: 1.2rem; color: var(--text-dim); max-width: 560px; margin: 20px auto 28px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Placeholder vidéo (démo du produit) — à remplacer par la vidéo d'André */
.video-placeholder {
  margin: 48px auto 0; max-width: 880px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: linear-gradient(135deg, #eef2ff, #f8fafc);
  box-shadow: var(--shadow); aspect-ratio: 16 / 9; overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.video-placeholder .play {
  width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(10,102,194,.4);
}
.video-placeholder .cap {
  position: absolute; bottom: 14px; width: 100%; text-align: center;
  color: var(--muted); font-size: 0.85rem;
}
video.demo { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--white); padding: 40px 0; margin-top: 40px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 0.9rem; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--blue); }

/* ---------- Features (style Attio) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature-card .ic {
  width: 52px; height: 52px; border-radius: 12px; background: #e6f0fb; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.14rem; font-weight: 700; margin: 14px 0 8px; }
.feature-card p { color: var(--text-dim); font-size: 0.96rem; }
.feature-card:hover { border-color: var(--blue); }

/* ---------- Preuve produit : exemples de réponses ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.reply-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; font-size: 0.95rem; line-height: 1.55; color: var(--text);
}
.reply-card .tag {
  display: inline-block; background: #e6f0fb; color: var(--blue); font-weight: 600;
  padding: 3px 11px; border-radius: 999px; font-size: 0.72rem; margin-bottom: 10px;
}
.reply-card small { display: block; color: var(--muted); margin-top: 12px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, #0a66c2, #084ea0); color: #fff; border-radius: var(--radius-lg);
  text-align: center; padding: 68px 32px;
}
.cta-final h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; }
.cta-final p { color: #dbe7f7; font-size: 1.1rem; max-width: 620px; margin: 12px auto 26px; }
.cta-final .price-note { opacity: 0.85; font-size: 0.92rem; margin-top: 20px; }

/* ---------- Problem / Solution (How it works) ---------- */
.solution-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.sol-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.sol-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.sol-card p { font-size: 1.02rem; line-height: 1.6; }
.sol-card.prob { background: var(--white); }
.sol-card.prob h3 { color: var(--text-dim); }
.sol-card.sol { background: #eaf2ff; border-color: var(--blue); }
.sol-card.sol h3 { color: var(--blue); }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 32px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.step .n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem;
}
.step h3 { font-size: 1.12rem; font-weight: 700; margin: 14px 0 8px; }
.step p { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Plans (Pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.plan-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 1.25rem; font-weight: 800; }
.plan-card .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; }
.plan-card .per { color: var(--muted); font-size: 0.85rem; }
.plan-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan-card li { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 10px; }
.plan-card li::before { content: '✓  '; color: var(--green); font-weight: 700; }
.plan-card .btn { margin-top: 22px; align-self: center; }
.plan-card.feat { border: 2px solid var(--blue); position: relative; }
.plan-card.feat .badge {
  position: absolute; top: -12px; right: 16px; background: var(--blue); color: #fff;
  font-size: 0.7rem; padding: 3px 10px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 20px; }
.faq-item p { padding: 0 20px 16px; color: var(--text-dim); }

/* ---------- Form (Contact) ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; font-size: 1rem; background: #fff;
}
.form-group textarea { min-height: 120px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 2.2rem; }
  .nav { gap: 12px; }
  .section { padding: 48px 0; }
  .features, .proof, .steps, .plans, .solution-grid { grid-template-columns: 1fr; }
}