/* ============================================
   applibtp.com — feuille de styles
   ============================================ */

:root {
  --navy-900: #0b1a3a;
  --navy-800: #112853;
  --navy-700: #1a3270;
  --navy-600: #243f8e;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fb923c;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 2px rgba(11, 26, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 26, 58, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 26, 58, 0.12);
  --shadow-xl: 0 24px 64px rgba(11, 26, 58, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(249, 115, 22, 0.15);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.45);
}
.btn-ghost {
  background: var(--white);
  color: var(--navy-800);
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--navy-600);
  color: var(--navy-700);
}
.btn-small {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 10px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 58, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--orange);
  border-radius: 10px;
  color: var(--white);
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text strong { font-weight: 800; }
.logo-tld { color: var(--orange-light); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15px;
}
.nav-desktop a:hover { color: var(--white); }
.nav-desktop .btn { color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-900);
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile a {
  color: var(--white);
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.18) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--orange-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.accent { color: var(--orange); }
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.trust-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero visual cards */
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--gray-800);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  min-width: 260px;
  animation: float 6s ease-in-out infinite;
}
.hero-card-1 { top: 30px; left: 0; animation-delay: 0s; }
.hero-card-2 { top: 180px; right: 0; animation-delay: 2s; }
.hero-card-3 { bottom: 40px; left: 60px; animation-delay: 4s; }
.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card-text strong { font-size: 15px; font-weight: 700; }
.hero-card-text span { font-size: 13px; color: var(--gray-500); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  background: var(--gray-50);
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cat-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 10px 20px;
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: all var(--transition);
}
.cat-chip:hover {
  border-color: var(--navy-600);
  color: var(--navy-700);
}
.cat-chip.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   APPS
   ============================================ */
.apps-section {
  padding: 80px 0;
  background: var(--white);
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.app-image {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.app-mockup {
  width: 100%;
  max-width: 280px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }
.mockup-title {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
}
.mockup-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 12px;
}
.mockup-row.total {
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
  padding-top: 8px;
  font-weight: 700;
  color: var(--navy-800);
}
.mockup-row .num { font-weight: 600; }

.progress-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  font-size: 11px;
  color: var(--gray-700);
}
.progress-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 100px;
}
.progress-row .num {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-800);
  text-align: right;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--gray-700);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.check.ok { background: #10b981; }
.check.warn { background: #f59e0b; }

.gantt-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: center;
  padding: 4px 0;
  font-size: 11px;
  color: var(--gray-700);
}
.gantt {
  position: relative;
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
}
.gantt-bar {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 100px;
}

/* DevisIA mockup */
.ia-input {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 3px solid #2563eb;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* TicketScan mockup */
.ticket-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 11.5px;
  color: var(--gray-700);
}
.ticket-row .cat-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.ticket-row .num {
  margin-left: auto;
  font-weight: 700;
  color: var(--navy-800);
}

/* FlotteBTP mockup */
.fleet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 11.5px;
  color: var(--gray-700);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.status-dot.orange { background: #f97316; }
.status-dot.gray { background: var(--gray-300); }
.fleet-row .num {
  margin-left: auto;
  font-weight: 600;
  font-size: 11px;
  color: var(--gray-500);
}

/* BonHebdo mockup */
.signature-line {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--gray-200);
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
}

/* PlanningBTP mockup */
.planning-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 11px;
  color: var(--gray-700);
}
.planning-row .who {
  font-weight: 700;
  color: var(--navy-800);
  min-width: 50px;
  font-size: 11px;
}
.planning-row .status {
  margin-left: auto;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.planning-row .status.confirmed { color: #16a34a; }
.planning-row .status.pending { color: #f59e0b; }

.app-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.app-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.app-icon svg { width: 24px; height: 24px; }
.app-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.app-tag {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}
.app-desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--gray-700);
}
.app-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  gap: 12px;
}
.app-price { display: flex; flex-direction: column; }
.price-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.price-info {
  font-size: 12px;
  color: var(--gray-500);
}
.app-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================
   COMMENT ÇA MARCHE
   ============================================ */
.how {
  background: var(--gray-50);
  padding: 80px 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.how-step {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition);
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.35);
}
.how-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.how-step p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.badge-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.contact-text h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.contact-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.contact-form {
  background: var(--white);
  color: var(--gray-800);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xl);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-900);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--navy-600);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { margin-top: 6px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.footer-col a:hover { color: var(--white); }
.footer-payment {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-payment strong { color: var(--orange-light); }
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 58, 0.6);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: var(--gray-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--gray-100); }
.modal-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.modal-box p { color: var(--gray-600); margin-bottom: 12px; line-height: 1.6; }
.modal-info {
  background: var(--gray-50);
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.modal-note {
  font-size: 12px;
  color: var(--orange-dark);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================
   SUITE PELLETOS SCAN — pricing grid
   ============================================ */
.suite-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 80px 0;
  position: relative;
}
.suite-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.badge-premium {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}
.suite-head h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}
.suite-tagline {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--gray-500);
  margin-top: 6px;
}
.suite-desc {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 18px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.pricing-card-featured {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.25);
  transform: translateY(-8px);
  color: var(--white);
}
.pricing-card-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.35);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}
.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.pricing-card-featured .pricing-name { color: var(--white); }
.pricing-target {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 18px;
  font-weight: 500;
}
.pricing-card-featured .pricing-target { color: rgba(255,255,255,0.7); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-card-featured .pricing-price { border-bottom-color: rgba(255,255,255,0.15); }
.pricing-price .amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.pricing-card-featured .pricing-price .amount {
  color: var(--orange-light);
  font-size: 32px;
}
.pricing-price .period {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}
.pricing-card-featured .pricing-price .period { color: rgba(255,255,255,0.7); }
.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--gray-700);
}
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.9); }
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.pricing-card-featured .pricing-features li::before {
  background: var(--orange-light);
}
.pricing-features li strong {
  color: var(--navy-900);
}
.pricing-card-featured .pricing-features li strong { color: var(--white); }
.pricing-card .btn { width: 100%; }

.suite-services {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 32px;
}
.suite-services p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.suite-services p:last-child { margin-bottom: 0; }
.suite-roi {
  color: var(--orange-dark) !important;
  font-weight: 600;
}
.suite-roi strong { color: var(--navy-900); }

/* small monthly text inside price */
.price-num small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 2px;
}

/* ============================================
   PAGES LÉGALES (mentions, CGV, RGPD)
   ============================================ */
.legal-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.legal-hero .container {
  position: relative;
}
.legal-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.legal-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.legal-hero .breadcrumb a {
  color: var(--orange-light);
}
.legal-hero .breadcrumb a:hover {
  color: var(--orange);
}
.legal-hero .updated {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 13px;
}

.legal-content {
  padding: 60px 0 80px;
  background: var(--white);
}
.legal-content .container {
  max-width: 820px;
}
.legal-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  margin: 28px 0 12px;
}
.legal-content p {
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-content ul li, .legal-content ol li {
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
}
.legal-content ol li {
  list-style: decimal;
}
.legal-content a {
  color: var(--orange-dark);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--navy-700);
}
.legal-content strong {
  color: var(--navy-900);
  font-weight: 700;
}
.legal-content .placeholder {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14.5px;
}
.legal-content .info-box {
  background: var(--gray-50);
  border-left: 4px solid var(--orange);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}
.legal-content .info-box p:last-child { margin-bottom: 0; }
.legal-toc {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}
.legal-toc h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-toc li {
  list-style: none;
  margin-bottom: 8px;
  font-size: 15px;
}
.legal-toc a {
  color: var(--navy-700);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ----- Tablette (≤ 960px) ----- */
@media (max-width: 960px) {
  .nav-desktop { display: none !important; }
  .menu-toggle { display: flex !important; }
  .hero { padding: 56px 0 70px; }
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
    text-align: center;
  }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }

  /* Cards flottantes du hero — DISPARITION COMPLÈTE en mobile/tablette */
  .hero-visual,
  .hero-card,
  .hero-card-1,
  .hero-card-2,
  .hero-card-3 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    animation: none !important;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Pricing grid : 2 colonnes en tablette */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pricing-card-featured {
    transform: none;
    grid-column: 1 / -1;
  }
}

/* ----- Mobile (≤ 640px) ----- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { height: 60px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-icon svg { width: 18px; height: 18px; }
  .menu-toggle { padding: 8px; }
  .menu-toggle span { width: 22px; }

  /* Section Suite Pelletos Scan : 1 colonne */
  .suite-section { padding: 48px 0; }
  .suite-head { margin-bottom: 32px; }
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .pricing-card,
  .pricing-card-featured {
    transform: none !important;
    padding: 24px 22px;
    grid-column: auto;
  }
  .pricing-card-featured {
    margin: 6px 0;
  }
  .suite-services { padding: 18px 20px; font-size: 13px; }
  .suite-services p { font-size: 13px; }

  /* Hero plus aéré sur mobile */
  .hero { padding: 36px 0 56px; }
  .hero h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
  .badge { font-size: 12px; padding: 5px 12px; margin-bottom: 18px; }
  .lead { font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
  .hero-cta { gap: 10px; flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 14px; }
  .trust-divider { display: none; }
  .trust-item strong { font-size: 20px; }
  .trust-item span { font-size: 12px; }

  /* Sections */
  .apps-section, .how, .contact { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 16px; }

  /* Catégories — scroll latéral confortable */
  .categories { padding: 16px 0; }
  .cat-row { padding-left: 4px; padding-right: 4px; }
  .cat-chip { padding: 9px 16px; font-size: 13px; }

  /* Apps grid */
  .apps-grid { grid-template-columns: 1fr; gap: 18px; }
  .app-image { height: 170px; padding: 18px; }
  .app-mockup { padding: 12px; max-width: 240px; }
  .app-body { padding: 20px; gap: 12px; }
  .app-head h3 { font-size: 18px; }
  .app-icon { width: 44px; height: 44px; }
  .app-icon svg { width: 22px; height: 22px; }
  .app-desc { font-size: 13.5px; }

  /* Footer carte produit : empile verticalement sur petit écran */
  .app-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .app-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
  }
  .app-actions .btn {
    width: 100%;
    min-height: 44px;        /* touch target accessible */
    justify-content: center;
  }

  /* Formulaire contact : pas de 2 colonnes sur mobile */
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form { padding: 22px; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px; /* évite le zoom auto iOS */
    padding: 13px 14px;
  }

  /* Steps "comment ça marche" */
  .how-steps { gap: 16px; }
  .how-step { padding: 28px 22px; }
  .how-step h3 { font-size: 18px; }
  .how-step p { font-size: 14px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Modal achat plein écran sur mobile */
  .modal { padding: 12px; }
  .modal-box { padding: 26px 20px; max-height: 90vh; overflow-y: auto; }
  .modal-actions { flex-direction: column-reverse; gap: 10px; }
  .modal-actions .btn { width: 100%; }

  /* Boutons globaux : touch target */
  .btn {
    padding: 13px 22px;
    font-size: 14.5px;
    min-height: 44px;
  }
  .btn-small { padding: 10px 16px; font-size: 13.5px; min-height: 40px; }

  /* Empêche le débordement horizontal */
  body { overflow-x: hidden; }
}

/* ----- Très petit mobile (≤ 380px : iPhone SE, vieux Android) ----- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 14.5px; }
  .section-head h2 { font-size: 24px; }
  .trust-item strong { font-size: 18px; }
  .app-image { height: 150px; }
  .price-num { font-size: 20px; }
  .app-actions { grid-template-columns: 1fr; }
  .app-actions .btn { font-size: 14px; }
}

/* ----- Améliorations iOS / Android natives ----- */
@supports (-webkit-touch-callout: none) {
  /* Évite le bug zoom auto sur iOS */
  input, textarea, select { font-size: 16px !important; }
}

/* Désactive les animations si l'utilisateur le préfère */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
