/* L'IA des Pros — feuille de style commune */
:root {
  --rose: #C9737E;
  --rose-dark: #A85A66;
  --rose-light: #F6E4E1;
  --rose-bg: #FDF6F5;
  --ink: #2B2326;
  --ink-soft: #6B5F63;
  --white: #FFFFFF;
  --line: #EBDAD7;
  --ok: #2E7D5B;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(168, 90, 102, 0.12);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
.hero-grid > *, .grid-3 > * { min-width: 0; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--rose-bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); }
h1, h2, h3 { font-family: "Poppins", "Nunito", sans-serif; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* En-tête */
.header { padding: 18px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; margin-left: 18px; font-size: .95rem; }
.nav a:hover { color: var(--rose-dark); }

/* Boutons */
.btn {
  display: inline-block; background: var(--rose); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--rose-dark); box-shadow: none; border: 2px solid var(--rose); }
.btn-ghost:hover { background: var(--rose-light); color: var(--rose-dark); }

/* Sections */
.section { padding: 64px 0; }
.section-white { background: var(--white); }
.eyebrow { display: inline-block; background: var(--rose-light); color: var(--rose-dark); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.center { text-align: center; }

/* Hero */
.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* Grilles de cartes */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { font-size: 1.8rem; margin-bottom: 8px; }
.section-white .card { background: var(--rose-bg); }

/* Listes */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); color: var(--white); font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 3px; }

/* Formulaire */
.form { display: grid; gap: 12px; }
.form label { font-weight: 700; font-size: .95rem; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 2px solid var(--line); font-size: 1rem; font-family: inherit; background: var(--white);
}
.form input:focus { outline: none; border-color: var(--rose); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.form .consent input { margin-top: 4px; }
.form .btn { width: 100%; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: .95rem; min-height: 1.4em; margin: 0; }
.form-msg.error { color: #B3261E; }
.small { font-size: .85rem; color: var(--ink-soft); }

/* Prompt (exemple) */
.prompt { background: var(--ink); color: #F5ECEA; border-radius: 14px; padding: 18px 20px; font-family: Consolas, "Courier New", monospace; font-size: .92rem; white-space: pre-wrap; }

/* Prix */
.price { font-family: "Poppins", sans-serif; font-size: 3rem; font-weight: 800; color: var(--rose-dark); }
.price s { font-size: 1.4rem; color: var(--ink-soft); font-weight: 600; margin-right: 10px; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
details summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Pied de page */
.footer { padding: 36px 0; font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--ink-soft); margin-right: 14px; }

/* Pages légales */
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal { background: var(--white); border-radius: var(--radius); padding: 32px; margin: 20px 0 60px; }

/* Responsive */
.mobile-only { display: none; }
@media (max-width: 860px) {
  .mobile-only { display: block; }
  .hero-grid, .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .section { padding: 48px 0; }
  .legal { padding: 22px; }
}
