:root {
  --navy-950: #04142d;
  --navy-900: #071c3b;
  --navy-800: #0d2b55;
  --blue-700: #0b4fc4;
  --blue-600: #145fe3;
  --blue-100: #e9f1ff;
  --red-600: #e32636;
  --red-100: #fff0f1;
  --green-700: #16714b;
  --green-100: #e8f7f0;
  --cream: #f6f4ef;
  --cream-2: #fbfaf7;
  --white: #ffffff;
  --ink: #10213c;
  --muted: #5b687b;
  --line: #dbe2eb;
  --shadow-sm: 0 8px 22px rgba(7, 28, 59, .08);
  --shadow-md: 0 22px 55px rgba(7, 28, 59, .14);
  --shadow-lg: 0 36px 90px rgba(7, 28, 59, .18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 5px;              /* place laissee au liseré tricolore fixe */
  color: var(--ink);
  background: var(--cream-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, h4 { margin-top: 0; }
p:last-child { margin-bottom: 0; }
::selection { background: #cfe0ff; color: var(--navy-950); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background: var(--navy-900);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.tricolor-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 5px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;              /* toujours visible, au-dessus du header sticky */
}
.tricolor-bar span:nth-child(1) { background: #1456d9; }
.tricolor-bar span:nth-child(2) { background: #fff; }
.tricolor-bar span:nth-child(3) { background: #e32636; }

.site-header {
  position: sticky;
  top: 5px;                  /* juste sous le liseré tricolore fixe */
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(7, 28, 59, .08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(7, 28, 59, .08); }
.header-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--navy-900);
  white-space: nowrap;
}
.brand-name .brand-fr { color: var(--red-600); }
.brand-name .brand-pro {
  margin-left: 6px;
  color: var(--blue-600);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .58em;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: .2em;
}
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  color: #394860;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy-900); background: var(--blue-100); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.login-link { font-size: .9rem; font-weight: 750; color: var(--navy-800); white-space: nowrap; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { margin-block: 4px; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: 108px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-dark { color: #fff; background: var(--navy-950); }
.section-blue { color: #fff; background: var(--blue-700); }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }
.section-grid-bg {
  background-image:
    linear-gradient(rgba(20, 95, 227, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 95, 227, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading p { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p, .section-blue .section-heading p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1456d9 0 45%, #fff 45% 56%, #e32636 56%);
  box-shadow: 0 0 0 1px rgba(7,28,59,.08);
}
.section-dark .eyebrow, .section-blue .eyebrow { color: #bcd1ff; }
h1, h2, h3, .display {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.section-dark h2, .section-dark h3, .section-blue h2, .section-blue h3 { color: #fff; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 4vw, 4rem); }
h3 { margin-bottom: 13px; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.025em; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; }
.text-blue { color: var(--blue-600); }
.text-red { color: var(--red-600); }
.text-white { color: #fff; }
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: .82rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .94rem;
  font-weight: 820;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue-600); box-shadow: 0 13px 28px rgba(20,95,227,.25); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 16px 34px rgba(20,95,227,.32); }
.btn-secondary { color: var(--navy-900); background: #fff; border-color: var(--line); }
.btn-secondary:hover { border-color: #aab9cd; box-shadow: var(--shadow-sm); }
.btn-red { color: #fff; background: var(--red-600); box-shadow: 0 13px 28px rgba(227,38,54,.22); }
.btn-small { min-height: 42px; padding: 9px 15px; border-radius: 12px; font-size: .86rem; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero {
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 91% 10%, rgba(20,95,227,.14), transparent 28%),
    radial-gradient(circle at 6% 88%, rgba(227,38,54,.08), transparent 24%),
    var(--cream-2);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 8px;
  background: linear-gradient(90deg, var(--blue-600) 0 33.33%, #fff 33.33% 66.66%, var(--red-600) 66.66%);
  opacity: .85;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.1vw, 4.55rem); }
.hero-copy { position: relative; z-index: 2; }
.hero .lead { max-width: 610px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: #506078; font-size: .86rem; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: "✓"; color: var(--green-700); font-weight: 900; }
.hero-visual { position: relative; padding: 22px 0 22px 22px; }
.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7,28,59,.13);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}
.hero-frame img { width: 100%; aspect-ratio: 1.599; object-fit: cover; }
.frame-chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; background: #fff; border-bottom: 1px solid #e4e9f0; }
.frame-chrome i { width: 7px; height: 7px; border-radius: 999px; background: #d7dee9; }
.frame-chrome i:nth-child(1) { background: var(--red-600); }
.frame-chrome i:nth-child(2) { background: #f2c14e; }
.frame-chrome i:nth-child(3) { background: #3aae74; }
.floating-note {
  position: absolute;
  right: -20px;
  bottom: 2px;
  width: 220px;
  padding: 16px;
  border: 1px solid rgba(7,28,59,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.floating-note-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--navy-900); font-size: .76rem; font-weight: 820; }
.floating-note .bell { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; border-radius: 10px; background: var(--red-600); }
.floating-note strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.floating-note p { color: var(--muted); font-size: .78rem; }
.hero-badge {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  font-size: .76rem;
  font-weight: 800;
  z-index: 3;
}
.hero-badge .flag { display: grid; grid-template-columns: repeat(3, 6px); height: 15px; overflow: hidden; border-radius: 2px; }
.hero-badge .flag i:nth-child(1) { background: #1456d9; }
.hero-badge .flag i:nth-child(2) { background: #fff; }
.hero-badge .flag i:nth-child(3) { background: #e32636; }

.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy-900); font-family: Georgia, serif; font-size: 1.42rem; letter-spacing: -.03em; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.problem-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; align-items: start; }
.problem-sticky { position: sticky; top: 120px; }
.problem-list { display: grid; gap: 14px; }
.problem-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 26px rgba(7,28,59,.04);
}
.problem-card .num { display: grid; width: 54px; height: 54px; place-items: center; color: var(--red-600); border-radius: 16px; background: var(--red-100); font-weight: 900; }
.problem-card p { color: var(--muted); }

.demo-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: #09234a;
  box-shadow: var(--shadow-lg);
}
.demo-steps { padding: 38px; }
.demo-step { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-step:last-child { border-bottom: 0; }
.demo-step .step-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #fff; background: rgba(255,255,255,.1); font-weight: 900; }
.demo-step.is-active .step-icon { background: var(--red-600); }
.demo-step h3 { margin-bottom: 6px; color: #fff; font-family: inherit; font-size: .98rem; letter-spacing: 0; }
.demo-step p { color: rgba(255,255,255,.65); font-size: .86rem; }
.demo-image { min-height: 520px; padding: 28px; display: flex; align-items: center; background: linear-gradient(135deg, #f6f8fc, #e7eef9); }
.demo-image img { width: 100%; border-radius: 16px; box-shadow: 0 18px 50px rgba(7,28,59,.18); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.dark { color: #fff; background: var(--navy-900); border-color: transparent; }
.bento-card.blue { color: #fff; background: var(--blue-700); border-color: transparent; }
.bento-card h3 { max-width: 440px; font-size: 1.7rem; }
.bento-card.dark h3, .bento-card.blue h3 { color: #fff; }
.bento-card p { max-width: 480px; color: var(--muted); }
.bento-card.dark p, .bento-card.blue p { color: rgba(255,255,255,.7); }
.bento-icon { display: grid; width: 50px; height: 50px; margin-bottom: 30px; place-items: center; border-radius: 16px; color: var(--blue-600); background: var(--blue-100); font-size: 1.35rem; }
.dark .bento-icon, .blue .bento-icon { color: #fff; background: rgba(255,255,255,.12); }
.mini-ui { margin-top: 26px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream-2); }
.mini-ui-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.mini-ui-row:last-child { border-bottom: 0; }
.mini-ui-row strong { color: var(--navy-900); }
.status { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: var(--green-700); background: var(--green-100); font-size: .68rem; font-weight: 850; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.reverse .showcase-copy { order: 2; }
.showcase.reverse .showcase-media { order: 1; }
.showcase-copy p { color: var(--muted); font-size: 1.04rem; }
.showcase-list { display: grid; gap: 13px; margin: 25px 0 30px; padding: 0; list-style: none; }
.showcase-list li { display: flex; gap: 11px; align-items: flex-start; color: #33445d; }
.showcase-list li::before { content: "✓"; display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; color: var(--green-700); border-radius: 999px; background: var(--green-100); font-size: .72rem; font-weight: 900; }
.showcase-media { position: relative; }
.showcase-media img { width: 100%; border: 1px solid rgba(7,28,59,.12); border-radius: 24px; box-shadow: var(--shadow-md); }
.showcase-media.photo img { aspect-ratio: 1.5; object-fit: cover; }
.media-caption { margin-top: 12px; color: var(--muted); font-size: .78rem; text-align: center; }

.profession-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.profession-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.profession-card img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; transition: transform .5s ease; }
.profession-card:hover img { transform: scale(1.03); }
.profession-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(4,20,45,.9) 100%); }
.profession-card-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; }
.profession-card-content h3 { color: #fff; font-size: 2rem; }
.profession-card-content p { max-width: 480px; color: rgba(255,255,255,.74); }
.profession-card-content .tag { display: inline-flex; margin-bottom: 10px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(7,28,59,.42); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 800; }

.quote-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.quote-mark { color: var(--red-600); font-family: Georgia, serif; font-size: 4rem; line-height: .7; }
.quote-card blockquote { margin: 18px 0 24px; color: var(--navy-900); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.5; }
.quote-meta { color: var(--muted); font-size: .84rem; }

.trust-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.trust-feature img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.trust-points { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 28px; }
.trust-point { padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); }
.trust-point strong { display: block; margin-bottom: 3px; color: #fff; }
.trust-point span { color: rgba(255,255,255,.63); font-size: .78rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.price-card.featured { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.price-badge { position: absolute; top: 17px; right: 17px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--red-600); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { font-size: 1.6rem; }
.price-card.featured h3 { color: #fff; }
.price { margin: 16px 0 5px; color: var(--navy-900); font-family: Georgia, serif; font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.featured .price { color: #fff; }
.price small { font-family: inherit; font-size: .9rem; letter-spacing: 0; }
.price-card > p { color: var(--muted); }
.price-card.featured > p { color: rgba(255,255,255,.68); }
.price-list { display: grid; gap: 11px; margin: 25px 0 30px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.featured .price-list { border-color: rgba(255,255,255,.13); }
.price-list li { display: flex; gap: 10px; font-size: .9rem; }
.price-list li::before { content: "✓"; color: var(--green-700); font-weight: 900; }
.featured .price-list li::before { color: #6fe1a9; }
.price-card .btn { margin-top: auto; }
.onboarding-note { margin-top: 28px; padding: 20px 24px; border: 1px solid #c9d9f3; border-radius: 18px; color: #27415f; background: var(--blue-100); text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: steps; }
.step-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; counter-increment: steps; }
.step-card::before { content: "0" counter(steps); display: block; margin-bottom: 26px; color: var(--red-600); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.step-card p { color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: border .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: #b8cae6; box-shadow: var(--shadow-sm); }
.faq summary { position: relative; padding: 21px 56px 21px 22px; color: var(--navy-900); cursor: pointer; list-style: none; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--blue-600); font-size: 1.45rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

.final-cta { overflow: hidden; padding: 78px 0; color: #fff; background: var(--blue-700); }
.final-cta::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -240px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.04), 0 0 0 160px rgba(255,255,255,.025); }
.final-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; z-index: 2; }
.final-cta h2 { max-width: 800px; margin-bottom: 14px; color: #fff; }
.final-cta p { color: rgba(255,255,255,.76); font-size: 1.05rem; }
.final-cta .btn-secondary { border-color: transparent; }

.page-hero { overflow: hidden; padding: 82px 0 74px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.page-hero h1 { max-width: 800px; font-size: clamp(2.8rem, 5vw, 4.9rem); }
.page-hero .lead { max-width: 680px; }
.page-hero-media img { border-radius: 26px; box-shadow: var(--shadow-md); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.breadcrumb a { color: var(--blue-700); }

.feature-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-index a { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 800; }
.feature-index a span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; font-weight: 550; }

.scenario { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.scenario-message { margin: 20px 0; padding: 17px; border-left: 4px solid var(--blue-600); border-radius: 0 14px 14px 0; color: #33445d; background: var(--blue-100); font-family: Georgia, serif; font-size: 1.08rem; }
.scenario-result { display: flex; gap: 10px; align-items: center; color: var(--green-700); font-weight: 800; font-size: .87rem; }
.scenario-result::before { content: "✓"; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--green-100); }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.comparison { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.comparison th:first-child, .comparison td:first-child { text-align: left; }
.comparison thead th { color: var(--navy-900); background: #f3f6fb; font-size: .84rem; }
.comparison tbody tr:last-child td { border-bottom: 0; }
.comparison td { color: var(--muted); font-size: .88rem; }
.comparison .yes { color: var(--green-700); font-weight: 900; }
.comparison .no { color: #a1acbc; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.value-card .value-icon { display: grid; width: 48px; height: 48px; margin-bottom: 23px; place-items: center; border-radius: 15px; color: #fff; background: var(--navy-900); }
.value-card p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: start; }
.contact-aside { position: sticky; top: 110px; padding: 30px; border-radius: 24px; color: #fff; background: var(--navy-900); }
.contact-aside h2 { color: #fff; font-size: 2.2rem; }
.contact-aside p { color: rgba(255,255,255,.68); }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-item { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-item span { display: block; color: rgba(255,255,255,.58); font-size: .76rem; }
.contact-item strong { color: #fff; }
.form-card { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd4e0;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition: border .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(20,95,227,.12); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .82rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-600); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; color: var(--green-700); background: var(--green-100); font-weight: 750; }
.form-status.is-visible { display: block; }

.legal { padding: 72px 0 100px; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.legal h2 { margin-top: 42px; font-family: inherit; font-size: 1.45rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal-warning { padding: 18px; border-left: 4px solid var(--red-600); border-radius: 0 14px 14px 0; color: #702a31; background: var(--red-100); }

.site-footer { color: rgba(255,255,255,.72); background: var(--navy-950); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; padding: 70px 0 52px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 360px; margin-top: 18px; color: rgba(255,255,255,.58); }
.footer-title { margin-bottom: 16px; color: #fff; font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; padding: 0; list-style: none; }
.footer-links a { font-size: .88rem; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .77rem; }
.footer-tricolor { display: inline-grid; grid-template-columns: repeat(3, 22px); height: 4px; overflow: hidden; border-radius: 999px; vertical-align: middle; }
.footer-tricolor i:nth-child(1) { background: #1456d9; }
.footer-tricolor i:nth-child(2) { background: #fff; }
.footer-tricolor i:nth-child(3) { background: #e32636; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1080px) {
  .header-inner { gap: 14px; }
  .nav-link { padding-inline: 9px; font-size: .85rem; }
  .login-link { display: none; }
  .hero-grid, .page-hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(3rem, 5.7vw, 4.45rem); }
  .floating-note { right: -8px; }
  .problem-grid { grid-template-columns: .9fr 1.1fr; gap: 34px; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .section { padding: 84px 0; }
  .menu-toggle { display: inline-flex; flex-direction: column; }
  .main-nav {
    position: fixed;
    inset: 75px 20px auto;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { display: grid; }
  .nav-link { width: 100%; padding: 12px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .hero-grid, .page-hero-grid, .problem-grid, .showcase, .trust-feature, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 760px); margin-inline: auto; }
  .problem-sticky, .contact-aside { position: static; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-image { min-height: 0; }
  .bento-card.span-7, .bento-card.span-5, .bento-card.span-4, .bento-card.span-8 { grid-column: span 6; }
  .showcase.reverse .showcase-copy, .showcase.reverse .showcase-media { order: initial; }
  .showcase + .showcase { margin-top: 80px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .feature-index { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  .container, .narrow, .header-inner { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding: 52px 0 54px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .button-row { align-items: stretch; }
  .button-row .btn { width: 100%; }
  .hero-visual { padding: 18px 0 50px; }
  .hero-frame { border-radius: 20px; transform: none; }
  .hero-badge { left: 10px; }
  .floating-note { width: 200px; right: 9px; bottom: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 14px; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .problem-card { grid-template-columns: 44px 1fr; padding: 20px; }
  .problem-card .num { width: 44px; height: 44px; }
  .demo-steps { padding: 24px; }
  .demo-image { padding: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-7, .bento-card.span-5, .bento-card.span-4, .bento-card.span-8 { grid-column: auto; }
  .bento-card { min-height: 0; padding: 24px; }
  .profession-grid { grid-template-columns: 1fr; }
  .profession-card, .profession-card img { min-height: 360px; }
  .trust-points { grid-template-columns: 1fr; }
  .steps, .values-grid, .values-grid.two-col { grid-template-columns: 1fr; }
  .final-cta-grid { grid-template-columns: 1fr; }
  .final-cta .btn { width: 100%; }
  .feature-index { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-top > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Démonstration animée (player porté de la vitrine v3.3, palette CarillonPro) ---------- */
.player {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  color: #e8eefb;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: #09234a;
  box-shadow: var(--shadow-lg);
}
.player-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.player-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.player-bar b { margin-left: 10px; color: #c3d2ec; font-size: .88rem; font-weight: 700; }
.player-bar .live {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #bcd1ff;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.son-btn {
  margin-left: 10px;
  padding: 6px 14px;
  border: 1px solid var(--blue-600);
  border-radius: 999px;
  color: #fff;
  background: var(--blue-600);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(20,95,227,.35);
  transition: background .15s ease, color .15s ease;
}
.son-btn:hover { background: var(--blue-700); }
.son-btn.discret { background: transparent; border-color: rgba(255,255,255,.32); color: #bcd1ff; box-shadow: none; }
.son-btn.discret:hover { background: rgba(255,255,255,.08); }
@media (max-width: 640px) { .player-bar b, .player-bar .live { display: none; } }
.player-stage { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 430px; }
.chat-col { display: flex; flex-direction: column; padding: 24px 26px 96px; border-right: 1px solid rgba(255,255,255,.1); }
.scene-caption { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #8fa3c4; font-size: .82rem; }
.scene-caption::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--red-600); }
.chat { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.bulle {
  max-width: 92%;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.bulle.on { opacity: 1; transform: none; }
.bulle small { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 650; letter-spacing: .02em; opacity: .72; }
.bulle.client { align-self: flex-start; background: var(--cream); color: var(--ink); border-bottom-left-radius: 4px; }
.bulle.carillon { align-self: flex-end; background: var(--blue-700); color: #fff; border: 1px solid rgba(255,255,255,.1); border-bottom-right-radius: 4px; }
.bulle.carillon small { color: #cfe0ff; opacity: 1; }
.bulle.oui { align-self: flex-start; padding: 10px 22px; background: var(--cream); color: var(--ink); font-weight: 800; border-bottom-left-radius: 4px; }
.bulle.note {
  align-self: center;
  padding: 9px 16px;
  border: 1.5px dashed rgba(127,231,176,.55);
  border-radius: 10px;
  background: transparent;
  color: #7fe7b0;
  font-size: .85rem;
  font-weight: 650;
  text-align: center;
}
.typing {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-end;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  background: rgba(20,95,227,.28);
  color: #b8c8e4;
  font-size: .82rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.typing.on { opacity: 1; transform: none; }
.typing .dots { display: inline-flex; gap: 4px; }
.typing .dots i { width: 6px; height: 6px; border-radius: 50%; background: #8fb4ff; animation: blink 1.1s infinite; }
.typing .dots i:nth-child(2) { animation-delay: .18s; }
.typing .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.plan-col { padding: 24px 22px; background: rgba(255,255,255,.03); }
.mini-plan { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.mp-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f3f6fb;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .85rem;
  font-weight: 700;
}
.mp-row { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 11px 14px; border-bottom: 1px solid #eef1f6; color: var(--muted); font-size: .82rem; }
.mp-row .h { width: 44px; flex: none; color: var(--navy-900); font-variant-numeric: tabular-nums; font-weight: 700; }
.mp-row .vide { color: #b9c2d0; font-style: italic; }
.mp-slot {
  flex: 1;
  display: none;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #b7e3cd;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--ink);
  line-height: 1.35;
}
.mp-slot i { width: 9px; height: 9px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--green-700); }
.mp-slot b { display: block; color: var(--navy-900); font-size: .82rem; }
.mp-slot span { color: var(--muted); font-size: .74rem; }
.mp-slot.on { display: flex; animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.mp-note { padding: 10px 14px; color: var(--muted); font-size: .74rem; }
.player-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  margin: 0 18px 18px;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--blue-600);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 14px 34px rgba(20,95,227,.4);
  transform: translateY(130%);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.9,.3,1.1), opacity .4s ease;
}
.player-banner.on { transform: none; opacity: 1; }
.player-subs {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.18);
}
.player-subs span {
  max-width: 94%;
  padding: 5px 15px;
  border-radius: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .95rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.player-subs span.on { opacity: 1; }
.player-progress { height: 4px; background: rgba(255,255,255,.1); }
.player-progress i { display: block; height: 100%; width: 0; background: var(--blue-600); }
.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  cursor: pointer;
  background: rgba(4,20,45,.74);
  backdrop-filter: blur(3px);
  color: #fff;
  transition: opacity .45s ease;
}
.player-overlay .rond {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 12px 40px rgba(20,95,227,.5);
  transition: transform .18s ease;
}
.player-overlay:hover .rond { transform: scale(1.07); }
.player-overlay .rond svg { width: 30px; height: 30px; margin-left: 5px; fill: #fff; }
.player-overlay b { font-size: 1.02rem; }
.player-overlay span { color: #a9bcdd; font-size: .85rem; }
.player-overlay.off { opacity: 0; pointer-events: none; }
.stage-fade .bulle, .stage-fade .typing, .stage-fade.player-banner { transition: opacity .5s ease; opacity: 0 !important; }
.player-note { margin: 18px auto 0; max-width: 880px; color: rgba(255,255,255,.62); font-size: .9rem; text-align: center; }
@media (max-width: 760px) {
  .player-stage { grid-template-columns: 1fr; min-height: 0; }
  .chat-col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 18px; }
  .plan-col { padding-bottom: 30px; }
}

/* ---------- Captures réelles de l'application ---------- */
.app-shot { overflow: hidden; border: 1px solid rgba(7,28,59,.12); border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); }
.app-shot img { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.media-caption strong { color: var(--navy-900); }

/* ---------- Formulaire d'essai (index + contact) ---------- */
.essai-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .essai-grid { grid-template-columns: 1fr; } }
.card-note {
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-2);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
.card-note strong { color: var(--navy-900); }
.featured .card-note { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: rgba(255,255,255,.68); }
.featured .card-note strong { color: #fff; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; opacity: 0; }
.form-ok { padding: 12px 0; text-align: center; color: var(--ink); font-size: 1.05rem; }
.form-ok strong { color: var(--green-700); font-size: 1.15rem; }
.form-error { display: none; margin-top: 14px; color: #b3261e; font-size: .9rem; text-align: center; }
.form-error.is-visible { display: block; }
.form-error a { color: #b3261e; font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   Chatbot vitrine (widget autonome, assets/js/chatbot.js)
   --------------------------------------------------------------------------- */
.cbot-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--blue-600); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .18s ease, background .18s ease;
}
.cbot-launcher:hover { background: var(--blue-700); transform: translateY(-2px); }
.cbot-launcher:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; }
.cbot-launcher[aria-expanded="true"] { background: var(--navy-900); }

.cbot-panel {
  position: fixed; right: 22px; bottom: 92px; z-index: 121;
  width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.cbot-panel[hidden] { display: none; }

.cbot-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--navy-900); color: var(--white);
}
.cbot-title { font-weight: 750; font-size: 1rem; letter-spacing: .01em; }
.cbot-close {
  background: none; border: none; color: var(--white); cursor: pointer;
  font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; border-radius: 8px;
}
.cbot-close:hover { background: rgba(255, 255, 255, .14); }
.cbot-close:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }

.cbot-log {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column;
  gap: 10px; background: var(--cream-2);
}
.cbot-msg { display: flex; }
.cbot-user { justify-content: flex-end; }
.cbot-text {
  max-width: 84%; margin: 0; padding: 10px 13px; border-radius: 14px;
  font-size: .93rem; line-height: 1.45; word-wrap: break-word;
}
.cbot-bot .cbot-text { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 4px; }
.cbot-user .cbot-text { background: var(--blue-600); color: var(--white); border-top-right-radius: 4px; }
.cbot-text a { color: var(--blue-700); font-weight: 700; }
.cbot-user .cbot-text a { color: var(--white); text-decoration: underline; }

.cbot-typing {
  display: inline-block; padding: 8px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; color: var(--muted);
  letter-spacing: .12em; animation: cbotBlink 1.1s ease-in-out infinite;
}
@keyframes cbotBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.cbot-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px 0; }
.cbot-chip {
  border: 1px solid var(--line); background: var(--white); color: var(--navy-800);
  padding: 7px 12px; border-radius: 999px; font-size: .82rem; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cbot-chip:hover { background: var(--blue-100); border-color: var(--blue-600); }
.cbot-chip:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }

.cbot-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--white); }
.cbot-input {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font: inherit; font-size: .92rem; color: var(--ink); min-width: 0;
}
.cbot-input:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 0; border-color: var(--blue-600); }
.cbot-send {
  flex: 0 0 auto; width: 44px; border: none; border-radius: 12px; cursor: pointer;
  background: var(--blue-600); color: var(--white); display: grid; place-items: center;
}
.cbot-send:hover { background: var(--blue-700); }
.cbot-send:focus-visible { outline: 2px solid var(--red-600); outline-offset: 2px; }

/* Pendant l'attente d'une réponse (surtout en mode LLM) : champ et boutons grisés. */
.cbot-input:disabled, .cbot-send:disabled, .cbot-chip:disabled { opacity: .55; cursor: not-allowed; }
.cbot-send:disabled:hover { background: var(--blue-600); }

@media (max-width: 480px) {
  .cbot-launcher { right: 16px; bottom: 16px; }
  .cbot-panel { right: 8px; left: 8px; bottom: 84px; width: auto; max-height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
  .cbot-launcher, .cbot-typing { transition: none; animation: none; }
}
