/* Souriria — L'IA qui sourit à vos clients */
:root {
  --bg: #FFFBF4;
  --bg-soft: #FFF4E6;
  --ink: #17233B;
  --muted: #5C6B84;
  --accent: #F97316;
  --accent-dark: #C2570B;
  --accent-soft: #FFF1E0;
  --card: #FFFFFF;
  --line: #F0E2CC;
  --green: #16A34A;
  --green-soft: #E8F7EE;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(23, 35, 59, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
h3 { font-size: 1.2rem; font-weight: 700; }
p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.center p.lead { margin: 0 auto; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; }
.brand svg { width: 36px; height: 36px; }
nav.links { display: flex; gap: 26px; align-items: center; }
nav.links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.98rem; }
nav.links a:hover { color: var(--accent-dark); }
.burger { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem; cursor: pointer;
  border: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(249, 115, 22, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 80% 10%, rgba(249, 115, 22, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 700; font-size: 0.85rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 .hl { color: var(--accent-dark); }
.hero p.lead { margin-top: 16px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.trust-row span::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* ---------- Chat demo widget ---------- */
.chat-card {
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; max-width: 420px; margin: 0 auto; width: 100%;
}
.chat-head { background: var(--ink); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.chat-head b { display: block; font-size: 1rem; }
.chat-head small { color: #B9C4D6; font-size: 0.8rem; }
.chat-head .demo-tag { margin-left: auto; background: rgba(255,255,255,0.15); font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.chat-body { height: 320px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #FDF8F0; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 0.93rem; line-height: 1.5; animation: pop 0.25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px 4px; background: #FDF8F0; }
.chat-suggest button {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.chat-suggest button:hover { border-color: var(--accent); color: var(--accent-dark); }
.chat-input { display: flex; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: none; padding: 15px 18px; font-size: 0.95rem; font-family: inherit; outline: none; background: transparent; }
.chat-input button { background: var(--accent); color: #fff; border: none; padding: 0 22px; font-weight: 700; cursor: pointer; font-size: 0.95rem; }
.chat-input button:hover { background: var(--accent-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 18px 50px rgba(249, 115, 22, 0.18); transform: scale(1.03); }
.plan .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.plan .for { color: var(--muted); font-size: 0.92rem; margin: 6px 0 18px; }
.plan .price { font-size: 2rem; font-weight: 800; }
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plan .setup { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan ul li { padding: 8px 0; font-size: 0.95rem; border-bottom: 1px dashed var(--line); }
.plan ul li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.plan .btn { text-align: center; }
.price-note { margin-top: 26px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Guarantee / badges ---------- */
.guarantee {
  background: var(--green-soft); border: 2px dashed var(--green); border-radius: var(--radius);
  padding: 30px; margin-top: 48px; display: flex; gap: 20px; align-items: center;
}
.guarantee .icon { font-size: 2.6rem; }
.guarantee b { font-size: 1.1rem; }
.guarantee p { color: var(--muted); font-size: 0.97rem; }
.rgpd-strip { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.rgpd-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--card);
  border: 1.5px solid var(--line); padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
}
.rgpd-badge .shield { font-size: 1.3rem; }

/* ---------- Niche cards ---------- */
.niches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.niche {
  border-radius: 22px; padding: 40px 34px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #17233B 0%, #2A3B5C 100%); position: relative; overflow: hidden;
  transition: transform 0.2s ease;
}
.niche:hover { transform: translateY(-4px); }
.niche.orange { background: linear-gradient(135deg, #EA580C 0%, #F97316 100%); }
.niche h3 { font-size: 1.5rem; margin-bottom: 10px; }
.niche p { opacity: 0.88; margin-bottom: 18px; }
.niche .go { font-weight: 800; }
.niche .emoji { font-size: 2.4rem; display: block; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 36px auto 0; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 22px; font-size: 1.02rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-family: inherit; }
.faq-q .plus { color: var(--accent); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #17233B 0%, #24344F 100%); color: #fff; border-radius: 28px; padding: 60px 48px; text-align: center; margin: 72px 0 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9C4D6; max-width: 560px; margin: 12px auto 28px; }

/* ---------- ROI calculator ---------- */
.calc { background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 40px; max-width: 720px; margin: 36px auto 0; box-shadow: var(--shadow); }
.calc label { display: block; font-weight: 700; margin: 18px 0 8px; }
.calc input[type="number"], .calc input[type="range"] { width: 100%; }
.calc input[type="number"] { padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; font-size: 1.05rem; font-family: inherit; }
.calc input[type="number"]:focus { border-color: var(--accent); outline: none; }
.calc-result { background: var(--accent-soft); border-radius: 16px; padding: 26px; margin-top: 26px; }
.calc-result .big { font-size: 2.2rem; font-weight: 800; color: var(--accent-dark); }
.calc-result p { color: var(--muted); margin-top: 6px; }
.calc-result .verdict { margin-top: 14px; font-weight: 700; color: var(--green); }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px; max-width: 640px; margin: 36px auto 0; box-shadow: var(--shadow); }
.form-card label { display: block; font-weight: 700; margin: 16px 0 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); outline: none; }
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card .btn { margin-top: 22px; width: 100%; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 36px; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.97rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--ink); color: #fff; }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 700; }
.compare .bad { color: #DC2626; font-weight: 700; }
.compare .good { color: var(--green); font-weight: 700; }

/* ---------- Page hero ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero p.lead { margin: 14px auto 0; }
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--accent-dark); text-decoration: none; font-weight: 600; }

/* ---------- Prose (legal / about) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #B9C4D6; margin-top: 90px; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.foot-grid h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.foot-grid a { display: block; color: #B9C4D6; text-decoration: none; margin-bottom: 9px; font-size: 0.94rem; }
.foot-grid a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.foot-brand svg { width: 32px; height: 32px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .steps, .plans, .niches { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  nav.links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  nav.links.open { display: flex; }
  .burger { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
  section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .calc, .form-card { padding: 26px 20px; }
}
