/* ═══════════════════════════════════════════════════════════
   STOCKBOOKING — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0D1829;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --blue:      #1A56E8;
  --blue-dk:   #1240C4;
  --blue-lt:   #EEF3FE;
  --green:     #16A34A;
  --green-lt:  #DCFCE7;
  --purple:    #7C3AED;
  --purple-lt: #F3EEFF;
  --navy:      #0D1829;
  --navy-60:   #4A5568;
  --navy-30:   #A0AEC0;
  --bg-alt:    #F8FAFC;
  --border:    #E2E8F0;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(13,24,41,.08);
  --shadow-lg: 0 12px 48px rgba(13,24,41,.14);
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
.section-sub {
  font-size: 18px;
  color: var(--navy-60);
  margin-top: 12px;
  max-width: 600px;
}
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-secondary:hover { background: var(--blue-lt); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 10px; }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(13,24,41,.08); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-right: 40px;
  flex-shrink: 0;
}
.nav-logo svg { width: 28px; height: 36px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-60);
  transition: all .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-lt); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: .7; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 8px 8px;
  min-width: 240px;
  z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
/* Pont invisible pour éviter le flickering */
.has-dropdown { padding-bottom: 6px; margin-bottom: -6px; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--navy-60);
}
.dropdown a:hover { color: var(--blue); background: var(--blue-lt); }
.dropdown-section { padding: 4px 14px 8px; font-size: 11px; font-weight: 700; color: var(--navy-30); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.nav-cta { margin-left: auto; display:flex; align-items:center; gap:12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* Mobile nav overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { background: var(--blue-lt); color: var(--blue); }
.mobile-menu .mobile-cta { margin-top: 16px; }

/* ─── HERO GENERIC ───────────────────────────────────────── */
.hero-page {
  padding: 144px 0 80px;
  background: linear-gradient(160deg, #F0F5FF 0%, #FAFCFF 60%, #F4F0FF 100%);
  position: relative;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,86,232,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-60);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-page h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero-page h1 em { font-style: normal; color: var(--blue); }
.hero-page .hero-sub {
  font-size: 18px;
  color: var(--navy-60);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-page .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── COMMON CARDS ───────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.ic-blue { background: var(--blue-lt); }
.ic-green { background: var(--green-lt); }
.ic-purple { background: var(--purple-lt); }
.ic-orange { background: #FEF3C7; }
.card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--navy-60); line-height: 1.7; }

/* ─── FEATURE LIST ───────────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--navy-60);
}
.feature-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--green-lt);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── BENEFITS BAND ──────────────────────────────────────── */
.benefits-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.benefit-item {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .2s;
}
.benefit-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit-item .bi { font-size: 30px; margin-bottom: 10px; }
.benefit-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
.benefit-item p { font-size: 12px; color: var(--navy-60); margin-top: 4px; }

/* ─── STEPS ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-num.s1 { background: var(--blue); }
.step-num.s2 { background: var(--green); }
.step-num.s3 { background: var(--purple); }
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--navy-60); line-height: 1.7; }

/* ─── KPI GRID ───────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.kpi-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.kpi-card .kv { font-size: 28px; font-weight: 800; color: #fff; }
.kpi-card .kl { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }
.kpi-card.light { background: var(--blue-lt); }
.kpi-card.light .kv { color: var(--blue); }
.kpi-card.light .kl { color: var(--navy-60); }

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #1240C4 0%, #1A56E8 50%, #7C3AED 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.cta-band h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-band .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 20px; }
.footer-brand a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .15s; }
.footer-brand a:hover { color: #fff; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo svg { width: 30px; height: 35px; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── PAGE HEADER (inner pages) ──────────────────────────── */
.page-header {
  padding-top: 68px; /* nav height */
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--navy-30);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--navy-30); transition: color .15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--navy-60); font-weight: 500; }
.breadcrumb::before { content: ''; }

/* ─── MODULE TAG ─────────────────────────────────────────── */
.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.tag-blue { background: var(--blue-lt); color: var(--blue); }
.tag-green { background: var(--green-lt); color: var(--green); }
.tag-purple { background: var(--purple-lt); color: var(--purple); }

/* ─── FORM STYLES ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: #fff;
  color: var(--navy);
}
.form-control:focus { border-color: var(--blue); }
.form-control::placeholder { color: var(--navy-30); }
textarea.form-control { resize: vertical; }
select.form-control { cursor: pointer; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero-page { padding: 108px 0 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 30px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
