/* ═══════════════════════════════════════════════
   Kess Gui — Site de présentation
   Code&Créa 2026
═══════════════════════════════════════════════ */

:root {
  --primary:    #4f46e5;
  --primary-d:  #3730a3;
  --accent:     #06b6d4;
  --dark:       #0f172a;
  --dark2:      #1e293b;
  --card:       #1e293b;
  --text:       #1e293b;
  --text-light: #64748b;
  --white:      #ffffff;
  --bg:         #f8fafc;
  --border:     #e2e8f0;
  --green:      #10b981;
  --orange:     #f59e0b;
  --red:        #ef4444;
  --blue:       #3b82f6;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--white); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 24px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-light); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { color: var(--primary); background: #f0f0ff; }
.btn-nav {
  background: var(--primary) !important; color: white !important;
  border-radius: 8px !important; padding: 8px 18px !important;
}
.btn-nav:hover { background: var(--primary-d) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: 64px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  display: flex; align-items: center;
  overflow: hidden; position: relative;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 30% 50%, rgba(79,70,229,.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(6,182,212,.2) 0%, transparent 50%);
}
.hero > * { position: relative; z-index: 1; }
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding: 120px 10% 80px;
}
.hero-badge {
  display: inline-block; background: rgba(79,70,229,.3);
  border: 1px solid rgba(79,70,229,.5); color: #a5b4fc;
  padding: 6px 16px; border-radius: 100px; font-size: 13px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  color: white; line-height: 1.15; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { color: #94a3b8; font-size: 17px; line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: white;
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: all .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,.4); }
.btn-primary.large { padding: 16px 36px; font-size: 17px; }
.btn-secondary {
  background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.2);
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: all .2s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.hero-stats { display: flex; gap: 32px; align-items: center; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: white; }
.stat-label { font-size: 12px; color: #64748b; }
.stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ── APP WINDOW MOCKUP ── */
.app-window {
  background: #1e293b; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden; max-width: 520px;
}
.window-bar {
  background: #0f172a; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.window-bar.dark { background: #020617; }
.window-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.window-title { color: #64748b; font-size: 12px; flex: 1; text-align: center; }
.window-body { display: flex; height: 280px; }
.mock-sidebar {
  width: 130px; background: #0f172a; padding: 16px 8px;
  display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.mock-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.mock-nav-item {
  padding: 6px 8px; border-radius: 6px; font-size: 10px; color: #64748b;
  cursor: default; transition: all .15s;
}
.mock-nav-item.active { background: rgba(79,70,229,.3); color: #a5b4fc; }
.mock-content { flex: 1; padding: 12px; overflow: hidden; }
.mock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-page-title { color: white; font-size: 13px; font-weight: 700; }
.mock-bell { font-size: 14px; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.mock-card { padding: 8px; border-radius: 8px; }
.mock-card.blue { background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3); }
.mock-card.green { background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.3); }
.mock-card.orange { background: rgba(245,158,11,.2); border: 1px solid rgba(245,158,11,.3); }
.mock-card-label { font-size: 8px; color: #94a3b8; margin-bottom: 3px; }
.mock-card-value { font-size: 11px; font-weight: 700; color: white; }
.mock-chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; padding: 0 4px; }
.mock-chart-bar { flex: 1; background: rgba(79,70,229,.4); border-radius: 3px 3px 0 0; transition: height .3s; }
.mock-chart-bar.active { background: var(--primary); }

/* ── SECTIONS ── */
.section { padding: 96px 24px; }
.dark-section { background: var(--dark); }
.bg-light { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 17px; }
.section-header.light h2 { color: white; }
.section-header.light p { color: #94a3b8; }
.section-badge {
  display: inline-block; background: rgba(79,70,229,.1); color: var(--primary);
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.section-badge.light { background: rgba(79,70,229,.3); color: #a5b4fc; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.feature-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .2s; box-shadow: var(--shadow);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); line-height: 1.6; font-size: 14px; }

/* ── SHOWCASE ── */
.interface-showcase { display: flex; flex-direction: column; gap: 72px; }
.showcase-item { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.showcase-item.reverse { grid-template-columns: 1fr 1.2fr; direction: rtl; }
.showcase-item.reverse > * { direction: ltr; }
.showcase-window { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase-desc h3 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 16px; }
.showcase-desc p { color: #94a3b8; font-size: 15px; line-height: 1.7; }

/* ── POS MOCK ── */
.pos-mock { display: grid; grid-template-columns: 1fr 140px; height: 240px; background: #1e293b; }
.pos-products { padding: 10px; }
.pos-search {
  background: #0f172a; color: #64748b; padding: 7px 10px;
  border-radius: 6px; font-size: 10px; margin-bottom: 8px;
}
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-product {
  background: #0f172a; border-radius: 8px; padding: 8px; text-align: center;
  border: 1px solid rgba(255,255,255,.05); cursor: pointer;
}
.pos-product.selected { border-color: var(--primary); background: rgba(79,70,229,.2); }
.pos-prod-icon { font-size: 18px; margin-bottom: 4px; }
.pos-prod-name { font-size: 9px; color: #94a3b8; margin-bottom: 2px; }
.pos-prod-price { font-size: 10px; font-weight: 700; color: white; }
.pos-ticket { background: #0f172a; padding: 10px; display: flex; flex-direction: column; }
.pos-ticket-title { color: #64748b; font-size: 9px; text-align: center; margin-bottom: 8px; }
.pos-ticket-item { display: flex; justify-content: space-between; font-size: 9px; color: #94a3b8; margin-bottom: 4px; }
.pos-ticket-sep { height: 1px; background: #1e293b; margin: 6px 0; }
.pos-ticket-total { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: white; margin-bottom: 10px; }
.pos-payment-btns { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.pay-btn { padding: 5px; border-radius: 5px; font-size: 9px; text-align: center; font-weight: 600; }
.pay-btn.especes { background: rgba(16,185,129,.3); color: #34d399; }
.pay-btn.wave { background: rgba(59,130,246,.3); color: #60a5fa; }
.pay-btn.om { background: rgba(245,158,11,.3); color: #fbbf24; }

/* ── RAPPORT MOCK ── */
.rapport-mock { background: #1e293b; padding: 14px; height: 240px; }
.rapport-header { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.rapport-kpi { padding: 10px; border-radius: 8px; }
.rapport-kpi.blue { background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3); }
.rapport-kpi.green { background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.3); }
.rapport-kpi.orange { background: rgba(245,158,11,.2); border: 1px solid rgba(245,158,11,.3); }
.kpi-label { font-size: 9px; color: #94a3b8; margin-bottom: 3px; }
.kpi-value { font-size: 13px; font-weight: 700; color: white; }
.kpi-trend { font-size: 9px; }
.kpi-trend.up { color: #34d399; }
.rapport-chart { height: 120px; }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 100%; padding: 0 8px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.chart-bar-fill { width: 100%; background: rgba(79,70,229,.4); border-radius: 3px 3px 0 0; }
.chart-bar-fill.highlight { background: var(--primary); }
.chart-bar-wrap span { font-size: 8px; color: #64748b; }

/* ── MODULES LIST ── */
.modules-list { display: flex; flex-direction: column; gap: 16px; }
.module-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 24px; align-items: center;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all .2s; box-shadow: var(--shadow);
}
.module-item:hover { border-color: var(--primary); transform: translateX(4px); }
.module-num { font-size: 28px; font-weight: 900; color: var(--border); }
.module-info { display: flex; align-items: flex-start; gap: 16px; }
.module-icon { font-size: 28px; flex-shrink: 0; }
.module-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.module-info p { color: var(--text-light); font-size: 14px; line-height: 1.5; }

/* Module mini previews */
.module-mock-mini {
  width: 140px; height: 80px; background: var(--dark2); border-radius: 8px;
  overflow: hidden; padding: 8px; flex-shrink: 0;
}
.dashboard-mini { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr; gap: 4px; }
.mini-card { background: rgba(79,70,229,.3); border-radius: 4px; height: 20px; }
.mini-bars { grid-column: 1/-1; display: flex; align-items: flex-end; gap: 3px; }
.mini-bars div { flex: 1; background: var(--primary); border-radius: 2px; }
.pos-mini { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr auto; gap: 4px; align-items: end; }
.mini-product { background: rgba(255,255,255,.08); border-radius: 4px; height: 28px; }
.mini-total { grid-column: 1/-1; background: var(--primary); border-radius: 4px; height: 16px; }
.produits-mini { display: flex; flex-direction: column; gap: 4px; }
.mini-table-row { height: 12px; border-radius: 3px; }
.mini-table-row.header { background: rgba(79,70,229,.4); }
.mini-table-row { background: rgba(255,255,255,.08); }
.employes-mini { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mini-avatar-row { display: flex; gap: 4px; }
.mini-avatar { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: white; font-weight: 700; }
.mini-avatar.a1 { background: var(--primary); }
.mini-avatar.a2 { background: var(--green); }
.mini-avatar.a3 { background: var(--orange); }
.mini-permissions { display: flex; gap: 4px; }
.mini-perm { width: 24px; height: 8px; border-radius: 4px; }
.mini-perm.on { background: var(--green); }
.mini-perm.off { background: rgba(255,255,255,.1); }
.fournisseurs-mini { display: flex; flex-direction: column; gap: 6px; }
.mini-fourn-card { background: rgba(255,255,255,.08); border-radius: 6px; height: 28px; }
.rapports-mini { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 4px; }
.mini-kpi { background: rgba(59,130,246,.3); border-radius: 4px; height: 18px; }
.mini-graph-bars { grid-column: 1/-1; display: flex; align-items: flex-end; gap: 3px; }
.mini-graph-bars div { flex: 1; background: var(--primary); border-radius: 2px; }
.params-mini { display: flex; flex-direction: column; gap: 6px; }
.mini-setting { background: rgba(255,255,255,.08); border-radius: 4px; height: 14px; }
.mini-toggle { width: 32px; height: 14px; background: var(--green); border-radius: 7px; }

/* ── GUIDE STEPS ── */
.guide-steps { display: flex; flex-direction: column; gap: 64px; }
.guide-step { position: relative; }
.step-number {
  position: absolute; left: -20px; top: -10px;
  font-size: 80px; font-weight: 900; color: rgba(79,70,229,.08); z-index: 0; line-height: 1;
}
.step-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.guide-step.reverse .step-content { direction: rtl; }
.guide-step.reverse .step-content > * { direction: ltr; }
.step-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.step-text p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

/* Guide visuals */
.step-visual {
  background: var(--dark); border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
}
.act-window, .login-window, .config-window, .vente-window {
  width: 220px; background: #1e293b; border-radius: 10px; padding: 20px;
}
.act-logo { text-align: center; font-size: 14px; font-weight: 700; color: white; margin-bottom: 12px; }
.act-title { text-align: center; color: #94a3b8; font-size: 11px; margin-bottom: 14px; }
.act-field {
  background: #0f172a; border-radius: 6px; padding: 8px; margin-bottom: 8px;
  font-size: 11px; color: #64748b;
}
.act-btn {
  background: var(--primary); color: white; text-align: center;
  padding: 8px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 6px;
}
.login-logo { font-size: 32px; text-align: center; margin-bottom: 8px; }
.login-title { text-align: center; color: white; font-weight: 700; margin-bottom: 14px; }
.login-field {
  background: #0f172a; border-radius: 6px; padding: 8px; margin-bottom: 8px;
  font-size: 11px; color: #64748b;
}
.login-btn { background: var(--primary); color: white; text-align: center; padding: 8px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 6px; }
.config-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.config-label { color: #64748b; font-size: 11px; }
.config-val { color: white; font-size: 11px; font-weight: 600; }
.vente-top { margin-bottom: 12px; }
.vente-prod { background: rgba(79,70,229,.2); color: #a5b4fc; padding: 6px; border-radius: 5px; font-size: 11px; margin-bottom: 5px; }
.vente-total { color: white; font-weight: 800; font-size: 16px; text-align: center; margin-bottom: 12px; }
.vente-pay { background: var(--green); color: white; text-align: center; padding: 8px; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* ── AVANTAGES ── */
.avantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.avantage-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; box-shadow: var(--shadow); transition: all .2s;
}
.avantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.avantage-icon { font-size: 36px; margin-bottom: 16px; }
.avantage-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.avantage-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, #0f172a, #1e1b4b); }
.cta-box {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 64px 40px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 24px;
}
.cta-box h2 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 14px; }
.cta-box p { color: #94a3b8; font-size: 16px; margin-bottom: 32px; }
.cta-buttons { margin-bottom: 28px; }
.cta-info { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-info-item { color: #94a3b8; font-size: 14px; }

/* ── FOOTER ── */
.footer { background: var(--dark); padding: 48px 24px 24px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-icon { font-size: 28px; }
.footer-brand .logo-text { color: white; font-size: 20px; font-weight: 700; }
.footer-brand p { color: #64748b; font-size: 13px; line-height: 1.6; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-links a, .footer-contact a { color: #64748b; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-contact p { color: #64748b; font-size: 13px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; }
.footer-bottom p { color: #475569; font-size: 13px; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 99; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a, .nav-mobile-menu button {
  padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none; display: block; border: none;
  background: none; cursor: pointer; text-align: left; width: 100%;
  transition: background .15s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu button:hover { background: var(--bg); }
.nav-mobile-menu .mob-btn-primary {
  background: var(--primary) !important; color: white !important;
  font-weight: 700; margin-top: 8px; text-align: center;
}
.nav-mobile-menu .mob-btn-green {
  background: linear-gradient(135deg,#10b981,#059669) !important;
  color: white !important; font-weight: 700; margin-top: 4px; text-align: center;
}

/* ── RESPONSIVE TABLETTE ── */
@media (max-width: 1024px) {
  .hero { padding: 100px 5% 60px; gap: 32px; }
  .section { padding: 72px 24px; }
  .showcase-item { gap: 32px; }
  .step-content { gap: 40px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-content > div:first-child { grid-column: 1 / -1; }
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links, #nav-auth-zone { display: none !important; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 90px 20px 48px; gap: 0; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons a { width: 100%; text-align: center; }
  .btn-primary.large { font-size: 15px; padding: 14px 24px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat-num { font-size: 22px; }

  /* Sections */
  .section { padding: 56px 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .container { padding: 0 4px; }

  /* Showcase */
  .interface-showcase { gap: 48px; }
  .showcase-item, .showcase-item.reverse { grid-template-columns: 1fr; direction: ltr; gap: 20px; }
  .showcase-desc h3 { font-size: 20px; }

  /* Modules */
  .module-item { grid-template-columns: 40px 1fr; gap: 16px; padding: 16px; }
  .module-mock-mini { display: none; }
  .module-num { font-size: 20px; }
  .module-info h3 { font-size: 15px; }

  /* Guide */
  .guide-steps { gap: 40px; }
  .step-content, .guide-step.reverse .step-content { grid-template-columns: 1fr; direction: ltr; gap: 20px; }
  .step-visual { display: none; }
  .step-text h3 { font-size: 20px; }
  .step-number { font-size: 56px; left: -8px; }

  /* Mobile dashboard section */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important; flex-direction: column; gap: 32px;
  }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .avantages-grid { grid-template-columns: 1fr; }

  /* Calculator */
  .calc-features { grid-template-columns: 1fr 1fr !important; }
  .calc-duree-btns { grid-template-columns: 1fr 1fr !important; }
  .calc-tabs-wrap { grid-template-columns: 1fr !important; }
  .calc-price-amount { font-size: 36px; }

  /* Contact/création boutique */
  .contact-section .container > div[style*="grid"] {
    display: flex !important; flex-direction: column;
  }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 40px 16px 20px; }

  /* CTA */
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 26px; }
  .cta-info { flex-direction: column; gap: 12px; align-items: center; }

  /* Modals */
  #modal-login, #modal-register, #modal-profile,
  #shop-pwd-modal, #pay-modal {
    padding: 8px !important;
  }
  #modal-login > div, #modal-register > div, #modal-profile > div,
  #shop-pwd-modal > div {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }

  /* Boutons WhatsApp */
  .btn-whatsapp { font-size: 13px !important; padding: 14px 20px !important; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 24px; }
  .section-header h2 { font-size: 21px; }
  .calc-features { grid-template-columns: 1fr !important; }
  .rapport-header { grid-template-columns: 1fr !important; }
  .mock-cards { grid-template-columns: 1fr 1fr !important; }
  .pos-mock { grid-template-columns: 1fr !important; }
  .pos-ticket { display: none; }
}
