/* ---------- Corsica Studio design system ---------- */
/* Palette officielle : navy #2B4150 / #1F3441 · ocean #51738C / #7F9DA6 ·
   mist #BFD4DA · coral #FF6E44 (accent unique) · cream #FFFCF5 / #F6F0E4 */

:root {
  --bg:        #1F3441;
  --bg-soft:   #2B4150;
  --bg-card:   #243a48;
  --border:    #33495a;
  --border-strong: #51738C;
  --fg:        #FFFCF5;
  --fg-muted:  #BFD4DA;
  --fg-faint:  #7F9DA6;
  --accent:    #FF6E44;
  --accent-bg: rgba(255,110,68,0.10);
  --user:      #FFFCF5;
  --radius-pill: 999px;
  --radius-card: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
  color: var(--fg);
  font-family: 'Source Sans 3', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent); }

code, .mono { font-family: 'Source Sans 3', sans-serif; font-size: 0.95em; }
code.accent {
  color: var(--accent);
  background: var(--accent-bg);
  padding: 2px 8px; border-radius: 4px;
  font-weight: 600;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  position: sticky; top: 0; background: rgba(31,52,65,0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 1px solid var(--border);
}
.topbar-left { display: flex; align-items: center; gap: 36px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--fg);
}
.brand:hover { color: var(--fg); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  font-family: 'MuseoModerno', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #FFFCF5;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; right: 6px; bottom: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.brand-name {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 17px; font-weight: 600; letter-spacing: 0.01em;
}
.brand-name .lite { color: var(--fg-faint); font-weight: 500; }
.topnav { display: flex; gap: 28px; }
.topnav a {
  color: var(--fg-muted); font-size: 12px; letter-spacing: 0.12em;
  font-weight: 600; padding: 4px 0; text-transform: uppercase;
}
.topnav a.active, .topnav a:hover { color: var(--fg); }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 14px; letter-spacing: 0.04em; font-weight: 600;
  color: var(--fg);
  background: transparent;
  cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.cta-pill:hover { border-color: var(--fg); }

/* icônes SVG inline (tracés Lucide, comme la bibliothèque du site) */
.ic { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.14em; }
.stage-margot .ic { color: var(--accent); }

/* retour vers le site principal (indispensable sur mobile : pas de menu ici) */
.topbar-right { display: flex; align-items: center; gap: 18px; }
.back-site {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.back-site:hover { color: var(--accent); }
.tel-label { margin-left: 2px; }
.cta-pill.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFCF5;
  font-size: 16px; padding: 16px 32px;
  box-shadow: 0 6px 24px rgba(255,110,68,0.35);
}
.cta-pill.primary:hover { background: #ff8159; border-color: #ff8159; }
.cta-pill.recording {
  background: transparent;
  border-color: var(--accent); color: var(--accent);
  box-shadow: none;
}
.cta-pill.recording:hover { background: var(--accent-bg); }
.cta-pill .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,252,245,0.6);
  transition: background 0.2s;
}
.cta-pill.recording .dot {
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.85); }
}

/* ---------- page resto (immersion) ---------- */
.app-main { max-width: 980px; margin: 0 auto; padding: 64px 40px 100px; }

.demo-badge {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,110,68,0.45);
  background: var(--accent-bg);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}

.status { color: var(--fg-muted); font-size: 13px; }
.muted   { color: var(--fg-faint); }
.small   { font-size: 12px; }

/* ---------- égaliseur vocal animé ---------- */
.voice-eq {
  display: inline-flex; align-items: center; gap: 3px;
  height: 18px; flex: none;
}
.voice-eq i {
  display: block; width: 3px; border-radius: 2px;
  background: currentColor;
  height: 35%;
  transform-origin: center;
}
.voice-eq.accent { color: var(--accent); }
.voice-eq i:nth-child(1) { height: 40%; }
.voice-eq i:nth-child(2) { height: 75%; }
.voice-eq i:nth-child(3) { height: 100%; }
.voice-eq i:nth-child(4) { height: 65%; }
.voice-eq i:nth-child(5) { height: 38%; }
body.on-call .voice-eq i { animation: eq 0.9s ease-in-out infinite; }
body.on-call .voice-eq i:nth-child(2) { animation-delay: 0.12s; }
body.on-call .voice-eq i:nth-child(3) { animation-delay: 0.24s; }
body.on-call .voice-eq i:nth-child(4) { animation-delay: 0.36s; }
body.on-call .voice-eq i:nth-child(5) { animation-delay: 0.48s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1.25); }
}

/* ---------- récap post-appel ---------- */
.recap {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(76,175,125,0.10);
  border: 1px solid rgba(76,175,125,0.45);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 0 0 8px;
  font-size: 15.5px; line-height: 1.6; color: var(--fg);
  animation: rise 0.4s ease;
}
.recap[hidden] { display: none; }
.recap b { color: var(--fg); }
.recap-check {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  color: #4caf7d;
}
.recap-check svg { width: 100%; height: 100%; }
.recap.error {
  background: rgba(255,110,68,0.10);
  border-color: rgba(255,110,68,0.5);
}
.recap-check.warn {
  color: var(--accent); font-weight: 800; font-size: 19px;
  border: 2px solid var(--accent); border-radius: 50%;
}
.recap-note { display: block; color: var(--fg-muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- scène démo : deux téléphones, CTA au centre ---------- */
.demo-stage {
  text-align: center; margin-bottom: 48px;
  /* breakout : la scène déborde du conteneur 980px pour laisser la place aux 2 téléphones */
  width: min(1240px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
}
.stage-title {
  font-family: 'MuseoModerno', sans-serif;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600; line-height: 1.12;
  margin: 0 0 14px; color: var(--fg);
}
.stage-title .coral { color: var(--accent); }
.stage-sub {
  font-size: 16.5px; color: var(--fg-muted);
  max-width: 560px; line-height: 1.6;
  margin: 0 auto 48px;
}
.stage-row {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(22px, 4.5vw, 60px); flex-wrap: wrap;
}
.stage-center {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; max-width: 360px;
}
.cta-pill.primary.big { font-size: 17px; padding: 18px 34px; }
.stage-margot { font-size: 14px; color: var(--fg-muted); margin: 6px 0 0; }
.stage-margot b { color: var(--accent); }
.stage-chips { margin-top: 6px; justify-content: center; }

.phone { margin: 0; text-align: center; }
.phone-frame {
  width: min(272px, 80vw); height: 552px;
  background: #16252f;
  border: 3px solid #3a5163;
  border-radius: 42px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.phone.delay .phone-frame { animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.phone-notch {
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 9px; border-radius: 6px;
  background: #0d1820; z-index: 3;
}
.phone-screen {
  position: absolute; inset: 11px;
  border-radius: 32px; overflow: hidden;
}

/* écran accueil : photo du resto + infos, comme une vraie page mobile */
.screen-home {
  background: #1F3441;
  display: flex; flex-direction: column;
  transition: opacity 0.45s ease;
}
.home-photo {
  width: 100%; height: 47%; object-fit: cover; display: block;
}
.home-body {
  flex: 1; display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 20px; text-align: center;
}
.home-stars { display: block; color: var(--accent); font-size: 11px; letter-spacing: 0.45em; margin-bottom: 6px; }
.home-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 600; color: #FFFCF5;
  margin: 0 0 2px; line-height: 1;
}
.home-tag {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 15px; color: #BFD4DA; margin: 0;
}
.home-actions { display: flex; gap: 10px; }
.home-btn {
  flex: 1; padding: 12px 0; border-radius: 12px;
  background: var(--accent); color: #FFFCF5;
  font-size: 13.5px; font-weight: 700;
}
.home-btn.ghost {
  background: transparent; color: #FFFCF5;
  border: 1px solid rgba(255,252,245,0.4);
}

/* écran d'appel en cours : prend la place de l'accueil pendant la conversation */
.screen-call {
  background: linear-gradient(180deg, #14222c 0%, #1F3441 60%, #243a48 100%);
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between;
  padding: 54px 22px 30px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
}
body.on-call .phone-left .screen-call { opacity: 1; pointer-events: auto; }
body.on-call .phone-left .screen-home { opacity: 0; }
.call-resto {
  font-size: 11px; letter-spacing: 0.3em; font-weight: 700;
  color: var(--fg-faint); margin: 0;
}
.call-center { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.call-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #FF6E44, #ff8e6b);
  color: #FFFCF5;
  font-family: 'MuseoModerno', sans-serif;
  font-size: 40px; font-weight: 700;
}
body.on-call .call-avatar { animation: ring 2s ease-in-out infinite; }
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,110,68,0.45); }
  50%      { box-shadow: 0 0 0 18px rgba(255,110,68,0); }
}
.call-name {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 24px; font-weight: 600; color: #FFFCF5; margin: 0;
}
.call-state { font-size: 14px; color: var(--fg-muted); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.voice-eq.big { height: 44px; gap: 5px; }
.voice-eq.big i { width: 5px; border-radius: 3px; }
.voice-eq.big i:nth-child(6) { height: 85%; }
.voice-eq.big i:nth-child(7) { height: 55%; }
.voice-eq.big i:nth-child(8) { height: 70%; }
.voice-eq.big i:nth-child(9) { height: 42%; }
body.on-call .voice-eq i:nth-child(6) { animation-delay: 0.18s; }
body.on-call .voice-eq i:nth-child(7) { animation-delay: 0.3s; }
body.on-call .voice-eq i:nth-child(8) { animation-delay: 0.06s; }
body.on-call .voice-eq i:nth-child(9) { animation-delay: 0.42s; }
.call-end {
  width: 62px; height: 62px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #e5484d; color: #fff;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.call-end span { display: block; transform: rotate(135deg); }
.call-end:hover { transform: scale(1.08); background: #f25b60; }

/* écran carte : scrollable comme sur un vrai téléphone */
.screen-menu { background: #FFFCF5; }
.menu-paper-mini {
  height: 100%; overflow-y: auto;
  color: #2B4150;
  padding: 44px 18px 26px;
  overscroll-behavior: contain;
}
.menu-paper-mini::-webkit-scrollbar { width: 5px; }
.menu-paper-mini::-webkit-scrollbar-thumb { background: rgba(43,65,80,0.25); border-radius: 4px; }
.menu-photo {
  width: 100%; height: 116px; object-fit: cover;
  border-radius: 12px; display: block; margin-bottom: 14px;
}

/* apparition au scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .phone-frame { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.menu-head { text-align: center; margin-bottom: 36px; }
.menu-orn { display: block; font-size: 22px; color: #FF6E44; margin-bottom: 8px; }
.menu-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px; color: #1F3441;
}
.menu-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 17px; color: #51738C; margin: 0;
}
.menu-content { display: flex; flex-direction: column; gap: 36px; }
.menu-fixed {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(43,65,80,0.18);
}
.menu-fixed .menu-box { text-align: center; padding: 0 8px; }
.menu-fixed h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px; font-weight: 600; margin: 0 0 2px; color: #1F3441;
}
.menu-fixed .menu-price {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: #FF6E44; font-size: 17px; margin: 0 0 10px; display: block;
}
.menu-fixed p { font-size: 13.5px; line-height: 1.65; color: #51738C; margin: 0 0 8px; }
.menu-fixed .menu-wine { font-size: 12px; color: #7F9DA6; font-style: italic; }
.menu-section h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; text-align: center;
  color: #1F3441; margin: 0 0 18px;
}
.menu-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14.5px; line-height: 1.5; color: #2B4150;
  margin-bottom: 11px;
}
.menu-item .dots {
  flex: 1; border-bottom: 1px dotted rgba(43,65,80,0.35);
  transform: translateY(-4px); min-width: 24px;
}
.menu-item .price { color: #FF6E44; font-weight: 600; white-space: nowrap; }
.menu-note { font-size: 13px; color: #7F9DA6; font-style: italic; margin: 4px 0 10px; }

/* version mini (dans l'écran du téléphone) */
.menu-paper-mini .menu-head { margin-bottom: 22px; }
.menu-paper-mini .menu-orn { font-size: 16px; margin-bottom: 4px; }
.menu-paper-mini .menu-head h2 { font-size: 26px; }
.menu-paper-mini .menu-sub { font-size: 13px; }
.menu-paper-mini .menu-content { gap: 24px; }
.menu-paper-mini .menu-fixed { grid-template-columns: 1fr; gap: 20px; padding-bottom: 22px; }
.menu-paper-mini .menu-fixed h4 { font-size: 19px; }
.menu-paper-mini .menu-fixed .menu-price { font-size: 14px; margin-bottom: 7px; }
.menu-paper-mini .menu-fixed p { font-size: 12px; line-height: 1.55; }
.menu-paper-mini .menu-fixed .menu-wine { font-size: 11px; }
.menu-paper-mini .menu-section h4 { font-size: 16px; margin-bottom: 12px; }
.menu-paper-mini .menu-item { font-size: 12px; margin-bottom: 9px; gap: 7px; }
.menu-paper-mini .menu-note { font-size: 11.5px; }

/* ---------- argumentaire commercial (3 cartes) ---------- */
.pitch { margin: 72px 0 0; }
.pitch-title {
  font-family: 'MuseoModerno', sans-serif;
  font-size: clamp(24px, 3.6vw, 34px); font-weight: 600;
  text-align: center; color: var(--fg); line-height: 1.25;
  max-width: 700px; margin: 0 auto 40px;
}
.pitch-title .coral { color: var(--accent); }
.infos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 28px 0 0;
}
.info-card.offer {
  border-color: rgba(255,110,68,0.55);
  background: linear-gradient(160deg, rgba(255,110,68,0.12), rgba(255,110,68,0.04)), var(--bg-card);
  display: flex; flex-direction: column;
}
.offer-price {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 17px; color: var(--fg-muted);
  margin: 0 0 12px;
}
.offer-price b { color: var(--accent); font-size: 26px; font-weight: 700; }
.offer-cta { margin-top: 18px; align-self: flex-start; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 26px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* micro-interaction au survol (même esprit que les cartes du site Framer) */
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,110,68,0.55);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
}
.card-icon { transition: transform 0.25s ease, background 0.25s ease; }
.info-card:hover .card-icon {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(255,110,68,0.18);
}
@media (prefers-reduced-motion: reduce) {
  .info-card, .card-icon { transition: none; }
  .info-card:hover { transform: none; }
  .info-card:hover .card-icon { transform: none; }
}
.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 13px;
  background: var(--accent-bg);
  border: 1px solid rgba(255,110,68,0.35);
  color: var(--accent);
}
.card-icon svg { width: 23px; height: 23px; }
.info-card h3 {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 20px; font-weight: 600; margin: 0 0 14px;
  color: var(--fg);
}
.info-card ul { list-style: none; margin: 0; padding: 0; }
.info-card li {
  font-size: 15.5px; line-height: 1.6; color: var(--fg-muted);
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.info-card li:last-child { border-bottom: none; }
.info-card li b { color: var(--fg); font-weight: 600; }

/* ---------- suggestions ---------- */
.chips {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.chip {
  font-size: 13.5px; color: var(--fg-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}
.chip b { color: var(--fg); font-weight: 600; }

/* ---------- carte conversation (appel en cours) ---------- */
.call-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 8px 0 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.call-card[hidden] { display: none; }
.call-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: rgba(31,52,65,0.65);
  border-bottom: 1px solid var(--border);
}
.call-title { font-size: 14px; font-weight: 600; color: var(--fg); }
.call-title b { color: var(--accent); font-weight: 700; }
.call-hint {
  margin-left: auto;
  font-size: 12px; color: var(--fg-faint); font-style: italic;
}
.live-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
  animation: pulse 1.4s ease-in-out infinite;
}
.call-card.ended .live-dot { animation: none; background: var(--fg-faint); }

/* transcription : zone à hauteur fixe, scroll interne, bulles aérées */
.transcript {
  display: flex; flex-direction: column; gap: 18px;
  max-height: min(58vh, 540px);
  overflow-y: auto;
  padding: 26px 26px 30px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.transcript::-webkit-scrollbar { width: 8px; }
.transcript::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
.transcript::-webkit-scrollbar-track { background: transparent; }

.row { display: flex; flex-direction: column; max-width: 78%; }
.row .role {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--fg-faint);
  text-transform: uppercase;
  margin: 0 6px 6px;
}
.row .text {
  font-size: 15.5px; line-height: 1.65; color: var(--fg);
  white-space: pre-wrap; word-wrap: break-word;
  padding: 12px 18px;
  border-radius: 16px;
}
.row.assistant { align-self: flex-start; }
.row.assistant .role { color: var(--accent); }
.row.assistant .text {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}
.row.user { align-self: flex-end; align-items: flex-end; }
.row.user .role { color: var(--fg-muted); }
.row.user .text {
  background: rgba(255,252,245,0.10);
  border: 1px solid rgba(255,252,245,0.16);
  border-top-right-radius: 4px;
}
.row.tool {
  align-self: center; align-items: center; max-width: 92%;
}
.row.tool .role { display: none; }
.row.tool .text {
  font-size: 12.5px; color: var(--fg-muted);
  background: var(--accent-bg);
  border: 1px solid rgba(255,110,68,0.3);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
}
.row.system { align-self: center; align-items: center; }
.row.system .role { display: none; }
.row.system .text {
  color: var(--fg-faint); font-size: 13px; font-style: italic;
  background: transparent; border: none; padding: 0;
}

/* ---------- barre d'appel fixe (raccrocher toujours visible) ---------- */
.call-bar {
  position: fixed; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
  padding: 14px 16px 14px 30px;
  background: rgba(31,52,65,0.97);
  border: 1px solid rgba(255,110,68,0.55);
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  z-index: 40;
  animation: rise 0.35s ease, glow 2.2s ease-in-out 0.4s infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 0 0 rgba(255,110,68,0.35); }
  50%      { box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 0 12px rgba(255,110,68,0); }
}
.call-bar[hidden] { display: none; }
.call-bar .voice-eq { height: 26px; }
.call-bar .voice-eq i { width: 4px; }
.call-bar-status {
  font-size: 15px; color: var(--fg);
  max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hangup-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 34px;
  background: var(--accent); color: #FFFCF5;
  border: none; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 16.5px; font-weight: 700;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.hangup-btn:hover { background: #ff8159; transform: scale(1.04); }
body.on-call { padding-bottom: 116px; }
@media (prefers-reduced-motion: reduce) { .call-bar { animation: rise 0.35s ease; } }

/* ---------- bandeau post-appel ---------- */
.after-call {
  display: none;
  margin: 56px 0 0;
  background: linear-gradient(135deg, rgba(255,110,68,0.14), rgba(255,110,68,0.05));
  border: 1px solid rgba(255,110,68,0.4);
  border-radius: var(--radius-card);
  padding: 28px 32px;
}
.after-call.visible { display: block; animation: rise 0.5s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.after-call h2 {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 24px; font-weight: 600; margin: 0 0 10px;
}
.after-call p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; }
.after-call p b { color: var(--fg); }
.after-call .contact-row { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent); color: #FFFCF5;
  font-weight: 600; font-size: 14.5px;
}
.contact-pill:hover { background: #ff8159; color: #FFFCF5; }
.contact-pill.ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border-strong);
}
.contact-pill.ghost:hover { border-color: var(--fg); color: var(--fg); }

/* ---------- footer ---------- */
.footer-cs {
  border-top: 1px solid var(--border);
  margin-top: 64px; padding: 28px 40px 36px;
  text-align: center;
  font-size: 13.5px; color: var(--fg-faint); line-height: 1.8;
}
.footer-cs .slogan {
  font-family: 'MuseoModerno', sans-serif;
  color: var(--fg-muted); font-size: 15px; font-weight: 500;
}
.footer-cs a { color: var(--fg-muted); }
.footer-cs a:hover { color: var(--accent); }

/* ---------- guide page (interne) ---------- */
.page-guide .container { max-width: 760px; margin: 0 auto; padding: 60px 40px 100px; }
.page-guide h1 { font-family: 'MuseoModerno', sans-serif; font-size: 44px; font-weight: 600; margin: 0 0 8px; }
.page-guide h2 { font-size: 22px; font-weight: 600; margin: 56px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.page-guide h3 { font-size: 15px; font-weight: 700; color: var(--accent); margin: 32px 0 10px; }
.page-guide p, .page-guide li { font-size: 15px; line-height: 1.65; color: var(--fg-muted); }
.page-guide p strong, .page-guide li strong { color: var(--fg); font-weight: 600; }
.page-guide ul, .page-guide ol { padding-left: 22px; }
.page-guide pre { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.55; color: var(--fg); margin: 16px 0; }
.page-guide code { background: var(--bg-card); border: 1px solid var(--border); padding: 2px 8px; border-radius: 4px; font-size: 0.88em; color: var(--accent); }
.page-guide pre code { background: transparent; border: 0; padding: 0; color: inherit; }
.page-guide a { color: var(--accent); }
.callout { background: var(--accent-bg); border: 1px solid rgba(255,110,68,0.3); border-radius: 12px; padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--fg); line-height: 1.6; }
.callout strong { color: var(--accent); }
.page-guide table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.page-guide th, .page-guide td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-muted); margin-bottom: 24px; letter-spacing: 0.08em; }

@media (max-width: 980px) {
  /* mobile/tablette : le CTA d'abord, puis les téléphones côte à côte si possible */
  .stage-center { order: -1; flex-basis: 100%; }
  .stage-row { gap: 28px; }
  .phone-frame { width: min(250px, 76vw); height: 508px; }
}

@media (max-width: 760px) {
  .menu-fixed { grid-template-columns: 1fr; gap: 28px; }
  .infos { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { padding: 10px 14px; gap: 8px; flex-wrap: nowrap; }
  .topnav { display: none; }
  .demo-badge { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; border-radius: 9px; }
  .brand-name { font-size: 14px; white-space: nowrap; }
  .topbar-right { gap: 8px; flex: none; }
  .back-site { font-size: 12px; white-space: nowrap; }
  .back-site span { display: inline; }
  .topbar .cta-pill { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .topbar .tel-label { display: none; }  /* mobile : icône seule, le numéro reste cliquable */
  .app-main { padding: 76px 18px 72px; }
  .stage-title { font-size: 28px; }
  .row { max-width: 88%; }
  .transcript { padding: 18px 16px 22px; max-height: 52vh; }
  .call-card-head { padding: 13px 16px; }
  .call-hint { display: none; }
  .call-bar { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .after-call { padding: 22px 20px; }
}

/* ---- Barre de progression d'appel (montre que la réservation va vite) ---- */
.callsteps { margin: 14px 0 4px; }
.callsteps-track {
  height: 5px; border-radius: 999px;
  background: rgba(127,157,166,0.22); overflow: hidden;
}
.callsteps-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #FF6E44, #ff8e6b);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.callsteps-labels { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; }
.callsteps-labels .step {
  flex: 1; text-align: center; font-size: 12px; font-weight: 600;
  color: var(--fg-faint); letter-spacing: .01em; transition: color .3s ease;
}
.callsteps-labels .step:first-child { text-align: left; }
.callsteps-labels .step:last-child { text-align: right; }
.callsteps-labels .step.done { color: var(--accent); }
@media (max-width: 560px) { .callsteps-labels .step { font-size: 10px; } }
