/* ═══════════════════════════════════════════
   SERENOVY · STYLE.CSS
   Always there. Toujours là.
═══════════════════════════════════════════ */

:root {
  --blue: #4a9eff;
  --blue-dark: #1a6fd4;
  --blue-light: #e8f3ff;
  --dark: #0d0f18;
  --dark-2: #13151e;
  --dark-3: #1a1d2b;
  --text: #1a1d2b;
  --text-2: #4a4e6a;
  --text-3: #8b8fa8;
  --border: rgba(0,0,0,0.08);
  --white: #ffffff;
  --off-white: #f8f9fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

em { font-family: 'Libre Baskerville', serif; font-style: italic; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--blue); }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.btn-nav {
  background: var(--dark);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--blue); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#waveCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

#hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.1s both;
}

#hero h1 em { color: var(--blue); font-style: italic; }

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.stat { text-align: center; }
.stat span { display: block; font-size: 28px; font-family: 'Libre Baskerville', serif; font-weight: 400; color: var(--dark); }
.stat small { font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

.hero-tagline {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  animation: fadeUp 0.8s ease 0.5s both;
}
.hero-tagline .dot { color: var(--blue); }

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.6); }
.section-header.light .section-label { color: rgba(255,255,255,0.5); }

.section-header p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto;
}

/* ── POURQUOI ── */
#pourquoi {
  padding: 120px 0;
  background: var(--off-white);
}

.atouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.atout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}

.atout-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.atout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.atout-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.atout-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--dark);
}

.atout-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.comparison-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.comp-before, .comp-after { flex: 1; }

.comp-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.comp-before .comp-label { color: var(--text-3); }
.comp-after .comp-label { color: var(--blue); }

.comp-before ul, .comp-after ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-before li { color: var(--text-3); font-size: 14px; }
.comp-after li { color: var(--text); font-size: 14px; font-weight: 400; }

.comp-arrow {
  font-size: 28px;
  color: var(--blue);
  font-weight: 300;
  flex-shrink: 0;
}

/* ── COMMENT ── */
#comment {
  padding: 120px 0;
  background: var(--dark);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  padding: 32px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  position: relative;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--blue);
  opacity: 0.3;
  margin-top: 48px;
  flex-shrink: 0;
}

.step-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--blue);
  opacity: 0.25;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.step-duration {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(74,158,255,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── OFFRES ── */
#offres {
  padding: 120px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: var(--dark);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--blue), var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 4px;
  color: var(--dark);
}

.pricing-card.featured .plan-name { color: var(--white); }

.plan-target {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.pricing-card.featured .plan-target { color: rgba(255,255,255,0.4); }

.plan-price {
  font-family: 'Libre Baskerville', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--dark);
}

.pricing-card.featured .plan-price { color: var(--white); }

.plan-price sup { font-size: 20px; vertical-align: super; }
.plan-price span { font-size: 16px; font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--text-3); }
.pricing-card.featured .plan-price span { color: rgba(255,255,255,0.4); }

.plan-engagement {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card.featured .plan-engagement { color: rgba(255,255,255,0.3); border-bottom-color: rgba(255,255,255,0.08); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  min-height: 200px;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
}

.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.65); }

.plan-note {
  font-size: 11px;
  color: #e05a5a;
  margin-bottom: 16px;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-plan:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-plan.featured {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.btn-plan.featured:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: white;
}

.upgrade-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  padding: 20px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
}

.upgrade-note strong { color: var(--blue-dark); }

/* ── OPTIONS ── */
#options {
  padding: 120px 0;
  background: var(--dark);
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}

.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: var(--dark-2);
  transition: background 0.2s;
}

.option-item:hover { background: var(--dark-3); }
.option-item.highlight { background: rgba(74,158,255,0.08); border-left: 3px solid var(--blue); }

.option-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option-info strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.option-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.option-price {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  color: var(--blue);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.option-price small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

/* ── FAQ ── */
#faq {
  padding: 120px 0;
  background: var(--off-white);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--blue); }

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── CONTACT ── */
#contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.contact-left p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.contact-promise {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.contact-promise span {
  color: var(--blue);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.btn-submit {
  background: var(--dark);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.form-note {
  font-size: 11px;
  color: var(--text-3);
}

.form-success {
  text-align: center;
  padding: 60px 32px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.form-success p { color: var(--text-2); font-size: 14px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand { flex: 1; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2) !important;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ── CHATBOT ── */
#chatbot-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
}

#chatbot-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74,158,255,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

#chatbot-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(74,158,255,0.5);
}

#chatbot-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: opacity 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}

#chatbot-panel.hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--dark);
}

.chat-header-left { display: flex; align-items: center; gap: 12px; }

.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(74,158,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-name {
  font-size: 15px;
  color: var(--white);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.chat-close-btn:hover { color: white; }

.chat-messages {
  height: 340px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--off-white);
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.msg { display: flex; }
.msg.bot { justify-content: flex-start; }
.msg.user { justify-content: flex-end; }

.msg-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
}

.msg.bot .msg-bubble {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg.user .msg-bubble {
  background: var(--blue);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.suggestion-btn {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.suggestion-btn:hover {
  background: var(--blue);
  color: white;
}

.typing-indicator .msg-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 18px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--text-3);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

#chatInput {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--off-white);
}
#chatInput:focus { border-color: var(--blue); background: var(--white); }

#chatSend {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
#chatSend:hover { background: var(--blue-dark); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .atouts-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; }
  .step-connector { width: 2px; height: 24px; margin: 0 0 0 48px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .contact-block { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .atouts-grid { grid-template-columns: 1fr; }
  .comparison-block { flex-direction: column; }
  .comp-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  #chatbot-panel { width: calc(100vw - 40px); right: -8px; }
  .hero-stats { gap: 16px; }
  .stat span { font-size: 22px; }
}
