:root {
  --bg: #faf5e8; --bg2: #f3ead4; --ink: #2a1d14; --muted: #6b5a4a; --amber: #e8a526; --amber-d: #c9861a;
  --hop: #7ba05b; --hop-d: #4f7236; --night: #1f1610; --card: #fffdf7; --line: #e6dac0; --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #17110c; --bg2: #1f1710; --ink: #f5ecda; --muted: #bba98f; --card: #241b13; --line: #3a2d20; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--amber-d); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.5px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* barre du haut */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 21px "Fraunces", Georgia, serif; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--amber-d); }
.top nav { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; font-family: inherit; }
.btn.primary { background: var(--amber); color: #20140a; box-shadow: 0 6px 18px rgba(232,165,38,.35); }
.btn.primary:hover { background: #f0b23a; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* héros */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.tag { display: inline-block; background: var(--bg2); color: var(--hop-d); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .6px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .mascot { position: relative; }
.bubble { position: absolute; top: -6px; left: -30px; background: var(--card); border: 2px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-weight: 700; font-size: 15px; max-width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--muted); font-weight: 700; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); }
.center { text-align: center; }
.center p.muted { max-width: 680px; margin: 0 auto 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { font-size: 30px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* étapes casserole */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: #20140a; font-weight: 900; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }
.kit { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.kit li { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }

/* chat démo */
.chat { background: var(--night); border-radius: 22px; padding: 20px; color: #f5ecda; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.chat .m { padding: 10px 14px; border-radius: 14px; margin: 8px 0; max-width: 88%; font-size: 15px; }
.chat .u { background: #e8a526; color: #20140a; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 700; }
.chat .a { background: #2c2118; border-bottom-left-radius: 4px; }
.chat .who { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 6px; }
.chat .who img { width: 34px; height: 34px; border-radius: 50%; background: #f3ead4; }

/* tarifs */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; }
.price.best { border-color: var(--amber); box-shadow: 0 14px 40px rgba(232,165,38,.25); position: relative; }
.price.best::before { content: "Le plus choisi"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #20140a; font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.price .amount { font: 800 44px "Fraunces", Georgia, serif; margin: 6px 0 0; }
.price .amount small { font-size: 16px; font-family: "Nunito", sans-serif; color: var(--muted); font-weight: 700; }
.price .old { text-decoration: line-through; color: var(--muted); font-weight: 700; margin-left: 6px; font-size: 18px; }
.price ul { padding: 0; margin: 18px 0 24px; flex: 1; }
.price li { list-style: none; padding: 5px 0 5px 28px; position: relative; font-size: 15.5px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--hop-d); font-weight: 900; }
.compare { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }

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

/* inscription */
.signup { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.signup input { flex: 1; min-width: 220px; padding: 13px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
#signupMsg { min-height: 24px; margin-top: 12px; font-weight: 700; }

/* tutos */
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.article h2 { margin-top: 1.6em; font-size: 30px; }
.article .note { background: var(--bg2); border-left: 5px solid var(--amber); padding: 14px 18px; border-radius: 10px; margin: 18px 0; }
.article .barnabe { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 20px 0; }
.article .barnabe img { width: 56px; flex: none; }
.article table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.crumbs { font-size: 14px; color: var(--muted); }

footer { background: var(--night); color: #cdbb9f; padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer a { color: #f5ecda; text-decoration: none; margin-right: 16px; }

@media (max-width: 860px) {
  .hero .wrap, .grid2 { grid-template-columns: 1fr; }
  .hero .mascot { max-width: 300px; margin: 0 auto; }
  .bubble { left: auto; right: -6px; }
  .grid3, .prices, .steps { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
  section { padding: 48px 0; }
}
