/* ============================================
   QRFlotte landing — palette blanc / rouge
   Inspiré DA Odiens (fond blanc, rouge signature)
   ============================================ */

:root {
  /* Fond & encres */
  --bg: #ffffff;
  --bg-elevated: #faf8f4;       /* off-white chaud pour cartes / sections alternées */
  --bg-soft: #f4f1ec;           /* warm cream pour ruptures visuelles */
  --ink: #0d0d0d;               /* presque noir, lisible */
  --ink-muted: #6b6864;          /* gris chaud pour secondaires */
  --ink-faint: #a5a29c;
  --line: #e8e4dc;               /* filets discrets, beige clair */
  --line-strong: #d4cfc4;

  /* Rouge signature (style Odiens) */
  --accent: #E30613;
  --accent-deep: #B30510;
  --accent-soft: #fdecec;        /* halo / hover doux */

  /* États */
  --ok: #1d9e75;
  --warn: #b87515;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Texture subtile pour casser le blanc plat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'ss01';
}

.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.center { justify-content: center !important; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
}
.logo-mark span { background: var(--bg); }
.logo-mark span:nth-child(1),
.logo-mark span:nth-child(3),
.logo-mark span:nth-child(5),
.logo-mark span:nth-child(7),
.logo-mark span:nth-child(9) {
  background: transparent;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 140px 40px 80px;
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.7;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

h1.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--ink);
}
h1.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
h1.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent);
  opacity: 0.18;
  z-index: -1;
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.meta-item { font-family: 'JetBrains Mono', monospace; }
.meta-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ============================================
   HERO VISUAL — QR CARD
   ============================================ */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: rise 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.qr-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  transform: rotate(-2deg);
  box-shadow: 20px 20px 0 -2px var(--accent);
}
.qr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.qr-card-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.qr-card-id strong {
  color: var(--accent);
  display: block;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ok);
}
.status-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.qr-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-soft);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.qr-img svg { width: 100%; height: 100%; }

.qr-info { display: grid; gap: 10px; }
.qr-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.qr-row:last-child { border-bottom: none; }
.qr-row span:first-child {
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.qr-row span:last-child { color: var(--ink); font-weight: 600; }
.qr-row .ok { color: var(--ok); }
.qr-row .warn { color: var(--warn); }

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.08);
}
.badge-1 {
  top: -20px;
  right: -30px;
  animation: float 4s ease-in-out infinite;
  --r: 4deg;
}
.badge-2 {
  bottom: 40px;
  left: -50px;
  animation: float 4s ease-in-out infinite 1s;
  --r: -3deg;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
.badge-icon { color: var(--accent); font-weight: 700; }
.badge-sub  { margin-top: 4px; color: var(--ink-muted); }

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */
section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: 80px;
  max-width: 820px;
}

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.section-num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink);
}

.section-sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 620px;
  line-height: 1.5;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
  background: var(--bg-soft);
  margin: 0;
  max-width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.problem-item {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 24px;
}
.problem-item h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--ink);
}
.problem-item p {
  color: var(--ink-muted);
  font-size: 15px;
}
.problem-item .stat {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.feature {
  padding: 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}
.feature:nth-child(2n) { border-right: none; }
.feature:nth-last-child(-n+2) { border-bottom: none; }
.feature:hover { background: var(--bg-elevated); }

.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}
.feature h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.feature p {
  color: var(--ink-muted);
  font-size: 15px;
}
.feature ul {
  list-style: none;
  margin-top: 20px;
}
.feature li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.feature li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  max-width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.how-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}
.step { position: relative; }
.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.step h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
}
.step p {
  color: var(--ink-muted);
  max-width: 320px;
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.case {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 32px 24px;
  transition: all 0.3s;
  cursor: default;
}
.case:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.08);
}
.case-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px;
  background: var(--accent-soft);
  border-radius: 4px;
}
.case h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}
.case p {
  color: var(--ink-muted);
  font-size: 13px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--accent);
  color: #fff;
  max-width: 100%;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonial blockquote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: #fff;
}
.testimonial blockquote::before {
  content: '"';
  font-size: 80px;
  line-height: 0.4;
  display: block;
  margin-bottom: 20px;
  opacity: 0.9;
}
.testimonial cite {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.price {
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  background: var(--bg);
  transition: border-color 0.2s;
}
.price:hover { border-color: var(--line-strong); }
.price.featured {
  border-color: var(--accent);
  background: var(--bg);
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(227, 6, 19, 0.08);
}
.price.featured::before {
  content: 'Le plus choisi';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.price h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}
.price-tag {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin: 24px 0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-tag small {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 400;
}
.price-desc {
  color: var(--ink-muted);
  font-size: 14px;
}
.price ul {
  list-style: none;
  margin: 24px 0;
}
.price li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.price li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}
.price .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  max-width: 100%;
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: 'QR-FLOTTE';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 240px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  z-index: 0;
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 72px);
}
.final-cta p {
  color: var(--ink-muted);
  font-size: 19px;
  margin: 24px 0 40px;
}
.final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-tag {
  color: var(--ink-muted);
  font-size: 14px;
  max-width: 320px;
  margin-top: 16px;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    gap: 60px;
  }
  section { padding: 80px 20px; }
  .problem-inner, .how-inner { padding: 80px 20px; }
  .problem-grid,
  .features-grid,
  .steps,
  .use-cases,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-grid .feature { border-right: none; }
  .feature { border-bottom: 1px solid var(--line) !important; }
  .feature:last-child { border-bottom: none !important; }
  .price.featured { transform: none; }
  .badge-1, .badge-2 { display: none; }
  .final-cta::before { font-size: 100px; }
}
