:root {
  --bg:     #0a0a0a;
  --panel:  #111111;
  --panel2: #141414;
  --border: #1b1b1b;
  --border2: #242424;
  --red:    #dc1e1e;
  --red2:   #f02020;
  --text:   #f5f5f5;
  --muted:  #888888;
  --muted2: #b0b0b0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  overflow-x: hidden;
}

/* ── GRID GLOBAL ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(220,30,30,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,30,30,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 200;
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 7px;
  color: #fff;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  color: #333;
  letter-spacing: 2px;
}
.nav-dot{
    display:inline-block;
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--red);
    animation:pulse 2.5s ease-in-out infinite;
    margin-right:8px;
    vertical-align:middle;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.scanline {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220,30,30,0.5), transparent);
  z-index: 10;
  animation: scan 6s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { top: 0;    opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.hero-slash {
  position: absolute;
  top: -120px;
  left: 78%;
  width: 5px;
  height: 115vh;
  background: var(--red);
  transform: rotate(18deg);
  z-index: 3;
  box-shadow: 0 0 60px rgba(220,30,30,0.45), 0 0 120px rgba(220,30,30,0.1);
}
.hero-slash-thin {
  position: absolute;
  top: -120px;
  left: calc(78% + 18px);
  width: 1px;
  height: 115vh;
  background: rgba(220,30,30,0.2);
  transform: rotate(18deg);
  z-index: 3;
}

/* Coins */
.corner {
  position: absolute;
  width: 20px; height: 20px;
  z-index: 6;
}
.corner-tl { top: 68px; left: 10px; border-top: 1px solid rgba(220,30,30,0.5); border-left: 1px solid rgba(220,30,30,0.5); }
.corner-tr { top: 68px; right: 10px; border-top: 1px solid rgba(220,30,30,0.5); border-right: 1px solid rgba(220,30,30,0.5); }
.corner-bl { bottom: 44px; left: 10px; border-bottom: 1px solid rgba(220,30,30,0.5); border-left: 1px solid rgba(220,30,30,0.5); }
.corner-br { bottom: 44px; right: 10px; border-bottom: 1px solid rgba(220,30,30,0.5); border-right: 1px solid rgba(220,30,30,0.5); }

/* Bloc gauche */
.hero-left {
  position: relative;
  width: 400px;
  flex-shrink: 0;
  background: var(--panel);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 52px;
  gap: 18px;
  z-index: 4;
  border-right: 1px solid var(--border);
}
.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.004) 3px,
    rgba(255,255,255,0.004) 4px
  );
  pointer-events: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: #fff;
  letter-spacing: 7px;
  line-height: 1;
}
.logo-wordmark span { color: var(--red); }

.tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4.5px;
  color: #888888;
  text-transform: uppercase;
}

.divider { width: 36px; height: 2px; background: var(--red); }

.descriptor {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  color: #888888;
  letter-spacing: 1px;
  line-height: 1.9;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.pill {
  padding: 4px 11px;
  border: 1px solid #1e1e1e;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  color: #888888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pill.active {
  border-color: rgba(220,30,30,0.4);
  color: var(--red);
  background: rgba(220,30,30,0.04);
}

/* Bloc droit hero */
.hero-right {
  flex: 1;
  padding: 0 80px 0 96px;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(68px, 8.5vw, 108px);
  font-weight: 800;
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
}
.hero-title em { font-style: normal; color: var(--red); }

.hero-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
}

.hero-lead {
  max-width: 560px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #c0c0c0;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}

.btn-primary {
  padding: 13px 30px;
  background: var(--red);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--red2);
  box-shadow: 0 0 28px rgba(220,30,30,0.35);
}

.btn-secondary {
  padding: 13px 30px;
  background: transparent;
  color: var(--muted2);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #1e1e1e;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: rgba(220,30,30,0.5); color: var(--red); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Status bar */
.status-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: rgba(10,10,10,0.95);
  border-top: 1px solid var(--border);
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 52px;
  gap: 36px;
}
.status-item {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  color: #888888;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.15} }

/* ── SECTIONS ── */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  color: var(--red);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 36px;
}
.section-title span { color: var(--red); }

.section-text {
  max-width: 860px;
  font-size: 1.15rem;
  line-height: 1.72;
  color: #c0c0c0;
  font-weight: 300;
}

/* Quote */
.quote-block {
  border-left: 2px solid var(--red);
  padding: 24px 0 24px 36px;
  margin-top: 64px;
  max-width: 820px;
}
.quote-block blockquote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--text);
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-style: normal;
}

/* Separator */
.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── OFFRES ── */
.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--border);
}

.card {
  background: var(--panel);
  padding: 40px 32px 48px;
  position: relative;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  overflow: hidden;
}
.card:last-child { border-right: none; }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }

.card:hover {
  background: var(--panel2);
}

.card-num {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1;
  letter-spacing: 1px;
}

.card p {
  font-size: 0.95rem;
  color: #909090;
  line-height: 1.65;
  font-weight: 300;
}

.card-cta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: rgba(220,30,30,0);
  border-top: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.card:hover .card-cta {
  background: rgba(220,30,30,0.06);
  border-top-color: rgba(220,30,30,0.15);
  color: var(--red);
}
.card-cta span { font-size: 13px; }

/* Badge optionnel */
.card-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 3px 10px;
  border: 1px solid rgba(220,30,30,0.2);
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  color: #c0c0c0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(220,30,30,0.04);
}

/* ── MÉTHODE ── */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  margin-top: 64px;
}
.method-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.method-item h4::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  flex-shrink: 0;
}
.method-item p {
  font-size: 1.05rem;
  color: #909090;
  line-height: 1.68;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.contact-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 32px;
}
.contact-title span { color: var(--red); }

.contact-lead {
  font-size: 1.1rem;
  color: var(--muted2);
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.65;
  font-weight: 300;
}

.contact-mail {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(220,30,30,0.5);
  padding-bottom: 5px;
  letter-spacing: 1.5px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-mail:hover { color: var(--red); border-color: var(--red); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 7px;
  color: #888888;
}
.footer-logo span { color: rgba(220,30,30,0.3); }
.footer-text {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  color: #888888;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
}
.footer-mark {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  color: #888888;
  letter-spacing: 1.5px;
}

/* ═══════════════════════════════════
   MODAL / POPUP
═══════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(6px);
}

.modal {
  position: relative;
  z-index: 2;
  background: #111;
  border: 1px solid var(--border2);
  width: min(720px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  opacity: 0;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Scrollbar modal */
.modal::-webkit-scrollbar { width: 3px; }
.modal::-webkit-scrollbar-track { background: var(--panel); }
.modal::-webkit-scrollbar-thumb { background: rgba(220,30,30,0.3); }

.modal-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #111;
  z-index: 3;
}
.modal-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.modal-num {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  color: var(--red);
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 10px;
}
.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 2px;
}
.modal-sub {
  margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted2);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.modal-close {
  background: none;
  border: 1px solid var(--border2);
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 8px 14px;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  text-transform: uppercase;
}
.modal-close:hover { border-color: rgba(220,30,30,0.5); color: var(--red); }

.modal-body {
  padding: 36px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.modal-section-title {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-section-title::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--red);
}

.modal-text {
  font-size: 1.05rem;
  color: #b8b8b8;
  line-height: 1.72;
  font-weight: 300;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  color: #b8b8b8;
  font-weight: 300;
  line-height: 1.4;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.modal-list li::before {
  content: '—';
  color: var(--red);
  opacity: 0.6;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  margin-top: 1px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.spec-item {
  background: var(--panel);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.spec-label {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.spec-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

.modal-cta {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

/* Divider interne modal */
.modal-divider {
  height: 1px;
  background: var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(3) { border-right: none; }
  .card:nth-child(4) { border-top: 1px solid var(--border); }
  .card:nth-child(5) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; }
  .hero-left { display: none; }
  .hero-right { padding: 80px 28px 60px; }
  .hero-title { font-size: clamp(52px, 13vw, 80px); }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--border); }
  .method-grid { grid-template-columns: 1fr; gap: 40px; }
  .modal { width: 100vw; max-height: 100vh; border-left: none; border-right: none; }
  .modal-specs { grid-template-columns: 1fr 1fr; }
  .footer-text { display: none; }
  footer { padding: 24px 20px; }
  .section { padding: 80px 0; }
}

section { scroll-margin-top: 72px; }
