/* ═══════════════════════════════════════════════════════════
   Lync — démo interactive (9:16)
   Charte : orange #E94E1B, Manrope, fond crème #F7F7F4
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope_800ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --orange: #e94e1b;
  --orange-dark: #c93f12;
  --orange-soft: #fff0e9;
  --orange-line: #f8c8b5;
  --ink: #14161a;
  --ink-2: #3d434d;
  --muted: #737b88;
  --line: #e9e9e4;
  --bg: #f7f7f4;
  --card: #ffffff;
  --green: #10893e;
  --green-soft: #e8f6ec;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #0b0d11;
  color: #f4f4f2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 18% 12%, rgba(233, 78, 27, 0.22), transparent 62%),
    radial-gradient(700px 500px at 88% 78%, rgba(233, 78, 27, 0.12), transparent 60%),
    linear-gradient(160deg, #101319 0%, #08090c 100%);
  pointer-events: none;
  z-index: 0;
}

/* ───────────────────────── Décor ───────────────────────── */

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 520px) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(24px, 5vh, 64px) clamp(20px, 4vw, 56px);
}

.pitch { max-width: 520px; }

.wordmark {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(233, 78, 27, 0.45);
  border-radius: 999px;
  background: rgba(233, 78, 27, 0.12);
  color: #ffb499;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(233, 78, 27, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 78, 27, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(233, 78, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 78, 27, 0); }
}

.pitch h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.pitch h1 span { color: var(--orange); }

.lede {
  margin: 0 0 26px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: rgba(244, 244, 242, 0.66);
  max-width: 44ch;
}

.bullets {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(244, 244, 242, 0.82);
}

.bullets span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffb499;
  font-size: 11.5px;
  font-weight: 800;
}

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-start {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  padding: 15px 24px;
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(233, 78, 27, 0.35);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.btn-start:hover { background: #f45c28; transform: translateY(-1px); }
.btn-start:active { transform: translateY(1px) scale(0.99); }

.pitch-note {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 244, 242, 0.42);
  max-width: 26ch;
}

.pitch-foot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(244, 244, 242, 0.38);
  line-height: 1.6;
}

/* ─────────────────────── Téléphone ─────────────────────── */

.device-wrap {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.device {
  position: relative;
  flex: 0 0 auto;
  width: 390px;
  height: 844px;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(150deg, #33383f 0%, #14171c 38%, #2a2f36 72%, #0d0f13 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 90px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform-origin: top left;
  transition: transform 0.2s ease;
}

.device::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 190px;
  width: 3px;
  height: 64px;
  border-radius: 3px 0 0 3px;
  background: #2b3037;
  box-shadow: 0 84px 0 #2b3037;
}

.device-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

/* Encoche */
.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 27px;
  border-radius: 999px;
  background: #08090b;
  z-index: 60;
}

/* ─────────────────── Barre d'état ─────────────────── */

.hero .statusbar,
.track-head .statusbar {
  padding-left: 0;
  padding-right: 0;
}

.statusbar {
  position: relative;
  z-index: 55;
  flex: 0 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.statusbar.on-dark { color: #fff; }

.sb-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-battery {
  width: 23px;
  height: 11.5px;
  border: 1.4px solid currentColor;
  border-radius: 3.5px;
  opacity: 0.9;
  position: relative;
}

.sb-battery::before {
  content: "";
  position: absolute;
  inset: 1.6px;
  width: 70%;
  border-radius: 1.5px;
  background: currentColor;
}

.sb-battery::after {
  content: "";
  position: absolute;
  right: -3.4px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  opacity: 0.6;
}

.sb-signal {
  display: flex;
  align-items: flex-end;
  gap: 1.6px;
  height: 11px;
}

.sb-signal i {
  width: 2.6px;
  border-radius: 1px;
  background: currentColor;
  display: block;
}

.sb-signal i:nth-child(1) { height: 4px; opacity: 0.55; }
.sb-signal i:nth-child(2) { height: 6px; opacity: 0.7; }
.sb-signal i:nth-child(3) { height: 8px; opacity: 0.85; }
.sb-signal i:nth-child(4) { height: 11px; }

/* ─────────────────── Chrome de l'app ─────────────────── */

.appbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 20px 14px;
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.appbar.on-hero {
  background: transparent;
  color: #fff;
  padding-top: 8px;
}

.appbar-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appbar-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0;
}

.icon-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 22, 26, 0.06);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
  transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover { background: rgba(20, 22, 26, 0.11); }
.icon-btn:active { transform: scale(0.94); }

.appbar.on-hero .icon-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* zone défilante */
.scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scroll::-webkit-scrollbar { width: 0; height: 0; }

.scroll.flush { padding-left: 0; padding-right: 0; }

.scroll-pad { padding: 0 20px; }

/* ─────────────────── Typographie app ─────────────────── */

.h1 {
  margin: 4px 0 8px;
  font-size: 27px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.h2 small {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0;
}

.sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.tiny {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.section { margin-top: 22px; }

/* ─────────────────── Boutons ─────────────────── */

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform 0.14s ease, background 0.14s ease, opacity 0.14s ease;
}

.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(233, 78, 27, 0.26);
}

.btn-primary:hover { background: #f45c28; }

.btn-primary:disabled {
  background: #e3e3dd;
  color: #a3a3a0;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  background: rgba(20, 22, 26, 0.05);
  color: var(--ink);
}

.btn-ghost:hover { background: rgba(20, 22, 26, 0.09); }

.btn-dark { background: var(--ink); color: #fff; }

.btn-sm {
  width: auto;
  padding: 9px 14px;
  font-size: 12.5px;
  border-radius: 11px;
}

.btn-link {
  appearance: none;
  border: 0;
  background: none;
  color: var(--orange);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

/* ─────────────────── Cartes / chips ─────────────────── */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.card + .card { margin-top: 10px; }

.card-tap {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card-tap:hover {
  border-color: var(--orange-line);
  box-shadow: 0 8px 24px rgba(20, 22, 26, 0.07);
}

.card-tap:active { transform: scale(0.995); }

.card-tap.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 10px 26px rgba(233, 78, 27, 0.14);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack { display: grid; gap: 10px; }

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 20px 2px;
  margin: 0 -20px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar { display: none; }

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all 0.15s ease;
}

.chip:hover { border-color: var(--orange-line); color: var(--orange-dark); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--orange-soft);
  color: var(--orange-dark);
  white-space: nowrap;
}

.badge.green { background: var(--green-soft); color: var(--green); }
.badge.grey { background: rgba(20, 22, 26, 0.06); color: var(--ink-2); }

/* ─────────────────── Accueil ─────────────────── */

.hero {
  position: relative;
  flex: 0 0 auto;
  padding: 0 20px 26px;
  background:
    radial-gradient(420px 220px at 82% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(160deg, #f2612e 0%, var(--orange) 46%, #cf3f0e 100%);
  color: #fff;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, 0.08);
}

.hero .h1 { color: #fff; max-width: 15ch; }
.hero .sub { color: rgba(255, 255, 255, 0.82); margin-bottom: 18px; max-width: 30ch; }

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-brand .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.hero-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}

.hero-cta {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 12px 24px rgba(120, 32, 0, 0.24);
  position: relative;
  z-index: 1;
}

.hero-cta:hover { background: #fff; }

.hero-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 5px; }

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.search:hover { border-color: var(--orange-line); }

/* Cartes de service */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.svc {
  position: relative;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 9px;
  transition: all 0.16s ease;
  overflow: hidden;
}

.svc:hover {
  border-color: var(--orange-line);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 22, 26, 0.08);
}

.svc:active { transform: scale(0.985); }

.svc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  font-size: 16px;
}

.svc-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.svc-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* Préposés */
.provider {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  object-fit: cover;
  background: #eee;
  flex: 0 0 auto;
}

.avatar-wrap { position: relative; flex: 0 0 auto; }

.avatar-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2.5px solid #fff;
}

.provider-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.provider-sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.45;
}

.provider-price {
  text-align: right;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.provider-price small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
}

.stars-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f2a10b;
  font-size: 11.5px;
  font-weight: 800;
}

/* ─────────────────── Progression d'étapes ─────────────────── */

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 18px;
}

.stepper i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  flex: 1 1 0;
  transition: background 0.25s ease;
}

.stepper i.done { background: var(--orange); }

.stepper-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.01em;
}

/* ─────────────────── Formulaires ─────────────────── */

.field { margin-bottom: 16px; }

.field-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-label span { color: var(--muted); font-weight: 600; font-size: 11.5px; }

.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }

.opt {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s ease;
  flex: 1 1 auto;
  justify-content: center;
}

.opt:hover { border-color: var(--orange-line); }

.opt.is-active {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: var(--orange-dark);
  box-shadow: 0 0 0 1px var(--orange);
}

.opt.is-active::before {
  content: "✓";
  font-size: 11px;
  font-weight: 800;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.counter + .counter { margin-top: 8px; }

.counter-label { font-size: 13px; font-weight: 700; }

.counter-ctrl { display: flex; align-items: center; gap: 12px; }

.counter-ctrl button {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfbf8;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: all 0.14s ease;
}

.counter-ctrl button:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange);
}

.counter-ctrl button:disabled { opacity: 0.35; cursor: not-allowed; }

.counter-val {
  min-width: 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
}

/* extras */
.extra {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  transition: all 0.15s ease;
}

.extra:hover { border-color: var(--orange-line); }

.extra.is-active {
  border-color: var(--orange);
  background: #fffaf7;
}

.extra-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.6px solid #cfcfc9;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
  transition: all 0.15s ease;
}

.extra.is-active .extra-box { background: var(--orange); border-color: var(--orange); }

.extra-label { font-size: 12.5px; font-weight: 700; flex: 1 1 auto; }

.extra-price { font-size: 12px; font-weight: 800; color: var(--ink-2); }

/* ─────────────────── Calendrier / créneaux ─────────────────── */

.cal {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 20px 8px;
  margin: 0 -20px;
  scrollbar-width: none;
}

.cal::-webkit-scrollbar { display: none; }

.day {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  width: 58px;
  padding: 10px 0 11px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  justify-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.day:hover { border-color: var(--orange-line); }

.day.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.day-wd {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.day-num { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }

.day-wd, .day-num { line-height: 1; }

.day-today { font-size: 9px; font-weight: 800; color: var(--orange); }

.day.is-active .day-today { color: #ffb499; }

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 14px;
  transition: all 0.15s ease;
}

.slot:hover { border-color: var(--orange-line); }

.slot.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
  background: #fffaf7;
}

.slot-title { font-size: 13px; font-weight: 800; }

.slot-sub { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

.radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.6px solid #cfcfc9;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: all 0.15s ease;
}

.slot.is-active .radio { border-color: var(--orange); }

.slot.is-active .radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

/* ─────────────────── Récapitulatif / footer ─────────────────── */

.footer {
  flex: 0 0 auto;
  padding: 12px 20px 22px;
  background: rgba(247, 247, 244, 0.92);
  border-top: 1px solid rgba(20, 22, 26, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  z-index: 30;
}

.footer-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.footer-total span { font-size: 11.5px; font-weight: 700; color: var(--muted); }

.footer-total strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.footer-total strong small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.summary-row:last-child { border-bottom: 0; }

.summary-row dt { color: var(--muted); font-weight: 600; margin: 0; flex: 0 0 auto; }

.summary-row dd { margin: 0; font-weight: 700; text-align: right; }

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.summary-total span { font-size: 13px; font-weight: 800; }

.summary-total strong { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }

.pay-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.15s ease;
}

.pay-row:hover { border-color: var(--orange-line); }

.pay-ico {
  width: 34px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a1f71, #4b4f9e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.pay-main { flex: 1 1 auto; font-size: 12.5px; font-weight: 700; }
.pay-sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ─────────────────── Confirmation ─────────────────── */

.center-screen {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 26px;
  text-align: center;
}

.check-ring {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  position: relative;
  animation: pop 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.check-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(16, 137, 62, 0.2);
  animation: ring 2.2s ease-out infinite;
}

@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.check-ring svg { width: 40px; height: 40px; }

.confirm-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ─────────────────── Suivi ─────────────────── */

.track-head {
  flex: 0 0 auto;
  padding: 0 20px 20px;
  background: linear-gradient(160deg, #1a1d22, #0f1114);
  color: #fff;
  border-radius: 0 0 26px 26px;
}

.track-head .h2 { color: #fff; }

.track-head .tiny { color: rgba(255, 255, 255, 0.55); }

.track-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin: 14px 0 8px;
}

.track-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8b5c, var(--orange));
  transition: width 1s linear;
}

.track-eta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.timeline { margin-top: 20px; display: grid; gap: 0; }

.tl-step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding-bottom: 18px;
  position: relative;
}

.tl-step:last-child { padding-bottom: 0; }

.tl-step::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: -2px;
  width: 1.5px;
  background: var(--line);
}

.tl-step:last-child::before { display: none; }

.tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.6px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.tl-step.done .tl-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tl-step.now .tl-dot {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.tl-title { font-size: 12.5px; font-weight: 800; margin: 1px 0 2px; }
.tl-sub { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.5; }

.tl-step.now .tl-title { color: var(--orange-dark); }

.provider-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
}

.provider-mini .avatar { width: 44px; height: 44px; border-radius: 13px; }

/* ─────────────────── Avis ─────────────────── */

.star-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 6px;
}

.star {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 2px;
  font-size: 34px;
  line-height: 1;
  color: #deded8;
  transition: transform 0.14s ease, color 0.14s ease;
}

.star:hover { transform: scale(1.08); }
.star.on { color: #f2a10b; }

.review-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.tag-btn {
  appearance: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.note {
  appearance: none;
  width: 100%;
  min-height: 84px;
  resize: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
}

.note:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

/* ─────────────────── Onglets ─────────────────── */

.tabbar {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 8px 8px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.tab {
  appearance: none;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  transition: color 0.15s ease;
  flex: 1 1 0;
}

.tab svg { width: 21px; height: 21px; }

.tab.on { color: var(--orange); }
.tab:hover { color: var(--ink); }
.tab.on:hover { color: var(--orange); }

/* ─────────────────── Messages ─────────────────── */

.chat-scroll { padding-bottom: 8px; }

.msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 8px;
  animation: msg-in 0.24s ease both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.msg.in {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  justify-self: start;
}

.msg.out {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 5px;
  margin-left: auto;
  justify-self: end;
}

.msg-time {
  font-size: 9.5px;
  font-weight: 700;
  opacity: 0.55;
  margin-top: 3px;
  display: block;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 4px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.chat-input input {
  flex: 1 1 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  min-width: 0;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--orange-line);
  background: #fff;
}

.send {
  appearance: none;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.send:hover { transform: scale(1.05); }
.send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.typing {
  display: inline-flex;
  gap: 3px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  width: fit-content;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite;
}

.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* ─────────────────── Réservations ─────────────────── */

.resa {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
}

.resa-date {
  width: 46px;
  flex: 0 0 auto;
  text-align: center;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 7px 0;
  font-weight: 800;
  line-height: 1.15;
}

.resa-date b { display: block; font-size: 16px; letter-spacing: -0.03em; }
.resa-date span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; }

.resa-main { flex: 1 1 auto; min-width: 0; }
.resa-title { display: block; font-size: 13px; font-weight: 800; }
.resa-sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 3px; line-height: 1.4; }
.resa-main .badge { margin-top: 7px; }

.confirm-price { flex: 0 0 auto; text-align: right; white-space: nowrap; }

/* ─────────────────── Overlay paiement ─────────────────── */

.overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  background: rgba(10, 11, 14, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  animation: fade 0.2s ease both;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%;
  background: #fff;
  border-radius: 26px 26px 0 0;
  padding: 10px 20px 26px;
  animation: up 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes up {
  from { transform: translateY(100%); }
  to { transform: none; }
}

.sheet-grab {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #e3e3dd;
  margin: 4px auto 16px;
}

.sheet-title { font-size: 16px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em; }
.sheet-sub { font-size: 12px; color: var(--muted); font-weight: 600; margin: 0 0 16px; }

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────── Toast ─────────────────── */

.toast {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20, 22, 26, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 12px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 82%;
  text-align: center;
  line-height: 1.4;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─────────────────── Écran d'accueil ─────────────────── */

.welcome {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(420px 320px at 88% 6%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(380px 300px at 6% 92%, rgba(120, 24, 0, 0.35), transparent 70%),
    linear-gradient(165deg, #f46632 0%, #e94e1b 42%, #c23a0c 100%);
  scrollbar-width: none;
}

.welcome::-webkit-scrollbar { display: none; }

.welcome-inner {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 24px 26px;
  position: relative;
}

.welcome-brand { padding-top: 2px; }
.welcome-logo { height: 24px; width: auto; display: block; }

.welcome-art {
  position: relative;
  height: 216px;
  margin: 20px 0 4px;
  flex: 0 0 auto;
}

.welcome-art::before {
  content: "";
  position: absolute;
  inset: 14px 30px 26px 10px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-6deg);
}

.art-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 7px 7px 8px;
  box-shadow: 0 18px 40px rgba(90, 22, 0, 0.32);
  display: grid;
  gap: 6px;
  color: var(--ink);
}

.art-card img {
  width: 96px;
  height: 96px;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

.art-card span { font-size: 10.5px; font-weight: 800; letter-spacing: -0.01em; }

.art-1 {
  left: 4px;
  top: 6px;
  transform: rotate(-5deg);
  animation: float 6s ease-in-out infinite;
}

.art-2 {
  right: 0;
  top: 56px;
  transform: rotate(4deg);
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.art-bubble {
  position: absolute;
  left: 2px;
  bottom: 0;
  background: rgba(20, 22, 26, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  box-shadow: 0 14px 30px rgba(60, 12, 0, 0.3);
  white-space: nowrap;
  text-align: center;
}

.art-bubble b { color: #ffc4ad; font-weight: 800; }

.welcome-copy { margin-top: auto; }

.welcome-kicker {
  margin: 22px 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.welcome-copy h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.welcome-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32ch;
}

.welcome-actions { margin-top: 22px; display: grid; gap: 9px; }

.welcome-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.welcome-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.welcome-legal {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

/* ─────────────────── Divers ─────────────────── */

.divider { height: 1px; background: var(--line); margin: 16px 0; }

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
}

.link-row:last-child { border-bottom: 0; }
.link-row span { color: var(--muted); font-weight: 600; font-size: 12px; }

.empty {
  text-align: center;
  padding: 34px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}

.kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(244, 244, 242, 0.42);
}

.click-dot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(233, 78, 27, 0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: dot 0.6s ease-out forwards;
  z-index: 95;
}

@keyframes dot {
  from { opacity: 1; width: 26px; height: 26px; }
  to { opacity: 0; width: 64px; height: 64px; }
}

/* ─────────────────── Responsive ─────────────────── */

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 10px 8px;
    align-items: start;
  }
  .pitch { display: none; }
  .device-wrap { min-height: 0; }
  .device { transform-origin: top left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ─────────────────── Mode intégré (iframe) ─────────────────── */

body.embed {
  background: transparent;
}

body.embed::before { display: none; }

body.embed .stage {
  grid-template-columns: 1fr;
  min-height: 100vh;
  padding: 10px;
  gap: 0;
  justify-items: center;
  align-content: center;
}

body.embed .pitch { display: none; }

body.embed .device-wrap { margin: 0 auto; }
