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

:root {
  --bg:          #ffffff;
  --bg2:         #f8fafc;
  --bg3:         #f1f5f9;
  --surface:     #ffffff;
  --surface2:    #f8fafc;
  --border:      #e2e8f0;
  --border2:     #cbd5e1;
  --gold:        #c9973b;
  --gold-light:  #d4a847;
  --gold-dim:    rgba(201,151,59,0.10);
  --green:       #10b981;
  --blue:        #2563eb;
  --purple:      #7c3aed;
  --red:         #ef4444;
  --cyan:        #0891b2;
  --text:        #0f172a;
  --text2:       #475569;
  --text3:       #94a3b8;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lg:   0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
  --font:        'Inter', system-ui, sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-float {
  opacity: 0; transform: translateY(18px) scale(0.96);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-float.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ══════════════════════ NAV ══════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(0,0,0,0.06);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav__logo {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: 0.04em;
}
.nav__logo-icon { color: var(--gold); font-size: 0.7rem; }
.nav__links { display: flex; list-style: none; align-items: center; gap: 32px; }
.nav__links a {
  color: var(--text2); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__cta-link {
  background: var(--gold-dim) !important;
  border: 1px solid rgba(201,151,59,0.25) !important;
  color: var(--gold) !important;
  padding: 8px 18px; border-radius: 8px;
}
.nav__cta-link:hover {
  background: rgba(201,151,59,0.18) !important;
  border-color: rgba(201,151,59,0.4) !important;
}
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px; transition: var(--transition);
}

/* ══════════════════════ BUTTONS ══════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--transition); letter-spacing: 0.01em;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,151,59,0.32);
}
.btn--ghost {
  background: transparent; color: var(--text2);
  border: 1.5px solid var(--border2);
}
.btn--ghost:hover { color: var(--text); border-color: var(--text3); background: var(--bg2); }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════ SECTION COMMONS ══════════════════════ */
.section { padding: 100px 0; }
.section__head { text-align: center; margin-bottom: 64px; }
.section__eyebrow {
  display: inline-block; font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.section__sub {
  font-size: 1.05rem; color: var(--text2);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ══════════════════════ HERO ══════════════════════ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
  padding: 120px 80px 80px;
  max-width: 1400px; margin: 0 auto; width: 100%;
  min-height: 100vh; position: relative; overflow: hidden;
  background: #fff;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.25;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,151,59,0.09) 0%, transparent 70%);
  top: -150px; left: -150px;
}
.orb--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  top: 80px; right: -80px;
}
.orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%);
  bottom: -60px; left: 40%;
}

.hero__content { max-width: 560px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid rgba(201,151,59,0.22);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 500; color: var(--gold);
  margin-bottom: 28px; letter-spacing: 0.03em;
}
.hero__badge-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.07;
  color: var(--text); margin-bottom: 24px;
}
.hero__title-accent {
  background: linear-gradient(135deg, #a87020 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__desc {
  font-size: 1.1rem; color: var(--text2);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; align-items: center; gap: 28px; }
.hero__stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1; }
.hero__stat-label { display: block; font-size: 0.75rem; color: var(--text3); margin-top: 4px; }
.hero__stat-sep { width: 1px; height: 36px; background: var(--border); }

.hero__visual { position: relative; display: flex; justify-content: flex-end; align-items: center; }

/* Mockup */
.mockup {
  width: 100%; max-width: 540px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.mockup__bar {
  height: 38px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 0 16px;
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot--red { background: #ff5f57; }
.mockup__dot--yellow { background: #ffbd2e; }
.mockup__dot--green { background: #28c840; }
.mockup__url { flex: 1; text-align: center; font-size: 0.72rem; color: var(--text3); font-family: monospace; }
.mockup__screen { display: flex; height: 320px; }
.mockup__sidebar {
  width: 140px; background: #1e3a5f;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0; flex-shrink: 0;
}
.mockup__nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 0.7rem;
  color: rgba(255,255,255,0.5); cursor: default; transition: var(--transition);
}
.mockup__nav-item:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); }
.mockup__nav-item--active {
  color: #fff !important; background: rgba(201,151,59,0.18) !important;
  border-left: 2px solid var(--gold); padding-left: 14px;
}
.mockup__main {
  flex: 1; padding: 14px; background: #f8fafc;
  display: flex; flex-direction: column; gap: 10px;
}
.mockup__header { display: flex; align-items: center; justify-content: space-between; }
.mockup__date { font-size: 0.68rem; color: var(--text3); }
.mockup__badge { font-size: 0.62rem; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.mockup__badge--pending {
  background: rgba(245,158,11,0.12); color: #d97706;
  border: 1px solid rgba(245,158,11,0.25);
}
.mockup__floorplan {
  flex: 1; position: relative;
  background: #e8f0e0; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.mockup__legend { display: flex; gap: 10px; font-size: 0.6rem; color: var(--text3); align-items: center; }

/* Mini floor tables (héro mockup) */
.mockup .floor-table {
  position: absolute; border-radius: 5px; border: 1.5px solid;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; font-size: 0.58rem; font-weight: 700;
}
.mockup .floor-table--free   { background: rgba(34,197,94,0.18);  border-color: rgba(34,197,94,0.5);  color: #166534; }
.mockup .floor-table--busy   { background: rgba(239,68,68,0.14);  border-color: rgba(239,68,68,0.45); color: #991b1b; }
.mockup .floor-table--pending{ background: rgba(245,158,11,0.14); border-color: rgba(245,158,11,0.5); color: #92400e; }
.mockup .table-pax { font-size: 0.48rem; font-weight: 400; opacity: 0.7; pointer-events: none; }

/* Float cards */
.hero__float {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; font-size: 0.72rem; font-weight: 500;
  color: var(--text); display: flex; align-items: center; gap: 8px;
  white-space: nowrap; box-shadow: var(--shadow);
}
.hero__float--1 { bottom: 20px; left: -30px; animation: float1 6s ease-in-out infinite; }
.hero__float--2 { top: 40px; right: -20px; animation: float2 7s ease-in-out infinite; }
.hero__float--3 { bottom: 100px; right: -40px; animation: float3 5.5s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* ══════════════════════ LEGEND DOTS ══════════════════════ */
.legend-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; margin-right: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.legend-dot--free { background: linear-gradient(180deg, #6cc188, #357f50); }
.legend-dot--busy { background: linear-gradient(180deg, #d35e5e, #802424); }

/* ══════════════════════ FEATURES ══════════════════════ */
.features { background: var(--bg2); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--border2); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card__icon--blue   { background: #eff6ff; color: #2563eb; }
.feature-card__icon--gold   { background: var(--gold-dim); color: var(--gold); }
.feature-card__icon--green  { background: #dcfce7; color: #16a34a; }
.feature-card__icon--purple { background: #ede9fe; color: #7c3aed; }
.feature-card__icon--red    { background: #fee2e2; color: #dc2626; }
.feature-card__icon--cyan   { background: #e0f2fe; color: #0891b2; }

.feature-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card__desc { font-size: 0.875rem; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.feature-card__list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature-card__list li {
  font-size: 0.8rem; color: var(--text3);
  padding-left: 14px; position: relative;
}
.feature-card__list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.7rem;
}

/* ══════════════════════ HOW IT WORKS ══════════════════════ */
.how { background: var(--bg); }
.how__steps { display: flex; align-items: flex-start; gap: 0; }
.how__step { flex: 1; text-align: center; padding: 0 24px; }
.how__step-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
  color: rgba(201,151,59,0.18); line-height: 1; margin-bottom: 16px;
  transition: color var(--transition);
}
.how__step:hover .how__step-num { color: rgba(201,151,59,0.45); }
.how__step-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.how__step-body p { font-size: 0.875rem; color: var(--text2); line-height: 1.7; }
.how__connector { width: 60px; height: 1px; background: var(--border2); margin-top: 28px; flex-shrink: 0; }

/* ══════════════════════ DEMO ══════════════════════ */
.d-none { display: none !important; }

.demo { background: var(--bg2); }
.demo__wrap {
  background: #faf6ef; border: 1px solid #e6dcc8;
  border-radius: var(--radius-lg); overflow: visible;
  box-shadow: var(--shadow-lg);
}
.demo__controls {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid #ede4d3;
  background: #fdf9f3; flex-wrap: wrap;
}
.demo__tab {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid transparent; background: transparent;
  color: #8a7050; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); font-family: var(--font);
}
.demo__tab:hover { color: #5a3820; background: rgba(180,120,40,0.07); }
.demo__tab--active {
  background: rgba(201,151,59,0.12);
  border-color: rgba(201,151,59,0.35);
  color: #7a5010 !important;
}
.demo__date-pick {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: #9a8060;
  padding: 5px 10px; background: rgba(180,120,40,0.06);
  border-radius: 7px; border: 1px solid rgba(180,120,40,0.14);
}

/* View switch */
.demo__view-switch {
  margin-left: auto; display: flex;
  background: rgba(255,255,255,0.75); border: 1px solid #e6dcc8;
  border-radius: 9px; padding: 3px; gap: 2px;
}
.demo__view-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 7px; border: none;
  background: transparent; color: #8a7050;
  font-size: 0.76rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition); font-family: var(--font); white-space: nowrap;
}
.demo__view-btn:hover { color: #4a2e10; }
.demo__view-btn--active { background: #fff; color: #4a2e10; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* Toolbar */
.demo__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 18px;
  border-bottom: 1px solid #ede4d3; background: #fdf8f0; flex-wrap: wrap;
}
.demo__toolbar-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.demo__tool-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 7px;
  border: 1px solid #e0d4bc; background: #fff; color: #6b5030;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition); font-family: var(--font); white-space: nowrap;
}
.demo__tool-btn:hover:not(:disabled) { background: #f5f0e8; border-color: #c8b090; }
.demo__tool-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.demo__tool-btn--add {
  background: rgba(201,151,59,0.08); border-color: rgba(201,151,59,0.3); color: #7a5010;
}
.demo__tool-btn--add:hover:not(:disabled) { background: rgba(201,151,59,0.16) !important; }
.demo__tool-btn--danger:hover:not(:disabled) {
  background: #fee2e2 !important; border-color: #fca5a5 !important; color: #dc2626 !important;
}
.demo__tool-sep { width: 1px; height: 18px; background: #e0d4bc; flex-shrink: 0; }

/* Manager date controls */
.mgr-date-controls {
  display: flex; align-items: flex-end; gap: 10px;
  margin-left: auto; background: rgba(255,255,255,0.7);
  border: 1px solid #e0d4bc; border-radius: 10px;
  padding: 8px 14px; flex-wrap: wrap;
}
.mgr-date-group { display: flex; flex-direction: column; gap: 4px; }
.mgr-date-label {
  font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #9a8060; font-weight: 600;
}
.mgr-date-input {
  background: #fff; border: 1px solid #e0d4bc;
  border-radius: 6px; padding: 5px 8px;
  color: #4a3020; font-size: 0.76rem; font-family: var(--font);
  outline: none; cursor: pointer; height: 30px; transition: border-color var(--transition);
}
.mgr-date-input:hover { border-color: #c4a878; }
.mgr-date-input:focus { border-color: var(--gold); }
.mgr-date-input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.5; }

.mgr-slot-toggle {
  display: flex; background: #fff; border: 1px solid #e0d4bc;
  border-radius: 6px; padding: 2px; gap: 1px; height: 30px;
}
.mgr-slot-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 0 11px; border-radius: 5px; border: none;
  background: transparent; color: #8a7050;
  font-size: 0.72rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition); font-family: var(--font);
  white-space: nowrap; height: 100%;
}
.mgr-slot-btn:hover { color: #4a2e10; background: rgba(201,151,59,0.08); }
.mgr-slot-btn--active { background: var(--gold-dim); color: #5a3810; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.mgr-day-badge {
  display: flex; align-items: center; height: 30px;
  padding: 0 10px; background: #fff; border: 1px solid #e0d4bc;
  border-radius: 6px; font-size: 0.68rem; color: #8a7050;
  white-space: nowrap; min-width: 120px;
}
.mgr-day-badge .badge-count   { color: #4a3020; font-weight: 700; margin: 0 2px; }
.mgr-day-badge .badge-pending { color: var(--gold); font-weight: 700; margin: 0 2px; }

@media (max-width: 760px) { .mgr-date-controls { margin-left: 0; } }

/* Add dropdown */
.demo__add-wrap { position: relative; }
.demo__add-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid #e0d4bc;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 100; min-width: 190px; max-height: 280px; overflow-y: auto;
}
.demo__add-dropdown.open { display: block; }
.demo__add-option {
  display: block; width: 100%; padding: 9px 16px;
  background: none; border: none; border-bottom: 1px solid #f0e8da;
  color: #5a4030; font-size: 0.78rem; font-family: var(--font);
  text-align: left; cursor: pointer; transition: background var(--transition);
}
.demo__add-option:last-child { border-bottom: none; }
.demo__add-option:hover { background: #faf0e4; color: #3a2010; }

/* Demo body */
.demo__body { display: grid; grid-template-columns: 1fr 270px; }

.demo__floor-wrap { padding: 16px; border-right: 1px solid #ede4d3; }
.demo__floor {
  position: relative; background: #ece6da;
  border: 1px solid #d8ccb8; border-radius: 10px;
  height: 420px; overflow: hidden; cursor: default;
}
.demo__floor.dragging-active { cursor: grabbing; }
.demo__legend {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 10px; font-size: 0.7rem; color: #8a7050;
}
.demo__legend-item { display: flex; align-items: center; gap: 5px; }

/* ── Floor tables (thème clair) ── */
.demo__wrap .floor-table {
  position: absolute; border-radius: 7px; border: 2px solid;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; font-size: 0.6rem; font-weight: 700;
  user-select: none; cursor: pointer;
  transition: box-shadow 0.15s, filter 0.15s, transform 0.15s;
}
.demo__wrap .floor-table:hover { z-index: 10; filter: brightness(0.94); }

.demo__wrap .floor-table--free {
  background: rgba(34,197,94,0.16);
  border-color: rgba(34,197,94,0.55);
  color: #15803d;
}
.demo__wrap .floor-table--busy,
.demo__wrap .floor-table--pending,
.demo__wrap .floor-table--blocked,
.demo__wrap .floor-table--seated {
  background: rgba(239,68,68,0.13);
  border-color: rgba(239,68,68,0.45);
  color: #b91c1c;
  cursor: not-allowed;
}
.demo__wrap .floor-table--selected {
  box-shadow: 0 0 0 2.5px var(--gold), 0 4px 20px rgba(201,151,59,0.35) !important;
  z-index: 20 !important;
}
.demo__wrap .floor-table--client-free  { cursor: pointer !important; }
.demo__wrap .floor-table span { line-height: 1.2; text-align: center; pointer-events: none; }
.demo__wrap .floor-table .table-pax {
  font-size: 0.5rem; font-weight: 400; opacity: 0.65; margin-top: 1px; pointer-events: none;
}

/* Right panels */
.demo__right-panel { background: #fdf9f3; border-left: 1px solid #ede4d3; overflow-y: auto; }

/* ── Booking widget ── */
.booking-widget { display: flex; flex-direction: column; height: 100%; }
.booking-widget__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid #ede4d3;
  background: #fdf5e8;
}
.booking-widget__head svg { flex-shrink: 0; stroke: var(--gold); }
.booking-widget__head h3 { font-size: 0.85rem; font-weight: 700; color: #3a2510; margin: 0; }
.booking-widget__head p  { font-size: 0.7rem; color: #9a8060; margin: 0; }

.booking-selected {
  margin: 12px 14px 4px; padding: 8px 12px;
  border-radius: 8px; border: 1px dashed #d4c0a0;
  background: rgba(201,151,59,0.05);
  font-size: 0.75rem; min-height: 36px; display: flex; align-items: center;
}
.booking-selected__empty { color: #b0a090; font-style: italic; }
.booking-selected__info  { color: #4a3020; font-weight: 600; }
.booking-selected__info span { color: #9a8060; font-weight: 400; margin-left: 6px; }

.booking-widget__form {
  padding: 10px 14px 14px; display: flex;
  flex-direction: column; gap: 10px; flex: 1;
}
.booking-widget__form .form__label { color: #7a6040; font-size: 0.7rem; }
.booking-widget__form .form__input {
  background: #fff; border-color: #e0d4bc;
  color: #3a2510; font-size: 0.8rem; padding: 8px 10px;
}
.booking-widget__form .form__input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,59,0.1);
}
.booking-widget__form .form__input::placeholder { color: #c0b0a0; }
.booking-widget__form .form__textarea { min-height: 52px; }

.btn--booking {
  background: var(--gold); color: #fff;
  font-size: 0.82rem; padding: 10px 18px;
  border-radius: 8px; margin-top: 4px;
}
.btn--booking:hover {
  background: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,151,59,0.3);
}
.booking-required-note { font-size: 0.65rem; color: #c0b0a0; text-align: center; margin-top: -4px; }

/* ── Manager panel ── */
.mgr-panel { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.mgr-panel__empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: #b0a090;
  font-size: 0.78rem; text-align: center; padding: 40px 16px; flex: 1;
}
.mgr-panel__empty svg { opacity: 0.3; stroke: #b0a090; }

.mgr-detail__title {
  font-size: 0.9rem; font-weight: 700; color: #3a2510;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.mgr-detail__badge { font-size: 0.62rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; }
.mgr-detail__badge--free    { background: #dcfce7; color: #166534; }
.mgr-detail__badge--busy    { background: #fee2e2; color: #991b1b; }
.mgr-detail__badge--pending { background: #fef3c7; color: #92400e; }
.mgr-detail__badge--blocked { background: #f1f5f9; color: #475569; }
.mgr-detail__badge--new     { background: #eff6ff; color: #1d4ed8; }

.mgr-detail__rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mgr-detail__row  { display: flex; flex-direction: column; gap: 2px; }
.mgr-detail__label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em; color: #9a8060; }
.mgr-detail__val   { font-size: 0.8rem; color: #3a2510; font-weight: 500; }

.mgr-detail__actions { display: flex; flex-direction: column; gap: 6px; }
.mgr-detail__actions-title { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: #9a8060; margin-bottom: 4px; }
.mgr-status-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mgr-status-btn {
  padding: 7px 8px; border-radius: 7px; border: 1px solid;
  font-size: 0.72rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: all var(--transition); text-align: center;
}
.mgr-status-btn--free    { border-color: #86efac; background: #dcfce7; color: #166534; }
.mgr-status-btn--busy    { border-color: #fca5a5; background: #fee2e2; color: #991b1b; }
.mgr-status-btn--pending { border-color: #fde68a; background: #fef3c7; color: #92400e; }
.mgr-status-btn--blocked { border-color: #cbd5e1; background: #f1f5f9; color: #475569; }
.mgr-status-btn:hover { filter: brightness(0.94); transform: translateY(-1px); }
.mgr-status-btn--active { box-shadow: inset 0 0 0 1.5px currentColor; }

.mgr-pos { font-family: monospace; font-size: 0.68rem; color: #c0b0a0; margin-top: 6px; }

.mgr-reservation-card {
  background: #fff; border: 1px solid #e0d4bc;
  border-radius: 9px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 7px; margin-top: 4px;
}
.mgr-reservation-card--blocked { background: #f8fafc; border-color: var(--border); }
.mgr-reservation-card__head {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #9a8060; margin-bottom: 2px; font-weight: 600;
}

@media (max-width: 900px) {
  .demo__body { grid-template-columns: 1fr; }
  .demo__right-panel { border-left: none; border-top: 1px solid #ede4d3; max-height: 340px; }
}
@media (max-width: 600px) {
  .demo__controls { gap: 6px; }
  .demo__view-switch { margin-left: 0; }
}

/* ══════════════════════ CONTACT ══════════════════════ */
.contact { background: var(--bg2); }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact__desc { font-size: 1rem; color: var(--text2); line-height: 1.75; margin-bottom: 28px; }
.contact__guarantees { display: flex; flex-direction: column; gap: 12px; }
.contact__guarantee {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--text2);
}

.contact__form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow);
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__label { font-size: 0.78rem; font-weight: 600; color: var(--text2); letter-spacing: 0.02em; }
.form__input {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  font-size: 0.875rem; color: var(--text); font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%;
}
.form__input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,59,0.1); }
.form__input::placeholder { color: var(--text3); }
.form__select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 100px; }

.form__success {
  text-align: center; padding: 40px 20px; display: none;
  flex-direction: column; align-items: center; gap: 14px;
}
.form__success.visible { display: flex; }
.form__success-icon {
  width: 56px; height: 56px; background: #dcfce7;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.form__success h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.form__success p  { font-size: 0.875rem; color: var(--text2); }

/* ══════════════════════ NOTRE OFFRE ══════════════════════ */
.offre { background: var(--bg); }
.offre__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.offre__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}
.offre__card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offre__card--main {
  background: linear-gradient(135deg, rgba(201,151,59,0.06) 0%, rgba(201,151,59,0.02) 100%);
  border-color: rgba(201,151,59,0.28); position: relative; overflow: hidden;
}
.offre__card--main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.offre__card--main:hover { border-color: rgba(201,151,59,0.5); }
.offre__card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold-dim); border: 1px solid rgba(201,151,59,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.offre__card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid rgba(201,151,59,0.18);
  border-radius: 20px; padding: 4px 12px; width: fit-content;
}
.offre__card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--text); margin: 0; line-height: 1.3;
}
.offre__card > p { font-size: 0.9rem; color: var(--text2); line-height: 1.65; margin: 0; }
.offre__card-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.offre__card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text2); line-height: 1.5;
}
.offre__card-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px; opacity: 0.8;
}

/* ══════════════════════ FOOTER ══════════════════════ */
.footer { background: #0f172a; border-top: 1px solid #1e293b; padding: 60px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer__brand {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  display: flex; flex-direction: column; gap: 6px;
}
.footer__brand p {
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
  font-weight: 400; line-height: 1.6; max-width: 280px; margin-top: 8px;
}
.footer__links, .footer__tech { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4, .footer__tech h4 {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.32); margin-bottom: 6px;
}
.footer__links a {
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__tech span {
  font-size: 0.8rem; color: rgba(255,255,255,0.42);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer__tech span::before {
  content: ''; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; opacity: 0.6;
}
.footer__bottom {
  border-top: 1px solid #1e293b; padding-top: 24px;
  font-size: 0.78rem; color: rgba(255,255,255,0.28); text-align: center;
}

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 120px 40px 80px; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__desc { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .offre__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 20px 24px 28px; border-bottom: 1px solid var(--border); gap: 6px;
  }
  .nav__links.open a { padding: 10px 0; font-size: 1rem; }
  .section { padding: 70px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .how__steps { flex-direction: column; }
  .how__connector { width: 1px; height: 30px; margin: 0 auto; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding: 100px 24px 60px; }
}
